Method and device for increasing camera collecting speed of lamp inspection machine
A technology of acquisition speed and light inspection machine, which is used in measuring devices, material analysis by optical means, instruments, etc., can solve the problems of occupying transmission bandwidth, increasing costs, and shifting the target image out of the image, reducing blank areas, The effect of reducing the occupation of transmission bandwidth
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Such as figure 2 and image 3 As shown, in the method for improving the acquisition speed of the camera in the light inspection machine in this embodiment, by adjusting the configuration file of camera 1 in the light inspection machine, the area of the target image collected by camera 1 occupies 80% to 90% of the entire image area, where The area of the target image is the area enclosed by the contour lines of the target image. Take one of Basler's Cameralink cameras to shoot ampoule 6 as a reference object. Camera 1 has a resolution of 2040x1080 and a frame rate of 340fps. After camera 1 is connected, you can see the default parameters of camera 1 in its setting software. Figure 5 shown. The theoretically collected images such as Figure 6 As shown, the image data is 2040x1080, 8bit, the data volume is 2M (2040x1080x8bit), and the acquisition speed is about 340 frames per second (it varies with the length of the wire used and the function of the capture card 2...
Embodiment 2
[0057] Such as Figure 4 As shown, the difference between this embodiment and Embodiment 1 is only that the positioning method for the position of the target picture in the image is different. The positioning method of this embodiment includes the following steps:
[0058] 1) Acquire a single image, preset the ideal deviation threshold between the abscissa of the center of the image and the abscissa of the center of the target image, and define the coordinate D of the lower left corner of the image 0 (0, 0), the coordinate of the upper right corner is D 1 (X, Y), the abscissa of the image center is X 0 =X / 2;
[0059] 2) Find four edge points on the contour line of the target image in the image using the change of the gray value in the horizontal direction, two of which are symmetrically distributed on both sides of the bottom of the target image, and their abscissas are X [1] 、X [2] ; The other two edge points are symmetrically distributed on both sides of the upper part o...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 