diff options
-rw-r--r-- | faceAPI/main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/faceAPI/main.cpp b/faceAPI/main.cpp index 403340a5..aeb2cd50 100644 --- a/faceAPI/main.cpp +++ b/faceAPI/main.cpp @@ -370,8 +370,9 @@ void run() //
// Process the command sent by FaceTrackNoIR.
//
- sprintf_s(msg, "Command: %d\n", pMemData->command);
+ sprintf_s(msg, "Command: %d, \n", pMemData->command, pMemData->par_val_int);
OutputDebugStringA(msg);
+ std::cout << msg;
if (pMemData) {
//
@@ -407,6 +408,11 @@ void run() pMemData->command = 0; // Reset
break;
+ case FT_SM_SET_PAR_FILTER:
+ THROW_ON_ERROR(smHTV2SetHeadPoseFilterLevel(engine_handle, pMemData->par_val_int));
+ pMemData->command = 0; // Reset
+ break;
+
case FT_SM_SHOW_CAM:
THROW_ON_ERROR(smEngineShowCameraControlPanel(engine_handle));
pMemData->command = 0; // Reset
|