OpenCV

vs studio install opencv environment

Article directory Download opencv first https://opencv.org/opencv-4-6-0/ Install and decompress directly Configure environment variables Put D:\soft\ [opencv] \build\x64\vc15\bin into it, and adjust it according to your personal situation. Install vs download directly from the official website, select desktop c++ After installing the configuration Next set up the linker – you need to set the additional library …

vs studio install opencv environment Read More »

Recognition of license plate numbers based on CNN, (2)

Article directory Preamble identification scheme plan 1 Scenario 2 Options: Prepare data data preparation read dataset Build Neural Networks to train Check the accuracy of the model optimization Test effect Perform license plate character prediction Measured Summarize next chapter Full code: data processing Neural Networks train View the effect method of prediction run Preamble In …

Recognition of license plate numbers based on CNN, (2) Read More »

Raspberry Pi and OpenCV realize face recognition (face recognition)

[Raspberry Pi] and OpenCV realize face recognition (face recognition) 1. OpenCV installation 2. Turn on the camera 3. Camera detection Fourth, face recognition 1. [OpenCV] installation Raspberry Pi and OpenCV realize face recognition (OpenCV installation ) 2. Turn on the camera Enter sudo raspi-config in the terminal, select Interface Options > Camera > Yes > …

Raspberry Pi and OpenCV realize face recognition (face recognition) Read More »

Principle of OpenCV interpolation algorithm

Table of contents interpolation algorithm nearest neighbor interpolation principle CODE bilinear interpolation Unilinear interpolation bilinear interpolation Welcome to participate in the leetcode brushing project [interpolation] algorithm After the image is subjected to affine transformation (stretching, rotation), the shape and position of the image have changed, so what is the pixel value of each [pixel], the …

Principle of OpenCV interpolation algorithm Read More »

Perspective transformation using OpenCV

1 Perspective transformation Perspective Transformation is to project the [image] to a new Viewing Plane, also known as Projective Mapping. As shown in the image below, transform ABC to A’B’C’ through the perspective transform. 2 Using [OpenCV] to implement perspective transformation 2.1 getPerspectiveTransform Computes the transmission transform from four pairs of points, returning a matrix …

Perspective transformation using OpenCV Read More »

OpenCV tutorial version 4.1.0 and VisualStudio2015 environment construction ☀️《❤️Remember to collect ❤️》

[OpenCV] tutorial version 4.1.0 and VisualStudio2015 environment construction ☀️《❤️Remember to collect ❤️》 Table of contents 🏳️‍🌈 Lecture starts! ! ! ! 🏳️‍🌈 🗾1. Download the required software 🏔️2. Install the software ⛰️3. New construction 🌋4. Engineering environment configuration 🗻5. Some mistakes 🏳️‍🌈 Follow Suzhou Program Dabai and keep updating technology sharing. Thank you for your …

OpenCV tutorial version 4.1.0 and VisualStudio2015 environment construction ☀️《❤️Remember to collect ❤️》 Read More »

opencv perspective transform

First, the perspective transformation Perspective transformation is the process of projecting an image from one viewing plane to another, so perspective transformation is also called projection mapping (Projection Mapping). We know that in the affine transformation of the image, the transformation matrix is ​​a 2×3 two-dimensional plane transformation matrix, and the perspective transformation is essentially …

opencv perspective transform Read More »

opencv learning – OCR character segmentation

Read the [grayscale image] , use threshold to binarize it, and select CV_THRESH_BINARY_INV to make the characters white Mat input = imread("plate.jpg", 0); Mat img_threshold; threshold(input, img_threshold, 60, 255, CV_THRESH_BINARY_INV); Use the findContours interface function to find the outline of each character vector<vector<Point>> contours; findContours(img_contours, contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_NONE); Use the boundingRect function to get the …

opencv learning – OCR character segmentation Read More »

opencv-python image processing – contour detection

Article directory Contour detection 1. Threshold function cv2.threshold() 2. An example of black and white binary inversion using the threshold function 3. Contour detection, drawing contours Contour detection 1. Threshold function cv2.threshold() This function has four parameters, the first is the original image, the second is the threshold for classification, the third is the new …

opencv-python image processing – contour detection Read More »