Closed alexis-jacq closed 8 years ago
And Finally, if I compile without tests I can install everything but when I launch the ROS nodes I have this error as soon as a face is detected:
[head_pose_estimation-10] process has died [pid 10442, exit code -11, cmd /home/alexis/catkin_ws/devel/lib/attention_tracker/estimate /image:=/camera/image_raw name:=head_pose_estimation log:=/home/alexis/.ros/log/d9cc30ca-4356-11e6-8136-68f72846768a/head_pose_estimation-10.log]. log file: /home/alexis/.ros/log/d9cc30ca-4356-11e6-8136-68f72846768a/head_pose_estimation-10*.log
Ok problem solved if I use only OpenCV3.
I've just modified ros_head_pose_estimator.hpp and CMakelist.txt to also build the ROS nodes under OpenCV3.
Whatever the version of OpenCV I use (I tried 2.4.9 and 2.4.13) I obtain this error of compilation:
If I change the parameter cv::ITERATIVE by CV_ITERATIVE in the call of solvePnP in head_pose_estimation.cpp it solves this issue.
Then, it is head_pose_estimation_test.cpp that throw errors of compilation:
if I add a line in the CMakeliste to show the OpenCV libraries used I have: