Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR DETECTING THE ANGULAR POSITION OF A CAP WITH RESPECT TO A BOTTLE
Document Type and Number:
WIPO Patent Application WO/2019/025956
Kind Code:
A1
Abstract:
The present invention relates to a method for detecting the angular position of a cap (T) with respect to a bottle, comprising at least the steps of: capturing (110; 210) at least one first image of a cap (T) provided with a first marker (M1) and of at least a portion (B) of the bottle with which the cap is associated and which is provided with a second marker (M2); removing (120; 220) from said cap and said at least a bottle portion and/or displacing relative to the cap and the bottle portion the liquid drops (G) and other possible impurities existing thereon; capturing (130; 230) at least one second image of said cap and said bottle portion; comparing (140; 240) said at least one first image and said at least one second image in order to obtain at least one processing which is free from "noise" and interferences due to said liquid drops and on which the positions of said first and second markers (M1, M2) can be determined without errors; and determining (150; 250) the relative angular position of said first and second markers. The present invention also relates to an apparatus (1) suitable to implement the aforesaid method.

Inventors:
FORESTELLI FABIO (IT)
Application Number:
PCT/IB2018/055707
Publication Date:
February 07, 2019
Filing Date:
July 31, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
FT SYSTEM SRL (IT)
International Classes:
G06T7/00; B67B3/26; G01L5/24; G01N21/90
Foreign References:
JP2009008637A2009-01-15
US9417145B22016-08-16
US6643009B22003-11-04
Other References:
HUI-MIN MA ET AL: "A glass bottle defect detection system without touching", MACHINE LEARNING AND CYBERNETICS, 2002. PROCEEDINGS. 2002 INTERNATIONA L CONFERENCE ON NOV. 4-5, 2002, PISCATAWAY, NJ, USA,IEEE, vol. 2, 4 November 2002 (2002-11-04), pages 628 - 632, XP010630279, ISBN: 978-0-7803-7508-6
Attorney, Agent or Firm:
ROBBA, Pierpaolo et al. (IT)
Download PDF:
Claims:
Patent claims

1. Method for detecting the angular position of a cap (T) with respect to a bottle on which said cap is applied, wherein a first marker (Ml) is provided on the surface of said cap (T) and a second marker (M2) is provided on the surface of a portion (B) of said bottle, said method comprising a step of capturing (110; 210) at least one first image (10; 10a, 10b) of said cap (T) and said bottle portion (B) and being characterized in that it further comprises:

- a step of removing (120; 220) from said cap (T) and said bottle portion (B) and/or displacing relative to said cap (T) and said bottle portion (B) liquid drops (G) and other possible impurities existing on said cap (T) and said bottle portion (B);

- a step of capturing (130; 230) at least one second image (30; 30a, 30b) of said cap (T) and said bottle portion (B);

- a step of comparing (140; 240) said at least one first image (10; 10a, 10b) and said at least one second image (30; 30a, 30b) of said cap and said bottle portion and generating at least one processing (40; 40a, 40b, 40c) of the image of said cap and said bottle portion; - a step of detecting (150; 250) the positions of said first and second markers (Ml, M2) in said at least one processing (40; 40a, 40b, 40c) and determining the angle (50) comprised between said markers (Ml, M2).

2. Method according to claim 1, wherein a single first image (10) including said cap and said bottle portion is captured and wherein a single second image (30) including said cap and said bottle portion is captured.

3. Method according to claim 1, wherein a first image (10a) of said cap and a separate first image (10b) of said bottle portion are captured and wherein a second image (30a) of said cap and a separate second image (30b) of said bottle portion are captured.

4. Method according to claim 3, wherein said first image (10a) and said second image (30a) of said cap are captured upon selecting capturing parameters optimal for detecting said first marker (Ml) and wherein said first image (10b) and said second image (30b) of said bottle portion are captured upon selecting capturing parameters optimal for detecting said second marker (M2).

