CV4 simple human-computer interaction application based on mouse callback function and track color matching

Q: use the track bar to create a Paint application with adjustable color and brush radius? A mouse callback function Creating a mouse callback function has a specific format, which is the same everywhere. It is only different in function. Therefore, in the following code, our mouse callback function can do one thing - draw a circle where we ...

Added by manimoor on Fri, 04 Feb 2022 15:00:44 +0200

Using OpenCV to detect image blocks

This article is excerpted from Blob Detection Using OpenCV ( Python, C++ ) The summary of image block detection methods is used for later learning and engineering application.   § 00 preamble This article is excerpted from Blob Detection Using OpenCV ( Python, C++ ) The summary of image block detection methods is u ...

Added by divito on Thu, 03 Feb 2022 02:59:07 +0200

C + + foundation 4: array and string

catalogue 1, Array 1. First knowledge of array 2. Variable length array 3. Unknown array length 4. Reading and writing of array elements 5. Multidimensional array 6. Constant array 2, String 1. Array string 2. String length 3. Constant string 4. String operation and attribute acquisition 5.string class 1, Array 1. First knowledg ...

Added by angus930 on Wed, 02 Feb 2022 01:53:42 +0200

opencv-python image high-pass filter and low-pass filter

opencv-python image high-pass filter and low-pass filter 1. High-pass filter Principle of high-pass filter High-pass filtering means that the parts with high frequencies pass through and are derived from the image. Generally speaking, the pixels of a picture have high frequencies in the outline and low frequencies in other parts. For Fourie ...

Added by mad_hacker on Tue, 01 Feb 2022 07:12:33 +0200

Raspberry face recognition

Raspberry pie face recognition access control requirements Face recognition access control application has been very popular. This paper will describe in detail how to realize face recognition access control application with raspberry pie. There are two functions to be realized: 1. Detect the face, draw the recognition frame and track it i ...

Added by scotte on Tue, 01 Feb 2022 03:06:27 +0200

opencv c + + Learning III (fuzzy edge detection, expansion and corrosion)

catalogue 1. Ambiguity 1.1 fuzzy mean 1.2 Gaussian filtering ​ 2.canny edge detection 3. Expansion and erosion 1. Ambiguity Smooth/Blur is one of the most common and simplest operations in image processing The main reason for using this operation is to reduce noise during image preprocessing Simple principle: 1.1 fuzzy mean ...

Added by nickcwj on Mon, 31 Jan 2022 03:59:25 +0200

NLM_ P-parameter-free fast pixelwise non local means denoising sharing

Paper name: parameter free fast pixelwise non local means denoising Paper Download: IPOL Journal · Parameter-Free Fast Pixelwise Non-Local Means Denoisinghttps://www.ipol.im/pub/art/2014/120/ Previously, I shared an article on NLM denoising (NLM_B) at the block level. This article is based on NLM denoising(NLM_P) at the pixel level. There are ...

Added by bogdan on Sat, 29 Jan 2022 20:11:10 +0200

Random fight Westward Journey 2 automatic coin collection script

Article catalogue prefaceI Slide Click & screenshotII Picture comparison3, Character recognition4, Linkage with Excelsummary preface Random fighting is just an old Netease abandon game. Well, although, as an amateur coin dealer who enjoys a certain popularity in the Android 2 theater, I don't have 100 numbers in my head every day ...

Added by prowley on Sat, 29 Jan 2022 15:24:47 +0200

[personal notes] OpenCV4 C + + quick start 30 lessons

Personal data, for learning purposes only Modification time - January 28, 2022 06:36:26 Course of study: OpenCV4 C + + quick start video 30 lectures Video Teacher: Jia Zhigang Case 30: face detection opencv knowledge points: Create and operate integrated artificial neural network - dnn::Net classRead the network model stored in TensorFlow ...

Added by n1tr0b on Fri, 28 Jan 2022 04:17:06 +0200

OpenCV -- contour circumscribed polygon

Circumscribed rectangle Take the maximum circumscribed rectangle of the contour Rect boundingRect( InputArray array ); array: the input grayscale image or 2D point set, and the data type is vector or Mat. The function can calculate the maximum circumscribed rectangle containing the object contour or 2D point set in the input image. The funct ...

Added by aurheim on Thu, 27 Jan 2022 23:03:38 +0200