Multi-station rejecting and rechecking method and device and computer readable storage medium
By collecting inspection images in scenes of multiple rows or closely arranged small materials and combining the distance information between the inspection station and the re-inspection station, the shutdown and re-inspection operation is performed, which solves the time-consuming and troublesome problem of manual picking operations in the existing technology. , realizing efficient and convenient material removal operations and reducing the risk of missing defective products.
Patent Information
- Application Number
- CN202410956490.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-09-10
AI Technical Summary
In scenarios where small materials are arranged in multiple rows or closely arranged, the existing method of combining machine vision inspection with manual picking requires operators to repeatedly compare the inspection results with the materials, resulting in a heavy workload, time-consuming, and easily causing the problem of missing and rejecting defective products. .
The multi-station material picking and re-inspection method is used to collect inspection images when the materials pass through the preset inspection stations, identify the coordinate information of defective products, and combine the distance information between the inspection station and the re-inspection station to obtain the inspection results. Perform shutdown re-inspection operations to improve the timeliness and convenience of picking operations.
It realizes efficient and convenient picking of multiple rows or closely arranged small materials, reduces the operator's workload and time, reduces the risk of missing defective products and improves the efficiency and accuracy of picking operations.
Smart Images

Figure CN118628705A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial inspection technology, and in particular to a multi-station material removal and re-inspection method, equipment and a computer-readable storage medium. Background Art
[0002] Die-cut products are an important component widely used in consumer electronics and other fields. If defective products are used, continuous defects will occur in subsequent production and assembly. Therefore, for die-cut products, defective products will be removed after qualified testing.
[0003] The current rejection scheme is a combination of machine vision inspection and manual rejection. For larger or single-row die-cut materials, the operator only needs to compare the inspection results with the actual materials once to identify and locate defective products, thereby manually rejecting them. The error probability of this scenario is low. However, when the above scheme is applied to multiple rows or closely arranged small materials, the operator needs to repeatedly compare the inspection results with the materials. The workload of human eye identification and positioning is extremely large, and it is time-consuming and laborious, which is particularly prone to the omission of defective products.
[0004] Therefore, how to improve the timeliness and convenience of picking operations for multiple rows or closely arranged small materials has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] In order to solve the technical defects in the prior art that when defective products of multiple rows or closely arranged small materials are removed by combining machine vision inspection with manual material removal, the workload is extremely large, and it is time-consuming and laborious, which easily leads to the omission and removal of defective products, the present invention proposes a multi-station material removal and re-inspection method, equipment and computer-readable storage medium.
[0006] A multi-station material removal and re-inspection method, the method comprising: When the material passes through the preset inspection station, the inspection image is collected; Identify the inspection image, obtain coordinate information of defective products in the material, and determine the distance information between the inspection station and the re-inspection station; Integrate the coordinate information and the distance information to obtain a detection result; A shutdown re-inspection operation is performed at the re-inspection station according to the detection result.
[0007] Optionally, when the material passes through a preset inspection station, collecting the inspection image specifically includes: The conveyor belt is controlled to move in one direction, and when the material on the conveyor belt passes through a plurality of preset inspection stations in sequence, the inspection camera of each inspection station is controlled to collect an inspection image of the material.
[0008] Optionally, the identifying the detection image to obtain coordinate information of defective products in the material specifically includes: Dividing the detection image to obtain a detection area; When it is identified that the defective product exists in the detection area, coordinate information of the defective product in the detection area is acquired.
[0009] Optionally, the determining the distance information between the inspection station and the re-inspection station specifically includes: When the defective product is identified, the inspection station where the defective product is identified and the distance information between the inspection station where the defective product is identified and the re-inspection station are determined.
[0010] Optionally, the integrating the coordinate information and the distance information to obtain a detection result specifically includes: Determine a re-inspection area corresponding to the re-inspection camera of the re-inspection station; The time information of the defective product entering the re-inspection area and the position information of the defective product in the re-inspection area are determined according to the coordinate information and the distance information.
[0011] Optionally, performing a shutdown re-inspection operation at the re-inspection station according to the detection result specifically includes: Determine the downtime related to the downtime re-inspection operation according to the time information; The re-inspection content related to the shutdown re-inspection operation is determined according to the position information.
[0012] Optionally, determining the re-inspection content of the shutdown re-inspection operation according to the position information specifically includes: The position mark of the defective product is displayed on the display screen of the re-inspection station to guide the operator to manually perform the material removal operation.
[0013] Optionally, displaying the position mark of the defective product on the display screen of the re-inspection station further includes: Collecting the material-removing images related to the material-removing operation by the re-inspection camera; Obtaining a material-removing result according to the material-removing image analysis, wherein the material-removing result includes a removed mark and / or an unremoved mark corresponding to the position mark; The material removal result is displayed on the display screen.
[0014] The present invention also proposes a multi-station material removal and re-inspection device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the multi-station material removal and re-inspection method as described in any one of the above items are implemented.
[0015] The present invention also proposes a computer-readable storage medium, which stores a multi-station material removal and re-inspection program. When the multi-station material removal and re-inspection program is executed by a processor, the steps of the multi-station material removal and re-inspection method as described in any of the above items are implemented.
[0016] The multi-station material picking and re-inspection method, device and computer-readable storage medium of the present invention are implemented by collecting a detection image when the material passes through a preset detection station; identifying the detection image to obtain the coordinate information of defective products in the material, and determining the distance information between the detection station and the re-inspection station; integrating the coordinate information and the distance information to obtain the detection result; and performing a stop re-inspection operation at the re-inspection station according to the detection result. An efficient and convenient multi-station material picking and re-inspection solution is realized, which improves the timeliness and convenience of the operator when performing the picking operation for the scene of picking small materials in multiple rows or closely arranged. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which: Figure 1 It is a flow chart of the multi-station material removal and re-inspection method of the present invention; Figure 2 This is a working principle diagram of the multi-station material removal and re-inspection method of the present invention; Figure 3 It is a processing logic diagram of the multi-station material removal and re-inspection method of the present invention; Figure 4 It is a display diagram of the re-inspection content of the multi-station material removal re-inspection method of the present invention. DETAILED DESCRIPTION
[0018] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0019] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0020] Figure 1 This embodiment proposes a multi-station material removal and re-inspection method, which includes: S1. When the material passes through the preset inspection station, the inspection image is collected; S2, identifying the inspection image, obtaining coordinate information of defective products in the material, and determining distance information between the inspection station and the re-inspection station; S3, integrating the coordinate information and the distance information to obtain a detection result; S4. Perform a stop re-inspection operation at the re-inspection station according to the detection result.
[0021] In this embodiment, please refer to Figure 2 As shown in the working principle diagram, the multi-station die-cutting visual inspection scheme is implemented based on the inspection stations P1~Pn, the re-inspection camera and the re-inspection screen. Among them, in order to realize the judgment of whether the defective products are rejected, two key information need to be obtained, one is the position information of the defective products before the operator rejects the materials, and the other is the re-inspection information of whether the defective products are completely rejected after the operator rejects the materials. Specifically, in this embodiment, first, the computer controls the conveyor belt to move in one direction, and when the materials on the conveyor belt pass through the preset multiple inspection stations in turn, the inspection cameras of each inspection station are controlled to collect the inspection images of the materials in turn; then, the inspection images are analyzed, and when the defective products are identified in the materials, the position information of the defective products is obtained; then, the position information of each defective product is integrated to obtain the inspection results of all defective products before the re-inspection station; finally, the computer controls the conveyor belt to stop moving at the re-inspection station after the defective products pass through all the inspection stations according to the above inspection results, and displays the inspection results of the defective products on the display screen of the re-inspection station to guide the operator to perform manual material rejection operations. Furthermore, in this embodiment, the re-inspection camera of the re-inspection station is controlled by a computer to collect the image of the material removal operation, or the operator manually triggers the re-inspection camera to collect the image of the material removal after performing a material removal operation, and displays the material removal results obtained based on the analysis of the material removal image on the display screen, so as to determine whether all defective products in the re-inspection area are removed, or whether it is necessary to perform another manual material removal and / or shooting re-inspection operation.
[0022] The beneficial effect of this embodiment is that, when the material passes through the preset inspection station, the inspection image is collected; the inspection image is identified to obtain the coordinate information of the defective products in the material, and the distance information between the inspection station and the re-inspection station is determined; the coordinate information and the distance information are integrated to obtain the inspection result; and the shutdown re-inspection operation is performed at the re-inspection station according to the inspection result. An efficient and convenient multi-station material picking and re-inspection solution is realized, which improves the timeliness and convenience of the operator when performing the picking operation for the multi-row or closely arranged small material picking scenes.
[0023] In this embodiment, when the material passes through a preset inspection station, the step of collecting the inspection image specifically includes: controlling the conveyor belt to move in one direction, and when the material on the conveyor belt passes through multiple preset inspection stations in sequence, controlling the inspection camera of each inspection station to collect the inspection image of the material.
[0024] In this embodiment, please refer to Figure 3 The processing logic diagram shown, for the position information of defective products before material removal, is obtained by merging the detection results of the detection stations P1~Pn. Further, for each detection station, its distance from the parking position is different, and when the camera takes a picture, the current product has not yet reached the parking position, and the pictures taken at different stations are products at different positions. Therefore, this embodiment needs to cache the pictures of the detection stations, among which station P1 needs to cache C1 pictures, station Pn needs to cache Cn pictures, and the re-inspection station is on the parking position, so only one picture needs to be cached. Based on this, when the material corresponding to the picture moves to the parking position, the first picture is taken from the picture cache of different stations, which can ensure that the material corresponding to the picture detected at each station is the same material. Further, considering that the same material is detected based on each station, this embodiment is to merge the detection results of each station to obtain the comprehensive detection result of the current material, that is, to summarize the position information of defective products before material removal. Finally, timely stop and re-inspection are carried out based on the summarized information. For example, if defective products are determined to exist in the above comprehensive test results and pass through the re-inspection station, the system will be triggered to stop and wait for manual removal. It can be understood that through the above processing scheme, it is ensured that the defective materials photographed by the re-inspection camera are the same defective materials detected by the previous stations.
[0025] In this embodiment, the step of identifying the detection image and obtaining the coordinate information of the defective products in the material specifically includes: dividing the detection area in the detection image; when the defective products are identified in the detection area, obtaining the coordinate information of the defective products in the detection area. The detection area is the material placement area divided in the field of view of the detection camera of an inspection station, or, in order to improve the detection accuracy, a field of view image containing a matrix range of a preset size is selected, and defective products are identified in the material matrix in the field of view image. Based on this, the coordinate information of this embodiment is the coordinates in the above-mentioned material matrix, so as to determine the specific position of the defective products in the above-mentioned matrix range.
[0026] In the present embodiment, the step of determining the distance information between the inspection station and the re-inspection station specifically includes: when the defective product is identified, determining the inspection station that identifies the defective product; obtaining the distance information between the inspection station that identifies the defective product and the re-inspection station. Among them, the distance information is determined according to the actual configuration parameters of each inspection station and the re-inspection station. It can be understood that the distances between different inspection stations and the same re-inspection station are different. Further, in the present embodiment, for the scenario where the re-inspection station is set after the inspection station assembly line, one working method is that all the inspection stations work in coordination with one re-inspection station, and another working method is that a part of the inspection stations work in coordination with one re-inspection station, and another part of the inspection stations work in coordination with another re-inspection station, wherein the inspection stations of the above two parts are obtained by segmentation or selected at intervals.
[0027] In this embodiment, the step of integrating the coordinate information and the distance information to obtain the inspection result specifically includes: determining the re-inspection area corresponding to the re-inspection camera of the re-inspection station; determining the time information of the defective product entering the re-inspection area and the position information of the defective product in the re-inspection area according to the coordinate information and the distance information. Among them, the scope of the re-inspection area is not necessarily the same as the scope of each inspection area. Therefore, it is necessary to locate and display the defective products falling into the re-inspection area according to the content of the above cache and the scope of the re-inspection area.
[0028] In this embodiment, the step of performing the stop re-inspection operation at the re-inspection station according to the detection result specifically includes: determining the stop time of the stop re-inspection operation according to the time information; determining the re-inspection content of the stop re-inspection operation according to the position information. Among them, the above-mentioned stop time refers to the stop time after the defective product enters the re-inspection area for the first time, and subsequently, according to the manual operation of the operator or the recognition result of the computer, the machine can remain stopped, or move a small distance and then stop again, so as to facilitate the operator to identify defective products and remove them.
[0029] In this embodiment, the step of determining the re-inspection content of the shutdown re-inspection operation according to the position information specifically includes: displaying the position mark of the defective product on the display screen of the re-inspection station to guide the operator to manually perform the material removal operation. The above-mentioned position mark is a prominent mark for the defective product. For example, the defective product and the good product are marked with differentiated color marks, and the marked position includes one or more of the position area of the defective product, the corner mark of the area, and the outer frame of the area.
[0030] In this embodiment, when the position mark of the defective product is displayed on the display screen of the re-inspection station, the re-inspection camera collects the rejection image of the rejection operation, and displays the rejection result obtained by analyzing the rejection image on the display screen, wherein the rejection result includes the rejection mark and / or the non-rejection mark corresponding to the position mark. The rejected mark can be a green mark, and the non-rejection mark can be a red mark.
[0031] In this embodiment, please refer to Figure 4 The re-inspection content display diagram is shown, in which, for the location information of the product after the material is removed, after the machine is stopped to remove the defective products, the operator can manually trigger the re-inspection camera to take a photo, and, as can be seen from the above, the re-inspection camera is just above the stop position, so the material it photographs is the same material as that photographed by each inspection station, and the product location information after the material is removed can be directly obtained by processing the photos through the software algorithm. Specifically, by comparing the product location information before and after the material is removed, it is determined whether there are defective products that have not been removed, and the processing is displayed on the re-inspection screen. Furthermore, if there are defective products, the worker is reminded to continue to remove the materials, and the defective products that have not been removed are indicated on the re-inspection screen for the operator to identify and remove; further, after the operator removes the materials, he can perform manual or automatic re-inspection again until all defective products are removed, and then trigger the conveyor belt to continue running.
[0032] The present invention also proposes a multi-station material removal and re-inspection device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the multi-station material removal and re-inspection method as described in any one of the above items are implemented.
[0033] It should be noted that the above-mentioned device embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, which will not be repeated here.
[0034] Based on the above embodiments, the present invention also proposes a computer-readable storage medium, which stores a multi-station material picking and re-inspection program. When the multi-station material picking and re-inspection program is executed by a processor, the steps of the multi-station material picking and re-inspection method described in any of the above items are implemented.
[0035] It should be noted that the above-mentioned medium embodiment and method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the medium embodiment, which will not be repeated here.
[0036] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0037] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0038] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0039] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A multi-station material removal and re-inspection method, characterized in that: The method comprises: When the material passes through the preset inspection station, the inspection image is collected; Identify the inspection image, obtain coordinate information of defective products in the material, and determine the distance information between the inspection station and the re-inspection station; Integrate the coordinate information and the distance information to obtain a detection result; A shutdown re-inspection operation is performed at the re-inspection station according to the detection result.
2. The multi-station material removal and re-inspection method according to claim 1 is characterized in that: When the material passes through a preset inspection station, collecting the inspection image specifically includes: The conveyor belt is controlled to move in one direction, and when the material on the conveyor belt passes through a plurality of preset inspection stations in sequence, the inspection camera of each inspection station is controlled to collect an inspection image of the material.
3. The multi-station material removal and re-inspection method according to claim 1 is characterized in that: The identifying the detection image to obtain coordinate information of defective products in the material specifically includes: Dividing the detection image to obtain a detection area; When it is identified that the defective product exists in the detection area, coordinate information of the defective product in the detection area is acquired.
4. The multi-station material removal and re-inspection method according to claim 1 is characterized in that: The determining of the distance information between the inspection station and the re-inspection station specifically includes: When the defective product is identified, the inspection station where the defective product is identified and the distance information between the inspection station where the defective product is identified and the re-inspection station are determined.
5. The multi-station material removal and re-inspection method according to claim 1 is characterized in that: The integrating the coordinate information and the distance information to obtain the detection result specifically includes: Determine a re-inspection area corresponding to the re-inspection camera of the re-inspection station; The time information of the defective product entering the re-inspection area and the position information of the defective product in the re-inspection area are determined according to the coordinate information and the distance information.
6. The multi-station material removal and re-inspection method according to claim 5, characterized in that: The performing of the shutdown re-inspection operation at the re-inspection station according to the detection result specifically includes: Determine the downtime related to the downtime re-inspection operation according to the time information; The re-inspection content related to the shutdown re-inspection operation is determined according to the position information.
7. The multi-station material removal and re-inspection method according to claim 6, characterized in that: Determining the re-inspection content of the shutdown re-inspection operation according to the position information specifically includes: The position mark of the defective product is displayed on the display screen of the re-inspection station to guide the operator to manually perform the material removal operation.
8. The multi-station material removal and re-inspection method according to claim 7 is characterized in that: The step of displaying the position mark of the defective product on the display screen of the re-inspection station further comprises: Collecting the material-removing images related to the material-removing operation by the re-inspection camera; Obtaining a material-removing result according to the material-removing image analysis, wherein the material-removing result includes a removed mark and / or an unremoved mark corresponding to the position mark; The material removal result is displayed on the display screen.
9. A multi-station material removal and re-inspection equipment, characterized in that: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the multi-station material rejection and re-inspection method as described in any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a multi-station material removal and re-inspection program, which, when executed by a processor, implements the steps of the multi-station material removal and re-inspection method according to any one of claims 1 to 8.