5. Method according to claim 1, wherein said liquid drops (G) and possible other impurities are removed and/or displaced by directing one or more air jets against said cap and said bottle portion.

6. Method according to any of the preceding claims, wherein said bottle portion is the ledge (B) at the base of the neck of said bottle.

7. Apparatus (1) for detecting the angular position of a cap (T) with respect to a bottle on which said cap is applied and which is made to advance through said apparatus, a first marker (Ml) being provided on the surface of said cap (T) and a second marker (M2) being provided on the surface of a portion (B) of said bottle, characterized in that the apparatus comprises:

- a cleaning device (20), comprising means (11) for removing from the surface of said cap (T) and of said bottle portion (B) and/or for displacing relative to said cap (T) and said bottle portion (B) liquid drops (G) and possible other impurities,

- an image capturing device (3), comprising means (5a, 7a, 5b, 7b) for capturing at least one first image (10; 10a, 10b) of said cap (T) and said bottle portion (B) upstream of said cleaning device (20) in the advance direction of the bottle and at least one second image (30; 30a, 30b) of said cap (T) and said bottle portion (B) downstream of said cleaning device (20) in the advance direction of the bottle; and

- a processing unit, comprising means for comparing said at least one first image (10; 10a, 10b) and said at least one second image (30; 30a, 30b) of said cap (T) and said bottle portion (B) and for generating at least one corresponding image processing (40; 40a, 40b, 40c), for detecting the position of said first and second markers (Ml, M2) in said at least one processing (40; 40a, 40b, 40c) and for determining the angle (50) comprised between said markers (Ml, M2).

8. Apparatus (1) according to claim 7, wherein said image capturing device (3) comprises a first camera (5a) arranged upstream of said cleaning device (20) in the advance direction of said bottle and a second camera (5b) arranged downstream of said cleaning device (20) in the advance direction of said bottle, and wherein said first and second cameras (5a, 5b) are each provided with a respective optical system (7a, 7b).

9. Apparatus (1) according to claim 8, wherein said first and second cameras (5a, 5b) are each provided with a respective lighting system (9a, 9b), comprising a ring provided with a plurality of light sources, preferably LEDs, more preferably white LEDs.

10. Apparatus (1) according to claim 8, wherein said first and second cameras (5a, 5b) are provided with a cycling function and are capable of capturing two different images at a very short time distance and with different settings.

11. Apparatus (1) according to claim 7, wherein said cleaning device (20) comprises a ring structure (11) provided with a plurality of nozzles arranged along the circumference of said ring structure.

12. Apparatus (1) according to claim 11, wherein said ring structure (11) of said cleaning device (20) is divided into a plurality of sectors (11a - l id) and wherein one or more sectors are selectively activated according to an estimate of the positions of said markers (Ml, M2), said estimate being carried out by said processing unit according to said at least one first image (10; 10a, 10b) of said cap and said bottle portion captured by said image capturing device (3).

Description:
METHOD AND APPARATUS FOR DETECTING THE ANGULAR POSITION OF A CAP WITH RESPECT TO A BOTTLE

Technical Field

The present invention relates to a method for detecting the angular position of a cap with respect to a bottle, more particularly for detecting the angular position of a cap with respect to a bottle made of plastics and having a threaded neck.

The present invention also relates to an apparatus suitable to implement the aforesaid method.

The invention finds application in particular in inspection systems for verifying the closing torque of a cap on a corresponding bottle.

Prior Art

Bottling systems are known in which bottles of plastic material are filled with a desired liquid and are subsequently closed by means of a cap.

Generally speaking, said bottles of plastic material have a neck provided with a thread and, after having been filled, they are closed by means of a screw cap having an inner thread which is screwed on the thread of the neck of a respective bottle.

To this end, said bottling systems include a capping station in which said caps are applied to said bottles by means of a suitable capping apparatus screwing each cap on the threaded neck of the corresponding bottle.

