Basic properties of profile

Basic properties of profile the measure of area brief introduction Contour area refers to the area enclosed by all pixels in each contour, in pixels Through the size of the contour area, we can further analyze the implicit information of each contour, such as distinguishing the size of objects and identifying different objects through the co ...

Posted by Warzone RTS on Wed, 26 Jan 2022 06:53:44 +0100

Morphological operations using Python and OpenCV

This blog will introduce how to use Python and OpenCV to apply morphological operations. include: Corrosion (Erosion)ExpansionOpeningClosingMorphological gradientBlack hatTop hat (also called "White hat") Morphological operation is an image processing transformation applied to gray or binary images. These operations require a st ...

Posted by daredevil14 on Mon, 24 Jan 2022 07:50:34 +0100

(detailed tutorial) opencv + Python + Python trains its own classifier (taking mask recognition as an example)

Article catalogue catalogue preface 1, Classifier making 1. Sample preparation 2. Sample making (1) Picture rename (2) Modify picture pixels  3. Generate resource record file  4. Generate vec file   5. Training model 2, Test classifier​ summary preface This paper introduces how to make your ...

Posted by tserbis on Mon, 24 Jan 2022 03:06:22 +0100

python tesseract verification code identification (verification code not stuck)

Libraries and tools required and installation The following libraries and tools will be used: Tools: tesseract Testseract download address: https://digi.bib.uni-mannheim.de/tesseract/ 1. Download the non dev exe file suitable for your version (32 or 64 bit), and then install it all the way. Note: if you need to support multiple language ...

Posted by davidjmorin on Sat, 22 Jan 2022 14:48:04 +0100

[personal notes] OpenCV4 C + + quick start 07 lesson

Personal data, for learning purposes only Modification time - 17:40:15, January 21, 2022 Course of study: OpenCV4 C + + quick start video 30 lectures Video Teacher: Jia Zhigang 07 scroll bar operation demonstration - parameter transfer adjustment opencv knowledge points: Parameter passing - createTrackbarConcept - brightness and contrastCl ...

Posted by Shiny_Charizard on Sat, 22 Jan 2022 04:06:50 +0100

Introduction to image processing -- basic operation of OpenCV

Basic operation of image Basic objectives: Master the methods of image reading and saving Ability to draw geometry on images using OpenCV Pixels that can access the image It can obtain the attributes of the image and separate and merge the channels It can realize the transformation of color space 1. IO operation of image Here we will in ...

Posted by Gamic on Sat, 22 Jan 2022 03:45:14 +0100

OpenCV53: Image Denoising

target In this chapter, you will learn Nonlocal mean denoising algorithm for removing noise in imageLearn different functions cv2.fastNlMeansDenoising()cv2.fastNlMeansDenoisingColored()cv2.fastNlMeansDenoisingMulti()cv2.fastNlMeansDenoisingColoredMulti() theory In the previous chapters, we have seen many image smoothing techniques, such ...

Posted by ICKelly on Sat, 22 Jan 2022 02:59:50 +0100

Android OpenCV development face detection

##The focus is face detection, detection, detection. Is to detect the face, not recognition, not recognition. The meaning of recognition is to detect the face, and obtain the face recognition degree through data comparison and algorithm analysis. And detection is just detection. For the whole network about Android OpenCV recognition XXX and ot ...

Posted by tommyrulez on Thu, 20 Jan 2022 22:30:12 +0100

Image Noise Processing

1. Adding noise to the image Adding noise to an image can enhance the data Adding a proper amount of noise to the training data can make the training model more robust and help to improve the performance of the model. Two common noises: salt and pepper noise and Gaussian noise import cv2 import numpy as np import random #Add salt and pepper ...

Posted by jordy on Tue, 18 Jan 2022 09:35:02 +0100

Image reading and display

API Here, use the #include instruction to include OpenCV HPP header file, in fact, it contains all opencv header files. By including a single file, you no longer need to include other files All OpenCV classes and functions are in the cv namespace, so you need to use the cv:: prefix or using namespace cv to compile statements in the source code ...

Posted by ph0ngwh0ng on Tue, 18 Jan 2022 07:19:05 +0100