Image recognition method and device

The image recognition method and device address the challenge of reflections by adjusting illumination light intensity based on color information, ensuring accurate recognition and measurement of transparent members across different gloss levels, enhancing precision and applicability in diverse environments.

WO2024190081A1PCT designated stage expired Publication Date: 2024-09-19PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/001674
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2024-01-22
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Image recognition technologies face challenges in accurately recognizing the outer shape of objects with transparent members due to reflections from illumination light, especially in mixed gloss environments, which affects length measurement accuracy.

Method used

An image recognition method and device that adjusts illumination light intensity based on color information of the transparent member, using a single illumination device to minimize reflections by optimizing the illumination angle and intensity for different gloss levels, allowing for effective recognition of transparent members regardless of reflections.

Benefits of technology

Enables precise recognition and measurement of the outer shape of transparent members by suppressing reflections and optimizing illumination conditions, improving accuracy across various objects and environments, including those with high and low gloss surfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024001674_19092024_PF_FP_ABST
    Figure JP2024001674_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided is an image recognition method for recognizing and measuring the length of the outer shape of a transparent member (11) in an object (2) having the transparent member (11) disposed on the surface. In the method: the object (2) is irradiated, from an illumination device (5) capable of beaming illumination light (15) at a plurality of illumination light intensities, with illumination light (15) at one illumination light intensity, from among the plurality of illumination light intensities, based on color information for the transparent member (11), and within an illumination angle θ at which total reflection is possible within the transparent member (11); the object (2) irradiated with the illumination light (15) is imaged; and the outer shape of the transparent member (11) is recognized on the basis of the imaged information.
Need to check novelty before this filing date? Find Prior Art

Description

Image recognition method and device

[0001] The present invention provides an image recognition method and device that realizes recognition of the outer shape of an object regardless of color while removing reflections from the periphery of the object that occur during the recognition process by capturing an image using a camera.

[0002] In recent years, image recognition technology that recognizes objects in images captured by cameras has been utilized in various fields. For example, in the field of product manufacturing, it is used for defect recognition by visual inspection or measurement such as length measurement.

[0003] In order to reliably recognize an object to be recognized, it is necessary to use an illumination device to irradiate the object with illumination light, thereby increasing the sensitivity of the camera in capturing images.

[0004] However, in the case of an object with a transparent glass attached to one surface, depending on the color of the surface directly below the glass, the illumination light or surrounding structures are likely to be reflected on the surface of the object. If such reflection occurs, the accuracy of length measurement will decrease when length measurement recognition of the object is performed using a captured image.

[0005] A method that takes the above-mentioned problem into consideration has been proposed in Patent Document 1. The background to the development of this method is that, in the manufacturing process of battery electrodes, there are cases in which high-gloss areas made of metal, which is prone to glare, and low-gloss areas made of resin, which is less likely to cause glare, are simultaneously present. In such cases, Patent Document 1 proposes a method that uses two types of light, namely, diffused light for the high-gloss areas and parallel light for the low-gloss areas, thereby achieving surface inspection through recognition while avoiding glare.

[0006] In Figure 10, when inspecting the exterior body 102, which is a low gloss area, and the electrode tabs 103a and 103b, which are high gloss areas, of a rectangular thin secondary battery 101, parallel light illuminators L1 to L4 that generate parallel light and a diffused light illuminator Lw that generates diffused light are arranged around the thin secondary battery 101, and by using the parallel light illuminators L1 to L4 and the diffused light illuminator Lw in combination depending on the degree of gloss, it is possible to take an image while suppressing reflections.

[0007] Patent No. 6570977

[0008] An image recognition method according to one aspect of the present invention is an image recognition method for recognizing and measuring the outer shape of a transparent member disposed on a surface of an object, the method comprising: irradiating the object with illumination light from an illumination device capable of irradiating illumination light at a plurality of illumination intensities, at one of the plurality of illumination intensities based on color information of the transparent member, and within an illumination angle that allows total reflection within the transparent member; capturing an image of the object illuminated by the illumination light; and recognizing the outer shape of the transparent member based on the captured image information.

