・ Mac (Catalina) ・ Python3 (3.7.5) ・ Opencv4 (4.1.2)
https://techblog.gmo-ap.jp/2016/11/28/ruby%E3%81%A8opencv%E3%81%A7%E5%A7%8B%E3%82%81%E3%82%8B%E7%94%BB%E5%83%8F%E5%87%A6%E7%90%86/
https://qiita.com/cfiken/items/44b364b951b605f1e919?fbclid=IwAR0k4LB0t9ik0mSP3wWo2Ih3flLl1y5RDVLGhOLf1sPJeXIr0kzJhfpTUYQ
Extraction de contour https://qiita.com/y_kani/items/c9861b1f3517c32491d6
brew update
brew install -v cmake
brew tap homebrew/science
brew install opencv
export PYTHONPATH="/usr/local/lib/python3.7/site-packages/:$PYTHONPATH"
python3
>>> import cv2
>>> cv2.__version__
nom du <fichier> python3
Recommended Posts