According to the prior art, said bottling systems further include, downstream of said capping station in the advance direction of the bottles, an inspection station in which the closing torque of each cap on the corresponding bottle is measured and compared to a reference value (o value range) in order to determine whether said closing torque complies with predetermined standards.

Indeed, too high a closing torque can result in the users encountering a certain difficulty for removing the cap, especially in case of aged persons. On the other hand, too low a closing torque can result in an incorrect closure of the container, with a consequent risk of losses and/or deterioration of the liquid contained in the bottles.

To this end, it is known to provide a suitable marker on the bottle, for instance on the ring (the so-called ledge) at the base of the bottle neck, and a corresponding marker on the screw cap, so that the closing torque of the screw cap on the bottle neck can be determined by comparing the relative angular position of said markers.

From the state of the art, inspection apparatuses are known which are capable of: capturing an image of the screw cap and of at least a portion of the bottle the cap is associated with; analysing said image in order to detect a first marker provided on said screw cap and a second marker provided on said bottle (e.g. on the ledge of the neck of said bottle); and determining the relative angular position of said markers.

Thereafter, it will be possible to calculate, according to said relative angular position, the closing torque of the cap on the bottle neck and to compare the calculated value of the closing torque to a predetermined reference value or value range. In case said comparison does not give the desired result, the bottle is discarded and removed from the bottling line.

An inspection apparatus of the kind described above is known for instance from document US 6 643 009.

In the alternative, from the state of the art inspection apparatuses are known which are capable of: capturing a first image of the screw cap and of a corresponding first marker provided thereon; capturing a second image of at least a portion of the bottle and of a corresponding second marker provided thereon (e.g. on the ledge of the neck of said bottle); and comparing said first and second images in order to determine the relative angular position of said first and said second markers.

Thereafter, also in this case it will be possible to calculate, according to said relative angular position, the closing torque of the cap on the bottle neck and to compare the calculated value of the closing torque to a predetermined reference value or value range.

An inspection apparatus of the kind described above is known for instance from document US 9 417 145.

Yet, both kinds of inspection apparatuses described above, as well as the method they implement, are subject to high margins of error and consequently have a limited efficiency.

This is mainly due to the fact that, owing to the different operations the bottles and the corresponding caps undergo before reaching the inspection station (with reference in particular, but not exclusively, to the filling of the bottles with the corresponding liquid), the surface of said bottles and said caps are not perfectly clean, but are on the contrary covered with impurities, especially liquid drops, that can make difficult the correct identification of the makers provided on the bottles and the corresponding caps, respectively.

This problem is enhanced by the fact that, for reasons of safety of the consumer, said markers must not protrude or be sharp. Moreover, for marketing reasons, they must be scarcely noticeable, in order they do not negatively affect the aesthetic appearance of the final product and its appeal on the consumer. Consequently, the prior art methods and apparatuses are not capable of determining in unambiguous manner the actual positions of said markers and hence the actual angular positions of the caps with respect to the respective bottles and, ultimately, the actual value of the closing torque.

It is therefore the main obj ect of the present invention to overcome the drawbacks and the limitations of the prior art, by providing a method and an apparatus in which the errors in the determination of the angular position of a cap with respect to a corresponding bottle are eliminated.

More particularly, it is an object of the invention to provide a method and an apparatus in which the angular position of a cap with respect to a corresponding bottle is determined according to the detection of respective markers provided on said cap and said bottle and in which the errors in the detection of the positions of said markers are eliminated.

The above and other objects are achieved by the method and the apparatus as claimed in the appended claims.

Synthetic disclosure of the invention

The method according to the invention comprises at least the steps of:

- capturing at least one first image of the cap and of at least a portion of the bottle with which the cap is associated;

- removing from said cap and said at least a bottle portion and/or displacing relative to the cap and the bottle portion the impurities (e.g. liquid drops) existing thereon;

- capturing at least one second image of said cap and said at least a bottle portion;

