# US 2008/0291440 A1 · Apparatus and methods for container inspection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0291440 A1
- Document ID: US20080291440A1
- Status: Published application
- Kind: A1
- Application number: 11/753,034
- Filed: 2007-05-24
- Published: 2008-11-27
- Earliest claimed: 2007-05-24
- Assignees: Applied Vision Company, LLC
- Inventors: Richard A. SONES; Carl E. SEBENY; Brian M. BAIRD; Michael A. KRESS; Michael L. KRESS
- Web page: https://patentgrep.com/patent/US20080291440A1

## CPC

- G01N 21/9045: {Inspection of ornamented or stippled container walls}
- G01N 21/9036: {using arrays of emitters or receivers}
- G01N 21/909: {in opaque containers or opaque container parts, e.g. cans, tins, caps, labels}
- G01N 2021/8854: {Grading and classifying of flaws}
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)

## Abstract

Apparatus, systems, and methods to recognize features on bottom surfaces of containers on a container production line, detect defects in the containers, and correlate the defects to specific production equipment of the container production line, based in part on the recognized features. The system includes imaging apparatus, programmable processing devices, and controllers. The methods include imaging techniques and estimation techniques.

## Claims

### Claim 1

An apparatus for imaging a surface of each of a plurality of embossed containers, one at a time, as each said container passes by said apparatus on a container production line, said apparatus comprising:
a color camera having an optical aperture;
a lens having a central optical axis and a capture angle and being operationally attached to said color camera and adapted to provide light to said optical aperture of said color camera; and
a source of illumination arranged substantially circumferentially around said central optical axis of said lens and adapted to provide simultaneous illumination in at least two substantially different colors from at least two substantially different corresponding sectors around said central optical axis of said lens.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein said source of illumination comprises an array of light-emitting diodes (LEDs) of three substantially different colors arranged substantially in three substantially different corresponding sectors in a plane around said central optical axis of said lens.

### Claim 3 (depends on 1)

The apparatus of claim 1 wherein said at least two colors include red, green, and blue.

### Claim 4 (depends on 1)

The apparatus of claim 1 wherein said capture angle of said lens is at least 60 degrees.

### Claim 5 (depends on 2)

The apparatus of claim 2 further comprising a circuit board onto which said array of LEDs are mounted in said substantially sectored arrangement.

### Claim 6 (depends on 1)

The apparatus of claim 1 further comprising a controller operationally interfacing to said color camera and/or said source of illumination and adapted to electronically trigger said color camera and/or said source of illumination to capture images.

### Claim 7 (depends on 1)

The apparatus of claim 1 further comprising a mounting structure allowing mounting of said color camera, said lens, and said source of illumination onto an out-feeder star wheel of said container production line such that said apparatus is adapted to imaging a bottom surface of each of said plurality of embossed containers, one at a time, as each said container passes above said apparatus on said out-feeder star wheel.

### Claim 8 (depends on 1)

The apparatus of claim 1 further comprising a substantially transparent window located adjacent said lens and said source of illumination to protect said lens and said source of illumination.

### Claim 9 (depends on 6)

The apparatus of claim 6 wherein said controller is synchronized to a rotation of an out-feeder star wheel of said container production line such that said color camera and/or said source of illumination is electronically triggered by said controller when a pocket of said out-feeder star wheel adapted to hold one of said plurality of containers is substantially aligned with said central optical axis of said lens.

### Claim 10 (depends on 2)

The apparatus of claim 2 wherein each of said three substantially different corresponding sectors spans an angle of about 120 degrees.

### Claim 11 (depends on 1)

The apparatus of claim 1 further comprising an image processing device adapted to process images acquired by said color camera.

### Claim 12 (depends on 1)

The apparatus of claim 1 further comprising a diffuser window located adjacent to said lens and said source of illumination and adapted to substantially diffuse said at least two substantially different colors from said source of illumination.

### Claim 13

A method of recognizing a body maker identifier on a bottom surface of a container traveling on a container production line, said method comprising:
acquiring a color image of a bottom surface of a container, having an embossed body maker identifier, as said container passes by a color imaging apparatus on a container production line;
separately spatial filtering at least two different color components of said color image to enhance edges of said body maker identifier within said color image and to smooth any background noise within said color image;
converting said filtered color image to a monochrome image;
determining at least two spatial characteristics of said body maker identifier within said monochrome image;
aligning said monochrome image to a common spatial archetype in response to said at least two determined spatial characteristics; and
estimating a character representation of said body maker identifier in response to said aligned monochrome image using a trained pattern recognition tool.

### Claim 14 (depends on 13)

The method of claim 13 wherein said at least two different color components comprise a first color component that is substantially red, a said second color component that is substantially green, and a said third color component that is substantially blue.

### Claim 15 (depends on 13)

The method of claim 13 further comprising:
determining at least two spatial parameters of said imaged bottom surface in response to said acquired color image; and
scaling said acquired color image in response to said determined at least two spatial parameters.

