OpenCV環境を作成
下記パッケージをインストールしました。
pip install opencv-python
pip install opencv-contrib-python
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
>pip install opencv-python Collecting opencv-python Downloading https://files.pythonhosted.org/packages/a3/50/04d0669afe884f137c2f490642756e8c4a658254300a9eaf253d1e643085/opencv_python-4.1.0.25-cp37-cp37m-win_amd64.whl (37.3MB) 100% |████████████████████████████████| 37.4MB 297kB/s Requirement already satisfied: numpy>=1.14.5 in c:\users\hhh\anaconda3\lib\site-packages (from opencv-python) (1.16.2) Installing collected packages: opencv-python Successfully installed opencv-python-4.1.0.25 >pip install opencv-contrib-python Collecting opencv-contrib-python Downloading https://files.pythonhosted.org/packages/cc/ea/ea342b15c152fb862aeabb02402a0893199a59de821f3347a5fe9bfa2791/opencv_contrib_python-4.1.0.25-cp37-cp37m-win_amd64.whl (43.7MB) 100% |████████████████████████████████| 43.7MB 198kB/s Requirement already satisfied: numpy>=1.14.5 in c:\users\hhh\anaconda3\lib\site-packages (from opencv-contrib-python) (1.16.2) Installing collected packages: opencv-contrib-python Successfully installed opencv-contrib-python-4.1.0.25 |