This time to everyone in the Python3.5.3 should be how to configure the opencv3.2.0, in the Python3.5.3 configuration opencv3.2.0 the attention of matters, the following is the actual case, together to see.
1. Installing NumPy
Go to the Python installation directory under Lib under the Site-packages folder to open cmd input pip install numpy download numpy
The NumPy system is an open-source numerical extension of Python. This tool can be used to store and manipulate large matrices, which is much more efficient than Python's own nested list (nested list structure) structure, which is also useful for representing matrices (matrix). It is said that NumPy Python is the equivalent of becoming a free, more powerful MatLab system.
2. Download OpenCV
Here is the opencv3.2.0 64-bit download
3. Installing OPENCV
Copy the downloaded OPENCV 3.2.0 module to the Python installation directory lib\site-packages, enter pip install Opencv_python-3.2.0+contrib-cp35-cp35m-win_ Amd64.whl
4. MSVCP140.dll Library
If the computer does not have this library, it will be in the import cv2 module times wrong
Import Cv2traceback (Mostrecent call last): File "<stdin>", Line1,in <module>
Importerror:dllload failed: The specified module could not be found.
Download Microsoft Visual C + + redistributable and install
5. Testing
This time no error, representative configuration success!
Believe that you have read the case of this article you have mastered the method, more exciting please pay attention to the PHP Chinese network other related articles!
Recommended reading:
Python how to read and write TXT file line-wise
Python how to bulk read TXT file to dataframe format