diff options
Diffstat (limited to 'FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h')
-rw-r--r-- | FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h index 0687730a..12bfbe80 100644 --- a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h +++ b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h @@ -1,12 +1,14 @@ #include "..\ftnoir_tracker_base\ftnoir_tracker_base.h"
#include "ui_FTNoIR_SMClientcontrols.h"
-#include <sm_api_qt.h>
+#include "sm_api_qt.h"
#include <QMessageBox>
#include <QSettings>
#include "Windows.h"
#include "math.h"
+using namespace std;
+//using namespace sm::faceapi::samplecode;
using namespace sm::faceapi;
using namespace sm::faceapi::qt;
@@ -19,7 +21,8 @@ public: void Release();
void Initialize();
void StartTracker();
- void GiveHeadPoseData(THeadPoseData *data);
+ void StopTracker();
+ bool GiveHeadPoseData(THeadPoseData *data); // Returns true if confidence is good
void loadSettings();
bool setParameterValue(const int index, const float newvalue);
@@ -30,8 +33,6 @@ private: QSharedPointer<EngineBase> _engine;
smEngineHandle _engine_handle;
- THeadPoseData newHeadPose; // Structure with new headpose
-
//parameter list for the filter-function(s)
enum
{
|