티스토리 뷰
OPTION 1: INSTALL OPENCV FROM THE UBUNTU OR DEBIAN REPOSITORY
sudo apt-get install libopencv-dev python-opencv
OPTION 2: INSTALL OPENCV FROM THE OFFICIAL SITE
sudo apt-get autoremove libopencv-dev python-opencv
Download the installation script and execute:
https://github.com/milq/scripts-ubuntu-debian/blob/master/install-opencv.sh
bash install-opencv.sh
After that, run this command to use opencv in python:
sudo apt-get install python-opencv
If python shows an error like 'libdc1394 error: Failed to initialize libdc1394', then run this command:
sudo ln /dev/null /dev/raw1394
댓글