CN114494124A - Method and device for detecting height of device, storage medium and electronic equipment - Google Patents

Method and device for detecting height of device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114494124A
CN114494124A CN202111567210.5A CN202111567210A CN114494124A CN 114494124 A CN114494124 A CN 114494124A CN 202111567210 A CN202111567210 A CN 202111567210A CN 114494124 A CN114494124 A CN 114494124A
Authority
CN
China
Prior art keywords
height
detected
image
detection area
scanning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111567210.5A
Other languages
Chinese (zh)
Inventor
殷亚男
田松
朱小明
张鑫
蒋粉玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Mega Technology Co Ltd
Original Assignee
Suzhou Mega Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Mega Technology Co Ltd filed Critical Suzhou Mega Technology Co Ltd
Priority to CN202111567210.5A priority Critical patent/CN114494124A/en
Publication of CN114494124A publication Critical patent/CN114494124A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Geometry (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The embodiment of the application provides a method and a device for detecting the height of a device, a storage medium and electronic equipment. The method comprises the following steps: generating a detection area in a device image of the device to be detected, wherein the optional detection area covers at least one boundary of the device to be detected in the optional device image and indicates a height scanning direction for the optional device to be detected; determining pixels corresponding to the optional device to be detected in the device image covered by the optional detection area; scanning the optional device image in the optional detection area along the optional height scanning direction, and obtaining the distance between the boundary of the optional device to be detected and a preset reference plane according to the pixel corresponding to the optional device to be detected; the device height of the optionally to-be-detected device is determined from the pitch distance determined from the plurality of scans. By the technical scheme, the height of the device can be conveniently and quickly calculated, and the method and the device can be suitable for high-flux detection scenes and different detection objects.

Description

Method and device for detecting height of device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of device detection, and more particularly, to a method and apparatus for detecting a height of a device, a storage medium, and an electronic device.
Background
Generally, after the device is manufactured, various defects may occur, such as scratches on the surface of the lead of the device, cracks on the surface of the housing of the device, and the like. Therefore, it is necessary to perform defect detection on the produced devices before shipment to remove defective devices. Defect inspection of devices typically requires the use of specialized inspection equipment. With the continuous development of science and technology, the structural complexity of various devices and the production capacity of the devices are also continuously improved, and accordingly, higher requirements are put forward on the detection equipment of the devices. In many production test scenarios, there is a high requirement for the speed (throughput) of device inspection, and sorting and blanking of good products and defective products are required immediately after the inspection is completed. In this case, the algorithm is required to complete the height detection of the device in one image in a short time so as to determine that the device is good or bad before the feeding, and thus the device is stored in the correct magazine during the feeding.
Although the existing image processing algorithms are capable of detecting the height of the device, the existing algorithms often need to extract edges and fit boundaries, have the problems of large calculation amount, more occupied resources and long time consumption, and are not suitable for scenes needing real-time detection, completing calculation in a short time and outputting results.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, a storage medium, and an electronic device for detecting a device height.
In order to achieve the above object, a first aspect of the present application provides a method for detecting a device height, comprising:
generating a detection area in a device image of the device to be detected, wherein the detection area covers at least one boundary of the device to be detected in the device image and indicates a height scanning direction for the device to be detected;
determining pixels corresponding to the device to be detected in the device image covered by the detection area;
scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and a preset reference plane according to the pixel corresponding to the device to be detected;
and determining the height of the device to be detected according to the spacing distance determined by the multiple times of scanning.
Optionally, scanning the device image within the inspection area along the height scanning direction comprises: determining whether a preset scanning direction is consistent with a height scanning direction indicated by the detection area; and under the condition that the preset scanning direction is determined to be inconsistent with the height scanning direction, rotating the device image and the detection area so as to enable the height scanning direction of the device in the rotated device image to be consistent with the preset scanning direction.
Optionally, determining, in the device image covered by the detection area, a pixel corresponding to the device to be detected includes: and performing threshold segmentation on the image area covered by the detection area through a preset color threshold to determine pixels of the to-be-detected device in the image area covered by the detection area, and marking the determined pixels of the to-be-detected device with a preset value, wherein the preset color threshold is used for distinguishing the pixels of the to-be-detected device from the pixels of the background image.
Optionally, the preset color threshold is set according to a color component difference between the device to be detected and the background image in at least one color channel.
Optionally, when the starting point in the height scanning direction is located on a preset reference plane and the height of the device is the height of the device gap, scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected includes: scanning the device image covered by the detection area along the height scanning direction, and determining the pixel point which is scanned for the first time and marked as a preset value as the lower boundary of the device to be detected; determining the distance between the lower boundary and a preset reference surface as the gap height of the device to be detected; and, determining the device height of the device to be tested according to the pitch distance obtained by the multiple scans comprises: and determining the height of the device to be detected according to the gap height obtained by multiple times of scanning.
Optionally, when the starting point in the height scanning direction is located on a preset reference plane and the height of the device is the overall height of the device, scanning the image of the device in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected includes: scanning the detection area along the height scanning direction, and determining the last scanned pixel point marked as a preset value as the upper boundary of the device to be detected; determining the distance between the upper boundary and a preset reference surface as the whole device height of the device to be detected; determining a device height of the device under test from the pitch distance determined from the multiple scans comprises: and determining the height of the device to be detected according to the integral height of the device determined by multiple times of scanning.
Optionally, the method further comprises: dividing the detection area into a plurality of area segments along a direction perpendicular to the height scanning direction; and, scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected comprises: scanning the device image in the detection area for multiple times along the height scanning direction, and obtaining multiple spacing distances by each scanning; in each area subsection, obtaining the subsection height corresponding to the area subsection according to a plurality of spacing distances corresponding to the area subsection; and, determining a device height of the device under test from the pitch distance determined from the multiple scans comprises: and determining the device height of the device to be detected according to the segmentation heights corresponding to the plurality of region segments.
Optionally, in each area segment, averaging a plurality of distance intervals corresponding to each area segment to obtain a segment height corresponding to the segment; and determining the device height of the device to be detected by averaging the segment heights corresponding to the plurality of region segments.
Optionally, the method further comprises: determining the device to be detected as an abnormal device under the condition that the deviation between the device height and the target height is greater than a preset deviation threshold value; and determining the device to be detected as a normal device under the condition that the deviation is less than or equal to a preset deviation threshold value.
Optionally, generating the detection region in the device image of the device to be detected comprises: acquiring a template image corresponding to a device image of a device to be detected, wherein the template image comprises a reference device and an initial detection area covering at least one boundary of the reference device; comparing the device image with the template image to determine the position offset between the device to be detected in the device image and the reference device in the template image; a detection region is generated in the device image based on the positional shift amount.
A second aspect of the present application provides an apparatus for detecting a height of a device, comprising:
the device comprises a detection area determining module, a height scanning module and a detection area judging module, wherein the detection area determining module is used for generating a detection area in a device image of a device to be detected, the detection area covers at least one boundary of the device to be detected in the device image and indicates the height scanning direction aiming at the device to be detected; determining pixels corresponding to the device to be detected in the device image covered by the detection area;
the scanning module is used for scanning the device image in the detection area along the height scanning direction and obtaining the distance between the boundary of the device to be detected and a preset reference plane according to the pixel corresponding to the device to be detected;
and the height determining module is used for determining the device height of the device to be detected according to the spacing distance determined by the multiple scanning.
A third aspect of the application provides a machine-readable storage medium having stored thereon instructions which, when executed by a processor, cause the processor to be configured to perform the above-described method for detecting a device height.
A fourth aspect of the present application provides an electronic device, comprising a processor and a memory, the processor and the memory being connected via a bus, the memory having a computer program stored therein, the method for detecting a device height being performed when the computer program is invoked by the processor.
By the technical scheme, the height of the device to be detected can be calculated conveniently and quickly, the method is suitable for high-flux detection scenes, can be suitable for different detection objects, and has good expansibility. And the height of the device is determined by the distance between the boundary of the detection device and the preset reference surface, so that the influence of noise in the image of the device on the detection result can be avoided.
Additional features and advantages of embodiments of the present application will be described in detail in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the embodiments of the disclosure, but are not intended to limit the embodiments of the disclosure. In the drawings:
FIG. 1 schematically illustrates a flow diagram of a method for detecting device height according to an embodiment of the present application;
FIG. 2 schematically shows a block diagram of an apparatus for detecting device height according to an embodiment of the present application;
fig. 3 schematically shows an internal structure diagram of a computer device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the specific embodiments described herein are only used for illustrating and explaining the embodiments of the present application and are not used for limiting the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 schematically shows a flow diagram of a method for detecting a device height according to an embodiment of the present application. In one embodiment of the present application, as shown in fig. 1, there is provided a method for detecting device height, comprising the steps of:
step 101, generating a detection area in a device image of a device to be detected, wherein the detection area covers at least one boundary of the device to be detected in the device image and indicates a height scanning direction for the device to be detected.
And 102, determining pixels corresponding to the to-be-detected device in the device image covered by the detection area.
Step 103, scanning the device image in the detection area along the height scanning direction, and obtaining a distance between the boundary of the device to be detected and a preset reference plane according to a pixel corresponding to the device to be detected, wherein the preset reference plane may be a surface on which the detection device is placed, and the position of the surface is usually unchanged, so that the surface can be used as a reference for height measurement.
And 104, determining the height of the device to be detected according to the spacing distance determined by the multiple scanning.
The height abnormity of the device or the device pin and the like is taken as a common defect in device production, and can cause certain influence on the production quality of the device. To test the quality of the device, first, the processor may acquire an image of the device to be tested. Wherein the device image may be captured by an image capture device. The image capturing device may be a video camera, a still camera, a recorder, or the like having an image capturing function. Under the condition that the image acquisition equipment shoots the device image of the device to be detected, the processor can obtain the device image of the device to be detected and can generate a detection area in the device image of the device to be detected. Wherein the detection area may cover at least one boundary of the device to be detected in the device image and indicate a height scanning direction for the device to be detected.
After the detection area is generated, the processor may determine pixels corresponding to the device to be detected in the device image covered by the detection area. After determining the pixels corresponding to the device to be detected, the processor may scan the device image in the detection area along the height scanning direction, and obtain the distance between the boundary of the device to be detected and the preset reference plane according to the pixels corresponding to the device to be detected. The boundary of the device to be detected may refer to a lower boundary of the device to be detected, and may refer to an upper boundary of the device to be detected. The preset reference plane may refer to a plane on which the device to be detected is placed in the inspection apparatus. For example, the preset reference plane may refer to a glass turntable of the detection apparatus.
Under the condition that the distance between the boundary of the device to be detected and the preset reference surface is obtained, the processor can scan the device to be detected for multiple times, and then the processor can determine the height of the device to be detected according to the distance determined by the multiple times of scanning. Wherein, the height of the device may refer to the gap height of the device, and may refer to the overall height of the device.
By the technical scheme, the height of the device to be detected can be calculated conveniently and quickly, the method is suitable for high-flux detection scenes, can be suitable for different detection objects, and has good expansibility. And the height of the device is determined by the distance between the boundary of the detection device and the preset reference surface, so that the influence of noise in the image of the device on the detection result can be avoided.
In one embodiment, the detection area is a rotatable rectangular area.
In one embodiment, scanning the device image within the inspection area along the height scan direction includes: determining whether a preset scanning direction is consistent with a height scanning direction indicated by the detection area; and under the condition that the preset scanning direction is determined to be inconsistent with the height scanning direction, rotating the device image and the detection area so as to enable the height scanning direction of the device in the rotated device image to be consistent with the preset scanning direction.
The processor may determine whether the preset scanning direction coincides with a height scanning direction indicated by the detection area. Wherein the preset scanning direction may refer to a scanning direction of the scanning apparatus. The preset scanning direction may refer to a direction of scanning from the preset reference plane to the upper boundary of the device to be detected, and may refer to a direction of scanning from the upper boundary of the device to be detected to the preset reference plane. If the preset scanning direction is determined to be inconsistent with the height scanning direction of the device to be detected, the processor can rotate the device image and the detection area so as to enable the height scanning direction of the device in the rotated device image to be consistent with the preset scanning direction. Wherein the detection area may refer to a rotatable rectangular area. If it is determined that the preset scanning direction is consistent with the height scanning direction of the device to be detected, the processor may obtain the distance between the boundary of the device to be detected and the preset reference plane according to the determined pixel corresponding to the device to be detected.
In one embodiment, determining the pixels corresponding to the device to be detected in the device image covered by the detection area includes: and performing threshold segmentation on the image area covered by the detection area through a preset color threshold to determine pixels of the to-be-detected device in the image area covered by the detection area, and marking the determined pixels of the to-be-detected device with a preset value, wherein the preset color threshold is used for distinguishing the pixels of the to-be-detected device from the pixels of the background image.
Because the color of the device to be detected is different from that of the background area, the device image can be processed in a threshold segmentation mode so as to determine the pixels corresponding to the device to be detected subsequently. Specifically, the processor may perform threshold segmentation on the image area covered by the detection area through a preset color threshold. The threshold segmentation may be understood as defining a region of the device to be detected and a background region where the device to be detected is located by means of a preset color threshold. That is, the preset color threshold may be used to distinguish pixels of the device to be detected from pixels of the background image.
After the threshold segmentation is performed, the processor may determine pixels of the to-be-detected device in an image area covered by the detection area, and may mark the determined pixels of the to-be-detected device with a preset value. For example, the processor may determine that the preset value of the pixel marker of the device to be detected is 1, and may determine that the preset value of the pixel marker of the background image is 0.
In one embodiment, the preset color threshold is set according to a color component difference between the device to be detected and the background image in at least one color channel.
In order to be able to better distinguish between the pixels of the device to be detected and the pixels of the background image, the preset color threshold may be set according to a color component difference between the device to be detected and the background image in at least one color channel. The color components of each pixel in the device image and the background image relate to three color channels, which may include R, G and B, three channels denoted red, green, and blue. The component values for each color channel may be 0-255.
In one embodiment, when the starting point in the height scanning direction is located on the preset reference plane and the height of the device is the height of the device gap, scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected includes: scanning the device image covered by the detection area along the height scanning direction, and determining the pixel point which is scanned for the first time and marked as a preset value as the lower boundary of the device to be detected; determining the distance between the lower boundary and the preset reference surface as the gap height of the device to be detected; and, determining the device height of the device to be tested according to the pitch distance obtained by the multiple scans comprises: and determining the height of the device to be detected according to the gap height obtained by multiple times of scanning.
The processor can scan the device image covered by the detection area along the height scanning direction, and determine the pixel points which are scanned for the first time and marked as preset values as the lower boundary of the device to be detected. Wherein the starting point of the height scanning direction may be located at a preset reference plane. The scanning may be performed by scanning the device image line by line. The preset value can be expressed as a pixel mark preset value of the device to be detected. In the case of determining the lower boundary of the device to be detected, the processor may determine a distance between the lower boundary and the preset reference plane as a gap height of the device to be detected. The preset reference plane may refer to a plane where the device to be detected is placed in the detection apparatus. For example, the preset reference plane may refer to a glass turntable of the detection apparatus. The processor can scan the device image covered by the detection area for multiple times along the height scanning direction, and can determine the device height of the device to be detected according to the gap height of the device to be detected, which is obtained by multiple times of scanning.
In one embodiment, when the starting point in the height scanning direction is located on the preset reference plane and the height of the device is the overall height of the device, scanning the image of the device in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected includes: scanning the detection area along the height scanning direction, and determining the last scanned pixel point marked as a preset value as the upper boundary of the device to be detected; determining the distance between the upper boundary and a preset reference surface as the whole device height of the device to be detected; determining a device height of the device under test from the pitch distance determined from the multiple scans comprises: and determining the height of the device to be detected according to the integral height of the device determined by multiple times of scanning.
The processor can scan the device image covered by the detection area along the height scanning direction, and the last scanned pixel point marked as the preset value is determined as the upper boundary of the device to be detected. Wherein the starting point of the height scanning direction may be located at a preset reference plane. The scanning may be performed by scanning the device image line by line. The preset value can be expressed as a pixel mark preset value of the device to be detected. In the case of determining the upper boundary of the device to be detected, the processor may determine a distance between the upper boundary and the preset reference plane as an overall height of the device to be detected. The preset reference plane may refer to a plane where the device to be detected is placed in the detection apparatus. For example, the preset reference plane may refer to a glass turntable of the detection apparatus. The processor can scan the device image covered by the detection area for multiple times along the height scanning direction, and can determine the height of the device to be detected according to the overall height of the device to be detected, which is obtained by multiple times of scanning.
In one embodiment, the method further comprises: dividing the detection area into a plurality of area segments along a direction perpendicular to the height scanning direction; and, scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected comprises: scanning the device image in the detection area for multiple times along the height scanning direction, and obtaining multiple spacing distances by each scanning; in each area subsection, obtaining the subsection height corresponding to the area subsection according to a plurality of spacing distances corresponding to the area subsection; and, determining a device height of the device under test based on the pitch distance determined by the multiple scans comprises: and determining the device height of the device to be detected according to the segmentation heights corresponding to the plurality of region segments.
The processor may divide the detection area into a plurality of area segments along a direction perpendicular to the height scanning direction. Thus, as the device image is scanned within the inspection area along the height scan direction, the processor may scan the device image within the inspection area a plurality of times along the height scan direction, with each scan resulting in a plurality of pitch distances. The pitch distance may refer to a pitch distance between a detected boundary of the device to be detected and a preset reference plane. In each of the area segments, the processor may obtain a segment height corresponding to the plurality of area segments according to the plurality of interval distances corresponding to the area segments. The processor may determine a device height of the device to be tested based on the segment heights corresponding to the plurality of region segments.
Further, in one embodiment, in each area segment, the segment height corresponding to the segment is obtained by averaging a plurality of distance distances corresponding to each area segment; and determining the device height of the device to be detected by averaging the segment heights corresponding to the plurality of region segments.
In each of the area segments, the processor may perform an average calculation on a plurality of distance distances corresponding to the area segment to obtain a segment height corresponding to the plurality of area segments. The pitch distance may refer to a pitch distance between a detected boundary of the device to be detected and a preset reference plane. The plurality of region segments corresponds to a plurality of segment heights. After the segment heights corresponding to the multiple region segments are obtained, the processor may perform an average calculation on the segment heights to determine the device height of the device to be detected.
By firstly taking the average value in a segmentation mode and then determining the height of the device to be detected, the calculated amount can be reduced, the detection efficiency is improved, and the influence of noise in the device image on the detection result can be avoided.
In one embodiment, the method further comprises: determining the device to be detected as an abnormal device under the condition that the deviation between the device height and the target height is greater than a preset deviation threshold value; and determining the device to be detected as a normal device under the condition that the deviation is less than or equal to a preset deviation threshold value.
The processor may determine that the device to be detected is an abnormal device if a deviation between the device height and the target height is greater than a preset deviation threshold. In the case where the deviation is less than or equal to the preset deviation threshold, the processor may determine that the period to be detected is a normal device.
In one embodiment, generating a detection region in a device image of a device to be detected comprises: acquiring a template image corresponding to a device image of a device to be detected, wherein the template image comprises a reference device and an initial detection area covering at least one boundary of the reference device; comparing the device image with the template image to determine the position offset between the device to be detected in the device image and the reference device in the template image; a detection region is generated in the device image based on the positional shift amount.
The detection area is generated in the device image of the device to be detected, and the processor can firstly acquire the template image corresponding to the device image of the device to be detected. Wherein the template image may include a reference device and an initial detection area covering at least one boundary of the reference device. A reference device may refer to a device that is defect free or has negligible defects. In the template image, the detection area of the template image can be labeled according to the position of the reference device. The detection area of the template image may refer to an initial detection area covering at least one boundary of the reference device.
In the actual detection process, the position of the device to be detected may deviate, that is, the detection area of the template image cannot cover the detection area of the device to be detected. For example, when the positions of the image capturing device for capturing the template image and the image capturing device for capturing the device image are not changed, the position of the device to be detected may move during the transferring and detecting process after the device to be detected is not put in place or the device to be detected is produced, which may cause the device in the device image to shift. In this case, if the detection area of the template image is labeled according to the reference device position in the template image, the detection area is generated in the image to be detected according to the detection area of the template image. At this time, the detection area of the template image may not cover at least one boundary of the device to be detected in the device image, and a larger error may occur in the device detection result.
To correct the positional offset of the detection region in the image to be detected, the processor may compare the device image with the template image to determine a positional offset between the device to be detected in the device image and the reference device in the template image. After determining the amount of positional shift, the processor may generate a detection region in the device image according to the amount of positional shift. At this time, the relative positional relationship of the detection region and the device in the template image is the same as the relative positional relationship of the detection region and the device in the device image. There are various ways of generating the detection region in the device image according to the amount of positional shift. For example, the detection area may be generated in the device image, and then the position of the detection area may be adjusted according to the determined position deviation amount to complete the correction of the deviation of the detection area. It is also possible to adjust the amount of positional shift of the detection region while generating the detection region in the device image according to the amount of positional shift to complete correction of the shift of the detection region.
By the technical scheme, the height of the device to be detected can be calculated conveniently and quickly, the method is suitable for high-flux detection scenes, can be suitable for different detection objects, and has good expansibility. And the height of the device is determined by the distance between the boundary of the detection device and the preset reference surface, so that the influence of noise in the image of the device on the detection result can be avoided. In addition, the calculation amount can be reduced and the detection efficiency can be improved by firstly taking the average value in a segmentation mode and then determining the height of the device to be detected.
FIG. 1 is a flow diagram of a method for detecting device height in one embodiment. It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 2, there is provided an apparatus for detecting a height of a device, including a detection region determining module, a scanning module, and a height determining module, wherein:
a detection region determining module 201, configured to generate a detection region in a device image of a device to be detected, where the detection region covers at least one boundary of the device to be detected in the device image and indicates a height scanning direction for the device to be detected; and determining pixels corresponding to the device to be detected in the device image covered by the detection area.
The scanning module 202 is configured to scan the device image in the detection area along the height scanning direction, and obtain a distance between a boundary of the device to be detected and a preset reference plane according to a pixel corresponding to the device to be detected.
And the height determining module 203 is used for determining the device height of the device to be detected according to the pitch distance determined by the multiple scanning.
The height of the device is detected, and the detection region determining module 201 may generate a detection region in a device image of the device to be detected, where the detection region covers at least one boundary of the device to be detected in the device image and indicates a height scanning direction for the device to be detected. Specifically, the detection region determining module 201 may obtain a template image corresponding to a device image of the device to be detected, where the template image includes a reference device and an initial detection region covering at least one boundary of the reference device. A reference device may refer to a device that is defect free or has negligible defects. In the template image, the detection area of the template image can be labeled according to the position of the reference device. The detection area of the template image may refer to an initial detection area covering at least one boundary of the reference device.
After obtaining the template image, the detection region determining module 201 may compare the device image with the template image to determine a position offset between the device to be detected in the device image and the reference device in the template image. The detection region determination module 201 may generate a detection region in the device image according to the positional shift amount. At this time, the relative positional relationship of the detection region and the device in the template image is the same as the relative positional relationship of the detection region and the device in the device image.
After generating the detection area, the detection area determining module 201 may determine pixels corresponding to the device to be detected in the device image covered by the detection area. Specifically, the detection region determining module 201 may perform threshold segmentation on an image region covered by the detection region through a preset diffraction threshold to determine pixels of the device to be detected in the image region covered by the detection region. The threshold segmentation may be understood as defining a region of the device to be detected and a background region where the device to be detected is located by means of a preset color threshold. The detection region determining module 201 may mark the determined pixels of the device to be detected with preset values. For example, the detection region determining module 201 may determine that the preset value of the pixel mark of the device to be detected is 1, and may determine that the preset value of the pixel mark of the background image is 0.
After determining the pixels corresponding to the device to be detected, the scanning module 202 may be configured to scan the device image in the detection area along the height scanning direction, and obtain a distance between the boundary of the device to be detected and the preset reference plane according to the pixels corresponding to the device to be detected.
The scanning module 202 may scan the device image covered by the detection area along the height scanning direction, and determine the first scanned pixel point marked as the preset value as the lower boundary of the device to be detected. Wherein the starting point of the height scanning direction may be located at a preset reference plane. The scanning may be performed by scanning the device image line by line. The preset value can be expressed as a pixel mark preset value of the device to be detected. In the case of determining the lower boundary of the device to be detected, the scanning module 202 may determine a distance between the lower boundary and the preset reference plane as a gap height of the device to be detected. The preset reference plane may refer to a plane where the device to be detected is placed in the detection apparatus. For example, the preset reference plane may refer to a glass turntable of the detection apparatus. The scanning module 202 may perform multiple scans on the device image covered by the detection area along the height scanning direction, and the height determining module 203 may determine the device height of the device to be detected according to the gap height of the device to be detected, which is obtained through the multiple scans.
The scanning module 202 may scan the device image covered by the detection area along the height scanning direction, and determine the last scanned pixel point marked as the preset value as the upper boundary of the device to be detected. Wherein the starting point of the height scanning direction may be located at a preset reference plane. The scanning may be performed by scanning the device image line by line. The preset value can be expressed as a pixel mark preset value of the device to be detected. In the case of determining the upper boundary of the device to be detected, the scanning module 202 may determine a distance between the upper boundary and the preset reference plane as an overall height of the device to be detected. The preset reference plane may refer to a plane where the device to be detected is placed in the detection apparatus. For example, the preset reference plane may refer to a glass turntable of the detection apparatus. The scanning module 202 may perform multiple scans on the device image covered by the detection area along the height scanning direction, and the height determining module 203 may determine the device height of the device to be detected according to the overall height of the device to be detected obtained through the multiple scans.
The scanning module 202 may divide the detection area into a plurality of area segments along a direction perpendicular to the height scanning direction. Thus, when scanning the device image within the inspection area along the height scan direction, the scan module 202 may scan the device image within the inspection area along the height scan direction multiple times, with each scan resulting in multiple pitch distances. The pitch distance may refer to a pitch distance between a detected boundary of the device to be detected and a preset reference plane. In each of the area segments, the scanning module 202 may obtain segment heights corresponding to a plurality of area segments according to a plurality of distance distances corresponding to the area segments. The height determining module 203 may determine the device height of the device to be detected according to the segment heights corresponding to the plurality of region segments.
The device for detecting the height of the device comprises a processor and a memory, wherein the detection area determining module, the scanning module, the height determining module and the like are stored in the memory as program units, and the processor executes the program modules stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more than one kernel can be set, and the method for detecting the height of the device is realized by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
Embodiments of the present application provide a storage medium having a program stored thereon, which when executed by a processor implements the above-described method for detecting a device height.
The embodiment of the application provides a processor, and the processor is used for running a program, wherein the program is used for executing the method for detecting the height of the device during running.
The embodiment of the application provides electronic equipment which comprises a processor and a memory, wherein the processor and the memory are connected through a bus, a computer program is stored in the memory, and the method for detecting the height of the device is executed when the computer program is called by the processor.
In one embodiment, a computer device is provided. The computer device may refer to the electronic device described above. The computer device may be a server, and its internal structure diagram may be as shown in fig. 3. The computer device includes a processor a01, a network interface a02, a memory (not shown), and a database (not shown) connected by a system bus. Wherein processor a01 of the computer device is used to provide computing and control capabilities. The memory of the computer device comprises an internal memory a03 and a non-volatile storage medium a 04. The nonvolatile storage medium a04 stores an operating system B01, a computer program B02, and a database (not shown in the figure). The internal memory a03 provides an environment for the operation of the operating system B01 and the computer programs B02 in the non-volatile storage medium a 04. The database of the computer device is used for storing data such as the device height of the device to be detected. The network interface a02 of the computer device is used for communication with an external terminal through a network connection. The computer program B02 is executed by the processor a01 to implement a method for detecting a device height.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The embodiment of the application provides equipment, the equipment comprises a processor, a memory and a program which is stored on the memory and can run on the processor, and the following steps are realized when the processor executes the program: generating a detection area in a device image of the device to be detected, wherein the detection area covers at least one boundary of the device to be detected in the device image and indicates a height scanning direction for the device to be detected; determining pixels corresponding to the device to be detected in the device image covered by the detection area; scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and a preset reference plane according to the pixel corresponding to the device to be detected; and determining the height of the device to be detected according to the spacing distance determined by the multiple times of scanning.
In one embodiment, scanning the device image within the inspection area along the height scan direction includes: determining whether a preset scanning direction is consistent with a height scanning direction indicated by the detection area; and under the condition that the preset scanning direction is determined to be inconsistent with the height scanning direction, rotating the device image and the detection area so as to enable the height scanning direction of the device in the rotated device image to be consistent with the preset scanning direction.
In one embodiment, determining the pixels corresponding to the device to be detected in the device image covered by the detection area includes: and performing threshold segmentation on the image area covered by the detection area through a preset color threshold to determine pixels of the device to be detected in the image area covered by the detection area, and marking the determined pixels of the device to be detected with a preset value, wherein the preset color threshold is used for distinguishing the pixels of the device to be detected from the pixels of the background image.
In one embodiment, the preset color threshold is set according to a color component difference between the device to be detected and the background image in at least one color channel.
In one embodiment, when the starting point in the height scanning direction is located on the preset reference plane and the height of the device is the height of the device gap, scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected includes: scanning the device image covered by the detection area along the height scanning direction, and determining the pixel point which is scanned for the first time and marked as a preset value as the lower boundary of the device to be detected; determining the distance between the lower boundary and a preset reference surface as the gap height of the device to be detected; and, determining the device height of the device to be tested according to the pitch distance obtained by the multiple scans comprises: and determining the height of the device to be detected according to the gap height obtained by multiple times of scanning.
In one embodiment, when the starting point in the height scanning direction is located on the preset reference plane and the height of the device is the overall height of the device, scanning the image of the device in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected includes: scanning the detection area along the height scanning direction, and determining the last scanned pixel point marked as a preset value as the upper boundary of the device to be detected; determining the distance between the upper boundary and a preset reference surface as the whole device height of the device to be detected; determining a device height of the device under test from the pitch distance determined from the multiple scans comprises: and determining the height of the device to be detected according to the integral height of the device determined by multiple times of scanning.
In one embodiment, the method further comprises: dividing the detection area into a plurality of area segments along a direction perpendicular to the height scanning direction; and, scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected comprises: scanning the device image in the detection area for multiple times along the height scanning direction, and obtaining multiple spacing distances by each scanning; in each area subsection, obtaining the subsection height corresponding to the area subsection according to a plurality of spacing distances corresponding to the area subsection; and, determining a device height of the device under test from the pitch distance determined from the multiple scans comprises: and determining the device height of the device to be detected according to the segmentation heights corresponding to the plurality of region segments.
In one embodiment, in each area segment, the segment height corresponding to each area segment is obtained by averaging a plurality of spacing distances corresponding to each area segment; and determining the device height of the device to be detected by averaging the segment heights corresponding to the plurality of region segments.
In one embodiment, the method further comprises: determining the device to be detected as an abnormal device under the condition that the deviation between the device height and the target height is greater than a preset deviation threshold value; and determining the device to be detected as a normal device under the condition that the deviation is less than or equal to a preset deviation threshold value.
In one embodiment, generating a detection region in a device image of a device to be detected includes: acquiring a template image corresponding to a device image of a device to be detected, wherein the template image comprises a reference device and an initial detection area covering at least one boundary of the reference device; comparing the device image with the template image to determine the position offset between the device to be detected in the device image and the reference device in the template image; a detection region is generated in the device image based on the positional shift amount.
The present application further provides a computer program product adapted to perform a program initialized with the method steps for detecting a device height as described above, when executed on a data processing device.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. A method for detecting device height, the method comprising:
generating a detection area in a device image of a device to be detected, wherein the detection area covers at least one boundary of the device to be detected in the device image and indicates a height scanning direction for the device to be detected;
determining pixels corresponding to the to-be-detected device in the device image covered by the detection area;
scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and a preset reference plane according to the pixel corresponding to the device to be detected;
and determining the height of the device to be detected according to the spacing distance determined by the multiple scanning.
2. The method for detecting device height of claim 1, wherein said scanning the device image within the detection area along the height scan direction comprises:
determining whether a preset scanning direction is consistent with a height scanning direction indicated by the detection area;
and under the condition that the preset scanning direction is determined to be inconsistent with the height scanning direction, rotating the device image and the detection area so as to enable the height scanning direction of the device in the rotated device image to be consistent with the preset scanning direction.
3. The method for detecting device height according to claim 1, wherein determining the corresponding pixel of the device to be detected in the device image covered by the detection area comprises:
and performing threshold segmentation on the image area covered by the detection area through a preset color threshold to determine pixels of the to-be-detected device in the image area covered by the detection area, and marking the determined pixels of the to-be-detected device with a preset value, wherein the preset color threshold is used for distinguishing the pixels of the to-be-detected device from pixels of a background image.
4. The method for detecting device height as claimed in claim 3, wherein the preset color threshold is set according to a color component difference of the device to be detected and a background image in at least one color channel.
5. The method according to claim 3, wherein when a starting point in the height scanning direction is located on the preset reference plane and the device height is a device gap height, the scanning the device image in the detection area along the height scanning direction, and obtaining a distance between a boundary of the device to be detected and the preset reference plane according to a pixel corresponding to the device to be detected comprises:
scanning the device image covered by the detection area along the height scanning direction, and determining the pixel point which is scanned for the first time and marked as a preset value as the lower boundary of the device to be detected;
determining the distance between the lower boundary and the preset reference surface as the gap height of the device to be detected;
and, the determining the device height of the device to be tested according to the pitch distance obtained by the multiple scanning comprises:
and determining the height of the device to be detected according to the gap height obtained by multiple times of scanning.
6. The method according to claim 3, wherein when a starting point in the height scanning direction is located on the preset reference plane and the device height is the overall height of the device, the scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and the preset reference plane according to the pixel corresponding to the device to be detected comprises:
scanning the detection area along the height scanning direction, and determining the last scanned pixel point marked as a preset value as the upper boundary of the device to be detected;
determining the distance between the upper boundary and the preset reference surface as the whole device height of the device to be detected;
the determining the device height of the device to be tested according to the pitch distance determined by the multiple scans comprises:
and determining the height of the device to be detected according to the integral height of the device determined by multiple times of scanning.
7. The method for detecting device height of claim 1, further comprising:
dividing the detection area into a plurality of area segments along a direction perpendicular to the height scanning direction;
and the scanning the device image in the detection area along the height scanning direction, and obtaining the distance between the boundary of the device to be detected and a preset reference plane according to the pixel corresponding to the device to be detected comprises:
scanning the device image in the detection area for multiple times along the height scanning direction, wherein each time of scanning, multiple spacing distances are obtained;
in each area subsection, obtaining the subsection height corresponding to the area subsection according to a plurality of spacing distances corresponding to the area subsection;
and, the determining the device height of the device to be tested according to the pitch distance determined by the multiple scans comprises:
and determining the device height of the device to be detected according to the segmentation heights corresponding to the plurality of region segments.
8. The method of claim 1, wherein in each region segment, the segment height corresponding to each region segment is obtained by averaging a plurality of pitch distances corresponding to the segment;
and determining the device height of the device to be detected by averaging the segment heights corresponding to the plurality of region segments.
9. The method for detecting device height of any of claims 1 to 8, further comprising:
determining the device to be detected as an abnormal device under the condition that the deviation between the device height and the target height is greater than a preset deviation threshold value; and determining the device to be detected as a normal device under the condition that the deviation is less than or equal to the preset deviation threshold value.
10. The method for detecting device height according to any of claims 1 to 8, wherein generating a detection area in a device image of a device to be detected comprises:
acquiring a template image corresponding to a device image of the device to be detected, wherein the template image comprises a reference device and an initial detection area covering at least one boundary of the reference device;
comparing the device image with the template image to determine the position offset between the device to be detected in the device image and the reference device in the template image;
and generating a detection area in the device image according to the position offset.
11. The method for detecting device height of any of claims 1 to 8, wherein the detection area is a rotatable rectangular area.
12. An apparatus for detecting device height, the apparatus comprising:
the device comprises a detection area determining module, a height scanning module and a detection area judging module, wherein the detection area determining module is used for generating a detection area in a device image of a device to be detected, the detection area covers at least one boundary of the device to be detected in the device image and indicates the height scanning direction of the device to be detected; determining pixels corresponding to the to-be-detected device in the device image covered by the detection area;
the scanning module is used for scanning the device image in the detection area along the height scanning direction and obtaining the distance between the boundary of the device to be detected and a preset reference plane according to the pixel corresponding to the device to be detected;
and the height determining module is used for determining the device height of the device to be detected according to the spacing distance determined by the multiple scanning.
13. A machine-readable storage medium having instructions stored thereon, which when executed by a processor causes the processor to be configured to perform a method for detecting device height according to any one of claims 1 to 11.
14. An electronic device comprising a processor and a memory, said processor and said memory being connected by a bus, characterized in that a computer program is stored in said memory, which computer program, when invoked by said processor, executes a method for detecting a device height according to any one of claims 1 to 11.
CN202111567210.5A 2021-12-20 2021-12-20 Method and device for detecting height of device, storage medium and electronic equipment Pending CN114494124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111567210.5A CN114494124A (en) 2021-12-20 2021-12-20 Method and device for detecting height of device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111567210.5A CN114494124A (en) 2021-12-20 2021-12-20 Method and device for detecting height of device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114494124A true CN114494124A (en) 2022-05-13

Family

ID=81493523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111567210.5A Pending CN114494124A (en) 2021-12-20 2021-12-20 Method and device for detecting height of device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114494124A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116295046A (en) * 2023-02-20 2023-06-23 上海赫立智能机器有限公司 Method for measuring height of circuit board-mounted component in shape like Chinese character' hui

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116295046A (en) * 2023-02-20 2023-06-23 上海赫立智能机器有限公司 Method for measuring height of circuit board-mounted component in shape like Chinese character' hui
CN116295046B (en) * 2023-02-20 2023-12-19 上海赫立智能机器有限公司 Method for measuring height of circuit board-mounted component in shape like Chinese character' hui

Similar Documents

Publication Publication Date Title
TWI581213B (en) Method, image processing system and computer-readable recording medium for item defect inspection
US11189019B2 (en) Method for detecting defects, electronic device, and computer readable medium
JP5141245B2 (en) Image processing apparatus, correction information generation method, and imaging apparatus
CN110460769B (en) Image correction method, image correction device, computer equipment and storage medium
US20130229550A1 (en) Defective pixel correction apparatus, method for controlling the apparatus, and program for causing computer to perform the method
JP2006303491A (en) Method of inspecting wafer
CN114494124A (en) Method and device for detecting height of device, storage medium and electronic equipment
US11228723B2 (en) Pixel correction
CN111970500A (en) Automatic distance step calibration method and system for projection equipment
CN113785181A (en) OLED screen point defect judgment method and device, storage medium and electronic equipment
CN114494116A (en) Device edge detection method and device, storage medium and electronic equipment
CN114494122A (en) Target object detection method and device, storage medium and electronic equipment
JP5466099B2 (en) Appearance inspection device
CN114494117A (en) Device glue distribution detection method and device, storage medium and electronic equipment
CN111160340A (en) Moving target detection method and device, storage medium and terminal equipment
US8417019B2 (en) Image correction system and method
CN114494115A (en) Target object detection method and device, storage medium and electronic equipment
CN114494118A (en) Method for detecting width of target object and method for detecting length of target object
CN113379726A (en) Line detection method, device, equipment and computer readable storage medium
JP4471352B2 (en) Defective pixel correction apparatus and method, imaging apparatus, program, and storage medium
US20240029423A1 (en) Method for detecting defect in image and device for detecting defect in image
CN114494119A (en) Device direction detection method and device, storage medium and electronic equipment
CN114425524B (en) Material receiving control method and device for detection equipment and detection equipment
JP2020003837A (en) Identification apparatus and identification method
WO2022059335A1 (en) Three-dimensional model generation method and three-dimensional model generation device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination