OpenCV (26) image segmentation -- distance transformation and watershed algorithm

catalogue 1, Basic theory 1. Thought 2. Principle 2, Process Step induction 1. Convert the original image to binary image 2. Open operation denoising 3. Determine the background area (expansion) (get the background / maximum pass area) 4. Determine foreground area (distance transformation) (separation) (get seed / foreground) 5. U ...

Added by LawsLoop on Sun, 19 Dec 2021 20:25:00 +0200

[face recognition] realize smile recognition based on HOG feature and SVM algorithm

1, HOG feature extraction principle    HOG feature extraction process can be divided into five parts: detection window, normalized image, calculating gradient, statistical histogram, normalization of gradient histogram, and obtaining HOG feature vector. Detection window:    HOG divides the image through window and blo ...

Added by sullyman on Sun, 19 Dec 2021 13:11:19 +0200

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

Target detection pit entry Guide 4: GoogLeNet neural network

The three neural networks described above are "series", just the continuous stacking of convolution layers, and the structure is relatively simple. The next two blogs will introduce the "parallel" structure in GoogLeNet and ResNet, which are also the last two neural networks to be introduced before officially entering the ta ...

Added by AKA Panama Jack on Sun, 19 Dec 2021 07:25:00 +0200

The most complete Vision Transformer(ViT) paper interpretation and code reproduction (based on the paddle framework)

preface The pioneering work of the VIT model is to use a pure transformer structure, as shown in the title of the paper: AN IMAGE IS WORTH 16X16 WORDS, which embeds the pictures into a series of sequence s, and realizes the effect comparable to the SOTA model in CNN through multiple encoder structures and head s. Image classification t ...

Added by T2theC on Sat, 18 Dec 2021 09:54:15 +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

[hands on deep learning | Week1a] 02 + 03 + 04 data operation and data processing

02 introduction to deep learning What is the field of perception: the stage at which people can quickly perceive and process (English to Chinese). Deep learning, computer vision and natural language processing are the three largest contents in the field of AI. Application of deep learning Image classification (IMAGENET), at present, the erro ...

Added by AdamSnow on Fri, 17 Dec 2021 12:01:04 +0200

Jetson nano AttributeError: module 'pyralesense2' has no attribute 'pipeline' step on the hole

A vision project requires the jetson nano computing platform and intel realsense sr300 camera. We need to call it in python. After understanding, it can be configured in the following steps. 1: Install various dependent packages and check the corresponding versions 2: Download librealsense and compile build (this step is very important. Blogger ...

Added by Satanas on Fri, 17 Dec 2021 04:30:56 +0200

Detailed explanation of masked self encoder MAE and implementation of pytoch code

Supervised learning is a traditional method of training machine learning model. During training, every observed data needs to be labeled. What if we had a way to train machine learning models without collecting labels? What if we extract tags from the same data collected? This type of learning algorithm is called self supervised learning. This ...

Added by andy2006 on Sun, 12 Dec 2021 05:22:03 +0200

Detailed explanation and code implementation of masked self encoder MAE

Supervised learning is a traditional method of training machine learning model. During training, every observed data needs to be labeled. What if we had a way to train machine learning models without collecting labels? What if we extract tags from the same data collected? This type of learning algorithm is called self supervised learning. This ...

Added by DataSpy on Sun, 12 Dec 2021 05:19:22 +0200