CN114397307A - Method, apparatus, device and storage medium for device detection - Google Patents

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

Info

Publication number
CN114397307A
CN114397307A CN202111567215.8A CN202111567215A CN114397307A CN 114397307 A CN114397307 A CN 114397307A CN 202111567215 A CN202111567215 A CN 202111567215A CN 114397307 A CN114397307 A CN 114397307A
Authority
CN
China
Prior art keywords
image acquisition
detection
image
result
processing
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.)
Granted
Application number
CN202111567215.8A
Other languages
Chinese (zh)
Other versions
CN114397307B (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

Images

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)
  • Image Analysis (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for device detection, 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 an image of a device, and the method comprises the following steps: judging whether the processing of all the images acquired by the image acquisition mechanism is completely finished 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 determining that the detection result of the device is an undetermined product under the condition that the judgment result is negative. The image acquisition mechanism is used for acquiring images of the device to be determined, wherein whether all the images acquired by the image acquisition mechanism are processed or not is detected at a specific time, and then whether the device is classified as a to-be-determined product or not is determined, so that 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 detection
Technical Field
The application relates to the technical field of machine automation detection, in particular to a method, a device, equipment and a storage medium for device detection.
Background
After the devices are manufactured, it is usually necessary to perform defect detection before the devices are shipped out of the factory to remove the devices with defective quality. Defect inspection of devices typically requires the use of specialized inspection equipment. With the continuous development of science and technology, the structural complexity and the production capacity of the device are continuously improved, and the requirements on the detection equipment of the device are also increasingly improved.
With the development of miniaturization of devices, the volume of the devices is gradually reduced, meanwhile, in many production scenes, there is a high requirement on the speed of device detection, materials in the detection equipment are closely arranged and move inside the detection equipment under the driving of a conveying mechanism at a high speed so as to complete detection and blanking in a short time, and therefore, detection needs to be completed in the shortest possible time for each device so as to be conveniently and correctly sorted into a material box corresponding to the detection result.
The detection process of the device is often completed by the operation of a computer program, but in practical application, the program operation is likely to cause a pause 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. The detection equipment can send a material receiving instruction to the device after the detection result is determined, and other devices arranged behind the device are arranged at the material receiving position, so that the device cannot be correctly received, namely the problem of instruction dislocation occurs, and the correctness 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 the correctness of device batch detection results is easily reduced due to instruction dislocation during device detection in the prior art.
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, wherein the device inspection apparatus includes an image capturing mechanism for capturing an image of a device, and the method for device inspection includes:
judging whether the processing of all the images acquired by the image acquisition mechanism is completely finished 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 the undetermined product.
In this embodiment, 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, and the method further includes:
and determining the generation time of the processing result of the image acquired by the device by the image acquisition equipment closest to the blanking mechanism as the preset time.
In an embodiment of the present application, the device inspection apparatus further includes a first position sensor located at an upstream position of the image capturing mechanism, and the method further includes:
and in response 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 equipment, 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 devices or the blanking mechanism to execute corresponding operations when the image acquisition time or the blanking time is reached.
In this application embodiment, the device detection apparatus further includes a blanking mechanism and a second position sensor, the image capturing mechanism includes a plurality of image capturing apparatuses, the second position sensor is disposed between the blanking mechanism and the image capturing apparatus closest to the blanking mechanism, and the method further includes:
the detection timing at which the second position sensor detects the device is determined as a preset timing.
In an embodiment of the present application, the image capturing mechanism includes a plurality of image capturing devices, and the method further includes:
storing a 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 collected by the image collecting mechanism is completely finished at the preset time comprises:
and when the preset time is reached, 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:
under the condition that the judgment result is yes, extracting processing results corresponding to the plurality of image acquisition devices, and emptying a preset storage position;
and under the condition that the judgment result is negative, directly emptying the preset storage position.
In the embodiment of the application, the processing results corresponding to the plurality of image acquisition devices are stored in the array, and the sequence of the storage positions corresponding to the plurality of image acquisition devices in the array is consistent with the sequence of the plurality of image acquisition devices on the device traveling path.
A second aspect of the present application provides an apparatus for device inspection, comprising:
the judging module is used for judging whether all the processing of all the images acquired by the image acquisition mechanism is finished at a preset moment;
the first detection module is used for determining the detection result of the device according to the processing result 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 an undetermined product under the condition that the judgment result is negative.
A third aspect of the present application provides a device detection apparatus comprising:
a memory storing a program for device detection;
a processor configured to call a program for device detection from the memory so that the processor can perform the above-described method for device detection.
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.
By the technical scheme, whether all the processing of all the images acquired by the image acquisition mechanism is finished or not is judged 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 determining that the detection result of the device is an undetermined product under the condition that the judgment result is negative. The image acquisition mechanism is used for acquiring images of the device to be determined, wherein whether all the images acquired by the image acquisition mechanism are processed or not is detected at a specific time, and then whether the device is classified as a to-be-determined product or not is determined, so that 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 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 an application environment of a method for device inspection according to an embodiment of the present application;
FIG. 2 schematically illustrates a flow diagram of a method for device inspection according to an embodiment of the present application;
FIG. 3 schematically illustrates a flow diagram of a method for device inspection according to another embodiment of the present application;
FIG. 4 schematically shows a block diagram of an apparatus for device inspection according to an embodiment of the present application;
fig. 5 schematically shows an internal structure 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 capturing device 15 second image capturing device
16 third image acquisition device 17 fourth image acquisition device 18 fifth image acquisition device
19 carousel 20 sixth image acquisition equipment 21 unloading mechanism
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.
It should be noted that if directional indications (such as up, down, left, right, front, and back … …) are referred to in the embodiments of the present application, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are changed accordingly.
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 relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
The method for device detection 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 vibration plate 11, a rail 12, a first position sensor 13, an image pickup mechanism, a turntable 19, a blanking mechanism 21, and the like. Wherein the image capturing mechanism may comprise a plurality of image capturing 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 devices to be inspected are unloaded by the hopper 10 onto the vibration tray 11, the vibration tray 11 conveys the devices to be inspected to the rail 12, and the devices to be inspected are placed on the turntable 19 via the rail 12. The turntable 19 rotates to drive the device to be detected to advance, 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 capturing 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 a blow blanking mechanism, the control system will obtain the time for each needle of the blow blanking mechanism to blow.
Taking the image acquisition device as an example, when the device to be detected is conveyed from the vibrating disk 11 to the rotating disk 19 through the rail 12, the device to be detected first passes through the initial position sensor, namely the first position sensor 13, and at this time, the detection time sequence corresponding to the device to be detected is triggered, including the time for taking pictures of the device by six cameras; after each camera shoots, the corresponding thread executes the corresponding algorithm to process the picture shot by the corresponding camera so as to determine whether the device to be detected is qualified. In a specific implementation, because different cameras shoot different angles of images, defects which are easy to appear on different surfaces of a device are different, and different algorithms can be adopted for processing the cameras in different positions. The control system can collect the processing results of the images shot by all the cameras, and obtain the final detection result (if the device to be detected belongs to a qualified product, an undetermined product or an unqualified product) according to the processing results, so as to determine the needle heads needing to blow air in the blanking mechanism 21, wherein the corresponding needle heads blow air when the device reaches the air blowing position of the device, and blow the device into the corresponding material box.
Fig. 2 schematically shows a flow diagram of a method for device inspection according to an embodiment of the present application. As shown in fig. 2, in the embodiment of the present application, there is provided a method for device inspection, applied to a device inspection apparatus, where the device inspection apparatus includes an image capturing mechanism, and the image capturing mechanism is used to capture an image of a device, where the method may include the following steps:
and S10, judging whether the processing of all the images collected by the image collecting mechanism is completely finished at the preset moment.
It should be understood that one of the common modes of device detection is visual detection, a plurality of cameras are often arranged in detection equipment for executing visual detection operation, on a path that a conveying mechanism drives a device to move, the device can pass through shooting positions of the cameras, the cameras can shoot the device from multiple directions to collect images of the device at different angles, whether each position of the device is defective or not is judged by processing the images, the device is determined to be a good product or a defective product, and then the device is discharged into a corresponding material receiving box. Therefore, it is required to ensure that images shot by all cameras for the device are processed by the image processing algorithm before the device reaches the material receiving mechanism, and if the algorithm of the image shot by one camera is not completely operated, a correct result may not be given. Generally, after each camera finishes shooting, an algorithm corresponding to the camera immediately starts to process an image shot by the camera, so that in the whole detection process, a plurality of cameras sequentially shoot images, and corresponding algorithms run in parallel, thereby improving the efficiency of image processing. However, in practical applications, the hardware and software still have difficulty getting stuck, which may result in that the device has reached the receiving position of the receiving mechanism and the image of the device is not processed, because the system sends the receiving commands in sequence, even if the image of the device is processed by the algorithm and the device has missed the receiving position, the system still sends the receiving command corresponding to the device, for example, the device a is defective as a result of detection, the receiving command is sent to receive the device a into the receiving box of defective, but another device B actually arranged behind the device a is located at the receiving position, and the device B may actually be good, but the receiving mechanism receives the receiving command to place the device at the receiving position into the receiving box, so the command actually lets the defective receiving mechanism mistakenly receive the device B into the receiving box, the device a is not received correctly, that is, the problem of instruction dislocation occurs. According to the embodiment of the application, whether all the processing of all the images acquired by the image acquisition mechanism is finished is judged at the preset moment, and under the condition that the judgment result is negative, the device is directly determined to be the to-be-determined product, so that the problem of instruction dislocation can be effectively avoided.
It should be noted that, the processing process of the image acquired by the image acquisition mechanism may be implemented locally on 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 can be determined according to the specific design of the device detection equipment, in one example, the device detection equipment further includes a blanking mechanism, the image acquisition mechanism includes a plurality of image acquisition devices, and the image acquisition mechanism is disposed at an upstream position of the blanking mechanism, and the method further includes: and determining the generation time of the processing result of the image acquired by the device by the image acquisition equipment closest to the blanking mechanism as the preset time.
Referring also to fig. 1, taking as an example that 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 the device is detected, 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 is reached.
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 generating the processing result of the image acquired by the sixth image acquisition device 20, it may be determined whether all the processing of the images is completed by searching whether the processing results of the images acquired by the other five image acquisition devices exist in the preset storage location.
In another example, the device inspection apparatus further includes a feeding mechanism and a second position sensor, the image capturing mechanism includes a plurality of image capturing devices, and the second position sensor is disposed between the feeding mechanism and the image capturing device closest to the feeding mechanism, and the method further includes: the detection timing at which the second position sensor detects the device is determined as a preset timing.
Referring to fig. 1, taking as an example that 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, a second position sensor (not shown) is disposed between the blanking mechanism 21 and the sixth image capturing apparatus 20, and the preset time is the detection time of the device detected by the second position sensor.
When the device is driven by the conveying mechanism to sequentially pass through the shooting positions of all the image acquisition mechanisms and then continuously operate, the device can be detected by the second position sensor before reaching the blanking mechanism 21. At this time, it is also possible to search whether the processing results of the images captured by the respective image capturing mechanisms have been generated in their entirety by accessing the preset storage location.
And S20, in the case that the judgment result is yes, determining the detection result of the device according to the processing results of all the images.
It should be understood that, when the processing of all the images acquired by the image acquisition mechanism is completed at the preset time, it is described that the image of the device is processed by the algorithm, and the material can be received in a normal manner at this time, that is, the final detection result of the device is determined according to the processing results of the image of the device acquired by all the image acquisition mechanisms, and then the material is received according to the detection result.
And S30, determining the detection result of the device to be determined under the condition that the judgment result is negative.
And under the condition that all the images acquired by the image acquisition mechanism are not completely processed at the preset moment, the situation that the images are not completely processed by the algorithm is indicated, and the device is directly determined to be the undetermined product. Referring to fig. 1, if the processing result corresponding to the image acquired by the third image acquisition device 16 is missing, that is, the image acquired by the third image acquisition device 16 is not processed by the algorithm, at this time, the algorithm corresponding to the third image acquisition device 16 will not wait for the device to continue processing the image, but the device is directly determined to be the predetermined item.
And when the device is determined to be the object to be determined, sending a material receiving instruction, and placing the device into a material receiving box of the object to be determined. Therefore, after the receiving instruction is received by the blanking mechanism 21, the device can be placed into the material box of the to-be-detected product when the device reaches the blanking position, the problem that the receiving instruction of the device influences other devices due to the fact that the operation result of the algorithm is waited is effectively avoided, and instruction dislocation is solved.
The second position sensor is arranged between the blanking mechanism and the image acquisition equipment which is closest to the blanking mechanism, and at the moment when the device to be detected is detected by the second position sensor, the device can be determined to be a to-be-determined product as long as an algorithm corresponding to any one image acquisition equipment is not processed, so that the problem of instruction dislocation is solved more thoroughly.
The embodiment of the application judges whether the processing of all the images acquired by the image acquisition mechanism is completely finished 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 determining that the detection result of the device is an undetermined product under the condition that the judgment result is negative. The image acquisition mechanism is used for acquiring images of the device to be determined, wherein whether all the images acquired by the image acquisition mechanism are processed or not is detected at a specific time, and then whether the device is classified as a to-be-determined product or not is determined, so that 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 inspection according to another embodiment of the present application. As shown in fig. 3, in the 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: and when the preset time is reached, judging whether the storage position corresponding to each image acquisition device stores the processing result.
In an example, when the storage location corresponding to each image capturing device stores the processing result, it may be determined that all the processing of the images is completed, and the processing results corresponding to all the image capturing devices may be further extracted, and the preset storage location is emptied.
In another example, in a case that at least one processing result not stored in the storage location corresponding to each image capturing device exists, the preset storage location may be directly cleared.
In a specific implementation, when the processing result is stored, the processing results corresponding to the plurality of image capturing devices may be stored in an array, and 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 in the device travel path.
According to the embodiment of the application, the processing result is stored to the preset storage position, so that the processing result can be read quickly when the preset time arrives, and the detection accuracy is improved.
Fig. 2 and 3 are flow diagrams illustrating a method for device inspection 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, 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 some of the steps in fig. 2 and 3 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 performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, an apparatus for device inspection is provided, which includes a determining module 10, configured to determine whether processing of all images acquired by an image acquiring mechanism is completed at a preset time; a first detection module 20, configured to determine a detection result of the device according to a processing result of all the images if the determination result is yes; and the second detection module 30 is used for determining that the detection result of the device is an undetermined product under the condition that the judgment result is negative.
Further, the judging module 10 is further configured to determine, as a preset time, a time when the image acquisition device closest to the blanking mechanism generates a processing result of the image acquired by the device.
Further, the apparatus for device detection further includes a control module (not shown) for determining 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 apparatus, 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 controlling the image capturing device or the blanking mechanism to perform corresponding operations when the image capturing time or the blanking time arrives.
Further, the determining module 10 is further configured to determine a detection time when the second position sensor detects the device as a preset time.
Further, the apparatus for device detection further includes a storage module (not shown) for storing a processing result corresponding to the image acquired by each image acquisition device to a preset storage location; and when the preset time arrives, judging whether the storage position corresponding to each image acquisition device stores the processing result.
Further, the apparatus for device detection further includes a data extraction module (not shown), configured to extract, when the determination result is yes, processing results corresponding to the multiple image acquisition devices, and empty the preset storage location; 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 the processing results corresponding to the plurality of image capturing devices in an array, and 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 traveling path.
The embodiment of the present application further provides a device detection apparatus, including: a memory storing a program for device detection; a processor configured to call a program for device detection from the memory so that the processor can perform the above-described method for device detection.
The present embodiments provide a machine-readable storage medium having stored thereon instructions that, when executed by a processor, cause the processor to be configured to perform the above-described method for device detection.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram 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) connected through 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 06. 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 a 06. The network interface a02 of the computer device is used for communication with an external terminal through a network connection. The computer program when executed by the processor a01 is 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, a button, a trackball or a touch pad arranged on a casing of the computer device, or an external keyboard, a touch pad or a mouse.
Those skilled in the art will appreciate that the architecture shown in fig. 5 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.
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, which include both non-transitory and non-transitory, removable and non-removable media, may implement the 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 (10)