### Claim 16 (depends on 15)

The method of claim 15 wherein said at least two spatial parameters comprise a center location and a radius of said imaged bottom surface.

### Claim 17 (depends on 13)

The method of claim 13 wherein said step of determining at least two spatial characteristics of said body maker identifier includes finding a minimum area rectangle that bounds said body maker identifier of said monochrome image such that a center and an angle of orientation of said minimum area rectangle are determined.

### Claim 18 (depends on 13)

The method of claim 13 further comprising illuminating said bottom surface of said container with at least two substantially different colors originating from at least two substantially different sectors below said bottom surface as part of said acquiring.

### Claim 19 (depends on 13)

The method of claim 13 further comprising correlating said estimated character representation of said body maker identifier of said container to a pocket of an out-feeder star wheel of said container production line in which said container is held.

### Claim 20 (depends on 15)

The method of claim 15 wherein said step of determining said at least two spatial parameters of said imaged bottom surface from said acquired color image includes converting said acquired color image to a monochrome image.

### Claim 21 (depends on 13)

The method of claim 13 wherein said spatial filtering step includes performing a high-pass filtering function for edge enhancement and a low-pass filtering function for noise smoothing.

### Claim 22 (depends on 17)

The method of claim 17 further comprising applying a histogram normalization function to said monochrome image to brighten said monochrome image and to provide more contrast within said monochrome image.

### Claim 23 (depends on 22)

The method of claim 22 further comprising applying a clipping function to said brightened monochrome image to make a background region around said body maker identifier a solid black color.

### Claim 24 (depends on 23)

The method of claim 23 wherein said step of finding a minimum area rectangle includes:
converting said clipped monochrome image to a binary image of two colors;
finding regions within said binary image that are connected together; and
thresholding said binary image of connected regions to eliminate from said binary image said regions which are smaller than a pre-defined size.

### Claim 25 (depends on 13)

The method of claim 13 further comprising generating a confidence level associated with said estimated character representation.

### Claim 26 (depends on 13)

The method of claim 13 wherein said pattern recognition tool is trained from a plurality of aligned monochrome images derived from a corresponding plurality of acquired color images that have been processed through at least said filtering step, said converting step, said determining step, and said aligning step.

### Claim 27 (depends on 13)

The method of claim 13 wherein said pattern recognition tool comprises a trained neural network.

### Claim 28 (depends on 13)

The method of claim 13 wherein said pattern recognition tool comprises a trained function and/or algorithm derived from an evolutionary algorithm.

### Claim 29

An apparatus for imaging a surface of each of a plurality of embossed metal containers, one at a time, as each said container passes by said apparatus on a metal container production line, said apparatus comprising:
a light source;
a collimating lens positioned to be illuminated on a first side by said light source and to output substantially parallel rays of light from a second side in response to said illumination;
a beam-splitter mirror positioned to first reflect said parallel rays of light;
a focusing lens positioned to receive and focus said first reflected parallel rays of light forward to a focal point and toward a substantially concave surface of a metal container, having an embossed portion, such that a first portion of said focused rays of light may impinge substantially perpendicularly on said substantially concave surface of said metal container and subsequently reflect off of said concave surface back to said focal point and backward through said focusing lens toward said beam-splitting mirror, and such that a second portion of said focused rays of light may impinge substantially on said embossed portion and subsequently reflect substantially away from said focal point and said focusing lens;
a camera lens positioned to receive said subsequently reflected rays of light after said rays of light pass backward through said focusing lens and through said beam-splitting mirror; and
a camera having an optical aperture and positioned to capture said rays of light received by said camera lens and adapted to generate an image of said concave surface of said metal container in response to said captured rays of light such that at least an outline of said embossed portion is substantially discernible within said generated image.

### Claim 30 (depends on 29)

The apparatus of claim 29 further comprising an aperture positioned substantially at said focal point and adapted to block reflected rays of light from said substantially concave surface that are not perpendicular to said concave surface and pass reflected rays of light from said substantially concave surface that are perpendicular to said concave surface.

### Claim 31 (depends on 29)

The apparatus of claim 29 wherein said light source comprises a substantially point light source.

### Claim 32 (depends on 29)

The apparatus of claim 29 wherein said light source comprises a light-emitting-diode.

### Claim 33 (depends on 29)

The apparatus of claim 29 wherein said light source comprises a light bulb.

### Claim 34 (depends on 29)

The apparatus of claim 29 further comprising a controller operationally interfacing to said camera and/or said light source such that said controller is adapted to electronically trigger said camera and/or said light source to capture rays of light received by said camera lens.

### Claim 35 (depends on 29)

The apparatus of claim 29 further comprising a mounting structure adapted to allow mounting of said light source, said collimating lens, said beam-splitter mirror, said focusing lens, said camera lens, and said camera onto an out-feeder star wheel of said metal container production line such that said apparatus is capable of imaging a bottom surface of each of said plurality of embossed metal containers, one at a time, as each said container passes above said apparatus on said out-feeder star wheel.

