32 #include <opencv/cv.h>
33 #include <opencv/highgui.h>
36 #include <libfreenect/libfreenect_sync.h>
38 #include <libfreenect_sync.h>
73 bool isConnected(
void);
79 void setCascadePath(QString haarClassifierCascade);
90 void enableFaceDetection(
int state);
96 void setThreshold(
int threshold);
104 void camImageComplete(QImage* image);
110 void camImageDepthComplete(QImage* image);
116 void camImageOpenCVComplete(QImage* image);
121 void disableFaceDetection();
126 void disableCamera();
139 void faceDetected(
int faces,
int faceX,
int faceY,
int faceRadius,
int lastFaceX,
int lastFaceY);
146 void message(QString text);
179 static const unsigned long THREADSLEEPTIME = 50;