Wu Yuxiong - born natural python learning Notes: python read and display graphics with OpenCV

Open CV is an open source, cross-platform computer vision library, it can be
Free to use in commercial and research in the field, has been widely used in human
Interactive, face recognition, motion recognition, motion tracking and other fields.
To identify a particular image, the most important is to have an object recognition feature
File, Open CV has a profile within the straight face recognition, we just
CascadeClassifier recognition can be performed by the class OpenCV
Operation.
CAPTCHA is a lot of sites to block inappropriate or malicious users visit
Q. operating a technical means taken. To crack the CAPTCHA, you need to
The verification code image converted to text, and graphics packages can Python
Remove most of the background picture, and then identified by Tesseract OCR package
Text, picture so as to achieve the purpose of crack.
OpenCV face recognition application
Currently, image recognition technology is relatively mature, and is widely used in our actual lives, than
The face recognition, fingerprint recognition, recognition or license plate recognition Ke holes, of which the most hot face recognition technology. Python face recognition operation is done by OpenCV package.
Read and display graphics with OpenCV
OpenCV (Open Source Computer Vision Library) is a cross-platform computer vision library.
Open CV by Intel Corporation launched the well involved in the development, free use in commercial and research fields. OpenCV
Can be used to develop real-time image processing and computer vision program, currently it has been widely used in human-computer interaction, face recognition, motion recognition, motion tracking and other fields.
To install the sentence enCV, you may ask: // www drama .uci.edu / ~ Gohlke / the p-Chan onlibs / is found also on the machine version
This file corresponding OpenCV (native Python to 3.6 version, the selection-3.2.0- opencv_python 
CP36 -cp36m-win_ AMD64. WHL file download), click the file downloaded to the D drive shaft directory, then Anaconda Anaconda Prompt window the following command line can be installed:

To use OpenCV library in the program need to be introduced through the following code:

After you import libraries, create a window to display an image, the syntax is:

 

 

Guess you like

Origin www.cnblogs.com/tszr/p/12032360.html