- comparing said at least one first image and said at least one second image in order to detect the position of a first marker provided on said cap and the position of a second marker provided on said bottle portion; and

- determining the relative angular position of said first and said second marker.

Said relative angular position can be advantageously exploited to calculate the value of the closing torque of said cap on said bottle, which value can then be compared to preset reference standards.

Preferably, the bottle portion of which at least one first image and at least one second image are captured is the neck portion of the bottles, and the second marker is provided on the bottle neck, in particular on the ledge at the base of the bottle neck.

Thanks to the fact that at least one first image and at least one second image of the cap and the bottle portion are captured and that the cap and the bottle portion are submitted to a cleaning operation between the capture of said at least one first image and the capture of said at least one second image, the "noise" represented by the presence of liquid drops and possible other impurities can be effectively eliminated, and the errors in the determination of the correct positions of the first marker provided on the cap and the second marker provided on the bottle portion can be eliminated.

In a preferred embodiment of the invention, the removal and/or displacement of the liquid drops and possible other impurities from the cap and the bottle is mechanically performed, in particular by means of one or more suitably directed air jets.

Use of one or more air jets directed against the surfaces of the cap and the bottle is particularly advantageous. Even if such jets are not sufficiently strong to wholly remove the liquid drops from the surfaces of the cap and the bottle, they will however produce a displacement of said drops, thereby allowing in any case the correct determination of the positions of the markers (which, clearly, will not be displaced by the air jets).

In a preferred embodiment of the invention, the method comprises the steps of:

- capturing a first image of the cap and the bottle portion;

- removing from said cap and said bottle portion and/or displacing relative to the cap and the bottle portion the impurities existing thereon;

- capturing a second image of said cap and said bottle portion;

- comparing said first image and said second image in order to determine the positions of the first and the second marker; and

- determining the relative angular position of said first and said second marker.

In another preferred embodiment of the invention, the method comprises the steps of:

- capturing a first image of the cap and a separate first image of the bottle portion;

- removing from said cap and said bottle portion and/or displacing relative to the cap and the bottle portion the impurities existing thereon;

- capturing a second image of said cap and a separate second image of said bottle portion;

- comparing said first image of said cap and said second image of said cap in order to determine the position of the first marker;

- comparing said first image of said bottle portion and said second image of said bottle portion in order to determine the position of the second marker; and

- determining the relative angular position of said first and said second marker.

Advantageously, according to the latter embodiment of the invention, it is possible to use specific settings, different from one another, to obtain said first and said second image of the cap and said first and said second image of the bottle portion, said settings being selected every time in order to obtain optimised images of the corresponding markers. Correspondingly, the apparatus according to the invention includes:

- an image capturing device, comprising means for capturing at least one first image of the cap and of at least a portion of the bottle with which the cap is associated, as well as at least one second image of said cap and said at least a bottle portion;

- a cleaning device arranged to remove from said cap and from said at least a bottle portion and/or to displace relative to the cap and the bottle portion, between the capture of said at least one first image and the capture of said at least one second image, the impurities (e.g. liquid drops) existing thereon; and

- a processing unit for comparing said at least one first image and said at least one second image in order to determine the position of a first marker provided on said cap and the position of a second marker provided on said bottle portion, and for determining the relative angular position of said first and said second marker.

In a preferred embodiment of the invention, said cleaning device includes one or more nozzles arranged to direct corresponding air jets against the surfaces of the cap and the bottle portion.

In a preferred embodiment of the invention, the image capturing device includes a camera arranged to capture at least one first image of the cap and the bottle portion and also arranged to capture at least one second image of said cap and said bottle portion.

In a particularly preferred variant of said embodiment of the invention, said camera is arranged to capture a first image of the cap and a separate first image of the bottle portion and is also arranged to capture a second image of said cap and a separate second image of said bottle portion.

