The present application relates to a field of computer technology and, in particular, to a method for impurity inspection in a product, a system for impurity inspection in a product, an apparatus for impurity inspection in a product, an electronic device, a computer readable storage medium and a software product.
During a production of bottled liquid (liquor, beverage, medicine, etc.), due to factors such as quality of raw materials (wine bottles) and processing technology (filling), there may be various types of defects in a product that affect quality of the product. A commonly used liquid impurity inspection method is an artificial light inspection method, for the artificial light inspection method, it has disadvantages of high labor intensity, low efficiency, strong subjectivity in the inspection results, easy fatigue of inspection personnel, large fluctuation in missed inspection rate, and susceptibility to physiological factors of the inspection personnel, which may no longer meet production requirements of automatic production lines.
Embodiments of the present application provide a method, a system and an apparatus for impurity inspection in a product, an electronic device, a computer readable storage medium, and a software product, to solve or partially solve problems of low inspection efficiency, poor inspection results, and poor inspection stability in a process of inspecting a liquid product.
In an implementation, the placing the product object in the inspection state includes:
In an implementation, the performing the image processing on the captured video to obtain the captured image corresponding to the preset capture angle includes: extracting a target number of image frames from the captured video corresponding to the preset capture angle; and
In an implementation, the performing the image alignment on the image frames corresponding to each of the preset capture angles to obtain the captured images corresponding to each of the preset capture angles includes:
In an implementation, the performing the impurity inspection on the product object according to the captured images corresponding to each of the preset capture angles to generate the inspection result corresponding to the product object includes:
In an implementation, the constructing the differential matrix corresponding to the original image group includes:
In an implementation, the performing the image processing by using the differential matrix to generate the target image group corresponding to the original image group includes:
In an implementation, the performing the impurity inspection on the product object by using each of the target image groups to generate the inspection result corresponding to the product object includes:
An embodiment of the present application also discloses a system for impurity inspection in a product, including: an infeed apparatus, a conveyor apparatus, a number of collection apparatuses corresponding to different preset capture angles, and an apparatus for impurity inspection; where,
In an implementation, the infeed apparatus includes at least a front conveyor belt, a corner clamp belt, and a lamp inspection clamp belt;
In an implementation, the conveyor infeed apparatus includes at least an infeed turnplate, a conveyor turnplate, and a outfeed turnplate, and the conveyor turnplate includes multiple product stations;
In an implementation, the collection apparatus includes a number of image collection devices set according to a preset angle difference;
In an implementation, the apparatus for impurity inspection includes at least a captured image extraction module, an image inspection module; where,
In an implementation, the image inspection module includes a differential matrix module, an image group module, and an inspection module; where,
An embodiment of the present application also discloses an apparatus for impurity inspection in a product, including:
In an implementation, the inspection state processing module is specifically configured to:
In an implementation, the captured image determining module includes:
In an implementation, the captured image obtaining submodule is specifically configured to:
In an implementation, the inspection result generating module includes:
In an implementation, the differential matrix constructing submodule is specifically configured to:
In an implementation, the image group generating submodule is specifically configured to:
In an implementation, the inspection result generating submodule is specifically configured to:
An embodiment of the present application also discloses an electronic device, including: a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory communicate with each other through the communication bus;
An embodiment of the present application also discloses a computer readable storage medium storing instructions which, when executed by one or more processors, enable the processor to execute the method as described in any one of the embodiments of the present application.
An embodiment of the present application also discloses a software product including a computer program/instructions, where when the computer program/the instructions are executed, the method as described in any one of the embodiments of the present application is implemented.
The embodiments of the present application include the following advantages.
Embodiments of the present application can be applied to automated inspection of the product object, by determining a product object to be inspected and placing the product object in an inspection state, performing video capture on the product object in the inspection state from a plurality of different preset capture angles to obtain captured videos of the product object at each of the preset capture angles, performing image processing on the captured video to obtain captured images corresponding to each of the preset capture angles, and performing impurity inspection on the product object according to the captured images corresponding to each of the preset capture angles to generate a corresponding inspection result, thus, in the impurity inspection process, by performing impurity inspection through placing the product object in an inspection state, it may reduce the irrelevant variable factors in the inspection process of the product object, and ensure the stability of the inspection results; and by performing image collection on the product object from a plurality of different preset capture angles, it may effectively enhance the image features, improve the precision of the product inspection, and ensure the accuracy of the inspection results; moreover, based on the automation of the product inspection, the inspection efficiency may be effectively improved.
In order to make the above objects, features and advantages of the present application more obvious and understandable, the present application is described in further detail below in conjunction with the accompanying drawings and specific implementations.
For AIoT (Artificial Intelligence & Internet of Things), it can be a combination of artificial intelligence technology and Internet of Things technology, through the Internet of Things, a massive amount of data from different dimensions is generated and collected, stored in the cloud and edge, and then through big data analysis and higher forms of artificial intelligence, everything is data-driven and intelligently connected. The integration of the Internet of Things technology and the artificial intelligence ultimately aims to form an intelligent ecosystem, within which different intelligent terminal devices, different system platforms, and different application scenarios may be integrated and interconnected, and everything can be integrated. For AIoT, it can be applied in the field of industry, such as automated production, automated inspection, etc., through AIoT, the work efficiency of industrial production, industrial inspection, etc. can be effectively improved, at the same time, through automated processing, it can effectively reduce labor costs, ensure product quality, and the accuracy of inspecting results.
As an example, during the process of producing the transparent bottled liquid, due to factors such as the quality of the raw materials and the processing technology, there may be various types of defects in the product that affect the quality of the product. In a production line, there are generally a number of quality inspection links that may be configured to inspect different types of defects, however, due to the variety of defects, some defects are small and not easy to inspect, resulting in manufacturers often needing to invest in a significant amount of labor costs in product quality inspection. In the process, on the one hand, the quality inspection effect of the quality inspection personnel is susceptible to personal energy, mood and other subjective emotions, which cannot guarantee the stability and accuracy of the quality inspection effect. And in order to cultivate the professional quality inspection abilities of the quality inspection personnel, it is easy to further increase the manpower cost of the manufacturer. On the other hand, for the manual quality inspection, the quality inspection is inefficient, which cannot meet the actual production needs.
In this regard, one of the core invention points of embodiments of the present application lies in the application of automated inspection of the product object, by determining a product object to be inspected and placing the product object in an inspection state, performing video capture on the product object in the inspection state from a plurality of different preset capture angles to obtain captured videos of the product object at each of the preset capture angles, performing image processing on the captured video to obtain captured images corresponding to each of the preset capture angles, and performing impurity inspection on the product object according to the captured images corresponding to each of the preset capture angles to generate a corresponding inspection result, thus, in the impurity inspection process, by performing impurity inspection through placing the product object in an inspection state, it may reduce the irrelevant variable factors in the inspection process of the product object, and ensure the stability of the inspection results; and by performing image collection on the product object from a plurality of different preset capture angles, it may effectively enhance the image features, improve the precision of the product inspection, and ensure the accuracy of the inspection results; moreover, based on the automation of the product inspection, the inspection efficiency may be effectively improved.
Specifically, referring to
Step 101, determining a product object to be inspected and placing the product object in an inspection state.
In an embodiment of the present application, the impurity inspection of the product may be applied to a system for impurity inspection, where the system for impurity inspection may be a system used in a production line to perform impurity inspection on the product object, and it may include an infeed apparatus, a conveyor apparatus, a collection apparatus, an apparatus for impurity inspection, a removing apparatus, and the like. Where the conveyor apparatus may be configured to convey the product object to be inspected, the infeed apparatus may be configured to, during the conveying processing, place the product object in an inspection state, the conveyor apparatus may convey the product object in the inspection state, the collection apparatus may perform image collection on the product object in the inspection state, the apparatus for impurity inspection perform impurity inspection on the captured images, and then the removing apparatus may classify the product object based on the inspection result, achieving automated inspection of product objects.
In an example, the infeed apparatus may include a pushing material clamp belt, a corner clamp belt, a lamp inspection clamp belt, a rotation apparatus, a distributing material screw apparatus, an infeed turnplate, etc.; the conveyor apparatus may include a front conveyor belt, an infeed turnplate, a conveyor turnplate, and an outfeed turnplate, etc.; the collection apparatus may include a number of image collection devices corresponding to different capture viewpoints; and the removing apparatus may include a removing receiving-material conveyor belt, a removing component, etc. In the actual inspection process, the product object may be sent into the lamp inspection clamp belt through the pushing material clamp belt and the corner clamp belt in accordance with the specified angle, and adding vibration, so as to achieve placing the product object in the inspection state; and then, the product object in the inspection state enters the product station of the conveyor turnplate at an equal interval for revolution through the rotation apparatus, the distributing material screw apparatus, the infeed turnplate, etc. Where each product station is equipped with a motor that can achieve rotation while the product object revolves, at this time, foreign objects within the product object are suspended by rotation and revolution, which is easy to perform image collection. Image collection devices are installed at specific product stations on the conveyor turnplate, e.g. 0°, 90°, 180° and 270°, to perform image collection on the product object. When the product object has been inspected, it can be sent out from the conveyor turnplate by passing through the outfeed turnplate, and the unqualified product object may be removed through the removing component at the exit, so as to realize the removing of the defective product, thereby realizing the automated inspection process of the product object.
For the product object, it may be a product that needs to be inspected in automated production, e.g., transparent bottled liquid, transparent canned liquid, and cupped transparent liquid. It is to be noted that, in the embodiments of the present application, the impurity inspection of bottled transparent liquid is exemplarily illustrated as an example, and it is to be understood that the present application does not limit this.
In practice, the production line may convey the product object to be inspected to the inspection apparatus through the corresponding conveyor apparatus, so that the inspection apparatus may perform a quality inspection on the product object to be inspected, and classify the product object according to the inspection results, including: removing unqualified products and packing qualified products. Before performing impurity inspection, the product object may be placed in the inspection state to provide corresponding inspection conditions for subsequent detection, including: placing the product object in an inspection state of a target tilt angle as well as vibration and/or rotation.
In an example, for the transparent bottled liquid, by placing it in an inspection state of 45 degree tilt and vibration, the conventional bottle inversion may be replaced, avoiding a large number of air bubbles in the liquid in the bottle, reducing irrelevant variable factors introduced in the inspection process, and ensuring the accuracy of the subsequent impurity inspection.
In addition, it may also include, but is not limited to, an inspection state of 30 degree tilt and vibration, an inspection state of 40 degree tilt and vibration, an inspection state of 45 degree tilt, vibration and rotation, an inspection state of 45 degree tilt and rotation, an inspection state of 40 degree tilt and rotation, and so on, thus, by setting different inspection states such as tilt angles, vibration, and rotation, on the one hand, adaptive adjustments may be made for different product objects to improve the versatility of the impurity inspection in product objects, and on the other hand, by placing the product object in the corresponding inspection state, it may reduce the irrelevant variable factors introduced in the inspection process, and ensure the accuracy of the subsequent impurity inspection.
Step 102, performing video capture on the product object in the inspection state from a plurality of different preset capture angles to obtain captured videos of the product object at each of the preset capture angles.
When the product object in the inspection state is conveyed to the inspection apparatus, as the product object is conveyed on the conveyor apparatus, the image collection device located at a particular capture angle can record video of the product object as it passes by, so that when the product object passes through all of the image collection devices in its entirety, captured videos recorded by the image collection devices at different preset capture angles for the product object in the inspection state can be obtained. For example, the capture angles may be capture viewpoints set in advance in accordance with a certain angle difference, including a plurality of equidistant capture angles, such as {circle around (1)} 0°, 90°, 180°, 270°; {circle around (2)} 0°, 60°, 120°, 180°, 240°, 300°, etc. Thus, by using a plurality of different preset capture angles to capture images of the transparent bottled liquid being in a state of a target tilt angle and vibration and/or rotation, it may effectively enhance the image features, improve the precision of product inspection during the subsequent impurity inspection through image analysis, and then ensure the accuracy of detection results.
In an example, referring to
Step 103: performing image processing on the captured video to obtain a captured image corresponding to the preset capture angle.
In an embodiment of the present application, after obtaining the captured video corresponding to each of the preset capture angles, the apparatus for impurity inspection may extract a target number of image frames from the captured video corresponding to the preset capture angles and perform image alignment on the image frames corresponding to each of the preset capture angles to obtain the captured images corresponding to each of the preset capture angles. For image alignment, by extracting product feature information corresponding to the product object in each of the image frames, and performing image correction on the image frames according to the product feature information corresponding to each of the image frames to obtain the captured images corresponding to each of the preset capture angles.
For the captured video corresponding to each capture angle, N image frames are extracted from each captured video, respectively, followed by obtaining product feature information corresponding to the product object from all the image frames by image recognition, and performing image alignment based on the product feature information, so as to remove irrelevant image features from the image frames by means of image alignment, and at the same time, making the areas included in each image frame are the same, so as to realize image correction. For example, 2 image frames are extracted from each of the captured video 1, the captured video 2, the captured video 3, and the captured video 4, and then image recognition is performed on the 8 image frames to identify the bottle features in the image that contain the transparent bottled liquid, and image alignment is performed based on the bottle features to remove the irrelevant features in the image, so that the areas included in each image are the same, and image correction is achieved. Thus, the images for impurity inspection are aligned by means of image alignment to ensure the consistency of the impurity inspection data and improve the precision of the subsequent image analysis.
Step 104: performing impurity inspection on the product object according to the captured images corresponding to each of the preset capture angles to generate an inspection result corresponding to the product object.
In an embodiment of the present application, after completing the image alignment, the apparatus for impurity inspection may combine the captured images corresponding to the preset capture angles to obtain a number of original image groups, construct a differential matrix corresponding to the original image group, perform image processing by using the differential matrix to generate a target image group corresponding to the original image group, and then perform impurity inspection on the product object by using each of the target image groups to generate the inspection result corresponding to the product object. Thus, the images are processed through combining images and constructing differential matrices, etc., which further enhances the image features of the product object, improves the precision of the product inspection, and ensures the accuracy of the inspection results, at the same time, based on the automation of the product inspection, the inspection efficiency may be effectively improved.
In an implementation, for the number of capture angles, which may be an even number, and all the captured images corresponding to the preset capture angles may be divided into 2 groups in order to obtain two groups of the original image groups, for example, the 4 captured images corresponding to 0° and 90° may be taken as an original image group A, and the 4 captured images corresponding to 180° and 270° may be taken as an original image group B, and then corresponding difference matrices may be constructed for each group of the original image groups, to obtain a differential matrix I corresponding to the original image group A, and a differential matrix II corresponding to the original image group B. Specifically, for the construction of the differential matrix, it may perform a pixel value subtraction between two adjacent captured images in the original image group to obtain several differential images corresponding to the original image group, and then it may construct the differential matrix corresponding to the original image group by taking each of the captured images as a matrix element in a first column and taking the differential images as matrix elements in other columns.
For example, the original image group A includes a captured image A1, a capture imaged A2, a captured image A3, and a captured image A4, then image subtraction may be perform on “capture imaged A1-captured image A2”, “captured image A2-capture imaged A3”, “capture image A3-captured image A4”, and “captured image A4-captured image A1” to obtain a differential image C1, a differential image C2, a differential image C3, and a differential image C4, and then each of the captured images in the original image group A may be taken as a matrix element in a first column of the differential matrix, and the differential images may be taken as matrix elements in other columns of the differential matrix, so as to construct the differential matrix I corresponding to the original image group A, the matrix elements in each row of the differential matrix I are different, and the following may be one of the composition manners of the differential matrix:
Based on the same process, one of the composition manners of the differential matrix II corresponding to the original image group B may be:
After obtaining the differential matrix corresponding to each of the original image groups through the above process, it may perform a preprocessing on the captured images through the differential method based on the differential matrixes to remove the background interference and extract the images containing the moving targets, specifically, except for the captured image in the first column of the differential matrix, differential processing is performed on other differential images in the same row through the differential method to obtain a first differential item and second differential item corresponding to each row of the differential matrix, feature stitching is performed by taking the captured image in the same row of the differential matrix as a R channel of an image, taking the first differential item as a G channel, and taking the second differential item as a B channel to generate an inspection image corresponding to the captured image of each row in the differential matrix. And then the inspection images are combined into the target image group corresponding to the original image group. Where the differential item may be the target image obtained according to the differential method: the R channel, the G channel, and the B channel may be color channels of the image, differential processing is performed on each row of the matrix elements in the differential matrix through the differential method, to obtain three target images including the first captured image, and then feature stitching is performed on these three images taken as three color channels in accordance with the corresponding channel order, to obtain the inspection image corresponding to each row of the captured image, thus, through image feature stitching, it enhances the image features of the product object, improves the precision of the product inspection, ensures the accuracy of the inspection results, at the same time, based on the automation of the product inspection, the inspection efficiency may be effectively improved.
In an example, for row i in the differential matrix, ai0 may be used as the original image T0, [(ai1+ai2)/2−ai0] is used as the differential item T1, and [(ai3+ai4)/2−ai0] is used as the differential item T2, and then T0 may be used as the R channel of the new image, T1 may be used as the G channel of the new image, and T2 may be used as the B channel of the new image, to construct the inspection image i′ corresponding to the i-th captured image, and then all of the inspection images may be combined to obtain the new image group, thus, through image feature stitching, it enhances the image features of the product object, improves the precision of the product inspection, ensures the accuracy of the inspection results, at the same time, based on the automation of the product inspection, the inspection efficiency may be effectively improved.
After obtaining the target image groups through the above process, it may perform impurity inspection by inputting each of the target image groups into an impurity inspection model, to obtain inspection information corresponding to the target image group, if each piece of the inspection information characterizes that the product object does not contain an impurity, it generates product conformity information for the product object: and if at least one piece of inspection information characterizes that the product object contains an impurity, it obtains impurity category information and impurity probability information corresponding to the impurity, and adopts the impurity category information and the impurity probability information to generate product re-inspection information corresponding to the product object.
In an implementation, for the impurity in the product object, it may include an impurity associated with the quality of the raw material, and may also include an impurity associated with the processing technology, different categories of impurities may be processed in different ways, for example, for the transparent bottled liquid, if the impurity is within the liquid, it can be directly determined that the transparent bottled liquid is a substandard product: and if the impurity is an impurity of the bottle, the transparent bottled liquid may be used as a re-inspection product for manual re-inspection or second machine inspection, etc., so as to ensure the accuracy of the inspection and the quality of the product.
Specifically, the impurity category information may be used to characterize which category of impurity that the inspected impurity belongs to, such as a liquid impurity, a bottle body impurity, a packaging impurity, etc. The impurity probability information may be the probability of the impurity appearing in the image, higher probability characterizes that the impurities are more obvious and abundant, etc. The impurity inspection model may perform image recognition on each of the inspection images in each group of the target image group to identify whether the image contains impurities, and in the case that the impurity is inspected, ot obtains the category of the impurity and the probability of the appearance of the impurity, and then outputs the corresponding inspection result, so that the inspection system may process the product object according to the inspection result, and realize the impurity inspection of the product object.
In an example, referring to
It should be noted that embodiments of the present application include but are not limited to the above examples, and it can be understood that under the ideological guidance of embodiments of the present application, those skilled in the art can also make settings according to actual needs, which is not limited by the present application.
Embodiments of the present application can be applied to automated inspection of the product object, by determining a product object to be inspected and placing the product object in an inspection state, performing video capture on the product object in the inspection state from a plurality of different preset capture angles to obtain captured videos of the product object at each of the preset capture angles, performing image processing on the captured video to obtain captured images corresponding to each of the preset capture angles, and performing impurity inspection on the product object according to the captured images corresponding to each of the preset capture angles to generate a corresponding inspection result, thus, in the impurity inspection process, by performing impurity inspection through placing the product object in an inspection state, it may reduce the irrelevant variable factors in the inspection process of the product object, and ensure the stability of the inspection results; and by performing image collection on the product object from a plurality of different preset capture angles, it may effectively enhance the image features, improve the precision of the product inspection, and ensure the accuracy of the inspection results; moreover, based on the automation of the product inspection, the inspection efficiency may be effectively improved.
It should be noted that, for method embodiments, they are all expressed as a series of action combinations for the sake of simplicity of description, however, those skilled in the art should be aware that embodiments of the present application are not limited by the order of the described actions, as according to embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, the person skilled in the art should also be aware that the embodiments described in the specification are preferred embodiments and the actions involved are not necessarily necessary for the embodiments of the present application.
Referring to
In an embodiment, the infeed apparatus 401 includes at least a front conveyor belt, a corner clamp belt, and a lamp inspection clamp belt; where,
the lamp inspection clamp belt is configured to perform vibration processing on the product object; and
In an embodiment, the infeed apparatus 402 includes an infeed turnplate, a conveyor turnplate, and a outfeed turnplate, and the conveyor turnplate includes multiple product stations; where,
In an embodiment, the collection apparatus 403 includes a number of image collection devices set according to a preset angle difference;
the image collection device is configured to perform video capture on the product object in the inspection state according to the preset capture angle during a process of conveying the product object, to obtain a captured image corresponding to the preset capture angle.
In an embodiment, the apparatus for impurity inspection 404 includes at least a captured image extraction module, an image inspection module; where,
In an embodiment, the image inspection module includes a differential matrix module, an image group module, and an inspection module; where,
In an example, the infeed apparatus may include a pushing material clamp belt, a corner clamp belt, a lamp inspection clamp belt, a rotation apparatus, a distributing material screw apparatus, an infeed turnplate, etc.; the conveyor apparatus may include a front conveyor belt, an infeed turnplate, a conveyor turnplate, and an outfeed turnplate, etc.; the collection apparatus may include a number of image collection devices corresponding to different capture viewpoints; and the removing apparatus may include a removing receiving-material conveyor belt, a removing component, etc. In the actual inspection process, the product object may be sent into the lamp inspection clamp belt through the pushing material clamp belt and the corner clamp belt in accordance with the specified angle, and adding vibration, so as to achieve placing the product object in the inspection state; and then, the product object in the inspection state enters the product station of the conveyor turnplate at an equal interval for revolution through the rotation apparatus, the distributing material screw apparatus, the infeed turnplate, etc. Where each product station is equipped with a motor that can achieve rotation while the product object revolves, at this time, foreign objects within the product object are suspended by rotation and revolution, which is easy to perform image collection. Image collection devices are installed at specific product stations on the conveyor turnplate, e.g. 0°, 90°, 180° and 270°, to perform image collection on the product object. When the product object has been inspected, it can be sent out from the conveyor turnplate by passing through the outfeed turnplate, and the unqualified product object may be removed through the removing component at the exit, so as to realize the removing of the defective product, thereby realizing the automated inspection process of the product object.
It should be noted that for the impurity inspection in the product object by means of image recognition, reference can be made to the relevant process of the previous embodiment, which will not be repeated herein.
In an embodiment of the present application, the system for impurity inspection may include an infeed apparatus, a conveyor apparatus, a number of collection apparatuses corresponding to different preset capture angles, an apparatus for impurity inspection, etc., in the automatic inspection process of the product object, the infeed apparatus may convey a product object to be inspected and place the product object in an inspection state, the collection apparatus may perform video capture on the product object in the inspection state during the process of conveying the product object by the conveyor apparatus, to obtain captured videos of the product object at each of the preset capture angles, and then the apparatus for impurity inspection may perform image processing on the captured videos to obtain a captured image corresponding to the preset capture angle, and perform impurity inspection on the product object according to the captured images corresponding to each of the preset capture angles, to generate an inspection result corresponding to the product object, thus, in the impurity inspection process, by performing impurity inspection through placing the product object in an inspection state, it may reduce the irrelevant variable factors in the inspection process of the product object, and ensure the stability of the inspection results; and by performing image collection on the product object from a plurality of different preset capture angles, it may effectively enhance the image features, improve the precision of the product inspection, and ensure the accuracy of the inspection results; moreover, based on the automation of the product inspection, the inspection efficiency may be effectively improved.
Referring to
an inspection state processing module 501, configured to determine a product object to be inspected and placing the product object in an inspection state;
In an embodiment, the inspection state processing module 501 is specifically configured to:
In an embodiment, the captured image determining module 503 includes:
In an embodiment, the captured image obtaining submodule is specifically configured to:
In an embodiment, the inspection result generating module 504 includes:
In an embodiment, the differential matrix constructing submodule is specifically configured to:
In an embodiment, the image group generating submodule is specifically configured to:
In an embodiment, the inspection result generating submodule is specifically configured to:
if each piece of the inspection information characterizes that the product object does not contain an impurity, generate product conformity information for the product object; and
For the apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and it is sufficient to refer to part of the description of the method embodiments where relevant.
In addition, an embodiment of the present application also provides an electronic device, as shown in
In an embodiment, the placing the product object in the inspection state includes:
In an embodiment, the performing the image processing on the captured video to obtain the captured image corresponding to the preset capture angle includes:
In an embodiment, the performing the image alignment on the image frames corresponding to each of the preset capture angles to obtain the captured images corresponding to each of the preset capture angles includes:
In an embodiment, the performing the impurity inspection on the product object according to the captured images corresponding to each of the preset capture angles to generate the inspection result corresponding to the product object includes:
performing image processing by using the differential matrix to generate a target image group corresponding to the original image group; and
In an embodiment, the constructing the differential matrix corresponding to the original image group includes:
In an embodiment, the performing the image processing by using the differential matrix to generate the target image group corresponding to the original image group includes:
In an embodiment, the performing the impurity inspection on the product object by using each of the target image groups to generate the inspection result corresponding to the product object includes:
The communication bus of the above device may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is represented in the diagram, but which does not indicate that there is only one bus or one type of buses.
The communication interface is used for communication between the above terminal and other devices.
The memory may include a random access memory (RAM) or may include a non-volatile memory, such as at least one magnetic disk memory. In an implementation, the memory may also be at least one storage apparatus located away from the aforementioned processor.
The above processor may be a general-purpose processor, including a processor (Central Processing Unit, CPU), a network processor (NP), etc.; may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic means, discrete gate or transistor logic means, discrete hardware components.
As shown in
In yet another embodiment provided by the present application, a computer program product including instructions is also provided, where when the instructions run on a computer, the computer is enabled to perform the method for impurity inspection in a product described in the above embodiment.
In yet still another embodiment provided by the present application, a software product including a computer program/instructions is also provided, where when the computer program/the instructions are executed, the method for impurity inspection in a product described in the above embodiment is implemented.
In the above embodiments, it can be fully or partially implemented through software, hardware, firmware, or any combination thereof. When implemented using software, it may be fully or partially implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing the computer program instructions in the computer, all or part of the processes or functions according to embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, e.g., the computer instructions may be transmitted from one website, computer, server or data center to another via wired (e.g. coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g. infrared, wireless, microwave, etc.) methods. The computer readable storage medium may be any usable medium that a computer can access, or a data storage device such as a server, a data center, etc., integrated by containing one or more usable media. The usable medium may be a magnetic medium, (e.g., a floppy disc, a hard disc, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), and the like.
It should be noted that, in the present application, the relation terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order exists between these entities or operations. Moreover, the terms “include”, “comprise”, or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, a method, an item, or a device that includes a series of elements not only includes those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, item, or device. Without further limitation, an element defined by the phrase “including a . . . ” does not exclude the existence of other identical elements in the process, the method, the item or the device including the element.
Various embodiments in this specification are described in relevant ways, and the same and similar parts between each embodiment can be referred to each other, each embodiment focuses on the differences from other embodiments. In particular, for the system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and it is sufficient to refer to the partial description of the method embodiments where relevant.
The foregoing is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Number | Date | Country | Kind |
---|---|---|---|
202210061333.X | Jan 2022 | CN | national |
This application is a National Stage of International Application No. PCT/CN2023/073056, and filed on Jan. 19, 2023, which claims priority to Chinese Patent Application No. 202210061333.X, filed with the China National Intellectual Property Administration on Jan. 19, 2022 and entitled “METHOD, SYSTEM AND APPARATUS FOR IMPURITY INSPECTION, DEVICE, STORAGE MEDIUM, AND SOFTWARE PRODUCT”. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2023/073056 | 1/19/2023 | WO |