A method of detecting at least one profile feature or shape feature such as a label, a banderole, a defect, a crack, a scratch, a chip, a bubble, a surface deformation, a foil, a foil wrapped around a top neck of a bottle or other container, an enamel label, a plastic a seal, a wax seal, or other seal, and a profile feature such as an outlining feature, of containers such as bottles, jars or similar containers, with a detection device, said detection device comprising:
- at least one illuminating device configured as a strip-shaped light source having a length extending in the direction of conveyance of the containers being conveyed and a width transverse to said length;
- said length being substantially greater than said width;
- said at least one illuminating device being configured and disposed to illuminate conveyed containers in at least the region of the at least one profile feature or shape feature being detected;
- at least one electronic camera configured and disposed to receive light from containers being conveyed;
- and at least one of a) and b):
- a) said at least one illuminating device being adjustable relative to containers being conveyed and also relative to said at least one electronic camera;
- said at least one illuminating device being configured to provide different angles of incidence of light, emitted by said at least one illuminating device, onto conveyed containers;
- and
- b) said at least one camera being adjustable relative to containers being conveyed and also relative to said at least one illuminating device;
- said at least one camera being configured to provide different angles for receiving light from conveyed containers;
- and
- at least one system for image processing, said at least one system for image processing being configured to compare stored images with images taken by said at least one camera;
- and
- said at least one system for image processing being configured to detect at least one profile feature or shape feature of conveyed containers,
- said method comprising the steps of:
- conveying containers to said detection device;
- illuminating at least one container along said length of said at least one illuminating device;
- receiving light with said at least one electronic camera from containers being conveyed;
- and
- at least one of a) and b):
- a) adjusting said at least one illuminating relative to containers being conveyed and also relative to said at least one electronic camera;
- providing different angles of incidence of light, emitted by said at least one illuminating device, onto conveyed containers;
- and
- b) adjusting said at least one camera relative to containers being conveyed and also relative to said at least one illuminating device;
- providing different angles for receiving light from conveyed containers;
- rotating the at least one container illuminated with said illuminating device to illuminate the at least one shape or feature being detected and simultaneously expose the at least one shape or feature being detected to said at least one camera;
- receiving an image of the at least one shape or feature being detected with said at least one camera;
- processing the light received by said at least one camera with said at least one system for image processing by comparing received images with stored images until the at least one shape or feature on the conveyed containers is detected.