I referred to the following.
Building an OpenCV-Python environment on Raspberry Pi B +
$ sudo apt-get install libopencv-dev
$ sudo apt-get install python-opencv
$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
libdc1394 error: Failed to initialize libdc1394
Then ...
python 2.7 - OpenCV: libdc1394 error: Failed to initialize libdc1394 - Stack Overflow
sudo ln /dev/null /dev/raw1394
It seems that you should put a link in / dev / null
like this.
$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__
'2.4.8'
Does that mean that drivers for hardware such as IEEE1394, Firewire, are alive?
Recommended Posts