32 #ifndef __KINECTUSER_H__ 33 #define __KINECTUSER_H__ 35 #include "lib/common.h" 36 #include "KinectUserHand.h" 54 void DetectUserHands(cv::Mat depthMat, cv::Mat depthMatBgr);
55 bool IsHandVisible(nite::JointType skelJoint);
56 bool GetFingersPixelPosition(nite::JointType hand, vector<cv::Point> &vec);
57 bool GetBoneImgCoordinates(nite::JointType skelJoint, nite::Point3f &v,
float minConfidence);
58 bool GetBoneCurrentPosition(nite::JointType skelJoint, nite::Point3f &position,
float minConfidence);
59 bool GetBoneCurrentOrientation(nite::JointType skelJoint,
Quaternion* mQuat,
float minConfidence);
61 void SetCalibrated(
bool state);
78 unsigned short* handsData;
Kinect user hand handling. .
Kinect device handling. .