In another preferred embodiment of the invention, the image capturing device includes a first camera arranged to capture at least one first image of the cap and the bottle portion and at least a second camera arranged to capture a second image of said cap and said bottle portion

In a particularly preferred variant of said embodiment of the invention, said first camera is arranged to capture a first image of the cap and a separate first image of the bottle portion and said second camera is arranged to capture a second image of said cap and a separate second image of said bottle portion.

Brief description of the drawings

Further features and advantages of the invention will become more apparent from the detailed description of some preferred embodiments of the invention, given by way of non- limiting examples with reference to the accompanying drawings, in which: - Fig. la is a block diagram illustrating the steps of the method for detecting the angular position of a cap with respect to a bottle according to a first embodiment of the invention;

- Fig. lb shows, in the form of pictograms, the steps of the method shown in Fig. 1;

- Fig. 2a is a block diagram illustrating the steps of the method for detecting the angular position of a cap with respect to a bottle according to a second embodiment of the invention;

- Fig. 2b shows, in the form of pictograms, the steps of the method shown in Fig. 2;

- Figs. 3 and 4 schematically show a possible embodiment of an apparatus for implementing the method of Figs, la - lb and 2a - 2b.

Description of preferred embodiments of the invention

Referring first to Figs, la and lb, there are schematically shown the main steps of a first embodiment of the method according to the invention for detecting the angular position of a cap T with respect to the bottle on which it is applied.

More particularly, cap T is a screw cap having an inner thread, and the bottle is a bottle of plastic material having a neck provided with a thread.

In a manner known per se, in order to detect the angular position of cap T with respect to the corresponding bottle, a first marker Ml is provided on the cap surface, and a second marker M2 is provided on the bottle surface, for instance on ledge B at the base of the bottle neck.

It will be clearly apparent to the skilled in the art that providing the second marker

M2 on ledge B, or anyway in the region of the bottle neck, is advantageous in that it is possible to capture a single image in which both the cap and the bottle portion bearing such a second marker are present. However, it will also be clearly apparent to the skilled in the art that such an arrangement is not to be intended in a limiting sense, and that the second marker could even be located in another portion of the bottle.

In a first step 100 of the method according to the invention, the process of detecting the angular position of cap T is started.

For instance, it is possible to suppose that the bottles with the associated caps advance in line on a transport line of a bottling system, and that said bottling system is equipped with a photocell or similar sensor in order to signal that the bottle to be inspected is in the proper position.

In a second step 110, a first image 10 of cap T and ledge B of the bottle is captured. As it can be seen in Fig. lb, in this step a plurality of liquid drops G and possibly of other impurities are present on cap T and ledge B, and said liquid drops G will be reproduced in said first image 10. Fig. lb also shows how correctly detecting the actual positions of the first and second markers Ml, M2 is difficult and subject to high margins of error.

According to the invention, in a third step 120 liquid drops G and the other impurities are removed from cap T and ledge B of the bottle.

Preferably, said liquid drops G are removed by means of a mechanical action by a cleaning device 20, for instance by directing one or more air jets against said cap and said ledge.

In a fourth step 130, a second image 30 of cap T and ledge B of the bottle is captured.

As it can be seen in Fig. lb, in this step many of the liquid drops G previously existing on cap T and ledge B have been removed. Moreover, even if the liquid drops have not been wholly removed in the cleaning step, anyway the remaining liquid drops G have been displaced by the air jets of cleaning device 20.

In a fifth step 140, the first image 10 of cap T and ledge B of the bottle and the second image 30 of cap T and ledge B of the bottle are compared, and a processing 40 of the image of cap T and ledge B of the bottle is generated.

Thanks to the removal of the liquid drops and the other impurities, any "noise" or interference in the detection of the positions of markers Ml, M2 (which "noise" or interference is present in the first image 10 and, to a lesser extent, in the second image 30) is wholly eliminated.

Consequently, in a sixth step 150, the position of the first marker Ml on cap T and the position of the second marker M2 on ledge B of the bottle can be detected from processing 40 without risk of error, and angle 50 between said markers Ml, M2 can be determined.