1. A method for device inspection, applied to a device inspection apparatus, wherein the device inspection apparatus includes an image capturing mechanism for capturing an image of a device, the method comprising:
judging whether the processing of all the images acquired by the image acquisition mechanism is completely finished 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 an undetermined product.
2. The method of claim 1, wherein the device inspection apparatus further comprises a blanking mechanism, the image capture mechanism comprises a plurality of image capture devices, and the image capture mechanism is disposed at a position upstream of the blanking mechanism, the method further comprising:
and determining the generation time of the processing result of the image acquired by the device by the image acquisition equipment closest to the blanking mechanism as the preset time.
3. The method of claim 2, wherein the device detection apparatus further comprises a first position sensor located at an upstream position of the image acquisition mechanism, and further comprising:
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 is reached.
4. The method of claim 1, wherein the device inspection apparatus further comprises a blanking mechanism and a second position sensor, the image capture mechanism comprising a plurality of image capture devices, the second position sensor disposed between the blanking mechanism and the image capture device closest to the blanking mechanism, the method further comprising:
determining a detection timing at which the second position sensor detects the device as the preset timing.
5. The method of claim 1, wherein the image acquisition mechanism comprises a plurality of image acquisition devices, the method further comprising:
storing a processing result corresponding to the image acquired by each image acquisition device to a preset storage position;
and, said determining whether processing of all images acquired by said image acquisition mechanism is completed at a preset time comprises:
and when the preset time is reached, judging whether the storage position corresponding to each image acquisition device stores the processing result.
6. The method of claim 5, further comprising:
if the judgment result is yes, extracting processing results corresponding to the plurality of image acquisition devices, and emptying the preset storage position;
and under the condition that the judgment result is negative, directly emptying the preset storage position.
7. The method of claim 5, wherein the processing results corresponding to the plurality of image capture devices are stored in an array, and wherein the ordering of the storage locations corresponding to the plurality of image capture devices in the array is consistent with the ordering of the plurality of image capture devices in the path of travel of the device.
8. An apparatus for device inspection, comprising:
the judging module is used for judging whether all the processing of all the images acquired by the image acquisition mechanism is finished at a preset moment;
the first detection module is used for determining the detection result of the device according to the processing result 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 an undetermined product under the condition that the judgment result is negative.
9. A device detection apparatus, comprising:
a memory storing a program for device detection;
a processor configured to call the program for device detection from the memory so that the processor can execute the method for device detection according to any one of claims 1 to 7.
10. A storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, cause the processor to be configured to perform a method for device detection according to any one 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 true CN114397307A (en) 2022-04-26
CN114397307B 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 (10)