[0009] Another aspect of the present invention is an image recognition device that recognizes and measures the outer shape of a transparent member placed on an object's surface, and includes: an illumination device that can irradiate illumination light at multiple illumination intensities, and irradiates the object with the illumination light at one of the multiple illumination intensities based on color information of the transparent member and within an illumination angle that allows total reflection within the transparent member; a camera that images the object illuminated by the illumination light; and a calculation unit that recognizes the outer shape of the transparent member based on the imaged information.

[0010] Schematic diagram of an image recognition device in an embodiment of the present invention Schematic diagram of an object in an embodiment of the present invention Schematic diagram of a recognition system when edge-emphasizing in an embodiment of the present invention Figure showing the results of length measurement recognition on glass depending on the illumination angle when edge-emphasizing imaging in an embodiment of the present invention Figure showing the results of recognition for different illumination light intensities irradiated onto the center of the glass surface when edge-emphasizing imaging in an embodiment of the present invention Schematic diagram of a recognition system when surface-emphasizing in an embodiment of the present invention Figure showing the results of recognition for different illumination light intensities irradiated onto the center of the glass surface when surface-emphasizing imaging in an embodiment of the present invention Figure showing a design part, various imaging methods, and the results of length measurement recognition in an embodiment of the present invention Flowchart of the recognition system in an embodiment of the present invention Explanatory diagram roughly showing the relative layout of the components of a surface inspection device described in Patent Document 1

[0011] In the invention of Patent Document 1, diffused light does not travel in a straight line like parallel light, so it is effective against glare that exists near the light source. However, it is expected that it will be difficult to apply in situations where large objects or multiple objects need to be recognized simultaneously. For example, when attempting to perform recognition in a situation where a wide variety of objects are discharged, such as in a recycling process, it is impossible to deploy a system tailored to each object. Therefore, when considering application to a wide variety of products, it is desirable to build a system that can recognize objects regardless of whether or not they have glare.

[0012] The present invention aims to solve the above-mentioned conventional problems, and aims to provide an image recognition method and device that enables recognition using the same lighting device by changing the intensity of the illumination light according to the color information of the object.

[0013] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[0014] 1 recognizes and measures the outer shape of a transparent member 11 of an object 2 having the transparent member 11 disposed on the surface thereof. The image recognition device 1 includes at least an illuminator 5 as an example of an illumination device, a camera 4 as an example of an imaging camera, and a measurement data calculation unit 8 as an example of a calculation unit.

[0015] The illuminator 5 is positioned diagonally above the object 2 and is capable of irradiating illumination light 15 at variable illumination light intensity, i.e., at a plurality of illumination light intensities, and irradiates the object 2 with illumination light 15 at an intensity based on the color information of the transparent member 11 and within an illumination angle θ at which total reflection within the transparent member 11 is possible.

[0016] The camera 4 is disposed above the object 2 and captures an image of the surface of the object 2 illuminated with the illumination light 15 to obtain image data.

[0017] The length measurement data calculation unit 8 recognizes the outer shape of the transparent member 11 by calculation based on the captured image information.

[0018] More specifically, the image recognition device 1 has a recognition and length measurement unit 6 having an imaging data storage unit 7 and an object processing control unit 9 in addition to a length measurement data calculation unit 8 , and also has a stage 3 .

[0019] The imaging data storage unit 7 stores image data captured by the imaging camera 4 .

[0020] The length measurement data calculation unit 8 calculates the length measurement results using the image data stored in the image data storage unit 7 .

[0021] The object processing control unit 9 can determine the illumination light intensity of the illuminator 5 based on the color information of the transparent member 11, and can control the illuminator 5 to change the illumination light intensity to the determined illumination light intensity. Note that the object processing control unit 9 may also perform color determination processing such as color recognition processing, as will be described later.