According to said angle 50, it will be possible to calculate the closing torque of the cap on the bottle and the calculated value can then be compared to a predetermined reference value (or value range).

In case of a bottling system including a capping station equipped with a plurality of capping apparatuses, it is possible to provide that the method according to the invention stores the values calculated for angle 50 between markers Ml and M2 and classifies them according to the specific capping apparatus used, so that the stored data can be used for purposes of calibration and maintenance of the different capping apparatuses.

Turning now to Figs. 2a and 2b, there is shown a second embodiment of the method according to the invention for detecting the angular position of a cap T with respect to the bottle on which it is applied.

Also in this embodiment, in a first step 200 of the method according to the invention, the process of detecting the angular position of cap T is started.

In a second step 210, a first image 10a of cap T and a separate first image 10b of ledge B of the bottle are captured.

Advantageously, the settings for capturing the first image 10a of cap T and the settings for capturing the first image 10b of ledge B of the bottle can be different and can be selected so as to optimise the capture of the respective markers Ml, M2 provided on cap T and ledge B.

Indeed, since cap T and ledge B are made of different materials (e.g., transparent plastic material for the bottle, and white or coloured plastic material for the cap), selecting settings enabling an effective detection of both markers Ml, M2 may be difficult.

Advantageously, in this embodiment, the first image 10a of cap T can be captured by using settings, in terms of exposure and integration time, which are optimal for detecting the first marker Ml, and the first image 10b of the ledge can be captured with settings, in terms of exposure and integration time, which are different and optimal for detecting the second marker M2.

Also in this embodiment, according to the invention, in a third step 220 liquid drops G and the other impurities are removed from cap T and ledge B of the bottle, for instance by directing one or more air jets against said cap and said ledge.

In a fourth step 230, a second image 30a of cap T and a second image 30b of ledge B of the bottle are captured.

Also in this case, the second image 30a of the cap can be captured by using settings, in terms of exposure and integration time, which are optimal for detecting the first marker Ml, and the second image 30b of the ledge can be captured by using settings, in terms of exposure and integration time, which are different and optimal for detecting the second marker M2.

In a fifth step 240, the first image 10a of cap T and the second image 30a of cap T are compared, and a first processing 40a of the image of cap T is generated. Similarly, the first image 10b of ledge B of the bottle and the second image 30b of ledge B of the bottle are compared, and a second processing 40b of the image of ledge B of the bottle is generated.

Thanks to the removal of the liquid drops and other impurities, any "noise" or interference in the detection of the position of the first marker Ml is wholly eliminated from the first processing 40a of the image of cap T. Similarly, any "noise" or interference in the detection of the position of the second marker M2 is wholly eliminated from the second processing 40b of the image of ledge B of the bottle. Consequently, in a sixth step 250, the position of the first marker Ml on cap T and the position of the second marker M2 on ledge B of the bottle can be detected from a third processing 40c obtained by combining the first processing 40a and the second processing 40b, and angle 50 between said markers Ml, M2 can be determined without risk of errors.

Also in this case, according to said angle 50, it will be possible to calculate the closing torque of cap T on the bottle and the calculated value can then be compared to a predetermined reference value (or value range).

Moreover, also in this case it will be possible to provide for a step of storage of the values calculated for angle 50 between markers Ml and M2, possibly classified depending on the specific capping apparatus used, so that the stored data can be used for purposes of calibration and maintenance of the different capping apparatuses.

From the above description, it will therefore be clearly apparent that the invention attains the object set above, since the step of removing the liquid drops and the other possible impurities from cap T and ledge B of the bottle allows eliminating (or at least drastically reducing) the errors in the detection of the correct positions of markers Ml, M2 provided on said cap and said ledge and in the determination of the actual relative angular position thereof.

