[note] the use of opencv in c + +
Record the code.
Standard Hough transform HoughLines() HoughLines(midImage, lines, 1, CV_PI/180, 150, 0, 0 );
The function input image is 8-bit single channel binary After calling HoughLines function, the output vector of the line detected by Hough line transformation is stored. Each line consists of a vector with two elements( ρ,θ ...
Posted by day_tripperz on Fri, 18 Feb 2022 22:21:05 +0100
Three optical flow tracking functions in Opencv
In slam, optical flow tracking judges the dynamics of an object in the image, which mainly includes three functions:
1. goodFeaturesToTrack function
Function: extract corners at pixel level in the input image, and support harris corners and Shi Tomasi corners.
Function prototype:
void goodFeaturesToTrack( InputArray image, OutputArray corne ...
Posted by badboy1245 on Fri, 18 Feb 2022 22:10:51 +0100
How to install OpenCV on Ubuntu 20.04
How to install OpenCV on Ubuntu 20.04
OpenCV(Open Source Computer Vision Library) is an open source computer vision library that supports C++, Python, and Java on all major operating systems. It can work with multicore processes and GPU Accelerated for real-time operation.
OpenCV is widely used, including medical picture analysis, street view ...
Posted by magicrobotmonkey on Fri, 18 Feb 2022 04:56:56 +0100
Drawing graphics of opencv learning notes
preface
opencv part about image drawing
1, Draw graphics
Opencv4 provides the circle () function for drawing graphics
Drawing a circle: prototype of the circle() function
void circle(InputOutputArray img, Point center, int radius, const Scalar & color, int thickness = 1, int lineType = LINE_8, int shift = 0)
img: need to draw a ...
Posted by ddrummond on Thu, 17 Feb 2022 16:35:21 +0100
Common loss function learning essays
Common loss function learning essays
Learning objectivesKnow the loss function of classification taskKnow the loss function of the regression task
In deep learning, loss function is a function used to measure the quality of model parameters. The measurement method is to compare the difference between network output and real output. The name ...
Posted by Frank H. Shaw on Thu, 17 Feb 2022 12:23:43 +0100
Pytorch: Target Detection Networks - Overview, Indicator Calculation and Use of Pre-training Networks
Pytorch: Overview of target detection networks, indicator calculation and use of pre-training networks
Copyright: Jingmin Wei, Pattern Recognition and Intelligent System, School of Artificial and Intelligence, Huazhong University of Science and Technology
Pytorch Tutorial Column Link
This tutorial is not commercial and is only for lear ...
Posted by Lyleyboy on Wed, 16 Feb 2022 18:11:43 +0100
Image size, flipping and affine transformation of opencv learning notes
preface
Image size, flipping and affine transformation in opencv
1, Image size transformation
Function prototype:
void resize(InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation = INTER_LINEAR)
src: input image
dst: output image. The data type of image is the same as src
dsize: output image s ...
Posted by Lphp on Tue, 15 Feb 2022 16:23:03 +0100
[PCL self-study: Filtering] Introduction and use of various filters in PCL (continuous update)
1. PassThrough filter: for threshold filtering
1. Introduction of Straight-pass Filter
PassThrough filters, as the name implies, use a threshold to directly filter out filters that do not meet the threshold. For example, if there are 100,000 numbers with values ranging from 1 to 100,000 and the pass filter has a threshold value of <50, ...
Posted by teebo on Mon, 14 Feb 2022 18:16:34 +0100
"IMAGE-CAPTION" image report generation based on CNN-RNN
🐱 Medical text generation based on CNN-RNN
This project uses resnet101 network pre trained by IMAGENET to extract image features, The image features are input into LSTM to generate a text description of the image.
The simple generation from image to text is preliminarily realized.
📖 0 project background
With the rapid development of ...
Posted by twilightnights on Sun, 13 Feb 2022 07:27:39 +0100
HS Corner Detection
1. Basic Theory
When processing feature descriptors suitable for multiple images, there are two main feature detection methods, one is angle-based detection, the other is to process all areas in the image. Here we will focus on angle-based detection.
In 1988, Harris and Stephens presented an angle detection algorithm, HS Angle Detector. See p ...
Posted by SBro on Sat, 12 Feb 2022 18:14:25 +0100