From 9cde8128ba6f27869aff8e4f442253ccb500671c Mon Sep 17 00:00:00 2001 From: Ahmed Al-Hindawi Date: Fri, 1 Nov 2019 12:01:29 +0000 Subject: [PATCH] fixed divergent headpose when at extreme of image field of view this now requires head pose estimation to publish in image coordinate system this also requires the gaze estimation to know the ros_frame following headpose estimation in image coordinate system (as phi+theta inputs required for gaze estimation network) modified launch files respectively --- rt_gene/launch/estimate_gaze.launch | 22 +++++++++------- rt_gene/launch/start_kinect.launch | 2 +- rt_gene/launch/start_webcam.launch | 2 +- rt_gene/scripts/estimate_gaze.py | 2 +- rt_gene/scripts/extract_landmarks_node.py | 26 ++++++++++++------- .../rt_gene/extract_landmarks_method_base.py | 2 -- 6 files changed, 31 insertions(+), 25 deletions(-) diff --git a/rt_gene/launch/estimate_gaze.launch b/rt_gene/launch/estimate_gaze.launch index 29761b7..21d51ff 100644 --- a/rt_gene/launch/estimate_gaze.launch +++ b/rt_gene/launch/estimate_gaze.launch @@ -1,16 +1,17 @@ - - + + - - - + + + - + + @@ -26,7 +27,7 @@ - + @@ -36,12 +37,13 @@ ['model_nets/Model_allsubjects1.h5'] - + / - + - + + diff --git a/rt_gene/launch/start_kinect.launch b/rt_gene/launch/start_kinect.launch index f5d1c27..828dd50 100644 --- a/rt_gene/launch/start_kinect.launch +++ b/rt_gene/launch/start_kinect.launch @@ -7,6 +7,6 @@ + args="0.0 0.0 0.0 -0.5 0.5 -0.5 0.5 /kinect2_ros_frame /kinect2_link" /> diff --git a/rt_gene/launch/start_webcam.launch b/rt_gene/launch/start_webcam.launch index cb99700..8b22fdc 100644 --- a/rt_gene/launch/start_webcam.launch +++ b/rt_gene/launch/start_webcam.launch @@ -7,7 +7,7 @@ - +