Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 10

Gesture Recognition2

$
0
0

Hi every body,

I would like to know what is the utility of the number written on HexaDecimal in this code:

    struct Gesture {
        typedef pxcEnum Label;          // The pose/gesture identifier (bit-OR'ed value of set and detailed identifiers)
        enum {
            LABEL_ANY=0,                                // No gesture
            LABEL_MASK_SET          =   0xffff0000,     // AND this mask with the pose/gesture identifier to get the pose/gesture set.
            LABEL_MASK_DETAILS      =   0x0000ffff,     // AND this mask with the pose/gesture identifier to get the pose/gesture details within a set.

            LABEL_SET_HAND          =   0x00010000,     // Set of hand gestures
            LABEL_SET_NAVIGATION    =   0x00020000,     // Set of navigation gestures
            LABEL_SET_POSE          =   0x00040000,     // Set of poses
            LABEL_SET_CUSTOMIZED    =   0x00080000,     // Set of customized poses/gestures

            /* predefined nativation gestures */
            LABEL_NAV_SWIPE_LEFT    =   LABEL_SET_NAVIGATION+1,     // The swipe left navigation gesture
            LABEL_NAV_SWIPE_RIGHT,                                  // The swipe right navigation gesture
            LABEL_NAV_SWIPE_UP,                                        // The swipe up navigation gesture
            LABEL_NAV_SWIPE_DOWN,                                   // The swipe down navigation gesture

            /* predefined common hand gestures */
            LABEL_HAND_WAVE         =    LABEL_SET_HAND+1,          // The wave hand gesture
            LABEL_HAND_CIRCLE,                                      // The circle hand gesture
            
            /* predefined common hand poses */
            LABEL_POSE_THUMB_UP     =    LABEL_SET_POSE+1,          // The thumb up pose
            LABEL_POSE_THUMB_DOWN,                                  // The thumb down pose
            LABEL_POSE_PEACE,                                       // The peace/victory pose
            LABEL_POSE_BIG5,                                        // The big5 pose
            LABEL_POSE_H,

            LABEL_CUSTOMIZED_1      =    LABEL_SET_CUSTOMIZED+1,
            LABEL_CUSTOMIZED_2,
        };


Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>