OpenCV C + + case practice III "QR code detection"

preface This article will use OpenCV C + + for QR code detection. 1, QR code detection Firstly, we must preprocess the image and extract the image contour through gray, filtering, binarization and other operations. Here I also added morphological operations to eliminate noise and effectively connect rectangular areas. Mat gray; cvt ...

Added by kylevisionace02 on Thu, 04 Nov 2021 12:18:18 +0200

100 cases of in-depth learning | day 53: train your own data set with YOLOv5 (super detailed full version)

Hello, I'm classmate K! Let's move on to the last article 100 deep learning cases | day 51 - target detection algorithm (YOLOv5) (Introduction) After configuring the environment required by YOLOv5, today we try to train our data with YOLOv5. (remember to run through the introductory chapter before starting this tutorial to ensure that other en ...

Added by cauri on Thu, 04 Nov 2021 05:10:50 +0200

RPN architecture and its PyTorch implementation

introduction because RPN architecture RPN Generation method of AnchorHow to select anchor as proposalsFor loss calculation, you need to select positive and negative samples from anchor before calculating loss In fact, RPN itself can be used as the Head of target detection Anchor generation So how did proposal come into being? It is ...

Added by pedroz on Mon, 25 Oct 2021 15:52:04 +0300

Computer vision 2.3: image feature vector extraction and application of transfer learning

Image feature vector extraction and application of transfer learning This article will discuss the concept of transfer learning in computer vision, an ability to use a pre trained model to learn from data sets other than its previously trained data sets. For example: There are two different data sets A and B, and our task is to identify diff ...

Added by khaitan_anuj on Mon, 25 Oct 2021 11:57:50 +0300

Python OpenCV extract object contour

Usually, when extracting the contour of an object, there is noise in the image, and the extraction effect is not ideal. As shown in the following figure, Extract code: import cv2 img = cv2.imread("mouse.png") cv2.imshow("origin",img) gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) ret,binary = cv2.threshold(gray,128,255,cv2.THRESH_BINARY) cv2. ...

Added by Fizzgig on Thu, 21 Oct 2021 08:30:05 +0300

Detailed explanation of Unet network for image segmentation

This note is based on the tensorflow-2 version and is contributed first code perhaps Download code (scientific Internet access may be required). What is image segmentation In the image classification task, the network assigns a label (or category) to each input image. However, suppose you want to know the shape of the object, which pixel belo ...

Added by niki77 on Wed, 20 Oct 2021 21:07:19 +0300

Raspberry Pie Visual Cart Globe Tracking (Color Tracking) (OpenCV Color Space HSV)

Catalog Basic Theory (HSV) Why use HSV space instead of RGB space? HSV 1. Hue (hue) 2. Value (lightness) 3. Saturation Effect Display I. Initialization Slider initialization 1. Create callback functions 2. Window Settings (Name) 3. Slider bar settings Code 2. Motion Functions 3. Helicopter Control 4. Obtaining binary maps in HSV ...

Added by kishanforum on Mon, 20 Sep 2021 21:18:40 +0300

NIPS15 - STN Spatial Transformer Network (including code reproduction) of spatial transformation module in neural network

Original address original text Thesis reading methods Three times thesis method First acquaintance CNN method is brilliant in the field of computer vision, and has replaced the traditional method in many fields. However, the architecture of convolutional neural network lacks spatial invariance. Even if convolution and Max pooling opera ...

Added by hacksurfin on Sun, 12 Sep 2021 23:09:02 +0300