# US 2015/0146965 A1 · Optical method for inspecting transparent or translucent containers bearing visual

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

- Number: US 2015/0146965 A1
- Document ID: US20150146965A1
- Status: Published application
- Kind: A1
- Application number: 14/402,747
- Filed: 2013-05-28
- Published: 2015-05-28
- Earliest claimed: 2012-05-28
- Assignees: Msc & Sgcc
- Applicants: Msc & Sgcc
- Inventors: Sebastien Roman; Nicolas Ploton
- Web page: https://patentgrep.com/patent/US20150146965A1

## CPC

- G01N 21/90: in a container or its contents (G01N21/91 takes precedence)
- G01N 21/8806: {Specially adapted optical and illumination features}
- G01N 21/9036: {using arrays of emitters or receivers}
- G01N 21/9045: {Inspection of ornamented or stippled container walls}
- G01N 21/93: Detection standards; Calibrating {baseline adjustment, drift correction}
- G01N 21/958: Inspecting transparent materials {or objects, e.g. windscreens (for conveyed flat sheet or rod G01N21/896)}
- G06T 7/73: using feature-based methods
- G01N 2201/12: Circuits of general importance; Signal processing
- G06T 2207/10004: Still image; Photographic image
- G06T 2207/30204: Marker
- 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)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An optical method of inspecting containers comprises taking an image of each container and determining a search zone in each image of the container, a visible pattern appearing in the search zone. A digital mask is prepared for a treatment zone of the images including the visible pattern and at least each pixel of the treatment zone of the images is compared with a digital mask. A visible pattern is selected belonging to the container and the position and the orientation of the selected visible pattern in said search zone is determined. A geometrical transformation is applied to the digital mask or to the treatment zone to place the mask and the treatment zone in a position in which they coincide. Image treatment is applied to each pixel of the treatment zone, which treatment depends on the intensity value of the coincident pixel of the digital mask.

## Claims

### Claim 1

An optical method of using a vision system (1) to inspect containers (2) made of transparent or translucent material and including at least one visible pattern (3), the method being characterized in that it consists:
in illuminating the containers (2) traveling past the vision system (1);
in forming at least one image (Ii) of each container (2) traveling past the vision system (1), each image possessing a determined number of pixels, each pixel having a respective intensity level;
in determining, in the image of the container, at least one treatment zone (Zt) including at least one visible pattern for inspection, and at least one search zone (Zr) in which there appears at least one marker visible pattern (3);
in preparing a digital mask (Mi) at least for the treatment zone (Zt) of the images;
in determining the position and the orientation of the marker visible pattern (3) in said search zone (Zr) of the image of the container;
in applying a geometrical transformation to the digital mask (Mi) or to the treatment zone (Zt), which transformation is a function of the position and the orientation of the marker visible pattern (3), so as to be capable during a treatment step of placing the mask (Mi) and the treatment zone (Zt) into a position in which they coincide;
in applying image treatment to each pixel of the treatment zone (Zt), the treatment depending on the intensity value of the coincident pixel of the digital mask (Mi), in order to detect the presence of any defect in the container; and
updating the digital mask (Mi) by:
taking account of at least one image (Ii) of the containers (2); and
deciding whether or not to modify the digital mask as a function of said image, the modification of the mask consisting:
in determining the position and the orientation of the visible pattern (3) for inspection in the treatment zone (Zt) of the images;
in applying a geometrical transformation to the treatment zone (Zt) of the image or to the mask so as to be capable of placing the mask (Mi) and the treatment zone (Zt) in a position in which they coincide; and
in melding at least the treatment zone (Zt) of the image and of the mask in order to update the digital mask (Mi).

### Claim 2 (depends on 1)

A method according to claim 1, characterized in that it consists in preparing the digital mask in an initialization step, from at least one image of a container.

### Claim 3 (depends on 1)

A method according to claim 1, characterized in that it consists in applying image treatment to each pixel of the treatment zone (Zt), in which treatment each pixel of the treatment zone (Zt) is compared with the coincident pixel of the digital mask.

### Claim 4 (depends on 1)

A method according to claim 1, characterized in that it consists in analyzing the image in order to detect defects in the visible pattern.

### Claim 5 (depends on 1)

A method according to claim 1, characterized in that it consists in applying a shift in translation and/or a rotation as the geometrical transformation.

### Claim 6 (depends on 1)

A method according to claim 1, characterized in that it consists in applying an anamorphosis as the geometrical transformation.

### Claim 7 (depends on 1)

A method according to claim 1, characterized in that, prior to the treatment step, it consists in performing a filtering step on the images taken of the containers, and in taking account of the images to which said filtering step has been applied in the step of updating the mask.
