summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
index 6b3c5351..f159d60b 100644
--- a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
+++ b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
@@ -173,10 +173,10 @@ int rs_tracker_impl_update_pose(double *data) {//TODO: add bool preview activate
pose = face->QueryPose();
if (pose == NULL) continue;
- poseAnglesAvailable = pose->QueryPoseAngles(&angles);
+ poseAnglesAvailable = !!pose->QueryPoseAngles(&angles);
if (!poseAnglesAvailable) continue;
- headPositionAvailable = pose->QueryHeadPosition(&headPosition);
+ headPositionAvailable = !!pose->QueryHeadPosition(&headPosition);
if (!headPositionAvailable) continue;
//TODO: use pxcI32 pose->QueryConfidence() ?