티스토리 뷰

카테고리 없음

OpenCV 설치 for Python

충연 2016. 11. 3. 16:15

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


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2025/08   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함