I installed OpenCV correctly on Ubuntu 14.04. However, when I run: import cv2
I get this error message:
>>> import cv2
libdc1394 error: Failed to initialize libdc1394
I read the answers to this question (and the different links posted there such as this interesting but finally useless one for my case) but no solution worked for me. I have no such file /dev/raw1394
. So I installed the library:
sudo apt-get install libdc1394-22-dev libdc1394-22 libdc1394-utils
But still get the same error.
Note that this answer is the only one that works for me, however I can not pick it because I need to use camera in my application.
How can I resolve this ?