Closed sarmadm closed 7 years ago
HI
Could you please answer my question
Well, the error message is quite obvious: you are using an non-existant option -c
. Call gazr_estimate_head_direction
without this spurious parameter.
(note that other issues with live_plot.py
prevented it to work properly. Please pull the latest version -- it should work fine)
I have updated live_plot.py but no it is showing this error :
./gazr_estimate_head_direction --model=shape_predictor_68_face_landmarks.dat | python -u ../tools/live_plot.py
terminate called after throwing an instance of 'dlib::serialization_error'
what(): Unable to open shape_predictor_68_face_landmarks.dat for reading.
Traceback (most recent call last):
File "../tools/live_plot.py", line 24, in
^
SyntaxError: unexpected EOF while parsing
Please, please read the error message before asking question, because I am sure you can solve the problem yourself :-/
...the path to the model is not correct. I suppose it might be:
./gazr_estimate_head_direction --model=../shape_predictor_68_face_landmarks.dat | python -u ../tools/live_plot.py
I'm trying to plot the roll yaw , and pitch using live_plot.py
I have used this :
tofi@tofi:~/gazr-master/build$
./gazr_estimate_head_direction -c --model=shape_predictor_68_face_landmarks.dat | python -u ../tools/live_plot.py terminate called after throwing an instance of 'boost::exception_detail::clone_impl'
what(): unrecognised option '-c'
/usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/tofi/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "../tools/live_plot.py", line 22, in
data = eval(line)
File "", line 0
^
SyntaxError: unexpected EOF while parsing
and also I tried :
tofi@tofi:~/gazr-master/build$ ./estimate_gaze_direction -c --model=shape_predictor_68_face_landmarks.dat | python -u ../tools/live_plot.py
bash: ./estimate_gaze_direction: No such file or directory /usr/lib/python2.7/dist-packages/pkg_resources.py:1031: UserWarning: /home/tofi/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable). warnings.warn(msg, UserWarning) Traceback (most recent call last): File "../tools/live_plot.py", line 22, in data = eval(line) File "", line 0
^
SyntaxError: unexpected EOF while parsin