[0022] Here, the color information of the transparent member 11 means the model information of the object 2, the color of the design portion 12 or the base material 13 that passes through the transparent member 11, the color of the bottom surface of the transparent member that passes through the transparent member 11, the color of the transparent member itself, or any combination of these.

[0023] The stage 3 is capable of placing an object 2 thereon.

[0024] 2 shows a schematic diagram of, for example, a rectangular object 2. A transparent member 11, for example, a rectangular plate, is in close contact with at least one surface of the design portion 12, and a substrate 13, for example, a rectangular plate, is in close contact with the other surface where the transparent member 11 is not present.

[0025] Although there is no problem with the transparent member 11 alone, by surrounding the edge of the transparent member 11 with the rectangular frame-shaped edge portion 10, the outer shape of the transparent member 11 can be made clearer during recognition and measurement.

[0026] When the color information of the transparent member 11 is the color information of the design portion 12 that transmits through the transparent member 11, the color information of the design portion 12 includes color information of a high-reflection design 12a, color information of a low-reflection design 12b, and color information of a mirror-finished design 12c. For each of these, when the reference reflectance for the wavelength of the illumination light 15 emitted from the illuminator 5 is 50%, the design portion 12 can be classified into three types: the high-reflection design 12a is one that shows a reflectance of 50% or more and 100% or less and is not mirror-finished; the low-reflection design 12b is one that shows a reflectance of 0% or more but less than 50%; and the mirror-finished design 12c is one that is mirror-finished regardless of reflectance.

[0027] The color information of the highly reflective design 12a is, for example, a color such as white that exhibits a reflectance of 50% or more for light having a visible wavelength.

[0028] The color information of the low-reflection design 12b is, for example, a color such as black or gray that indicates a reflectance of less than 50% for light having a visible wavelength. Note that the reference reflectance is not limited to 50%.

[0029] The color information of the mirror design 12c is a color that has the property of reflecting an object, such as a mirror, that exists around the target object 2 and is positioned symmetrically to the design portion 12.

[0030] In the design portion 12, a design is formed using various printing methods such as offset printing, gravure printing, or screen printing, or by painting, or the design portion 12 is colored.

[0031] The transparent member 11 is made of a glass material such as soda glass or borosilicate glass, or a transparent resin material such as PMMA (acrylic), PET, PC (polycarbonate), or PVC (polyvinyl chloride). The transparent member 11 may be colorless and transparent, but may also be colored as long as it can transmit most of the illumination light 15.

[0032] In the image recognition device 1, the imaging method differs depending on the type of the design portion 12 described above.

[0033] The principles of various imaging methods will be explained with reference to FIGS.

[0034] 3 shows a schematic diagram of a recognition system for edge-enhanced imaging 14 for a low-reflection design 12b or a mirror-finish design 12c. Edge-enhanced imaging 14 is an image that highlights the edges 10 that exist around the object 2. The imaging camera 4 images the object 2. The illuminator 5 is used to generate illumination light 15. The illumination light that is totally reflected inside the transparent member 11 is total reflected light 16. An optical phenomenon in which the total reflected light 16 emitted from the edge of the transparent member 11 is emitted at the edge 10 becomes edge emission 17. The emission of the edge emission 17 that is imaged by the imaging camera 4 is called edge reflection.

[0035] In the case of edge-enhanced imaging 14, the illumination angle of the illuminator 5 must be determined depending on the refractive index of the transparent member 11. The illumination angle refers to the angle θ between illumination light 15 from the illuminator 5 and the surface of the transparent member 11. When the illumination light 15 is irradiated onto the transparent member 11, total reflection light 16 is generated within the transparent member 11, and the illumination light 15 propagates through the transparent member 11 and leaks out as edge emission 17. The leaked illumination light 15 emphasizes the edge 10, causing edge reflection 18 to be imaged by the imaging camera 4.