Turning now to Figs. 3 and 4, there is shown, by way of example only, an embodiment of an apparatus 1 suitable to implement the method described above for detecting the angular position of a cap with respect to a bottle.

In the most general terms, said apparatus 1 includes: an image capturing device 3, comprising means for capturing at least one first image of cap T and ledge B of the bottle and for capturing also at least one second image of said cap T and said ledge B; a cleaning device 20, comprising means for removing liquid drops and other impurities from the surfaces of said cap T and said ledge B, and a processing unit (not shown), comprising means for processing the images captured by image capturing device 3, generating the corresponding processings and determining the relative angular position of each cap relative to the corresponding bottle by detecting the respective markers.

Said image capturing device 3 and said cleaning device 20 can have any structure and any operating manner within the reach of the skilled in the art.

In the embodiment illustrated, image capturing device 3 includes a first camera 5a arranged upstream of cleaning device 20 in the advance direction of the bottles (indicated by arrow F in the Figures) and a second camera 5b arranged downstream of said cleaning device 20 in said advance direction of the bottles. Both the first camera 5a and the second camera 5b are provided with an optical system 7a, 7b by which it is possible to frame the side wall of the region of cap T and ledge B of the bottle from above and to capture an image in which both markers Ml, M2 are simultaneously visible.

Moreover, both the first camera 5a and the second camera 5b are provided with a lighting system 9a, 9b. Said lighting system may comprise for instance a ring located above the bottles and provided with a plurality of light sources, preferably LEDs, even more preferably white LEDs.

In a first possible mode of use, the first camera 5a is arranged to capture a first image of cap T and ledge B with the respective markers before removal of the liquid drops and other possible impurities, and the second camera 5b is arranged to capture a second image of cap T and ledge B with the respective markers after removal of said liquid drops and other possible impurities.

In a second possible mode of use, the first camera 5a is arranged to capture a first image of cap T with the first marker and a separate first image of ledge B with the second marker before removal of the liquid drops and other possible impurities, and the second camera 5b is arranged to capture a second image of cap T with the first marker and a separate second image of ledge B with the second marker after removal of said liquid drops and other possible impurities.

In the latter case, the first and second cameras 5a, 5b are provided with a particular function (known as "cycling") that, upon a single actuation, allows capturing two different images at a very short time distance and possibly with different settings, in particular in terms of exposure and integration time.

Cleaning device 20 is preferably configured so as to perform cleaning of cap T and ledge B through a mechanical action and, more particularly, it includes one or more nozzles arranged to direct corresponding air jets against the surfaces of said cap and said ledge.

In the embodiment illustrated, said cleaning device 20 includes a ring structure 1 1 located above the bottles and provided with a plurality of nozzles arranged along the circumference of said ring structure and directed towards the cap and the ledge of the bottle below.

In a particularly preferred variant of this embodiment of the invention, the ring structure is divided into a plurality of sectors 11a - l id, and only the nozzles in a given sector are actuated every time in order to direct their air jets against the cap and the ledge of the bottle below. To this end, the processing unit of apparatus 1 is arranged to determine an estimate of the positions of the markers according to the first image(s) only, and the nozzles of one or more specific sectors of ring structure 11 are actuated according to said estimate.

It will be clearly apparent to the skilled in the art that the apparatus described above is suitable to implement the method according to the invention.

Moreover, it will be clearly apparent to the skilled in the art that the embodiment described above has been given only by way of non-limiting example and that several changes and modifications within the reach of the skilled in the art are possible, without thereby departing from the scope of the invention as defined by the appended claims.

For instance, by providing a suitable optical system, it is possible to use a single camera that is capable of capturing both one or more first images of the cap and the ledge of the bottle upstream of the cleaning device, and one or more second images of the cap and the ledge of the bottle downstream of the cleaning device

On the other hand, it is also possible to provide the image capturing device with separate cameras for capturing cap images and for capturing images of the ledge of the bottle (or of the different bottle portion in which the second marker is provided).