4#ifdef ENABLE_KINECT_SDK
12#include <FaceTrackLib.h>
16#pragma comment(lib, "FaceTrackLib.lib")
26class CKinectFaceTracker
29 CKinectFaceTracker(
void);
30 virtual ~CKinectFaceTracker(
void) { free();}
39 IFTFaceTracker* m_tracker;
40 IFTImage* m_image_data;
41 IFTImage* m_depth_data;
44 FT_SENSOR_DATA m_sensor;
48 BOOL create(
int width,
int height, uByte* image, uByte* depth);
50 BOOL detect(FT_VECTOR3D* hint);
51 RECT getFaceRect(
void);
52 Vector<double> getFaceEulerXYZ(
void);
54 void drawFaceRect(ExCmnHead* view,
int scale, BOOL mirror,
int col,
int line);