|
The memo for install opencv 3.2 in win7 environment
- Install the python2.7, download from the website, must install win32, not arm64.
- download website: https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi
- download the python packet install tool: https://pypi.python.org/pypi/setuptools#downloads
- run cmd : pip install wheel in the win32 cmd
- download the numpy: https://pypi.python.org/packages/32/15/5dac23340abe95eae4e819f1575fb9be6b87ea92bf31ca808b41119d0346/numpy-1.12.1-cp27-none-win32.whl#md5=906d8d8e1cb6a5056e0405d5b54d6440
- run the cmd: C:\Windows\System32>pip install d:/software/numpy-1.12.1-cp27-none-win32.whl
-
- Download latest OpenCV release from sourceforge site and double-click to extract
it.
- Goto opencv/build/python/2.7 folder.
- Copy cv2.pyd to C:/Python27/lib/site-packages.
- Open Python IDLE and type following codes in Python terminal.
>>> import cv2
>>> print cv2.__version__
OK.
install matplotlib
python -m pip install -U pip setuptools
python -m pip install matplotlib
|