Windows7 Configuring the OpenCV python environment under 32-bit

Source: Internet
Author: User

Just contact Python and OpenCV, not very familiar with both, because in the future learning will use these two tools, hereby learning configuration. PS: This post is suitable for small white.

I. Required Documents

1. OpenCV

Opencv-2.3.1-win-superpack.exe self-extracting files can be used to run directly and install them into the OpenCV folder by default.

Download Link: http://opencv.org/downloads.html (official website)

Http://pan.baidu.com/s/1eQgplEq(retained backup)

2. Python

Download Link: https://www.python.org/downloads/(official website)

http://pan.baidu.com/s/1bnpiGpx (retained backup)

3. NumPy

This module is required for the Python version of NUMPY-1.6.1-WIN32-SUPERPACK-PYTHON2.6.EXE,OPENCV. Note: Download and Python version of the same numpy, if the previous installation is Python2.7, here should also download the corresponding version of Python2.7 Numpy-1.6.1-win32-superpack-python2.7.exe.

Download Link: http://sourceforge.net/projects/numpy/files/NumPy/1.6.1/(official website)

Http://pan.baidu.com/s/1qWoIoTe (retained Backup)

Two. File configuration

1. Install the executable file in the order above.

2. OpenCV folder, build->python->2.6 Copy all files under 2.6 to ... \python\lib\site-packages.

3. Testing

Open the Samples\python in the OpenCV folder, double-click drawing.py if there is no problem you should see the colored stripes.

Three. Reference and Learning

1. Installation Configuration Reference http://blog.csdn.net/nwpulei/article/details/7277511

2. Learning Tutorial http://blog.csdn.net/morewindows/article/details/8225783

< All rights reserved, if reproduced please attach this article link >

Windows7 Configuring the OpenCV python environment under 32-bit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.