[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114397307B - Method, apparatus, device and storage medium for device inspection - Google Patents

Method, apparatus, device and storage medium for device inspection Download PDF

Info

Publication number
CN114397307B
CN114397307B CN202111567215.8A CN202111567215A CN114397307B CN 114397307 B CN114397307 B CN 114397307B CN 202111567215 A CN202111567215 A CN 202111567215A CN 114397307 B CN114397307 B CN 114397307B
Authority
CN
China
Prior art keywords
image acquisition
detection
image
processing
result
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.)
Active
Application number
CN202111567215.8A
Other languages
Chinese (zh)
Other versions
CN114397307A (en
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 CN202111567215.8A priority Critical patent/CN114397307B/en
Publication of CN114397307A publication Critical patent/CN114397307A/en
Application granted granted Critical
Publication of CN114397307B publication Critical patent/CN114397307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/89Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles
    • G01N21/8901Optical details; Scanning details
    • G01N21/8903Optical details; Scanning details using a multiple detector array
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/89Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles
    • G01N21/8914Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles characterised by the material examined

Landscapes

  • Engineering & Computer Science (AREA)
  • Textile Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for detecting a device, which are applied to device detection equipment, wherein the device detection equipment comprises an image acquisition mechanism, the image acquisition mechanism is used for acquiring images of the device, and the method comprises the following steps: judging whether the processing of all the images acquired by the image acquisition mechanism is completed or not at a preset moment; if the judgment result is yes, determining a detection result of the device according to the processing results of all the images; and under the condition that the judgment result is negative, determining that the detection result of the device is to-be-determined. Whether all the images acquired by the image acquisition mechanism are processed or not is detected at a specific time, whether the device is classified as a to-be-determined product or not is further determined, the problem of instruction dislocation can be effectively avoided, and the accuracy of a detection result is improved.

Description

Method, apparatus, device and storage medium for device inspection
Technical Field
The present disclosure relates to the field of automated machine detection technologies, and in particular, to a method, an apparatus, a device, and a storage medium for device detection.
Background
After devices are manufactured, defects typically need to be detected before shipping to remove devices with quality defects. Defect detection of devices generally requires the aid of specialized detection equipment. Along with the continuous development of technology, the structural complexity and the production capacity of devices are continuously improved, and the requirements on detection equipment of the devices are also increasingly improved.
Along with the miniaturization development of the devices, the volumes of the devices are gradually reduced, meanwhile, in many production scenes, high requirements are placed on the detection speed of the devices, materials in the detection equipment are closely arranged, and the materials travel in the detection equipment under the drive of the conveying mechanism at a high speed so as to finish detection and blanking in a short time, so that the detection needs to be finished in a short time as much as possible for each device, and the devices are conveniently and correctly sorted into the material boxes corresponding to detection results.
The detection process of the device is often completed by means of the operation of a computer program, but in practical application, the program operation is likely to generate a clamping phenomenon, so that the device reaches the receiving position of the receiving mechanism under the condition that the detection result of the device is not determined, and the device misses the receiving position after the detection result of the device is determined. After the detection result is determined, the detection equipment can send out a receiving instruction to the device, and other devices arranged behind the device are arranged at the receiving position at the moment, so that the device cannot be correctly received, namely the problem of instruction dislocation occurs, and the accuracy of the batch detection result of the devices is obviously reduced.
Disclosure of Invention
The embodiment of the application aims to provide a method, a device, equipment and a storage medium for device detection, and aims to solve the problem that in the prior art, the accuracy of device batch detection results is easily reduced due to instruction dislocation during device detection.
In order to achieve the above object, a first aspect of the present application provides a method for device inspection, applied to a device inspection apparatus, characterized in that the device inspection apparatus includes an image capturing mechanism for capturing an image of a device, the method for device inspection including:
judging whether the processing of all the images acquired by the image acquisition mechanism is completed or not at a preset moment;
if the judgment result is yes, determining the detection result of the device according to the processing results of all the images; and
and under the condition that the judgment result is negative, determining that the detection result of the device is a to-be-determined product.
In this embodiment of the application, the device detection apparatus further includes a blanking mechanism, the image capturing mechanism includes a plurality of image capturing apparatuses, and the image capturing mechanism is disposed at an upstream position of the blanking mechanism, the method further includes:
and determining the generation time of the processing result of the image acquisition device, which is closest to the blanking mechanism, on the image acquired by the device as a preset time.
In an embodiment of the present application, the device detection apparatus further includes a first position sensor located at an upstream position of the image capturing mechanism, and the method further includes:
and responding to a trigger instruction sent by the first position sensor when the device is detected, determining the image acquisition time of each image acquisition device and the blanking time of the blanking mechanism according to the running speed of the device in the device detection device, the distance between the position of the first position sensor and each image acquisition device and the distance between the position of the first position sensor and the blanking mechanism, and respectively controlling the image acquisition device or the blanking mechanism to execute corresponding operation when the image acquisition time or the blanking time arrives.
In this embodiment of the application, the device detection apparatus further includes a blanking mechanism and a second position sensor, the image acquisition mechanism includes a plurality of image acquisition apparatuses, the second position sensor is disposed between the blanking mechanism and the image acquisition apparatus closest to the blanking mechanism, and the method further includes:
and determining the detection time when the second position sensor detects the device as a preset time.
In an embodiment of the present application, the image capturing mechanism includes a plurality of image capturing devices, and the method further includes:
storing the processing result corresponding to the image acquired by each image acquisition device to a preset storage position;
and judging whether the processing of all the images acquired by the image acquisition mechanism is completely finished at the preset moment comprises the following steps:
when the preset time arrives, judging whether the storage position corresponding to each image acquisition device stores the processing result.
In an embodiment of the present application, the method further includes:
if the judgment result is yes, extracting processing results corresponding to the plurality of image acquisition devices, and emptying the preset storage positions;
and under the condition that the judgment result is negative, directly emptying the preset storage position.
In the embodiment of the application, processing results corresponding to the plurality of image acquisition devices are stored in an array, and the ordering of storage positions corresponding to the plurality of image acquisition devices in the array is consistent with the ordering of the plurality of image acquisition devices on a device travelling path.
A second aspect of the present application provides an apparatus for device inspection, comprising:
the judging module is used for judging whether the processing of all the images acquired by the image acquisition mechanism is completed or not at the preset moment;
the first detection module is used for determining the detection result of the device according to the processing results of all the images under the condition that the judgment result is yes; and
and the second detection module is used for determining that the detection result of the device is a to-be-determined product under the condition that the judgment result is negative.
A third aspect of the present application provides a device inspection apparatus, comprising:
a memory storing a program for device detection;
a processor configured to invoke the program for device detection from the memory such that the processor is capable of performing the method for device detection described above.
A fourth aspect of the present application provides a storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, cause the processor to be configured to perform the method for device detection described above.
Through the technical scheme, whether the processing of all the images acquired by the image acquisition mechanism is completely finished or not is judged at the preset moment; if the judgment result is yes, determining the detection result of the device according to the processing results of all the images; and under the condition that the judgment result is negative, determining that the detection result of the device is a to-be-determined product. Whether all the images acquired by the image acquisition mechanism are processed or not is detected at a specific time, whether the device is classified as a to-be-determined product or not is further determined, the problem of instruction dislocation can be effectively avoided, and the accuracy of a detection result is improved.
Additional features and advantages of embodiments of the present application will be set forth in the detailed description that follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate embodiments of the present application and together with the description serve to explain, without limitation, the embodiments of the present application. In the drawings:
FIG. 1 schematically illustrates an application environment schematic of a method for device detection according to an embodiment of the present application;
FIG. 2 schematically illustrates a flow diagram of a method for device detection according to an embodiment of the present application;
FIG. 3 schematically illustrates a flow diagram of a method for device detection according to another embodiment of the present application;
FIG. 4 schematically illustrates a block diagram of an apparatus for device inspection according to an embodiment of the present application;
fig. 5 schematically shows an internal structural diagram of a computer device according to an embodiment of the present application.
Reference numerals
10 hopper 11 vibration disk 12 track
13 first position sensor 14 first image acquisition device 15 second image acquisition device
16 third image acquisition device 17 fourth image acquisition device 18 fifth image acquisition device
19 carousel 20 sixth image acquisition facility 21 unloading mechanism
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in 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 implementations described herein are only for illustrating and explaining the embodiments of the present application, and are not intended to limit the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
It should be noted that, in the embodiment of the present application, directional indications (such as up, down, left, right, front, and rear … …) are referred to, and the directional indications are merely used to explain the relative positional relationship, movement conditions, and the like between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present application, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be regarded as not exist and not within the protection scope of the present application.
The method for detecting the device, provided by the embodiment of the application, can be applied to the device detection equipment shown in fig. 1. The device inspection apparatus shown in fig. 1 includes a hopper 10, a vibrating tray 11, a rail 12, a first position sensor 13, an image pickup mechanism, a turntable 19, a discharging mechanism 21, and the like. Wherein the image acquisition mechanism may comprise a plurality of image acquisition devices. As shown in fig. 1, the image capturing mechanism may include a first image capturing device 14, a second image capturing device 15, a third image capturing device 16, a fourth image capturing device 17, a fifth image capturing device 18, a sixth image capturing device 20, and the like. During operation of the device inspection apparatus, the device to be inspected is unloaded onto the vibration plate 11 through the hopper 10, the vibration plate 11 conveys the device to be inspected to the rail 12, and the device to be inspected is placed on the turntable 19 via the rail 12. The turntable 19 rotates to drive the device to be detected to travel, and the device to be detected sequentially passes through the first sensor 13, the plurality of image acquisition devices and finally reaches the blanking mechanism 21 to be received. When the first sensor 13 on the turntable 19 detects a device to be detected, the control system of the device detection apparatus obtains the time when all the image acquisition apparatuses take a picture of the device and the time when the blanking mechanism 21 performs blanking. In one example, when the blanking mechanism 21 is an air-blow blanking mechanism, the control system will obtain the time for each needle of the air-blow blanking mechanism to blow.
Taking the image acquisition equipment as a camera as an example, when a device to be detected is conveyed from the vibration disk 11 to the turntable 19 through the track 12, the device to be detected firstly passes through an initial position sensor, namely a first position sensor 13, and at the moment, a detection time sequence corresponding to the device to be detected is triggered, wherein the detection time sequence comprises the time for six cameras to shoot the device; after each camera shoots, the corresponding thread executes a corresponding algorithm to process the pictures shot by the corresponding camera so as to determine whether the device to be detected is qualified. In a specific implementation, because the angles of the images shot by different cameras are different, defects easily appearing on different surfaces of the device are different, and different algorithms can be adopted for processing the cameras at different positions. The control system may collect the processing results of the images captured by all cameras, and obtain a final detection result (for example, the device to be detected belongs to a qualified product, a to-be-determined product or a non-qualified product) according to the processing results, so as to determine the needle to be blown in the blanking mechanism 21, and the corresponding needle will blow when the device reaches its blowing position, so that the device is blown into the corresponding material box.
Fig. 2 schematically shows a flow diagram of a method for device detection according to an embodiment of the present application. As shown in fig. 2, in an embodiment of the present application, a method for device detection is provided, which is applied to a device detection apparatus, where the device detection apparatus includes an image capturing mechanism, and the image capturing mechanism is configured to capture an image of a device, and the method may include the following steps:
and S10, judging whether the processing of all the images acquired by the image acquisition mechanism is completed or not at the preset moment.
It should be understood that one way of detecting a device is visual detection, and there are often multiple cameras in the detecting device for performing visual detection operation, on the path of the conveying mechanism driving the device to move, the shooting positions of the multiple cameras may be passed through, the multiple cameras may shoot the device from multiple directions to collect images of different angles of the device, and by processing the images, whether each position of the device is defective or not is determined, so as to determine whether the device is good or defective, and then the device is fed into a corresponding receiving box. Thus, it is necessary to ensure that the device has processed the image captured by all cameras by the image processing algorithm before reaching the receiving mechanism, and if the algorithm for the image captured by one camera is not completed, it may not give a correct result. In general, after each camera finishes shooting, the algorithm corresponding to the camera immediately starts to process the image shot by the camera, so that in the whole detection process, a plurality of cameras shoot in sequence, and the corresponding algorithms also run in parallel, thereby improving the efficiency of image processing. However, in practical applications, the hardware and software still have difficulty in avoiding a jam, which may cause the device to reach the receiving position of the receiving mechanism, and the image of the device is still unprocessed, because the system sends the receiving instructions sequentially, even if the algorithm has missed the receiving position when the image of the device is processed, the system still sends the receiving instruction corresponding to the device, for example, the device a is a defective product, the sent receiving instruction is to receive the device a into the receiving box of the defective product, but at this time, the receiving instruction is actually another device B arranged behind the device a, and the device B may be a good product, but the receiving instruction received by the receiving mechanism is to put the device at the receiving position into the defective product receiving box, so the instruction actually causes the receiving mechanism to falsely receive the device B into the defective product receiving box, and the device a is not correctly received, that is, a problem that the instruction is misplacement occurs. According to the method and the device, whether the processing of all the images acquired by the image acquisition mechanism is completely finished is judged at the preset moment, and under the condition that the judgment result is negative, the device is directly determined to be a to-be-determined product, so that the problem of instruction dislocation can be effectively avoided.
It should be noted that, the processing procedure of the image acquired by the image acquisition mechanism may be implemented locally in the device detection apparatus, or may be implemented by other apparatuses or a cloud platform, which is not limited in this embodiment of the present application.
The preset time may be determined according to a specific design of the device inspection apparatus, and in one example, the device inspection apparatus further includes a blanking mechanism, the image capturing mechanism includes a plurality of image capturing apparatuses, and the image capturing mechanism is disposed at an upstream position of the blanking mechanism, the method further includes: and determining the generation time of the processing result of the image acquisition device, which is closest to the blanking mechanism, on the image acquired by the device as a preset time.
Referring also to fig. 1, taking an example in which the image capturing mechanism includes six image capturing mechanisms and the image capturing apparatus closest to the blanking mechanism 21 is the sixth image capturing apparatus 20, the preset time is the generation time of the processing result of the image captured by the sixth image capturing apparatus 20.
In a specific implementation, the device detection apparatus may further include a first position sensor 13, the first position sensor 13 being located at an upstream position of the image capturing mechanism, and the method further includes: in response to a trigger instruction sent by the first position sensor 13 when detecting a device, determining the image acquisition time of each image acquisition device and the blanking time of the blanking mechanism 21 according to the running speed of the device in the device detection device, the distance between the position of the first position sensor 13 and each image acquisition device and the distance between the position of the first position sensor 13 and the blanking mechanism 21, and respectively controlling the image acquisition device or the blanking mechanism to execute corresponding operations when the image acquisition time or the blanking time arrives.
After each image acquisition device acquires an image by executing corresponding operation, the device detection device or the cloud platform and other devices can process the acquired image to obtain a processing result, and the processing result is stored in a preset storage position. At the time of generation of the processing results of the images acquired by the sixth image acquisition device 20, it can be determined whether or not the processing of all the images is completed by looking up whether or not there are the processing results of the images acquired by the other five image acquisition devices in the preset storage location.
In another example, the device inspection apparatus further includes a blanking mechanism and a second position sensor, the image capture mechanism including a plurality of image capture devices, the second position sensor being disposed between the blanking mechanism and the image capture device closest to the blanking mechanism, the method further comprising: and determining the detection time when the second position sensor detects the device as a preset time.
Referring also to fig. 1, taking an example in which the image capturing mechanism includes six image capturing mechanisms and the image capturing apparatus closest to the blanking mechanism 21 is a sixth image capturing apparatus 20, a second position sensor (not shown) is provided between the blanking mechanism 21 and the sixth image capturing apparatus 20, and a preset time is a detection time at which the second position sensor detects a device.
When the device is driven by the conveying mechanism to sequentially pass through the shooting positions of all the image acquisition mechanisms, the device continues to run, and the device is detected by the second position sensor before reaching the blanking mechanism 21. At this time, it is also possible to find out whether the processing results of the images photographed by the respective image pickup mechanisms have been all generated by accessing the preset storage locations.
And S20, determining the detection result of the device according to the processing results of all the images when the judgment result is yes.
It should be understood that, when the processing of all the images acquired by the image acquisition mechanisms at the preset moment is completed, the image of the device is processed by the algorithm, and then the device can be received in a normal manner, that is, the final detection result of the device is determined according to the processing result of the images acquired by all the image acquisition mechanisms, and then the device is received according to the detection result.
And S30, under the condition that the judgment result is negative, determining that the detection result of the device is a to-be-determined product.
And under the condition that the processing of all the images acquired by the image acquisition mechanism is not completed at the preset moment, the condition that the images are not processed by the algorithm is indicated, and the device is directly determined to be a to-be-determined product. Referring to fig. 1 together, it is assumed that the processing result corresponding to the image acquired by the third image acquisition apparatus 16 on the device is missing, that is, the image acquired by the third image acquisition apparatus 16 on the device is not processed by the algorithm, at this time, the algorithm corresponding to the third image acquisition apparatus 16 will not continue to wait for the image of the device to be processed, but the device is directly considered to be a to-be-determined product.
When the device is determined to be a to-be-determined product, a receiving instruction can be sent out, and the device is placed into a to-be-determined product receiving box. Like this, receive the material instruction and receive the back by feed mechanism 21, can be when the device reaches the unloading position, put the device into pending article magazine, effectively avoided because waiting for the algorithm operation result and result in the receipts material instruction of device to influence other devices, overcome instruction dislocation's problem.
By arranging the second position sensor between the blanking mechanism and the image acquisition equipment closest to the blanking mechanism, the device to be detected can be determined to be a product to be determined as long as any algorithm corresponding to the image acquisition equipment is not processed at the moment that the device to be detected is detected by the second position sensor, so that the problem of instruction dislocation is more thoroughly solved.
Judging whether the processing of all the images acquired by the image acquisition mechanism is completed or not at a preset moment; if the judgment result is yes, determining the detection result of the device according to the processing results of all the images; and under the condition that the judgment result is negative, determining that the detection result of the device is a to-be-determined product. Whether all the images acquired by the image acquisition mechanism are processed or not is detected at a specific time, whether the device is classified as a to-be-determined product or not is further determined, the problem of instruction dislocation can be effectively avoided, and the accuracy of a detection result is improved.
Fig. 3 schematically shows a flow diagram of a method for device detection according to another embodiment of the present application. As shown in fig. 3, in an embodiment of the present application, the image capturing mechanism includes a plurality of image capturing devices, and the method may further include the steps of:
s40: and storing the processing result corresponding to the image acquired by each image acquisition device to a preset storage position.
S50: when the preset time arrives, judging whether the storage position corresponding to each image acquisition device stores the processing result.
In one example, in the case that the storage location corresponding to each image capturing device stores the processing result, it may be determined that all the processing of all the images is completed, and the processing results corresponding to all the image capturing devices may be further extracted, and the preset storage location may be emptied.
In another example, in a case that at least one storage location corresponding to each image capturing device has at least one processing result not stored, the preset storage location may be directly emptied.
In a specific implementation, when the processing results are stored, the processing results corresponding to the plurality of image acquisition devices can be stored in an array, and the ordering of the storage positions corresponding to the plurality of image acquisition devices in the array is consistent with the ordering of the plurality of image acquisition devices on the travelling path of the device.
According to the method and the device for processing the data, the processing results are stored to the preset storage position, so that the processing results can be read quickly when the preset time arrives, and the detection accuracy is improved.
Fig. 2 and 3 are flow diagrams of a method for device detection in one embodiment. It should be understood that, although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2 and 3 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of the other steps or sub-steps of other steps.
In one embodiment, as shown in fig. 4, there is provided an apparatus for device detection, including a judging module 10 for judging whether processing of all images acquired by the image acquisition mechanism is complete at a preset time; a first detection module 20, configured to determine a detection result of the device according to the processing results of all the images, if the determination result is yes; and a second detection module 30, configured to determine that the detection result of the device is a pending product if the determination result is negative.
Further, the judging module 10 is further configured to determine, as the preset time, a time of generating a processing result of the image acquired by the device by the image acquisition device closest to the blanking mechanism.
Further, the device for detecting a device further includes a control module (not shown), configured to determine an image capturing time of each image capturing device and a blanking time of the blanking mechanism according to a speed of the device running in the device detecting device, a distance between a position of the first position sensor and each image capturing device, and a distance between the position of the first position sensor and the blanking mechanism, in response to a trigger instruction sent by the first position sensor when the device is detected, and control the image capturing device or the blanking mechanism to execute a corresponding operation when the image capturing time or the blanking time arrives.
Further, the judging module 10 is further configured to determine a detection time when the second position sensor detects the device as a preset time.
Further, the device for device detection further comprises a storage module (not shown) for storing the processing result corresponding to the image acquired by each image acquisition device to a preset storage position; and judging whether the storage position corresponding to each image acquisition device stores the processing result or not when the preset time arrives.
Further, the device for device detection further comprises a data extraction module (not shown) for extracting processing results corresponding to the plurality of image acquisition devices and emptying the preset storage positions if the judgment result is yes; and under the condition that the judgment result is negative, directly emptying the preset storage position.
Further, the storage module is further configured to store processing results corresponding to the plurality of image capturing devices in an array, where the ordering of the storage locations corresponding to the plurality of image capturing devices in the array is consistent with the ordering of the plurality of image capturing devices on the device travel path.
The embodiment of the application also provides a device detection device, which comprises: a memory storing a program for device detection; a processor configured to invoke the program for device detection from the memory such that the processor is capable of performing the method for device detection described above.
Embodiments of the present application provide a machine-readable storage medium having instructions stored thereon that, when executed by a processor, cause the processor to be configured to perform the method for device detection described above.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 5. The computer apparatus includes a processor a01, a network interface a02, a display screen a04, an input device a05, and a memory (not shown in the figure) which are connected through a system bus. Wherein the processor a01 of the computer device is adapted to provide computing and control capabilities. The memory of the computer device includes an internal memory a03 and a nonvolatile storage medium a06. The nonvolatile storage medium a06 stores an operating system B01 and a computer program B02. The internal memory a03 provides an environment for the operation of the operating system B01 and the computer program B02 in the nonvolatile storage medium a06. The network interface a02 of the computer device is used for communication with an external terminal through a network connection. The computer program is executed by the processor a01 to implement a method for device detection. The display screen a04 of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device a05 of the computer device may be a touch layer covered on the display screen, or may be a key, a track ball or a touch pad arranged on a casing of the computer device, or may be an external keyboard, a touch pad or a mouse.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer-readable media include both permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer 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, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. A method for device inspection, applied to a device inspection apparatus, the device inspection apparatus comprising an image acquisition mechanism including at least one image acquisition apparatus, the image acquisition mechanism for acquiring an image of a device, the method comprising:
judging whether the processing of all the images acquired by the image acquisition mechanism is completed or not at a preset moment, wherein the preset moment is the generation moment of the processing result of the image acquired by the last image acquisition device;
if the judgment result is yes, determining a detection result of the device according to the processing results of all the images; and
and under the condition that the judgment result is negative, determining the detection result of the device as a to-be-determined product.
2. The method of claim 1, wherein the device inspection apparatus further comprises a blanking mechanism, and wherein the image capture mechanism is disposed at a location upstream of the blanking mechanism, and wherein the last image capture apparatus is the closest image capture apparatus to the blanking mechanism.
3. The method of claim 2, wherein the device detection apparatus further comprises a first position sensor located at an upstream location of the image acquisition mechanism, and the method further comprises:
and responding to a trigger instruction sent by the first position sensor when the device is detected, determining the image acquisition time of each image acquisition device and the blanking time of the blanking mechanism according to the running speed of the device in the device detection device, the distance between the position of the first position sensor and each image acquisition device and the distance between the position of the first position sensor and the blanking mechanism, and respectively controlling the image acquisition device or the blanking mechanism to execute corresponding operation when the image acquisition time or the blanking time arrives.
4. The method of claim 1, wherein the image acquisition mechanism comprises a plurality of image acquisition devices, the method further comprising:
storing the processing result corresponding to the image acquired by each image acquisition device to a preset storage position;
and judging whether the processing of all the images acquired by the image acquisition mechanism is completed at the preset moment comprises the following steps:
and when the preset time is reached, judging whether the storage position corresponding to each image acquisition device stores a processing result.
5. The method according to claim 4, wherein the method further comprises:
if the judgment result is yes, extracting processing results corresponding to the plurality of image acquisition devices, and emptying the preset storage positions;
and under the condition that the judgment result is negative, directly emptying the preset storage position.
6. The method of claim 4, wherein the processing results for the plurality of image capture devices are stored in an array, and wherein the ordering of the storage locations for the plurality of image capture devices in the array is consistent with the ordering of the plurality of image capture devices on the device travel path.
7. The method according to any one of claims 1 to 6, wherein the device detection apparatus further comprises a blanking mechanism and a second position sensor, the second position sensor is disposed between the blanking mechanism and an image acquisition apparatus closest to the blanking mechanism, and the method for device detection is performed by replacing the determination mode of the preset time in the method for device detection with:
and determining the detection time when the second position sensor detects the device as the preset time.
8. An apparatus for device inspection, applied to a device inspection apparatus, the device inspection apparatus comprising an image acquisition mechanism including at least one image acquisition apparatus, the image acquisition mechanism for acquiring an image of a device, the apparatus comprising:
the judging module is used for judging whether the processing of all the images acquired by the image acquisition mechanism is completed or not at preset time, wherein the preset time is the generation time of the processing result of the image acquired by the last image acquisition device;
the first detection module is used for determining the detection result of the device according to the processing results of all the images under the condition that the judgment result is yes; and
and the second detection module is used for determining that the detection result of the device is a to-be-determined product under the condition that the judgment result is negative.
9. A device inspection apparatus, comprising:
a memory storing a program for device detection;
a processor configured to call the program for device detection from the memory such that the processor is capable of performing the method for device detection according to any one of claims 1 to 7.
10. A storage medium having instructions stored thereon, which when executed by a processor, cause the processor to be configured to perform the method for device detection according to any of claims 1 to 7.
CN202111567215.8A 2021-12-20 2021-12-20 Method, apparatus, device and storage medium for device inspection Active CN114397307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111567215.8A CN114397307B (en) 2021-12-20 2021-12-20 Method, apparatus, device and storage medium for device inspection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111567215.8A CN114397307B (en) 2021-12-20 2021-12-20 Method, apparatus, device and storage medium for device inspection

Publications (2)

Publication Number Publication Date
CN114397307A CN114397307A (en) 2022-04-26
CN114397307B true CN114397307B (en) 2023-08-01

Family

ID=81227968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111567215.8A Active CN114397307B (en) 2021-12-20 2021-12-20 Method, apparatus, device and storage medium for device inspection

Country Status (1)

Country Link
CN (1) CN114397307B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101403602A (en) * 2008-11-17 2009-04-08 天津理工大学 Embedded high-speed on-line machine vision detection method and device
CN103825873A (en) * 2013-08-30 2014-05-28 天地融科技股份有限公司 Intelligent secret key equipment, mobile terminal and transmission method and system for audio data
WO2015014067A1 (en) * 2013-07-30 2015-02-05 北京京东方光电科技有限公司 Quality detection method, apparatus and device for liquid crystal screen
WO2018121269A1 (en) * 2016-12-27 2018-07-05 张家港康得新光电材料有限公司 Film detection system, detection method, and device
CN108401257A (en) * 2018-03-06 2018-08-14 北京全路通信信号研究设计院集团有限公司 Railway base station integrated monitoring system
JP2019207156A (en) * 2018-05-29 2019-12-05 株式会社 日立産業制御ソリューションズ Inspection function diagnosis device, inspection function diagnosis method and inspection function diagnosis program
CN111047592A (en) * 2020-03-13 2020-04-21 武汉理工大学 Monitoring system and image communication processing method thereof
CN113118055A (en) * 2021-03-31 2021-07-16 深圳市磐锋精密技术有限公司 Product detecting and sorting system based on big data
CN113793322A (en) * 2021-09-16 2021-12-14 上海安稷软件科技有限公司 Method for automatically detecting magnetic material, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113255411A (en) * 2020-02-13 2021-08-13 北京百度网讯科技有限公司 Target detection method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101403602A (en) * 2008-11-17 2009-04-08 天津理工大学 Embedded high-speed on-line machine vision detection method and device
WO2015014067A1 (en) * 2013-07-30 2015-02-05 北京京东方光电科技有限公司 Quality detection method, apparatus and device for liquid crystal screen
CN103825873A (en) * 2013-08-30 2014-05-28 天地融科技股份有限公司 Intelligent secret key equipment, mobile terminal and transmission method and system for audio data
WO2018121269A1 (en) * 2016-12-27 2018-07-05 张家港康得新光电材料有限公司 Film detection system, detection method, and device
CN108401257A (en) * 2018-03-06 2018-08-14 北京全路通信信号研究设计院集团有限公司 Railway base station integrated monitoring system
JP2019207156A (en) * 2018-05-29 2019-12-05 株式会社 日立産業制御ソリューションズ Inspection function diagnosis device, inspection function diagnosis method and inspection function diagnosis program
CN111047592A (en) * 2020-03-13 2020-04-21 武汉理工大学 Monitoring system and image communication processing method thereof
CN113118055A (en) * 2021-03-31 2021-07-16 深圳市磐锋精密技术有限公司 Product detecting and sorting system based on big data
CN113793322A (en) * 2021-09-16 2021-12-14 上海安稷软件科技有限公司 Method for automatically detecting magnetic material, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于FOCKE机型的烟包包装质量检测系统设计;金怀国;;电子产品世界(05);第68-70页 *
输液软袋灯检机中自动化控制系统研制;卢泽宇;中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑(第第2期期);第C030-99页 *

Also Published As

Publication number Publication date
CN114397307A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
JP2011077095A (en) System, method and program for monitoring facility
CN105208263B (en) Image processing apparatus and its control method
CN114397307B (en) Method, apparatus, device and storage medium for device inspection
US9445086B2 (en) Methods, systems, and apparatus for camera testing using virtual images
CN105872378A (en) Control method, control device and electronic device
JP5794329B2 (en) Equipment monitoring system, equipment monitoring method and equipment monitoring program
US8275217B2 (en) Apparatus and method for combining several sub-images for any imaging surface areas
CN112184544B (en) Image stitching method and device
JP2020003228A (en) Press component inspection device and press component inspection method
CN114494116B (en) Device edge detection method and device, storage medium and electronic equipment
CN114425524B (en) Material receiving control method and device for detection equipment and detection equipment
CN109660712A (en) Select the mthods, systems and devices of the frame of video sequence
CN114494124A (en) Method and device for detecting height of device, storage medium and electronic equipment
CN114286085A (en) Optical anti-shake detection method and device
CN114486919A (en) Configuration method and device of detection equipment, storage medium and electronic equipment
CN111832534A (en) Equipment detection method and device
US20150271381A1 (en) Methods and systems for determining frames and photo composition within multiple frames
CN114494123B (en) Algorithm control method for detection device and method for analyzing detection result
CN114453262A (en) Method and device for detecting device, storage medium and detection equipment
KR102521516B1 (en) Apparatus and method for image processing of inspection machine that enables wide angle detection and record media recorded program for realizing the same
CN112964716A (en) Method and device for coating adhesive and monitoring coating quality of magnet entering machine
CN111447366B (en) Transportation method, transportation device, electronic device, and computer-readable storage medium
CN114697501B (en) Time-based monitoring camera image processing method and system
CN117853390A (en) Logistics object detection method, device, electronic equipment and readable medium
JP7056492B2 (en) Server device and display control program

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
GR01 Patent grant
GR01 Patent grant