OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.85k
stars
1.84k
forks
source link
OpenCV error while running FaceLandmark with webcam #632
I have installed OpenFace using the instructions provided for Ububntu on a fresh Ubuntu 18.10 install.
To test it I ran:
./bin/FaceLandmarkVid -device /dev/video0
It worked well and I saw the program running live with my webcam.
I restarted the system and tried to run it again the same I did before and got an error:
VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
I ran v4l2-ctl -d /dev/video1 --all. The pixel format of the webcam is 'YUYV'
I tried searching for this issue online but unfortunately didn't find a solution.
I have installed OpenFace using the instructions provided for Ububntu on a fresh Ubuntu 18.10 install. To test it I ran:
./bin/FaceLandmarkVid -device /dev/video0
It worked well and I saw the program running live with my webcam.
I restarted the system and tried to run it again the same I did before and got an error:
VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
I ranv4l2-ctl -d /dev/video1 --all
. The pixel format of the webcam is 'YUYV'I tried searching for this issue online but unfortunately didn't find a solution.