[0036] For example, in the case of glass, the refractive index of the transparent member 11 is 1.5, and total reflection can occur if the illumination angle θ is greater than 0 degrees and is within 45 degrees.

[0037] The following evaluation was carried out based on the criteria that the requirements for length measurement recognition are that there is no reflection of the periphery of the object 2 and that the outline of the edge can be generated.

[0038] FIG. 4 shows the results of length measurement recognition based on this evaluation, with changes in the illumination angle θ on the glass.

[0039] From these results, it is necessary to set the illumination angle θ of the illuminator 5 to 15 to 45 degrees with respect to the surface of the object 2. When the illumination angle θ was 0 degrees, the illumination light did not hit the object 2, making it impossible to recognize. When the illumination angle θ was 60 degrees or more, total reflection did not occur within the glass, and the surrounding structures were reflected, making it impossible to recognize.

[0040] 5 shows the results of length measurement and recognition based on the above evaluation, which are obtained by changing the intensity of the illumination light 15 irradiating the surface of the object 2. The illumination angle θ was fixed at 30 degrees.

[0041] From these results, it was found that it was necessary to install an illuminator 5 that would provide an illumination light intensity of 1,000 to 15,000 (lux) on the surface of the object 2. An illumination light intensity of 800 (lux) was insufficient to form an image, and therefore, recognition was not possible.

[0042] 6 shows a schematic diagram of the recognition system for surface-enhanced imaging 19 of the highly reflective design 12a. It has the same configuration as edge-enhanced imaging 14, but when illuminated with illumination light 15, no reflections are observed, and a design surface reflection 20 is formed that captures the color of the highly reflective design 12a as is.

[0043] As long as the illumination angle θ at which illumination light 15 can be irradiated onto the object 2 is between 0 and 90 degrees, an image can be formed without any problems. By irradiating illumination light 15 onto the transparent member 11, the highly reflective design 12a reflects the illumination light 15, causing the surface itself to stand out, and an image is formed as a design surface reflection 20.

[0044] 7 shows the results of length measurement and recognition based on the above evaluation and the illumination light intensity of the illumination light 15 irradiated onto the surface of the object 2. The illumination angle θ was fixed at 30 degrees.

[0045] From these results, it was found that it was necessary to install an illuminator 5 that would provide an illumination light intensity of 50 to 500 (lux) on the surface of the object 2. An illumination light intensity of 40 (lux) was insufficient to form an image, making it impossible to recognize. Furthermore, an illumination light intensity of 1,000 (lux) made the surface of the object 2 too bright, causing surface expansion and making it impossible to recognize.

[0046] The edge-enhanced imaging 14 requires an illumination light intensity of 1000 (lux) or more, whereas the surface-enhanced imaging 19 requires an illumination light intensity of 500 (lux) or less. Therefore, in order to allow length measurement recognition to coexist with the same configuration, it is desirable to have an illuminator 5 that has a function for switching illumination light intensity based on the illumination light intensity.

[0047] From this embodiment, it can be seen that the required illumination light intensity differs between edge-enhanced imaging 14 and surface-enhanced imaging 19. Therefore, it is desirable that the image recognition device 1 has a function of switching the illumination light intensity as a function of this embodiment.

[0048] 8 shows that in this embodiment, the imaging method differs depending on the type of design of the design portion 12. The edge-enhancing imaging 14 is used to capture the low-reflection design 12b and the mirror-finish design 12c, while the surface-enhancing imaging 19 is used to capture the high-reflection design 12a.

[0049] FIG. 9 is a flowchart relating to the embodiment.

[0050] First, in step S01, the target object 2 is placed at a predetermined position on the stage 3.

[0051] Next, in step S02, as an example, when the color information of the transparent member 11 is the color of the design portion 12 that passes through the transparent member 11, the object processing control unit 9 determines whether the design portion 12 is a high-reflection design 12a, a low-reflection design 12b, or a mirror-like design 12c based on the color of the design portion 12. At this time, the object 2 is imaged by the camera 4, and the object processing control unit 9 performs color recognition to obtain color information of the design portion 12.

