yolov5 train your own dataset
The position of yolo Series in the field of target detection goes without saying. There is a code for training yolov5 implemented by pytorch on github. This paper will use its own data to train a yolov5 model. Reference code address
https://github.com/ultralytics/yolov5/tags
Note that here we select v1.0 under tags 0 version for training, d ...
Added by Sakesaru on Fri, 21 Jan 2022 10:43:30 +0200
Opencv Python learning notes -- Fourier transform of image processing
Catalogue of series articles
FFT
Use OpenCV to Fourier transform the image, use the FFT function available in Numpy, and some applications of Fourier transform
Correlation function: cv.dft(), cv.idft() etc.
1. Theory
Fourier transform is used to analyze the frequency characteristics of various filters. For the image, two-dimensional di ...
Added by gtal3x on Fri, 21 Jan 2022 08:34:04 +0200
Use OpenCV to extract the rectangular area in the image (PPT screen, etc.)
**
preface
** Recently, I participated in the Dachuang project. The topic involves computer vision. My sister sent a blog link to correct the image, so I plan to use this topic to get started with OpenCV.
Analyze problems
The PPT area in the photo is always inclined along the X, y and Z axes (as shown in the figure below). To flip the photo ...
Added by salmon on Thu, 20 Jan 2022 20:24:18 +0200
3d machine learning open3d learning record -- point cloud 2
preface
Follow the previous section Point cloud 1 Data address of this section: link: https://pan.baidu.com/s/1O4s8tFOvExhuKMl2OCv4Kg Extraction code: 82u1
1. Point cloud clipping
Code first
import open3d as o3d
pcd=o3d.io.read_point_cloud("./test_data/Crop/fragment.ply")
val=o3d.visualization.read_selection_polygon_volume("./test_data ...
Added by project168 on Thu, 20 Jan 2022 00:29:55 +0200
Operation processing record of artificial neural network course in 2021
§ 01 job handling
In the autumn of 2021 artificial neural network The course consists of two classes:
Internal courses of Tsinghua University;Courses of Shenzhen Research Institute;
1.1 operation requirements
There are four assignments and a course paper in the whole semester.
1.1.1 requirements for four operations
Neu ...
Added by lexx on Wed, 19 Jan 2022 15:30:18 +0200
Opencv -- image processing
Grayscale image output:
import cv2 #The format read by opencv is BGR
import numpy as np
import matplotlib.pyplot as plt#Matplotlib is RGB
%matplotlib inline
img=cv2.imread('miku.png')
img_gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
img_gray.shape
cv2.imshow("img_gray", img_gray)
cv2.waitKey(0)
cv2.destroyAllWindows()
Picture output:
...
Added by ssjskipp on Wed, 19 Jan 2022 03:14:04 +0200
halcon shape matching
halcon shape matching
1. Examples Specify the template image area (you can also draw a rectangle with draw_rectangle1)
Row1 := 188
Column1 := 182
Row2 := 298
Column2 := 412
gen_rectangle1 (ROI, Row1, Column1, Row2, Column2)
reduce_domain (ModelImage, ROI, ImageROI)
Create template If the template contains not only the direction but also the ...
Added by LanHorizon on Tue, 18 Jan 2022 11:56:47 +0200
Computer Visual PyTorch Implementation
Implementation of Computer Vision PyTorch (1)
PyTorch Base Module
Computer vision can be widely used in many real world fields. For example, basic image processing, image recognition, image segmentation, target tracking, image classification, attitude estimation, and so on. In-depth learning, many learning frameworks have been developed, such ...
Added by Rother2005 on Sun, 16 Jan 2022 13:37:44 +0200
The target detection model is actually so simple from training to deployment
The task of target detection is to find all interested targets (objects) in the image and determine their categories and positions. It is one of the core problems in the field of computer vision. Target detection has been applied to many fields, such as security, unmanned sales, automatic driving and military.
In many cases, the device running ...
Added by GFXUniverse on Sun, 16 Jan 2022 06:00:23 +0200
OpenCV parallel computing function parallel_for_ Use of
Excerpt:
OpenCV parallel acceleration_ for_ ParallelLoopBody tutorialopencv parallel computing function parallel_for_ Use ofOfficial website: Parallel ProcessingGao Xiang, Zhang Tao, 14 lectures on visual SLAM
In the process of using OpenCV, the amount of processing and calculation of pictures is still large, so how to calculate efficient ...
Added by hyster on Sat, 15 Jan 2022 12:06:08 +0200