Halcon Blob case study of solder ball inspection -- ball.hdev
introduction
Case study of ball.hdev
1, Results
1.1 reading the original drawing
1.2 welding ball inspection
2, Halcon code
* ball.hdev: Inspection of Ball Bonding
*
//Turns on or off the automatic output of icon output objects to the graphics window during program execution.
dev_update_window ('off')
//Close the active gra ...
Posted by HektoR on Wed, 17 Nov 2021 07:23:12 +0100
DQN+LSTM -- simple interpretation and implementation of DRQN
1, Foreword
DRQN comes from a paper in 2015. It is an early algorithm, and the content is easy to understand. It is to combine the traditional DQN with LSTM to make the agent have the function of memory, and finally achieved good results. It performs better than DQN in POMDP environment.
Before reading this article, it is assumed that you alr ...
Posted by sasito on Wed, 17 Nov 2021 03:20:31 +0100
cv::StereoCalibrate source code analysis -- CvLevMarq solver
For work reasons, it is necessary to calibrate the camera on a large scale. There is an obvious problem with the result of cv::omni::StereoCalibrate. There is no relevant analysis on the Internet. Only how to use this function, so I can only read the source code of StereoCalibrate myself.
opencv version 4.1.1
The steps of StereoCalibrate are ...
Posted by rlhms09 on Thu, 11 Nov 2021 05:50:11 +0100
Who doesn't love such a "powerful" Python -- removing PDF watermarks with Python
As we all know, Python, as a new generation of popular programming language, has powerful functions. But what are the specific aspects? Perhaps many young friends who have just started learning will have such doubts.
So today, let's introduce how to remove the watermark of PDF (picture) with Python. The idea is simple and the code is simple.
...
Posted by pereira2k5 on Thu, 11 Nov 2021 01:38:05 +0100
How to write java face recognition ------ the source code is attached
1 first register your own account in Face + + https://console.faceplusplus.com.cn/dashboard
Face
In Face recognition technology, Face refers to the Face found in the image. When Face detection is performed on a picture, the detected Face will be recorded, including the position of the Face in the picture, and a system will be used to identify ...
Posted by jarv on Mon, 08 Nov 2021 04:01:17 +0100
Use of transform in pytorch
1.ToTensor convert picture format
Transform is a transform.py file, which contains multiple classes, including the ToTensor class. Note that ToTensor is a class, not a method. First, create an object, and then use the object to convert the picture's PIL format or numpy format into the Tensor format. The code is as follows:
from PIL import ...
Posted by ssidellq on Wed, 27 Oct 2021 03:27:36 +0200
opencv image processing - image morphology
Mathematical morphology is an important tool for image processing. It can be used to obtain image boundary, extract skeleton, remove noise and detect corners Character recognition, visual detection and medical image processing.
Morphological transformation is a simple operation based on image shape. Morphological processing is mainly aimed at ...
Posted by goldlikesnow on Sat, 23 Oct 2021 16:19:21 +0200
Analysis of Hough's line transformation and circle transformation principle and python experiment
Hough transform
In the x-y coordinates of the image, the straight line passing through the point (x_i, y_i) is expressed as y_i=k∗ x_i+b (1), where k is the slope and b is the intercept
If x_i ,y_i is regarded as a constant and K and b are regarded as variables. Formula (1) can be expressed as b = - k * x_i + y_i(2)
In this way, ...
Posted by xenooreo on Sat, 23 Oct 2021 02:24:08 +0200
pclpy RANSAC fitting segmentation plane
1, Algorithm principle
1. Overview
due to the different fitting models according to the number of sampling points, the random consistent sampling algorithm can extract point cloud subsets with different shapes and states. Generally, the common model parameters are well fitted, the required sampling points are less, and the am ...
Posted by jetskirich on Sun, 03 Oct 2021 01:09:10 +0200
pclpy radius filtering
1, Algorithm principle
1. Principle overview
there will be some outliers in the breakpoint data, which may be caused by external factors such as noise. If these outliers participate in clustering, it will seriously affect the clustering results, so they must be removed. The outliers are removed by the method of removing radiu ...
Posted by bladechob on Sat, 02 Oct 2021 03:59:08 +0200