LoginSignup
1
3

More than 5 years have passed since last update.

Python OpenCV導入メモ

Last updated at Posted at 2015-09-16

通常の手順

virtual envの環境に対応させたい場合は

ln -s /usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages/cv.py バーチャル環境/cv.py
ln -s /usr/local/Cellar/opencv/2.4.9/lib/python2.7/site-packages/cv2.so バーチャル環境/cv2.so

segmentation fault 11が出たとき

Pythonのパスを通すと直る(opencvが入った)

export PYTHONPATH="/usr/local/lib/python2.7/site-packages/:$PYTHONPATH"

Ubuntuの場合

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3