
18
the straight line will not be included in the range of pin segmentation, so as to achieve the effect
of filtering out the influence of the straight line.
The setting interface switches the registered image and the real-time image to be inspected
to help users compare and debug. The parameter setting and adjustment is a set, but there are
different display results corresponding to the two figures.
If the user needs to test each pin, except for the pin-by-pin frame definition, the user can
enter the pin definition window through the "Set Pin" button, set the pin range in the upper part
of the right image area of this window by using the normal frame method, select the correct pin
direction in the upper left, and then click the “Generate Pin” button. If it is completed normally,
these set pins will be generated with some inspection frames whose preset algorithm is color
extraction, and will be combined into one component together with the external short-circuit
frame. Users can modify the algorithm and adjust the parameters of the pin inspection frame as
required.
[Color Extraction]: extracting a certain color in the image to calculate the proportion of a
certain color in the whole image and the number of regions of a certain color in the whole image.
This algorithm is generally used for solder joints and short circuits of solder joints, as shown in
the following figure:
As a main inspection algorithm, the user enters the color extraction interface by clicking the
"Color Extraction" button, and sets and tests the color extraction of the inspection frame
In the image region on the right side of the interface, the upper image is the original image,
and the following is the extracted eligible region.
Unlike other algorithms, where each inspection frame only accommodates one standard
(different standards can only be extended by grouping), in this system, the inspection frame of
color extraction can accommodate eight different items and set eight different inspection
standards at the same time. Each algorithm can be selected in combination, and the standards can
be set separately.