[0052] As an example of a design determination method in the object processing control unit 9, a database is created in advance that classifies the object 2 into three types of designs 12a, 12b, and 12c by color, and the database is used to determine, for example, a high-reflection design 12a if the object 2 is white and a low-reflection design 12b if the object 2 is black or gray. Alternatively, the database and color information on the design portion 12 included in the model information of the object 2 can be used to determine the design. Alternatively, the color recognition can be performed using the RGB color of the design portion 12. Alternatively, the object 2 can be imaged with the camera 4, the reflectance can be measured, and the design can be determined based on the measured reflectance using a database showing the relationship between reflectance and the three types of designs. Furthermore, the color information of the transparent member 11 can be replaced with color information on the base material 13 that transmits through the transparent member 11, color information on the bottom surface of the transparent member that transmits through the transparent member 11, color information on the transparent member itself, or any combination of these.

[0053] Next, in step S03, the object processing control unit 9 specifies the illumination light intensity to a predetermined value depending on the color or design of the object 2 determined by the object processing control unit 9 in step S02.

[0054] Next, in step S04, illumination light 15 is irradiated from illuminator 5 toward the surface of object 2 at the illumination light intensity designated in step S03.

[0055] Next, in step S05, the object 2 illuminated by the illumination light 15 at the illumination light intensity is imaged by the imaging camera 4.

[0056] Next, in step S06, the image data captured by the imaging camera 4 in step S05 is stored in the imaging data storage unit 7.

[0057] Next, in step S07, the measurement data calculation unit 8 calculates the measurement results using the image data stored in the image data storage unit 7, and recognizes the outline of the transparent member 11. The calculation of the measurement results involves, for example, the following recognition flow process. First, a color image captured by the camera 4 is acquired, and then a gray image conversion process is performed to convert it into a gray image. Next, a contrast process is performed to clarify the image. Next, a differentiation process is performed to display the outline. Next, a two-stage binarization process is performed to remove noise. Next, an extraction process is performed on the outline portion of the transparent member 11 to detect the size and position of the outline. At this time, outliers are removed based on the detected size and position of the outline, and the outline is finally recognized.

[0058] As described above, the image recognition method and apparatus according to the embodiment enable recognition using the same illuminator 5 by varying the intensity of the illumination light 15 according to the color information of the object 2. According to the present embodiment, varying the intensity of the illumination light 15 according to the color information of the object 2 makes it possible to suppress diffuse reflection on the object surface, which is a cause of glare. In the low-reflection design 12b or the mirrored design 12c, the edge 10 of the object 2 can be optically emphasized. Furthermore, in the high-reflection design 12a, which has a high optical reflectivity at the illumination light wavelength, the illumination light intensity can be reduced compared to the other designs 12b and 12c, thereby enabling accurate recognition of the outline of the object 2 while suppressing optical expansion. This enables length measurement capable of recognizing the outline of a wide variety of colors of the object 2.

[0059] It should be noted that any of the various embodiments or modifications described above can be appropriately combined to achieve the effects of each. In addition, combinations of embodiments, combinations of examples, or combinations of embodiments and examples are possible, and combinations of features from different embodiments or examples are also possible.

[0060] As described above, according to the image recognition method and device of the above aspect of the present invention, recognition can be achieved using the same lighting device by changing the intensity of the illumination light in accordance with the color information of the object.

[0061] The image recognition method and apparatus according to the above aspect of the present invention can realize recognition using the same lighting device by changing the intensity of the illumination light according to the color information of the object, and is useful when attempting to perform recognition in situations where a wide variety of objects are increasing daily, such as in a recycling process.