* 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 北京全路通信信号研究设计院集团有限公司 A kind of 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
US20210256725A1 (en) * 2020-02-13 2021-08-19 Beijing Baidu Netcom Science And Technology Co., Ltd. Target detection method, device, electronic apparatus and storage medium
CN113793322A (en) * 2021-09-16 2021-12-14 上海安稷软件科技有限公司 Method for automatically detecting magnetic material, electronic equipment and storage medium

Patent Citations (10)

* 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 北京全路通信信号研究设计院集团有限公司 A kind of 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
US20210256725A1 (en) * 2020-02-13 2021-08-19 Beijing Baidu Netcom Science And Technology Co., Ltd. Target detection method, device, electronic apparatus and storage medium
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
卢泽宇: "输液软袋灯检机中自动化控制系统研制", 中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑, no. 2, pages 030 - 99 *
金怀国;: "基于FOCKE机型的烟包包装质量检测系统设计", 电子产品世界, no. 05, pages 68 - 70 *

Also Published As

Publication number Publication date
CN114397307B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN104007122B (en) Cylinder body side surface detecting device and method based on rotating disc type streamline
WO2018100717A1 (en) Manufacturing management system for component mounting line
CN102055892A (en) Image pickup apparatus
US20140111654A1 (en) Electronic device and method for monitoring testing procedure
US20200349355A1 (en) Method for determining representative image of video, and electronic apparatus for processing the method
CN105391940A (en) Image recommendation method and apparatus
CN115524347A (en) Defect detection method, defect detection apparatus, and computer-readable storage medium
CN116824175A (en) Medicine sorting and checking method and device, storage medium and electronic equipment
CN114397307B (en) Method, apparatus, device and storage medium for device inspection
JP5794329B2 (en) Equipment monitoring system, equipment monitoring method and equipment monitoring program
CN105872378A (en) Control method, control device and electronic device
CN110648314B (en) Method, device and equipment for identifying flip image
CN114425524B (en) Material receiving control method and device for detection equipment and detection equipment
CN102957856A (en) Camera photographing control method and system
CN115713491A (en) Liquid crystal display panel defect detection method and device and electronic equipment
CN113297889A (en) Object information processing method and device
CN103926008A (en) Thermal imaging apparatus, thermal imaging task shooting method, and thermal imaging storage method
CN114494124A (en) Method and device for detecting height of device, storage medium and electronic equipment
CN114627432A (en) Loading and unloading goods identification monitoring system
CN114399805A (en) Portrait collecting control
CN109142354B (en) System, method and device for acquiring product images on production line
CN114486919A (en) Configuration method and device of detection equipment, storage medium and electronic equipment
JP7056492B2 (en) Server device and display control program
CN109660712A (en) Select the mthods, systems and devices of the frame of video sequence
CN112580379A (en) Data processing system and method, electronic device, and computer-readable storage medium

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