Answer card recognition based on Opencv (with detailed code)

Answer card recognition project based on Opencv image recognition In the course of watching Mr. Tang Yudi's image processing, there is a small item of answer card recognition. Here, I will make a simple summary combined with my own understanding. 1. Project analysis First, when getting the project, analyze what the purpose of the project is, ...

Added by louis_coetzee on Sun, 19 Dec 2021 08:55:31 +0200

GoCV environment construction

reference resources Official documents MinGW-W64 Download address Note that threads-posix MinGW-W64 in the parent directory. Here I download x86_64-posix-sehย . Then add the bin folder to the environment variable: CMake Download address What I download here is cmake-3.21.2-windows-x86_64.msi Install the package. Download opencv D ...

Added by simrx11 on Sat, 18 Dec 2021 21:35:20 +0200

[c++] Opencv Mat class details

1. Mat class common member functions and member variables Because Mat class is widely used and has many forms, only the more commonly used member functions and member variables are sorted out here. 1.1 Constructor (1) Default constructor cv::Mat::Mat() Default constructor: Generate a matrix and allocate storage using functions provided by ...

Added by Static_Nexus on Sat, 18 Dec 2021 02:22:18 +0200

How to use OpenCV to sort object contours

1 Introduction In the process of image processing, we often encounter some operations related to the object contour, such as calculating the perimeter area of the target contour. We can easily obtain the contour of each target by directly using the findContours function of Opencv, but after visualization, the order is disordered, as shown on t ...

Added by sbarros on Fri, 17 Dec 2021 18:27:55 +0200

How to export preprocessed image data for model reasoning from Deepstream Infer Plugin and use TensorRT for reasoning test

During the process of integrating models into Deepstream Infer Plugin, there may be some problems. One of the problems that puzzles people is that after a model is integrated into Deepstream Infer Plugin, the accuracy of model reasoning decreases, which is worse than that of directly using python or C + + to call the original model or using Ten ...

Added by joejoejoe on Thu, 16 Dec 2021 14:00:53 +0200

C + + implementation of DBSCAN density clustering algorithm

1, Basic concepts You can summarize the basic concepts of DBSCAN with 1, 2, 3 and 4. One core idea: Based on density Intuitively, DBSCAN algorithm can find all dense regions of sample points and treat these dense regions as clustering clusters one by one. Two algorithm parameters: neighborhood radius R and minimum number of points min ...

Added by Tjeuten on Wed, 15 Dec 2021 09:26:10 +0200

Pygame actual combat: the classic bubble dragon game popular all over the world is coming. Will you like it? (source code attached)

Introduction There are still many elimination games in Python, and mumuzi has pushed many before~ ๐Ÿ’ Source base ๐Ÿ’โ€”โ€” Click on my avatar in the upper right corner of the home page and get the source code for free ๐Ÿ’ The source code of previous periods is also dropping ๐Ÿ’ For example, the ever-changing Xiaole, remember? Today, ...

Added by Gruzin on Wed, 15 Dec 2021 04:31:43 +0200

Opencv learning notes - Classification and regression problems using opencvsharp and random forest

Random Forest (RF) is a simple and easy-to-use machine learning algorithm. Even without super parameter adjustment, the Random Forest can still obtain good results in most cases. It can be used for classification tasks and regression tasks. It is one of the commonly used machine learning algorithms. 1, Random forest principle 1. Basic thought ...

Added by fatmikey on Thu, 09 Dec 2021 09:01:11 +0200

Advanced face detection: sleepiness detection

Today we implement sleepiness detection. If the eyes have been closed for some time, we think they start to doze off and give an alarm to wake them up and attract their attention. We test a video to show the effect. At the same time, the code for turning on the camera is reserved in the code, which can be used after canceling the comment. Bu ...

Added by hawleyj on Thu, 09 Dec 2021 04:42:32 +0200

OpenCV39: feature matching + homography matrix lookup object

target In this chapter, you will learn Feature matching and finding (homography matrix) homology will be confused from Calib3D module to find known objects in complex images. Basics In the previous content, a query image was used, in which some feature points were found, another train image was taken, the features were also found in the ima ...

Added by hjunw on Fri, 03 Dec 2021 16:14:33 +0200