### Claim 36 (depends on 29)

The apparatus of claim 29 further comprising a substantially transparent window located adjacent said focal point so as to protect said focusing lens.

### Claim 37 (depends on 34)

The apparatus of claim 34 wherein said controller is synchronized to a rotation of an out-feeder star wheel of said metal container production line such that said camera and/or said light source is electronically triggered by said controller when a pocket of said out-feeder star wheel adapted to hold one of said plurality of metal containers is substantially aligned with said focal point.

### Claim 38 (depends on 29)

The apparatus of claim 29 further comprising an image processing device adapted to process images acquired by said camera.

### Claim 39

A method of recognizing a body maker identifier on a surface of a metal container traveling on a metal container production line, said method comprising:
acquiring an image of a substantially concave surface of a metal container, having an embossed body maker identifier, as said metal container passes by an imaging apparatus on a metal container production line;
determining at least two spatial characteristics of said body maker identifier within said image;
aligning said image to a common spatial archetype in response to said at least two spatial characteristics of said body maker identifier; and
estimating a character representation of said body maker identifier in response to said aligned image using a trained pattern recognition tool.

### Claim 40 (depends on 39)

The method of claim 39 further comprising illuminating said substantially concave surface of said metal container with rays of light being substantially perpendicular to said substantially concave surface.

### Claim 41 (depends on 39)

The method of claim 39 further comprising:
determining at least two spatial parameters of said imaged concave surface in response to said acquired image; and
scaling said acquired image in response to said determined at least two spatial parameters.

### Claim 42 (depends on 41)

The method of claim 41 wherein said at least two spatial parameters include a center location and a radius of said imaged concave surface.

### Claim 43 (depends on 39)

The method of claim 39 wherein said step of determining at least two spatial characteristics of said body maker identifier includes finding a minimum area rectangle that bounds said body maker identifier of said image such that a center and an angle of orientation of said minimum area rectangle are determined.

### Claim 44 (depends on 39)

The method of claim 39 further comprising correlating said estimated character representation of said body maker identifier to a pocket of an out-feeder star wheel of said metal container production line in which said metal container is held.

### Claim 45 (depends on 39)

The method of claim 39 further comprising spatial filtering said image to enhance edges of said body maker identifier within said image and to smooth a background noise within said image.

### Claim 46 (depends on 43)

The method of claim 43 further comprising applying a histogram normalization function to said image to brighten said image and provide more contrast within said image.

### Claim 47 (depends on 46)

The method of claim 46 further comprising applying a clipping function to said brightened image to make a background region around said body maker identifier a single color.

### Claim 48 (depends on 47)

The method of claim 47 wherein said step of finding a minimum area rectangle includes:
converting said clipped image to a binary image of two colors;
finding regions within said binary image that are connected together; and
thresholding said binary image of connected regions to eliminate from said binary image said regions which are smaller than a pre-defined size.

### Claim 49 (depends on 39)

The method of claim 39 further comprising generating a confidence level associated with said estimated character representation.

### Claim 50 (depends on 39)

The method of claim 39 wherein said pattern recognition tool is trained from a plurality of aligned images derived from a corresponding plurality of acquired images that have been processed through at least said determining step and said aligning step.

### Claim 51 (depends on 39)

The method of claim 39 wherein said pattern recognition tool comprises a trained neural network.

### Claim 52 (depends on 39)

The method of claim 39 wherein said pattern recognition tool comprises a trained function and/or algorithm derived from an evolutionary algorithm.

### Claim 53

A system for detecting features on each of a plurality of containers, one at a time, as each container passes by said system on a container production line, said system comprising:
a first color camera having a first optical aperture;
a first lens having a first central optical axis and a first capture angle and being operationally attached to said first color camera and adapted to provide light to said first optical aperture of said first color camera;
a first source of illumination arranged substantially circumferentially around said first central optical axis of said first lens and adapted to provide simultaneous illumination in at least two substantially different colors from at least two substantially different corresponding sectors around said first central optical axis of said first lens;
a second color camera having a second optical aperture and being adjacent to said first color camera;
a second lens having a second central optical axis being substantially parallel to said first central optical axis and having a second capture angle, and being operationally attached to said second color camera to provide light to said second optical aperture of said second color camera; and
a second binary source of illumination arranged substantially circumferentially around said second central optical axis of said second lens and capable of providing simultaneous illumination of substantially white light and ultraviolet light.

### Claim 54 (depends on 53)

The system of claim 53 further comprising a processing device.

### Claim 55 (depends on 54)

The system of claim 54 wherein said processing device is programmed to calculate a distance value for any image pixel comprising red R, green G, and blue B color components, wherein said distance value is a function of a quantity defined by [(R−G)2+(R−B)2+(G−B)2].
