METHOD AND DEVICE FOR OPTICALLY INSPECTING CONTAINERS
20220236193 · 2022-07-28
Inventors
Cpc classification
G01N21/8851
PHYSICS
International classification
Abstract
The invention relates to a method for optically inspecting containers, wherein an illumination unit emits light from a flat light-emitting surface and light transmitted or reflected by the containers is captured in at least one camera image. The camera image is analysed by an image processing unit for intensity information in order to identify foreign bodies and/or defects in the container. To this end, the light emitted from the light-emitting surface is locally encoded on the basis of at least one of a polarisation characteristic, an intensity characteristic and a phase characteristic and is captured in such a way that different emission locations on the light-emitting surface can be differentiated from one another in the camera image. The image processing unit analyses the camera image for location information of the emission locations, in order to differentiate the defects from the foreign bodies.
Claims
1. A method for optically inspecting containers, wherein the containers are transported to an inspection unit with an illumination unit and with a camera, wherein the illumination unit emits light from a flat light-emitting surface, wherein the light is transmitted or reflected via the containers, wherein the camera captures at least one of the containers and the light transmitted or reflected via the same each in at least one camera image, and wherein the at least one camera image is analyzed by an image processing unit for intensity information in order to identify foreign bodies and/or defects in the containers, wherein the light emitted from the light-emitting surface is locally encoded on the basis of a polarization characteristic, an intensity characteristic and/or a phase characteristic and is captured by the camera in such a way that in the at least one camera image, different emission locations of the light-emitting surface can be differentiated from one another, and the image processing unit analyzes the at least one camera image for location information of the emission locations in order to differentiate the defects from the foreign bodies.
2. The method according to claim 1, wherein the light is emitted from the light-emitting surface with the polarization characteristic, the intensity characteristic, and/or the phase characteristic in a locally varying manner, so that the different emission locations with the polarization characteristic, the intensity characteristic, and/or the phase characteristic are each encoded differently, and wherein the camera captures, in the at least one camera image, the polarization characteristic, the intensity characteristic, and/or the phase characteristic as the location information.
3. The method according to claim 1, wherein the image processing unit analyzes the at least one camera image for a first local region with intensity information deviating from a surrounding area in order to conclude that a foreign body is present.
4. The method according to claim 1, wherein the image processing unit analyzes the at least one camera image for a second local region with location information deviating from a surrounding area in order to conclude that a defect is present.
5. The method according to claim 1, wherein the at least one camera image with the image processing unit is separated into an intensity channel and a light characteristic channel for the polarization characteristic, the intensity characteristic, and/or the phase characteristic, and wherein the image processing unit identifies the foreign bodies on the basis of the intensity channel, and the defects on the basis of the light characteristic channel.
6. The method according to claim 1, wherein the light is emitted from the emission locations of the light-emitting surface each with temporally different intensity progresses to encode the different emission locations as the intensity characteristic and/or the phase characteristic.
7. The method according to claim 6, wherein the phase characteristic comprises a different time offset of the intensity progress each different for the different emission locations.
8. The method according to claim 7, wherein the intensity characteristic comprises different time sequences of light intensities of the intensity progress each different for the different emission locations.
9. The method according to claim 6, wherein the camera captures transit time differences of the light transmitted or reflected via the containers in order to determine the phase characteristic.
10. A device for optically inspecting containers comprising an inspection unit with an illumination unit and with a camera, an image processing unit for processing at least one camera image of the camera, a transporter for transporting the containers to the inspection unit, wherein the illumination unit is embodied to emit light with a flat light-emitting surface in order to illuminate the containers and/or transmit light through them, wherein the camera is arranged at the inspection unit such that it captures in each case at least one of the containers and light transmitted or reflected via them in the at least one camera image, wherein the image processing unit is embodied to analyze the at least one camera image for intensity information in order to identify foreign bodies and/or defects of the containers, wherein the illumination unit is embodied to emit the light from the light-emitting surface on the basis of a polarization characteristic, an intensity characteristic, and/or a phase characteristic in a locally encoded manner, the camera is embodied to capture the locally encoded light, so that in the at least one camera image, different emission locations of the light-emitting surface can be differentiated from one another, and the image processing unit is embodied to analyze the at least one camera image for location information of the emission locations in order to differentiate the defects from the foreign bodies.
11. The device according to claim 10, wherein the camera is embodied to capture the polarization characteristic, the intensity characteristic, and/or the phase characteristic in a spatially resolved manner.
12. The device according to claim 10, wherein the illumination unit is embodied to emit the light from the emission locations of the light-emitting surface each with temporally different intensity progresses in order to encode the different emission locations as the intensity characteristic and/or the phase characteristic.
13. The device according to claim 10, wherein the camera is embodied as a polarization camera and/or a transit-time camera.
Description
BRIEF DESCRIPTION OF THE FIGURES
[0045] Further features of the disclosure will be illustrated below more in detail with reference to the exemplified embodiments represented in the figures. In the figures:
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
DETAILED DESCRIPTION
[0053] In
[0054] In
[0055] The illumination unit emits light from the flat light-emitting surface 30 to transmit light through the containers 2 (Step 102). The emitted light is transmitted via the containers 2 towards the camera 4 (Step 104). It is also conceivable that, by the arrangement of the illumination unit 3 opposite the camera 4, the light is reflected via the containers 2. The camera 4 is arranged at the inspection unit 10 such that it captures the containers 2 and light transmitted via them in at least one camera image (Step 105).
[0056] The illumination unit 3 can comprise, for example, a matrix of LEDs that emit light onto the light-emitting surface 30. For example, the light-emitting surface 30 can be embodied as a diffusing screen to emit the light of the LEDs in a diffuse manner. Moreover, the illumination unit 3 emits the light from the light-emitting surface 30 on the basis of the polarization characteristic, the intensity characteristic, and/or the phase characteristic in a locally encoded manner (Step 103). This will be illustrated more in detail below with reference to the exemplified embodiments in
[0057] Furthermore, the image processing unit 6 can be seen by which the at least one camera image is analyzed for intensity information in order to identify foreign bodies and/or defects of the containers (Step 107). This can be done, for example, with image processing algorithms for identifying local changes in the at least one camera image known per se.
[0058] Moreover, the image processing unit 6 analyzes the at least one camera image for location information of the emission locations in order to differentiate the defects from the foreign bodies (Step 108).
[0059] The method 100 and the device 1 will be illustrated more in detail below with reference to
[0060] In
[0061] For example, it is a polarization characteristic, so that the different emission locations 31 to 42 emit light each with different polarization directions. It is, for example, conceivable that the emission location 31 emits light with a polarization direction of 0°, the emission location 34 with 45°, the emission location 37 with 90°, and the emission location 40 with 135°. Correspondingly, the polarization directions of the emission locations 23, 33, 35, 36, 38, 39 are lying between them in an interpolated manner, or those of the emission locations 41 to 42 are extrapolated therefrom. The distribution of the polarization directions across the illumination surface is exemplary. It can also be embodied to be discontinuous, meaning with abrupt changes of the polarization direction or with repeating patterns of the polarization directions.
[0062] In order to capture the different emission locations 31 to 42 and store them as location information in the at least one camera image, the camera 4 is, in this embodiment, embodied as a polarization camera with a Sony IMX250MZR image sensor.
[0063] In
[0064] One can see the flatly emitting light-emitting surface 30 with the different emission locations 31 to 42 in a lateral profile. From there, the light is flatly emitted towards the camera 4 and is thus transmitted through the container 2. The container 2 here consists, for example, of a transparent glass material, so that the light is transmitted through the container 2.
[0065] The camera 4 comprises the image sensor 41 and the lens 42 to capture the container 2 in at least one camera image. It is conceivable that the camera 4 is embodied as a polarization camera and/or transit-time camera.
[0066] One can furthermore see the light beam 51 which passes through the container 2 starting from the emission location 39. It impinges on the foreign body 8 which absorbs a portion of its energy. Consequently, the foreign body 8 appears with a reduced intensity compared to its direct surrounding area in the at least one camera image of the camera 4. By the foreign body not deflecting the light beam 51, it appears with the same polarization characteristic, intensity characteristic, and/or phase characteristic of the emission location 39 as its direct surrounding area in the at least one camera image.
[0067] Furthermore, one can see the light beam S2 which, starting from the location 36, passes through the container 2 in a surrounding area of the defect 7. Here, the light is only slightly absorbed, depending on the material of the container 2, so that the corresponding image point in the at least one camera image appears with a high intensity and the polarization characteristic, the intensity characteristic, and/or the phase characteristic of the emission location 36. As can moreover be seen in
[0068] In contrast, one can see in
[0069]
[0070] One can see that the container 2 appears in front of the light-emitting surface 30 in the camera image I. One can furthermore see that the foreign body 8 is imaged as an obscured first local region 8′. In contrast, the defect 7 is imaged as a second local region 7′ with an intensity similar to that of the direct surrounding area, however, it there appears in the upper region with the location information 33′ of the emission location 33, and in the lower region with the location information 38′ of the emission location 38 since the beams are locally deflected by the defect 7 as is shown in
[0071] In
[0072] The image processing unit 6 represented in
[0073] The image processing unit 6 subsequently analyzes the intensity channel G of the camera image I for the first local region 8′ with intensity information deviating from the surrounding area U1 to conclude that the foreign body 8 is present. For example, this is done by means of a filter for identifying brightness variations.
[0074] Furthermore, the image processing unit 6 analyzes the light characteristic channel C of the camera image I with the polarization for the second local region 7′ with location information deviating from the surrounding area U2. As can be seen in
[0075] After the foreign body 8 and/or the defect 7 has been identified, the image processing unit 6 generates a signal that the container 2 includes the foreign body 8 or the defect 7, respectively. On the basis of the signal, a switch can be controlled, for example, to discharge the respective container 2, after the inspection, for another cleaning or recycling.
[0076] In
[0077] In
[0078] In order to capture the different phases or time offsets of the different emission locations 31 to 42 in a camera image, the camera 4 shows transit time differences of the light transmitted via the containers 2 in order to determine the phase characteristic each for the image points of the camera image. In other words, the camera 4 is here embodied as a transit-time camera. It is conceivable that the camera captures the time offset with respect to the time reference or the reference signal each for the image points. This time offset then corresponds to the location information which is then, as represented above, analyzed with the image processing unit 6 in order to differentiate the defects 7 from the foreign bodies 8.
[0079] In contrast, one can see in
[0080] The different intensity progresses 52, 53 are captured by means of the camera 4 in a sequence of camera images and analyzed as location information of the emission locations 31 to 42 with the image processing unit 6 to differentiate the defects 7 from the foreign bodies 8.
[0081] By analogy to
[0082] By the illumination unit 3 in the exemplified embodiments in
[0083] It will be understood that features mentioned in the above-described exemplified embodiments are not restricted to this combination of features and are also possible individually or in any other combinations.