[0062] REFERENCE SIGNS LIST 1 Image recognition device 2 Object 3 Stage 4 Imaging camera 5 Illuminator 6 Recognition and length measurement unit 7 Imaging data storage unit 8 Length measurement data calculation unit 9 Object processing control unit 10 Edge 11 Transparent member 12 Design unit 12a High reflection design 12b Low reflection design 12c Mirror design 13 Base material 14 Edge-enhanced imaging 15 Illumination light 16 Total reflection light 17 Edge emission 18 Edge reflection 19 Surface-enhanced imaging 20 Design surface reflection

Claims

1. An image recognition method for recognizing and measuring the outer shape of a transparent material disposed on an object surface, comprising the steps of: irradiating the object with illumination light from a lighting device capable of irradiating illumination light at multiple illumination intensities at one of the multiple illumination light intensities based on color information of the transparent material and within an illumination angle at which total reflection within the transparent material is possible; capturing an image of the object illuminated by the illumination light; and recognizing the outer shape of the transparent material based on the captured image information.

2. The image recognition method according to claim 1, wherein when the illumination light is irradiated, the illumination angle of the illumination light incident on the surface of the object is 15 degrees or more and 45 degrees or less.

3. The image recognition method described in claim 1 or 2, wherein the color information of the transparent member is color information of a design portion disposed between the transparent member and the base material of the object, and the color information of the design portion includes color information of a high-reflection design that has a reflectance of more than a reference reflectance and less than 100% for the wavelength of the illumination light emitted from the lighting device and is not mirror-finished, color information of a low-reflection design that has a reflectance of more than 0% and less than the reference reflectance, and color information of a mirror-finished design that is mirror-finished regardless of reflectance, and the illumination light intensity of each of the color information of the low-reflection design and the color information of the mirror-finish design is greater than the illumination light intensity of the color information of the high-reflection design.

4. The image recognition method according to claim 3, wherein when the illumination light is applied, the illumination light intensity of each of the color information of the low reflection design and the color information of the mirror design is 1,000 (lux) or more and 15,000 (lux) or less, and the illumination light intensity of the color information of the high reflection design is 50 to 500 (lux).

5. An image recognition device for recognizing and measuring the outer shape of a transparent member disposed on an object surface, comprising: an illumination device capable of irradiating illumination light at multiple illumination light intensities, irradiating the object with the illumination light at one of the multiple illumination light intensities based on color information of the transparent member and within an illumination angle at which total reflection within the transparent member is possible; a camera for capturing an image of the object illuminated by the illumination light; and a calculation unit for recognizing the outer shape of the transparent member based on the captured information.

6. The image recognition device according to claim 5, wherein in said lighting device, the lighting angle of said illumination light incident on the surface of said object is 15 degrees or more and 45 degrees or less.

7. The image recognition device described in claim 5 or 6, wherein the color information of the transparent member is color information of a design portion disposed between the transparent member and the base material of the object, and the color information of the design portion includes color information of a high-reflection design that has a reflectance of more than a reference reflectance and less than 100% for the wavelength of the illumination light emitted from the lighting device and is not mirror-finished, color information of a low-reflection design that has a reflectance of more than 0% but less than the reference reflectance, and color information of a mirror-finished design that is mirror-finished regardless of reflectance, and wherein, in the lighting device, the illumination light intensity of each of the color information of the low-reflection design and the color information of the mirror-finish design is greater than the illumination light intensity of the color information of the high-reflection design.

8. The image recognition device of claim 7, wherein in the lighting device, the illumination light intensity of each of the color information of the low reflection design and the color information of the mirror design is 1,000 (lux) or more and 15,000 (lux) or less, and the illumination light intensity of the color information of the high reflection design is 50 to 500 (lux).

Citation Information

Patent Citations

  • Measuring method of width of sheet material

    JP1991226609A

  • Instrument for measuring area, configuration and the like of contact surface by optical contact method

    JP1992194703A

  • Evaluation method of contact interface area, and evaluation device of contact interface area

    JP2006266839A

  • System and method of detecting work position

    JP2007286048A

  • Edge position detection device and edge position detection method

    JP2014185929A