Method and device for inspecting containers in at least two different observation directions with a view to classifying the containers

EP4736111A1Pending Publication Date: 2026-05-06TIAMA SOCIETE ANONYME
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
TIAMA SOCIETE ANONYME
Filing Date
2024-06-28
Publication Date
2026-05-06

AI Technical Summary

Technical Problem

Current methods for inspecting transparent or translucent containers, such as glass bottles, are unreliable in detecting and identifying appearance defects like inclusions, bubbles, folds, and cracks, leading to false rejections and inadequate identification of critical defects, which affects production efficiency and safety.

Method used

A method involving the acquisition of at least two images of a container portion from different observation directions using a deep learning model that combines multi-view data fusion techniques, such as image concatenation or element-wise multiplication, to classify the container into classes like absence of defect, presence of defect, or normal/optical singularity, improving defect recognition and classification reliability.

Benefits of technology

This approach enhances the reliability of defect identification, reduces false rejections, and allows for more accurate classification of optical singularities, enabling safer decision-making in manufacturing processes and optimizing production efficiency by providing precise defect analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FR2024050859_02012025_PF_FP_ABST
    Figure FR2024050859_02012025_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to a method for inspecting containers made of transparent or translucent material (2) with a view to classifying a container, the method including a use phase comprising: - acquiring, for each container, at least a first and a second image (Ic) of at least one given portion of a container in two different observation directions and using at least one modality; - providing, as input for a deep learning model (NN), for each container, a record of at least the first and the second image of at least one portion of the container using at least one modality and in two different observation directions; - and the deep learning model analysing, for each container, this record in order to determine a result class, from among a list of classes, to which this container portion belongs.
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: Method and device for inspecting containers from at least two different observation directions with a view to classifying the containers Technical Field

[0001] The present invention relates to the technical field of the inspection of transparent or translucent containers such as, for example, glass bottles, jars or flasks or preforms or bottles (including returnable containers) made of plastic for the purpose of their quality control in order to detect and identify any defects likely to affect these containers.

[0002] The subject of the invention finds particularly advantageous applications for analyzing physical characteristics of containers in order to determine the presence or absence of defects and to identify conforming optical singularities such as decorations, functional reliefs, mold joints or non-conforming optical singularities corresponding to defects, such as for example surface defects, such as folds or crevices, internal defects in the material, such as cracks, inclusions, or bubbles, dimensional defects such as deformations. Prior art

[0003] In the field of manufacturing glass containers, it is known that the manufacturing process comprising the melting of the glass and then its transport to forming units is implemented by means of a manufacturing installation comprising a melting furnace, a feeder for supplying molten glass to a forming machine generally of the type designated by IS machine. The containers which have just been formed by the forming machine are placed successively on an output conveyor to form a row of containers. The containers are transported in a row by a conveyor in order to transport them successively to different processing stations. In particular, the formed containers are brought into an annealing furnace, which raises their temperature and then cools them in a controlled manner so that The thermal stresses created by the forming process disappear. Other glass container forming processes are known for tableware, insulators, syringes, and ampoules. For example, there are forming machines such as rotary and sequential presses, and not in parallel aligned sections like IS machines. There are also machines that transform preforms into tubes, particularly borosilicate glass, to produce syringes and ampoules dedicated to pharmaceutical products.

[0004] It is known to systematically inspect all containers leaving the forming machine, using different inspection equipment, either at an intermediate stage of their forming, or immediately after their forming, when they pass along the output conveyor, still being hot (what is called hot inspection), or after their annealing in the annealing arch, in inspection equipment (what is called cold inspection).

[0005] For example, to detect glaze-type defects in containers moving in a translation direction, patent application WO2021 / 209704 describes an inspection station comprising at least six imagers (typically 6, 12, 18 or 24) forming images and having an optical axis directed towards the inside of the inspection zone, being mounted in such a way that their optical axes are distributed around the central axis of the containers by choosing their azimuth angles between 0 and 360° relative to the translation direction, so that all the points of the circumference of the edge of the containers are represented in at least one image acquired during the crossing of the inspection zone by the container edge. The containers are also illuminated by at least twelve projectors, each having a beam direction, tangent to a cylinder centered on the central axis of the container, and the illumination beam directions are distributed in azimuth.Such a device allows for multiple beam directions and multiple observation directions to ensure the detection of glazes that reflect incident light towards the imagers. [0006JII It is also known to systematically inspect all the containers leaving the annealing furnace using different inspection equipment, in particular transmission wall inspection systems for which a light source is arranged on one side of the conveyor and at least one camera (typically 2 to 6, 12 or 24) is arranged on the other side to acquire at least one image formed by the light transmitted through the walls of the container. Patent application WO2023 / 052732 describes an inspection device provided on each side of the conveyor with a series of three cameras opposite which a light panel is arranged.

[0007] It is also known from patent EP 1 109 008, a method for analyzing container images for cold inspection. A segmentation step detects features in the images and regions around the features. Discriminant parameters of each region corresponding to a feature are calculated and combined with a fuzzy logic method to determine the most likely type of features from a list of features corresponding to possible defects. The conformity of the region is then decided, by applying different criteria depending on the type of feature selected. For example, a fold-type defect will be ejected for a certain surface area while an inclusion-type defect will be rejected even if it has a small surface area. This patent teaches in particular that defects do not all have the same criticality, which justifies seeking to determine their nature before deciding to reject a container.In this method, the illumination is a homogeneous extended source, which correctly reveals absorbing defects, but in which refracting defects are visible but with low contrast and therefore with insufficient sensitivity.

[0008] However, the inventors of the present invention have found that the determination of the type of features with the method proposed in EP 1 109 008 is not reliable enough, and moreover there appears to be a difficulty in reliably identifying certain defects and in particular “appearance defects”, namely visual defects of any type: inclusions (of foreign bodies such as ceramics, metal), bubbles, folds, rivers (surface grooves), glazes (cracks), fins, trapezoids, grease stains, very thin areas, unmelted. These appearance defects appear in images as local optical variations, or pixels with deviations from the background. These appearance defects can be critical if they lead to a risk for the consumer, a risk of breakage or a loss of functionality of the container. Since the recognition of an appearance defect from an image can be ambiguous, safety margins are taken during detection. As a result, containers are considered defective even though these containers are acceptable or compliant.

[0009] Furthermore, it should be noted that acceptable optical singularities such as engravings or decorations, weakly marked mold joints can be distinguished in the images. Also, there is a need to identify exactly the nature of the appearance defects to identify critical defects by distinguishing them from other defects. The prevention of critical defects requires improving the reliability of classification of appearance defects. In addition to the fact that improving defect identification improves production efficiency, this identification of defects makes it possible to determine their potential causes so that the manufacturing installation can be controlled according to the category of detected defects. Indeed, without reliable identification of detected defects, no safe decision to correct the manufacturing process can be taken, either manually or automatically.

[0010] Patent application WO2021 / 213864 proposes a method for more reliably inspecting containers transported by a conveyor on a line, in particular a bottling line. The containers are transported to at least a first inspection unit and a second inspection unit, each comprising a transmitter and a receiver. The inspection units can inspect the containers with white light, laser light, high-frequency electromagnetic waves, gamma rays and / or X-rays as transmitters. The containers are transported between the transmitter and a receiver such as a camera making it possible to acquire, with the first inspection unit, first measurement data and with the second inspection unit, second measurement data. According to this method, the first measurement data and the second measurement data are combined to form common input data for an evaluation unit based on artificial intelligence and providing as output, an inspection result, such as a fill level.

[0011] As a single example of an implementation, this document describes the detection of the filling level of containers by combining X-ray imaging and inspection with an infrared light source. This document specifies that such a method can be used to also check the side wall, the bottom, the mouth, the contents of the container such as for example contamination by foreign bodies or product residues. The result of the inspection can also be defects, such as damage to the containers, in particular cracks and / or glass shards.

[0012] However, patent application WO2021 / 213864 does not provide any teaching for detecting or identifying with certainty, in particular, appearance defects. Independently of the obligation to detect these defects, there appears to be a need to identify exactly the nature of the appearance defects in order to identify critical appearance defects compared to other defects that may be considered non-critical.An incorrect identification of a type of defect on a container can lead to the rejection of this container when a correct identification of this defect would have allowed the container to be identified as good, or to the non-rejection of a critical defect generating a serious non-quality, or to an inappropriate correction of the manufacturing process which can go as far as destabilizing it, or even to the failure to take into account a process error because if a system generates false alarms too frequently, the operator may end up no longer taking into account correctly the indications of the inspection system.

[0013] It is also known from patent application EP 3 679 356, a container inspection device making it possible to increase the reliability of detection, in particular to be able to reliably distinguish decorative elements by in relation to contamination or soiling. The device comprises a light source emitting radiation with different wavelength and intensity ranges in spatially separated areas. This light source illuminates the container to be examined and a color camera is configured to detect the radiation emitted by the source and having passed through the container.

[0014] The device also comprises an evaluation device which is designed to analyze the intensity image to determine pixels or regions which have a different intensity than their surroundings to deduce the presence of a light-absorbing defect such as soiling. The evaluation device makes it possible to analyze the color images to determine pixels or regions which have a different color than their surroundings to deduce the presence of light-refracting elements such as decorative elements. Thus, if a brightness contrast is observed locally and at the same time there is no color contrast in this area, the presence of contamination in this area is detected by the evaluation unit. If a local brightness contrast coincides with a local color contrast, the evaluation unit detects the presence of a decorative element.

[0015] The evaluation unit can also identify structures that cause local color contrast but virtually no local brightness contrast or only low local brightness contrast. For example, chips in glass or water droplets can cause such local color contrast, while light shining through can radiate through these areas substantially without loss of brightness.

[0016] Such an inspection device makes it possible to distinguish decorative elements from dirt or contamination. In other words, light-refracting defects are distinguished from light-absorbing defects. However, this inspection device does not make it possible to distinguish between light-refracting defects, as indicated by this application, in particular with regard to glass inclusions and water droplets.

[0017] From the prior art, document JP 4886830 is also known, which describes the inspection of a rotating bottle to reveal a crevasse. This document proposes to process images, but remains silent on the image processing methods to be used. Document WO 2018 / 061196 has a teaching similar to this document, and it has the same shortcomings.

[0018] Also known is document EP 3180135 which describes a stereoscopic image acquisition to remove the parts of images visible in the two stereoscopic images.

[0019] Finally, the prior art document EP 4078156 is known, which describes the acquisition of several images of a container (from above and below). Processing of the individual images is disclosed.

[0020] It emerges from the technical inspection solutions of the prior art that there is a need to make the classification of optical singularities appearing in the images more reliable so as to detect whether or not the container has a defect and to recognize these optical singularities in order to be able to apply a specific acceptance criterion for each type of optical singularity detected. The recognition of these optical singularities improves production efficiency by optimizing the ratio of detection to false rejections. This identification makes it possible to determine their potential causes so that the manufacturing installation can be controlled according to the category of defects detected. Statement of the invention

[0021] The present invention aims to remedy the drawbacks of the prior art by proposing a method for controlling the quality of containers, designed to achieve more effective detection of defects by ensuring their identification in a more reliable and certain manner in order to optimize the sorting or classification of containers.

[0022] An object of the invention is to propose a control method making it possible to classify each container according to at least one class taken from a list of classes comprising in particular a class of absence of defect, a class of presence of defect, a class relating to a normal optical singularity and / or a class relating to an abnormal optical singularity.

[0023] To achieve such objectives, the subject of the invention relates to a method for inspecting containers made of transparent or translucent material (typically glass or plastic, the person skilled in the art being able to identify the containers considered to be transparent or translucent) with a view to classifying a container, the method comprising; a use phase comprising: - the acquisition for each container, of at least a first and a second image of at least one same portion of a container according to two different observation directions and according to at least one modality; - providing as input to a deep learning model, for each container, a recording of at least the first and second images of at least one portion of the container according to at least one modality and according to two different observation directions; - and the analysis by the deep learning model, for each container, of this recording to determine the belonging of this portion of container, to a result class among a list of classes.

[0024] Thus, a single deep learning model is here configured to receive at least two images as input and output a class membership for the container, based on the two images. The deep learning model may for example comprise a number of inputs chosen to receive at least two images as input (or processing results of these two images if processing or preprocessing is performed on the images).

[0025] In the method, the images are images of at least one portion of a container. Thus, it may be an image acquired by a sensor, a portion of an image acquired by a sensor, an image of an entire container, or an image of a part of a container. The at least two images target the same portion.

[0026] The deep learning model can be an artificial neural network (typically a neural network with convolution layers) or a transformer-type model.

[0027] For example, for an artificial neural network, the number of input neurons can correspond to the cumulative number of pixels in the two images.

[0028] In other words, a multi-view data fusion is implemented before classification.

[0029] According to a particular and non-limiting embodiment, the multi-view fusion can be carried out by means of image concatenation techniques, channel concatenation, pixel-to-pixel addition, or on vectors representing information from the images and by adding the vectors, by performing element-to-element multiplication of the vectors or by concatenation of the vectors. The purpose of the fusion operation is to preserve the useful information of the data to be merged while excluding the redundant information. This operation can be carried out at any time in the defect recognition process and can occur several times.

[0030] According to the invention, several images of a portion of a container are produced with different observation directions in order to improve the recognition of the content of the images with a view to recognizing optical singularities. Indeed, the inventors have noticed that certain defects seen from a particular angle have a signature which does not allow the type to be determined with certainty. For example, the shape of the image of the defect under a single observation direction is not always sufficiently characteristic, due to different optical phenomena. Typically, the defect is not entirely visible in any image and / or the defect is deformed by refraction of light through the wall of the container and / or its appearance is different in photometry and geometry according to different observation directions.

[0031] When a defect is observed from different directions, its image is transformed from one view to another, on the one hand because these two views are two different perspective projections of the same object, but also because the light passes through it along different paths for the different views, undergoing different refractions or reflections, which produces contrasts and therefore a photometry of different appearance. It has been observed that the deformation of a defect between two different views is a characteristic of each defect, its apparent geometry and photometry. In other words, taking into account how the image of a defect varies when its observation direction varies makes it possible to more precisely identify the type of defect.

[0032] It should also be noted that when a defect is observed from different observation directions, it should be considered that it is the same defect so that it is wrong to consider that the container has two defects. However, generally according to the prior art, each view is treated separately. This is sufficient for a simple counting of defects without discrimination, but this technique is not suitable if one wishes to count the types of defect separately. Indeed, the classification systems can wrongly attribute a different type to the two observations of the same defect and there is no suitable solution to favor the diagnosis according to one or the other of the observations. This is the reason why performing a fusion of multi-view data makes it possible to obtain a more reliable verdict, directly taking into account several viewing angles for the same defect to be categorized.

[0033] It can be noted that the deep learning model can be preceded by one or more processing modules individually processing each image, the results of these processings then being provided as input to the deep learning model.

[0034] For information, these treatments can be implemented themselves by learning models, or by classic models which are not learning models. That being said, classification, that is to say the determination of membership in a class by analysis, takes into account elements coming from each image, jointly.

[0035] In other words, there is a joint processing of images that have possibly undergone processing (which can be called pre-processing).

[0036] According to a particular mode of implementation, the method comprises: - the provision of an inspection system for acquiring images according to at least a first modality and a second modality; - the acquisition for each container, of a recording of at least one of the same portion of a container comprising at least two images according to at least two different observation directions according to the first modality and at least one image according to the second modality.

[0037] According to a particular embodiment, the method comprises the provision of an inspection system configured to acquire images of the same portion of a container according to at least two different observation directions and according to at least one modality taken from the list of the following modalities: absorption, birefringence, refraction, reflection, infrared radiation.

[0038] According to a particular implementation method, each portion of container is classified according to at least one class taken from a list of classes comprising at least one class of absence of defect in the portion and one class of presence of defect in the portion.

[0039] According to a particular mode of implementation, each portion of container is classified according to at least one class taken from a list of classes comprising at least one class including the presence in the portion of at least defects such as, in particular, trapezium, inclusion, bubble.

[0040] According to a particular mode of implementation, each portion of container is classified according to at least one class taken from a list of classes comprising at least one class including the presence in the portion of at least one singularity such as a marking, a mold seal, a notch, a thread, an impression, a stitch, a handle, a counter ring.

[0041] According to a particular mode of implementation, the method comprises the acquisition for each container having a central axis, of at least four images of at least one same portion of a container according to four different observation directions and according to at least the first modality, the observation directions being distributed around the central axis two by two according to an azimuth angle of at least 45°.

[0042] According to a particular implementation mode, at least one sorting characteristic is compared to a rejection criterion, the sorting characteristic and the rejection criterion rejection being dependent on the membership class to decide whether or not the container is compliant, the sorting characteristic being calculated on at least one image of the container according to a modality.

[0043] According to a particular implementation mode, a step is implemented for taking into account at least one identified defect in order to deduce adjustment information for at least one control parameter of a container manufacturing installation.

[0044] According to a particular implementation method: -the deep learning model associates a confidence score with the ranking of containers that are part of an inspected production; - the classification of containers is taken into account only when the confidence score exceeds a confidence threshold for; - count defects by defect class; -and / or decide to reject the container; -and / or trigger an alarm for the presence of at least one critical defect in the inspected production.

[0045] Accounting may involve the implementation of time statistics (defect frequencies). For example, time statistics can be provided for a sliding window to determine trends (emergence / appearance of defects, drift in the process, etc.).

[0046] The invention also proposes a method for training a deep learning model for inspecting containers made of transparent or translucent material with a view to classifying a container, the method comprising a construction phase comprising: - provision of a learning set comprising recordings each composed of at least a first and a second image of the same portion of container according to two different observation directions and according to at least one modality; - provision of at least one deep neural learning model having been trained on a training set comprising recordings each composed of at least a first and a second images of the same portion of container according to two different observation directions and according to at least one modality, the deep learning model determining at least one membership class for said portion from a list of classes.

[0047] This learning process can be configured to obtain models according to all the implementation modes of the inspection process defined above.

[0048] According to a particular mode of implementation, the method comprises providing at least one deep learning model having been trained on a training set comprising recordings each composed of at least two images of the same portion of container according to observation directions different by at most 5° during the acquisition of the images.

[0049] According to a particular mode of implementation, the method comprises providing at least one deep learning model having been trained on a training set comprising recordings each composed of images of the same portion of container according to different directions and modalities.

[0050] The invention also proposes a method comprising a phase of construction of the learning method defined above to obtain a deep learning model, and a phase of inspection of the inspection method defined above using the deep learning model of said construction phase.

[0051] According to a particular implementation mode, during the construction phase, the image records are ordered according to a determined sequence while during the use phase, the image records are ordered according to a sequence identical to the sequence of the construction phase.

[0052] In fact, the images are ordered according to, for example, a direction of observation and a modality specific to each image, in an identical manner within each recording. A recording therefore comprises a set images for a container, captured by a device similar to the inspection device.

[0053] Also, by sequence we mean an ordered series of elements, the order being able to be fixed by the directions and the modalities.

[0054] The invention also proposes a device for inspecting containers made of transparent or translucent material leaving a manufacturing or recovery installation with a view to classifying the containers in relation to defects, the device comprising: - an inspection system comprising at least one camera arranged to recover light or radiation (for example infrared) coming from at least one portion of a container and configured to acquire images of the same portion of a container according to at least two different observation directions and according to at least one first modality; - an information processing unit connected to the inspection system and comprising a deep learning model, the deep learning model determining at least one membership class for said portion from a list of classes, the deep learning model receiving as input, for each container, a recording of at least two images of at least one portion of the container according to the first modality and according to two different observation directions, the deep learning model, for each container, analyzing this recording to determine the membership of this portion of container, to a result class from the list of classes.

[0055] This device can be configured to implement the inspection method as defined above.

[0056] The invention also proposes a device configured for implementing the learning method defined above.

[0057] The invention also proposes a deep learning model obtained by the learning method defined above.

[0058] Various other characteristics emerge from the description given below with reference to the appended drawings which show, by way of non-limiting examples, embodiments of the subject of the invention. Brief description of the drawings

[0059] [Fig. 1] Figure 1 represents an exemplary embodiment of an installation for manufacturing containers inspected by an inspection device according to the invention.

[0060] [Fig. 2] Figure 2 is a schematic view illustrating an exemplary embodiment of an inspection device according to the invention using two cameras adapted, for example, to simultaneously take two images of a container from two different observation directions.

[0061] [Fig. 3A] Figure 3A is a schematic top view showing the taking of successive images, by a camera, under a first direction of observation of a container moving in translation.

[0062] [Fig. 3B] Figure 3B is a schematic top view showing the taking of images, by a camera, from a second observation direction of a container moved in translation relative to its position illustrated in Figure 3A.

[0063] [Fig. 3C] Figure 3C is a schematic top view showing the taking of images, by a camera, from a third observation direction of a container moved in translation relative to its position illustrated in Figure 3B.

[0064] [Fig. 4] Figure 4 is a schematic view illustrating an exemplary embodiment of an inspection device according to the invention using two cameras adapted to obtain from each three analysis images according to three different modalities, in order to constitute a recording of analysis images comprising at least 6 container images.

[0065] [Fig. 5] Figure 5 is a schematic view illustrating yet another example of an embodiment of an inspection device according to the invention adapted to simultaneously take three images of a container from three different observation directions and analyzed by four neural networks which collaborate to classify the container.

[0066] [Fig. 6] Figure 6 is a schematic view illustrating yet another example of an embodiment of an inspection device according to the invention using two cameras adapted to simultaneously take two images of a container from two different observation directions and analyzed by algorithms for detecting image singularities and then by a neural network which classifies the container.

[0067] [Fig. 7A] Figure 7A shows an arrangement of a plurality of cameras arranged at different elevations.

[0068] [Fig. 7B] Figure 7B corresponds to the arrangement of Figure 7A but where the different azimuths are visible.

[0069] [Fig. 8A] Figure 8A is a photograph of a container in which a defect is visible.

[0070] [Fig. 8B] Figure 8B is a photograph of the container of Figure 8A in which the defect is no longer visible.

[0071] [Fig. 9A] Figure 9A shows a photograph of another container in which a defect is visible.

[0072] [Fig. 9B] Figure 9B is a photograph of the container of Figure 9A in which the defect is still visible, but with a different appearance.

[0073] [Fig. 9C] Figure 9C shows how the cameras used to obtain the images in Figures 9A and 9C are arranged.

[0074] [Fig. 10A] Figure 10A is a photograph of yet another container on which a two-part defect is visible.

[0075] [Fig. 10B] Figure 10B is a photograph of the container of Figure 10A on which the defect remains visible with a different appearance. Description of the embodiments

[0076] In the present description, artificial neural networks are used as a deep learning model. However, the invention is in no way limited to these neural networks and can be adapted to the use of transformers, or even to other learning models.

[0077] Figures 1 and 2 illustrate a device 1 according to the invention for inspecting containers 2 leaving an installation 3 of any type known per se. The installation 3 provides transparent or translucent containers 2 such as, for example, bottles, pots, flasks, syringes, ampoules or preforms. Generally, a container 2 has a central axis R, considered as an axis of symmetry, or even an axis of symmetry of revolution. These containers 2 can be made of different materials such as glass, plastic or renewable raw material such as wheat, sugar cane or corn for example. These containers 2 can be filled or empty. The installation 3 thus ensures the manufacture of the containers 2 or even their decoration or covering, filling and closing.It should be noted that the installation 3 is capable of manufacturing the new containers 2 from raw or recycled materials, or of reconditioning recovered containers. According to a preferred example of implementation, the installation 3 is a forming installation from which empty glass containers emerge.

[0078] Typically, the installation 3 includes a production computer 4 for supervising the various functionalities of the installation 3 during the manufacture of the containers. The production computer 4 is typically for a glass container forming machine, a sequencer which controls pneumatic or motorized actuators as well as valves controlling the circulation of cooling air or the blowing pressure for the manufacturing molds.

[0079] At the outlet of the installation 3, the containers 2 are taken over by an outlet conveyor 5 to form a line of containers, being in the example illustrated, placed successively on the outlet conveyor. The containers 2 are transported in line by the conveyor 5 in a direction of movement F in order to convey them successively to different treatment and / or control stations and in particular to an annealing arch 6 (i.e. a treatment station) and to the inspection device 1 according to the invention (i.e. a control station). The direction of movement F of the containers 1 is established according to a rectilinear trajectory with a horizontal axis X of a direct orthonormal reference frame X, Y, Z comprising a vertical axis Z perpendicular to the horizontal axis X and a transverse axis Y perpendicular to the vertical axis Z and to the horizontal axis X, and the axes X and Y being in a plane parallel to a conveying plane Pc of the containers which is considered to be horizontal. The inspection device 1 according to the invention can also, in a variant, be installed downstream of the installation 3 and upstream of the annealing arch 6, when the hot containers 2' are transported in line by the conveyor 5' towards the arch. In other words, the inspection device 1 according to the invention can be installed upstream or downstream of any treatment of containers formed and transported according to the displacement F.

[0080] The inspection device 1 according to the invention aims to implement a method for detecting, for each container 2 moving in translation, whether the container has a defect and to identify, for a container having a defect, a type of defect from a family of possible defects.

[0081] The inspection device 1 according to the invention comprises an inspection system 7 visible in FIG. 2 and comprising at least one camera Ci (Cl, C2,...Ci,...Cn, with i ranging from 1 to n) arranged to recover light or radiation (for example infrared) coming from at least one portion of a container 2 and configured to acquire images of the same portion of a container according to at least two different observation directions DI, D2 and according to at least one first inspection method.

[0082] Each camera Ci comprises, in a conventional manner (figures 3A to 3C), an optical objective B having an optical center O and an optical axis A, allowing the formation of an optical image on a photoelectric sensor E, linear or matrix, generally flat, positioned in the focal plane of the objective. The images acquired by the cameras Ci are transmitted to an electronic information processing unit 9 forming part of the inspection device 1, but which may possibly be remote. This electronic information processing unit 9 is a computer system of all types comprising computers, external peripherals (display unit, storage unit, keyboards, connection to different factory networks, connection to cameras, etc.), equipped with programs implementing image processing algorithms, databases, etc.

[0083] This information processing unit 9 is connected to the production computer 5 in order to receive, if necessary, from the production computer (or even from other peripherals), manufacturing information for association with the containers 2, their images and their detected defects with this manufacturing data. The manufacturing information may be time information, mold or molding cavity numbers, etc. In the case where the container is a glass container, received time information makes it possible to associate the containers 2, their images and their detected defects, with the mold number or the forming cavity or with a timestamp or an individual identifier. Typically, the operation of the inspection system 7 is synchronized with the operation of the forming cavities of the containers, in particular in the case where it is installed between the forming installation 3 and a processing station such as the annealing arch 6.

[0084] Advantageously, this information processing unit 9 transmits to the production computer 4 the identified defects and the measurements carried out, so that the production computer can automatically deduce adjustment information for at least one control parameter of the installation 3 or processing 6. Such an adjustment of the control parameters is carried out manually or automatically. Finally, the information processing unit 9 is connected to an ejector to control the ejection of containers identified as defective, and / or to a display unit to present to an operator the identified defects and the images of the containers.

[0085] According to the invention, the inspection system 7 is configured to recover, by at least one camera, the light coming from the container 2 in order to acquire images of the same portion of a container according to at least two different observation directions D1, D2, D3,...Dj and according to at least one inspection method. As shown in Figure 3A to Figure 3C, each observation direction D1, D2, D3 corresponds to the straight line passing through the center optical O of the camera and the center T of the portion P of the container 2 placed in the field of observation of the camera.

[0086] According to a first embodiment illustrated in Figures 3A to 3C, the different observation directions D1, D2, D3 are produced for different positions of the container in the field of observation of the camera. According to this embodiment, the containers 2 are moved along a rectilinear trajectory represented by the arrow F so as to pass in front of a fixed camera C1 positioned to inspect the body of a container. According to this example, the center T of the portion P of the container 2 observed by the camera corresponds to the central axis R of the container. As illustrated in Figure 3A, the camera C1 takes an image ICI 1 of the container 2 when the observation direction D1 forms an angle alpha with the optical axis A. As is apparent from Figure 3B, the movement of the container leads to its positioning in a position for which the observation direction D2 corresponds to the optical axis A.The camera Cl takes an image IC12 of the container 2 when the observation direction D2 coincides with the optical axis A. The continued movement of the container leads to its positioning in a position for which the observation direction D3 has exceeded the optical axis A and forms an angle alpha with the optical axis A (figure 3C). The camera Cl takes an image IC13 of the container 2 when the observation direction D3 forms an angle alpha with the optical axis A.

[0087] In the embodiment illustrated in Figures 3A to 3C, the direction of observation is modified by the relative movement between the container 3 and the camera. According to this example, the camera is fixed while the container is mobile. Of course, the subject of the invention also applies to a fixed container and a mobile camera.

[0088] According to a second embodiment illustrated in Figure 2, the different observation directions D1, D2 are produced by cameras having observation directions of the container which are different at the time of image acquisition. According to this example, two cameras C1, C2 are positioned so that in a vertical plane, parallel to the central axis R, the optical axes A of the cameras form between them an elevation angle alpha determined so that if the observation directions correspond to the optical axes, the observation directions are offset by an angle alpha. Of course, it may be envisaged to distribute the cameras in the azimuth plane (plane parallel to the conveying plane, as will be visible with reference to figures 7 A and 7B described below) so that the optical axes A of the cameras form between them an azimuth angle alpha determined so that if the observation directions correspond to the optical axes, the observation directions are offset by an angle alpha.

[0089] Advantageously, two observation directions DI, D2, D3...Di have different observation directions if these two observation directions are offset by at least 5°.

[0090] Whatever the inspection system 7 implemented, this inspection system provides the information processing unit 9 with images of the same portion of a container according to at least two different observation directions and according to at least one first inspection method. By the same portion, it is meant that an overlap of the views is possible between the images.

[0091] An inspection modality corresponds to a type of interaction of the light with the wall of the containers and with the defects to be identified. Typically, the inspection system 7 is configured to acquire images of the same portion of a container according to at least two different observation directions and according to at least one modality taken from the list of the following modalities: absorption, birefringence, refraction, reflection, infrared radiation.

[0092] For example, an inspection modality is called absorption. This modality mainly highlights the absorption of light passing through the wall of the container, but also refraction effects such as shadows on the edges of the container or refracting defects or thickness variations. Some defects have an absorbent character, totally or partially absorbing. These defects thus appear opaque or dark when seen in transmission, that is to say that the light passing through a wall of flawless glass undergoes so-called normal absorption corresponding to the color and thickness of the material constituting the container, assumed to be homogeneous with the glass wall. But absorbent defects present a local anomaly with an absorption sometimes lower (bubble or thin) but generally higher than normal absorption. In the following, absorption will only refer to the abnormal absorption of absorbent defects. Such defects include in particular inclusions in the glass, in particular ceramic or metal, and / or dirt (grease, etc.) on the glass. But such defects also include certain glazes (cracks) which would be oriented in the glass in such a way as to block the inspection light, mainly by the fact that the inspection light is then reflected in a direction which is not seen by the camera.Due to the limited size of the light source, shadows appear in the image due to refraction at the outer edges of the container silhouette. Shadows do not usually reveal defects. Some shadow shapes reveal defects in the glass distribution. Some refracting defects have a particular signature at the edge of the container silhouette and another signature in the center. They will therefore be distinguished when viewed from different viewing angles.

[0093] Another inspection method is called birefringence. This method mainly involves a modification of the polarization state of the light passing through the container wall by a so-called stress defect, which gives the glass a birefringence property. Some defects have a birefringent character. Thus, some defects result in the presence of residual mechanical stresses in the material (sometimes called internal mechanical stresses or, in particular in English, "stress"). In the wall, a birefringent or stress defect, such as an inclusion of foreign bodies (ceramic, metal, "devitrified glass") causes a modification of the polarization state, i.e. a polarization phase shift between two components of the electric field or a modification of the direction of linearly repolarized light.

[0094] Another inspection method is called refraction. This method mainly involves modifying the direction of propagation of light passing through the container wall by a refracting defect, due to an angle between the dioptric surfaces crossed and / or a difference in refractive index. Each surface is an air / glass or glass / air interface, therefore a dioptre which refracts the light passing through it. In the absence of a defect, the wall surfaces are substantially parallel and the refraction does not cause any visible deviation of the light rays passing through the container. A so-called refracting defect is a defect which locally causes abnormal refraction, mainly when the defect manifests itself by differences in slope between the surfaces or dioptres crossed by the wall(s).We will therefore speak of refractive defects only to designate deviations of light by the particular refraction at the level of so-called refractive defects. Refractive defects are defects that are mainly detectable by the refractive anomalies they generate, particularly in a through-light inspection. Typically, surface defects (folds, rivers,) or glass distribution defects (bubbles, thin, compression ring), trapezoids and fins are generally classified among refractive defects. It should be noted that trapezoids and fins generally cause such strong refractions that these defects are generally clearly visible also in absorption images.

[0095] Another inspection method is called transmission-reflection. This involves the detection of glazes in glass containers. Glazes are very narrow cracks, of different shapes and lengths and different orientations in the material. Glazes behave like diopters reflecting light. Their detection consists of illuminating a part of the container according to one or more directional beams having specific angles of incidence on the illuminated portion of the container. The direction of the light reflected by a glaze is specific to the shape and orientation of the glaze, and the image by a camera receiving or not the reflected light allows the detection of glazes. In other words, the direction of observation is a characteristic of the glaze. According to this method and in the example of patent WO 2021 / 209704, a A large number of cameras are arranged around the container with observation directions distributed in azimuth and elevation.

[0096] Finally, the invention is not limited to these modalities. It can be applied, for example, in the case of a pure reflection modality, according to which a light source is designed to illuminate the surface of a portion of the container, the surface reflecting the light in the direction of the camera. The image is then mainly constituted by the reflected light, and we observe as potential defects, either deformations of the geometry of the surface, or of its reflectivity, or the appearance of a reflection outside the normal contour of the surface.

[0097] Another inspection method is called infrared radiation. This inspection method, without using a light source to illuminate the containers, aims to inspect still-hot containers, typically made of glass, at the end of their manufacture and emitting, given their temperature, infrared radiation depending on the volume (in other words, the thickness) and / or the temperature of the material constituting the containers. So-called infrared cameras are used, equipped with image sensors sensitive to the infrared radiation emitted by still-hot containers, whose temperature is higher than 300°C.The sensors used in this type of modality have a length sensitivity spectrum adapted according to the cases of use, for example in near infrared (SWIR or NIR) and / or mid infrared (MWIR). A defect modifying the emissivity, therefore the image of the infrared radiation of a container, can be linked to an accumulation of material at a specific location corresponding for example to an excess thickness of the wall or to a trapezoid or swing defect (defect of a glass wire inside the container and connected by its ends to the inner wall). According to the invention, the observation of the infrared radiation of hot containers according to at least two different observation directions allows for example that the neural network (or the model used) takes into account the directional emissivity and / or the depth of the defect to determine the class to which it belongs.

[0098] In a known manner, the inspection of the containers 2 according to one and / or other of these inspection methods can be carried out using various configurations of the inspection system 7. It is considered that the inspection system is configured to acquire images in order to obtain images according to at least one modality and advantageously images relating to several modalities. It should be noted that depending on the inspection system 7 used, the images according to these modalities can be obtained directly from the acquired images or from calculations or processing.

[0099] The remainder of the description describes, by way of non-limiting examples, various methods for obtaining absorption images, birefringence images, refraction images and infrared radiation images.

[0100] To obtain absorption images, a first simple method is to produce on the light source a uniform intensity and unpolarized illumination in an active portion. A second solution for obtaining the absorption image is to use a light source uniform in intensity linearly or circularly polarized and to produce the image by means of a camera without any polarizing filter between the container and the camera. The intensity uniformity of the light source can be perfect, that is to say that the intensity is constant over the entire active zone of a flat and extended light source emitting diffuse light.The uniformity can also be local, in particular when the glass of the containers is tinted, it can be expected that a region of the source illuminating the neck where the glass wall is thicker, emits a stronger uniform intensity, while a region illuminating the body of the container where the wall is thinner emits a weaker uniform intensity. The intensity of a light source which generates, as described in document FR 2794241, a continuous spatial variation of intensity slower than that observed in the vicinity of a defect is also considered uniform or relatively uniform, so that an image analysis algorithm which compares the pixels to their neighbors to detect rapid local variations in intensity as defects, does not detect the slow variations in intensity emitted by the source.

[0101] Another solution for obtaining the absorption image is described in patent application EP 3 679 356, which proposes producing an illumination with a source whose color varies spatially and acquiring a composite image (RGB) which is transformed into the HSV color representation space (Hue, Saturation, Value). The absorption image is obtained by the V image or a transformation of this image, for example by means of a gradient calculation. It should be noted that a refraction image is obtained by the H image, or a transformation of this image, for example by means of a hue gradient calculation.

[0102] Another solution for obtaining the absorption image is to use a uniform light source in monochrome intensity linearly or circularly polarized and to make a composite polarimetric image by means of a polarimetric camera, and to calculate the absorption image from at least two partial polarimetric images corresponding to observations through two linear filters of analysis directions at 90° to each other.

[0103] Another solution for obtaining an absorption image is to produce the illumination using a source exhibiting variations in a polarization characteristic with the intensity remaining relatively uniform and to acquire a composite image containing at least 2 to 4 partial images using a polarimetric camera and to calculate an absorption image from 2 to 4 partial images taken through polarization analyzers at 90° to each other.

[0104] To obtain birefringence images, a simple first method is to produce on the light source, a uniform monochrome illumination linearly polarized in a determined direction, in an active portion. The image is acquired either by a black and white camera in front of which is placed a linear polarization analyzer whose direction is orthogonal to the determined direction, or by a polarimetric camera in which the pixels of the partial image corresponding to the analysis are taken into account through a linear filter orthogonal to the determined direction. The value of the pixels of the birefringence image is then almost zero except in the presence of a stress defect. When light passes through a stress defect, the measured / received light intensity obtained depends on the direction and intensity of the stresses.

[0105] A second method for obtaining a birefringence image is to produce on the light source, a uniform monochrome illumination circularly polarized in a given direction in an active portion. The image is acquired with a black and white camera in front of which is placed a delay plate 1 / 4 wavelength and then a linear polarization analyzer. The pixel value of the birefringence image is then almost zero except in the presence of a stress defect. When light passes through a stress defect, the outgoing light intensity depends on the stress intensity but not on the stress direction.

[0106] A third method of obtaining a birefringence image is to produce on the light source, a uniform monochrome illumination linearly polarized in a single direction or circularly polarized in a single sense in an active portion. The image is acquired by a polarimetric camera in front of which is possibly placed a delay plate 1 / 4 wave delivering a composite image. From two or four partial images, a birefringence quantity is calculated which depends on the polarization phase shift between the Ex and Ey components of the electric field and which is a measure of the stress. Those skilled in the art will be able to find the calculation formulas from the Mallus equation and the Stockes formalism. The polarization phase shift can be calculated to obtain as pixel values ​​in the birefringence image, a value which depends on the intensity of the stresses but preferably not on the direction of the stresses, the detection is therefore isotropic and proportional to the stresses. According to one of these variants, the polarization phase shift can be measured between 0 and 90° or even between 0 and 180°. This method also makes it possible to calculate an absorption image with the composite image delivered by the same polarimetric camera, by calculating each pixel as explained previously.

[0107] To obtain refraction images, a first method of obtaining a refraction image is illustrated in patent US4606634, which describes a type of refractive defect detection which consists of modifying the “spectrum angular" of an extended light source. A light source of variable dimension, for example a luminous disc of variable diameter, is at the focus of a converging projection lens. In the image obtained using a camera which receives the light having passed through the container, an enhanced contrast is obtained on the refracting objects, this contrast can be increased by reducing the angular spectrum, which is produced by reducing the diameter of the luminous disc.

[0108] A second set of methods for obtaining a refraction image consists of varying spatially along the emitting surface of an extended light source, such as a light panel, a property of the light emitted by the source that the camera can distinguish. As a spatially varying property of light, its intensity was initially used. At least one image is acquired with an intensity-sensitive camera, therefore a priori monochrome, delivering monochrome images. The intensity of light emitted by each unit of light-emitting surface varies spatially according to a law of spatial variation in one or two dimensions.In other words, these inspection methods adapted for the detection of refracting defects use illumination devices which provide light which is sometimes called "structured", that is to say having an emitting surface, generally two-dimensional, which presents variations or patterns of intensity.

[0109] A third set of methods for obtaining a refraction image consists of varying spatially along the emitting surface, as a property of the light emitted by the source, a polarization property, a color property and / or a phase property. As examples, documents WO2020 / 244815 and EP3679356 illustrate variants of this third set of methods for obtaining a refraction image.

[0110] To obtain images of infrared radiation, one solution is to use a camera sensitive to infrared radiation emitted by the containers 2. Typically, the infrared radiation-sensitive camera sensor captures infrared radiation in a wavelength range greater than 0.8 pm.

[0111] It is clear from the examples given above that the inspection method using the inspection system 7 associated with the electronic information processing unit 9 makes it possible to obtain images according to different observation directions and at least one inspection method or several inspection methods.

[0112] According to an alternative embodiment, the inspection system 7 is configured to obtain images according to two different inspection modalities. According to a preferred alternative embodiment, the inspection system 7 is configured to obtain images according to three different inspection modalities. Thus, the method according to the invention aims to inspect the containers 2 using the inspection system 7 configured to acquire absorption, refraction and birefringence images, making it possible to recognize defects characterized by all of their 3 types of interaction with light.

[0113] The invention is also advantageous for an inspection system for detecting glazes using a device as described in EP4136434, a number of cameras observing the same portion of containers under different observation directions. In this case, the variations in the shape and position of the reflections corresponding to the glazes between the different images mainly make it possible to distinguish them from parasitic reflections, and a learning classification model allows effective detection / classification while it is difficult to define a priori by professional knowledge, the geometric characteristics of these very random shape defects.

[0114] The objective of combining these various lighting and image acquisition techniques is to obtain from each inspected region of each container, at least two and preferably at least three images each according to a different modality and different directions, with for each modality, the value of each pixel which depends on a different modality of interaction of the light with the crossed wall and with the defects to be detected. Of course, the configuration of the lighting and the cameras depends on the inspected region of the container which can correspond to the body, the bottom, the neck, the shoulder, the rim, the ring or to an area of ​​presence of engravings for example.

[0115] The images acquired from the same portion of a container according to at least two different observation directions and according to at least one first modality are made available to the information processing unit 9. Of course, it is possible to prepare the images by pre-processing, such as: - geometric transformations (i.e. perspective correction); - transformations on the image format (number of channels, image size); - photometric treatments such as low-pass or high-pass filters, or background elimination, etc.

[0116] According to the invention, this information processing unit 9 comprises a neural network having been trained during a construction phase, on a learning set comprising recordings each composed of at least two images of the same portion of the same container according to at least two different observation directions and according to at least one modality. During this construction or learning phase, the neural network determines at least one membership class Kj for said portion from a list of classes Kl, K2, ...Kj, ...Kp.

[0117] During a use phase, the trained neural network receives as input, for each container, a recording of at least two images of at least one portion of the container according to a modality and according to two different observation directions, these images being acquired using the inspection system 7 during the scrolling of the containers. For each container to be inspected, the neural network analyzes this recording to determine the membership of this portion of container, to a result class among the list of classes Kl, K2, ...Kj, ...Kp.. During this use or inspection phase, each container 2 scrolling in front of the device 1 is inspected in order to detect in the images taken, the presence of defects and to classify the detected defects. Preferably, the classes Ki should also include non-defect objects such as decorations, markings, shadows, etc.

[0118] The information processing unit 9 is thus adapted to implement an inspection method for detecting defects on containers and classifying the containers, according to previously defined classes. The inspection method thus makes it possible to classify each container according to at least one class taken from a list of classes including in particular a class for absence of defect and a class for presence of defect. It must be understood that the subject of the invention makes it possible at least to detect the presence of a defect or the absence of a defect.

[0119] Advantageously, the subject of the invention makes it possible to identify or recognize defects, thus allowing them to be classified. The list of classes K1, K2, ...Kj, ...Kp comprises at least one class comprising the presence in the image portion of at least one abnormal optical singularity corresponding to a defect. In the field of inspection of glass containers, some of the classes correspond to glass defects, i.e. defects linked to the manufacturing process of the containers. The glass defects concerned are glass defects having optical properties of interaction with the light passing through the container, such as at least a part of absorption, and / or a part of birefringence and / or a part of refraction, so that they are detectable by means of the aforementioned devices. For example, these classes may correspond to a bubble, an inclusion, a fold, a grain, a stone, a fin, a large bubble, a trapezoid or a swing.Furthermore, several classes can correspond to the same type of glass defect, such as a trapezoid-type glass defect. In this example, one class may correspond to large trapezoids with thick glass threads and another class to small trapezoids with small, unconnected points. These classes are given for illustrative purposes only.

[0120] Advantageously, the list of classes Kl, K2, ...Kj,...Kp includes at least one class comprising the presence in the portion of at least one normal optical singularity not corresponding to defects. Thus, classes may correspond to reliefs with a technical function such as positioning notches or the grooves of the laying plane, with a decorative function such as coats of arms, or with a function of technical or commercial indications such as brand, capacity, mold number. Other classes may correspond to elements that can be distinguished on the container such as mold joints, which may be circular at the bottom or linear on the vertical wall. recognition of a mold seal in the image, therefore the classification of an image element as a mold seal, then allows a specific analysis to determine whether the mold seal is weakly marked, which is not a defect, or strongly marked, which requires the ejection of the container bearing such a mold seal.

[0121] Advantageously, it is possible to associate a criticality with each class in the list of classes, i.e. a high value for a class of critical defects such as a trapezoid, lower for a class of less critical defects such as a fold, and even lower for a class of non-defect objects such as a mold joint.

[0122] It should be noted that the number p of image classes is independent of the number of modalities. Generally, the list of classes includes a number of classes greater than the number of modalities implemented. Furthermore, the list of classes may include classes not corresponding to glass defects. For example, the list may include, as a class not corresponding to glass defects, a class corresponding to a container 2 without defects, a class corresponding to a container 2 with a mold joint, a class corresponding to a container 2 with a coat of arms. According to an advantageous embodiment, the list of classes contains a non-glass defect class, at least one trapezoid class, at least one inclusion class, and at least one bubble class. These classes are recorded and accessible to the information processing unit 9.

[0123] The number of classes is therefore determined firstly by the need for production and quality control, and therefore by the need to identify production defects in order to make the right decisions during sorting and to enable possible correction of the process. Conversely, the number of modalities is only determined by the technical and economic limits of the known means of highlighting the properties of absorption, refraction and birefringence.

[0124] The number of classes also depends on the quality of the sorting obtained by the neural network. Indeed, during the training of the neural network, it It is known to verify the rate of good classifications obtained on test sets. It has been observed that the classification is better when the list of classes contains several classes for the same defect such as trapezoids. In other words, the number of classes can be increased to improve the quality of the automatic classification.

[0125] As indicated previously, the classification operation is carried out by a neural network receiving as input, for each container, a recording of at least two images of at least one portion of the container according to a modality and according to two different observation directions. According to the invention, the at least two images are analyzed at the same time by a deep learning neural network which can determine, based on all significant photometric and / or geometric characteristics, the belonging of an image singularity to a class.

[0126] Figure 2 illustrates an exemplary embodiment of a CNN1 convolutional neural network receiving as input the images of portions of the containers according to at least two different observation directions and one modality. The outputs of the CNN1 convolutional neural network are the input data of a NN neural network allowing the classification of the containers.

[0127] Figure 4 is a schematic view illustrating an exemplary embodiment of an inspection device according to the invention using two cameras adapted to obtain from each three analysis images according to three different modalities, in order to constitute a recording of analysis images comprising at least 6 container images.

[0128] In this figure, a container 2 and two cameras C1 and C2 are shown, configured to respectively acquire images of the same portion of a container according to two different observation directions D1, D2. The camera C1 is configured to obtain three images according to three different modalities, and the camera C2 is configured to obtain three images according to these same different modalities. In the figure, K1, K2 are designated as possible classes for the recordings of these six images. During the learning phase, these six images can be recorded with the appropriate class, and during the learning phase, detection, we can acquire the six images for classification. We denote X as context data or metadata about the images, which can be taken as input data to the classifier, for example X contains viewing directions, differences in viewing directions, camera numbers, modality identifiers for each image.

[0129] Figure 5 illustrates another exemplary embodiment of an inspection system 7 allowing the acquisition of images of portions of containers according to three different observation directions and one modality. One of the two cameras shown delivers images according to two different observation directions. Three convolutional neural subnetworks CNN1, CNN2, CNN3 each receive as input the images of portions of the containers according to a determined observation direction. The outputs of the three convolutional neural subnetworks CNN1, CNN2, CNN3 are the input data respectively of neural networks NN1, NN2, NN3 collaborating together with a neural subnetwork NN4 allowing the classification of the containers. The convolutional neural subnetworks CNN1, CNN2, CNN3, the neural subnetworks NN1, NN2, NN3, and the neural subnetwork NN4 form a neural network, i.e. a single deep learning model within the meaning of the invention.

[0130] According to a particular embodiment and in a non-limiting manner described in this paragraph, the outputs of the networks NN1 NN2 NN3 (not illustrated) are for example, when singularities such as defects are present in the images, DSI DS2 DS3 singularities each associated with an output vector of their network, the vectors being able to be considered either as measures of morphological or photometric properties of the singularities, or as classifications of the singularities. The MC module consists of associating the DSI DS2 DS3 singularities of the different views as being descriptions of the same singularity under different observation directions, and the role of the sub-network NN4 is then to determine a unique classification Dj from the outputs of the networks NN1 NN2 NN3. Of course the example in figure 5 illustrates the case of 3 images, and the same solution can be provided with 2 images or 4 or 6 etc. In other words, according to this mode of particular realization, the data fusion includes: structuring the classifier into subnetworks, with an output network NN4 which merges the results of the input subnetworks NN1 NN2 NN3. In the variant illustrated below figure 6, the input subnetworks are replaced by classic segmentation modules ANDI AND2 and DSI DS2.

[0131] Figure 6 illustrates another exemplary embodiment of an inspection system 7 allowing the acquisition of images of portions of containers according to two different observation directions and one modality. A single NN network is used and is represented in the figure. On each image obtained by the camera C1 or by the camera C2, a singularity detection operation is carried out in order to detect the presence of one or more singularities (by the DSI module for the image obtained by the camera C1, by the DS2 module for the image obtained by the camera C2). This DSI or DS2 singularity detection detects and locates in the image an image singularity in the sense of a connected or non-connected set of pixels having particular local characteristics relative to the neighboring pixels or to the background.DSI or DS2 singularity detection can implement any image processing method suitable for detecting singularities with here one or more preliminary processing steps (AND1 and AND2 in the figure) such as filtering, thresholding, mathematical morphology transformations, labeling, analysis of variance, edge detection etc. A typical result of DSI or DS2 singularity detection may include only the position of a pixel or a set of pixels (typically the connected pixels that form the singularity). In other words, singularity detection implements image segmentation. For each image, a rectangle framing the detected singularity can easily be sent to the neural network. It is possible to associate additional information with the detected singularities, such as image primitives (perimeter, contrast) or information relating to the container such as its orientation on the conveyor.Also, both singularity detection modules can output the position and dimensions of a bounding box that contains a detected singularity.

[0132] Having carried out this segmentation / singularity detection on the at least two images, a matching is implemented by means of the MC module between the two singularities detected by the DSI and DS2 modules, on the basis of their positions in the images or on the container. For example, if relative to the image of the container or its external contours, the two framing rectangles (if the DSI and DS2 modules deliver such rectangles) overlap, or are at the same height for images of the vertical wall, or on the same circle during a background check, etc., they are considered as corresponding to the same part or to the same singularity of the container. Alternatively, a precise matching can be carried out according to the position on the container of the singularity(ies) detected by the DSI and DS2 modules, knowing the geometry of the container and the acquisition device.

[0133] According to the example of Figure 6, if a singularity is detected in a single image and not in the other using the DSI and DS2 modules, two enclosing rectangles (or any other output of the DSI and DS2 modules) can nevertheless be sent to the NN network, the image without singularity detection can nevertheless contain information useful for classification according to two observation directions. Finally, when the NN network of the figure is of the CNN type, the quality and precision of the upstream singularity detection does not matter, provided that this detection detects all singularities, including false detections, the CNN type NN network comprising so-called convolution stages capable of detecting artifacts, singularities, and of determining primitive shapes to perform a classification whose result can be the absence of singularity, the presence or absence of a defect, or the type of normal singularity or defect.

[0134] In the example of Figure 6, only the NN network is modified during training, the MC, DSI, and DS2 modules not being modules modifiable by training. In other words, the back-propagation of the result of a cost function only changes the parameters of the NN network and not the MC, DSI, and DS2 modules (we can note that training as it can be implemented for example for the example in Figure 2 is advantageous in that it modifies parameters which have an impact which is less limited than those in the example in Figure 6).

[0135] Figures 7A and 7B show an arrangement of a plurality of cameras arranged at different azimuths and elevations and usable for implementing the invention, in an inspection system 7.

[0136] In Figure 7A, for a container 2 traveling on a conveyor track Pc, the position of cameras Ci and projectors Ei is shown, arranged with an elevation angle El visible in the figure and measured relative to a reference inspection plane Prib. Here, the cameras Ci and the projectors Ei cooperate to enable the detection of glazes, as explained in document W02021 / 209704.

[0137] In Figure 7B, the position of cameras Ci and projectors Ei is shown, arranged with an azimuth angle Az visible in the figure.

[0138] Figures 8A and 8B are two images of the same portion of the same container, here two images of the base of the same glass bottle. The figure also shows the orientations of the cameras C1 and C2 used respectively to obtain two images II and I2 in opposite directions and facing each other (angle of 180°).

[0139] The DF1 defect is only visible in image II. A model according to the invention may be able to deduce from the visibility of the defect in image II alone that the defect is of the “open blister” type. Thus, the invention makes it possible to better classify defects in glass containers.

[0140] Figures 9A and 9B are two images of the same portion of the same other container, acquired by two cameras whose arrangement is visible in Figure 9C. Here two images of the same glass bottle are obtained, the bottom of this bottle resting on a conveyor, the axis of symmetry of the container being vertical. In Figure 9C, more precisely, the orientations of the cameras C1 and C2 used respectively to obtain two images I1 and I2 have also been shown according to observation directions forming an angle in a vertical plane noted P (which is an elevation difference) and an angle in the horizontal plane noted o (which is an azimuth difference). The appearance of the same DF2 defect differs between the two images.

[0141] In fact, in image 12 a defect appears with a low contrast appearance so the model can deliver a defect class with a low confidence index, or even a class error.

[0142] In image II, the DF2 defect is more contrasted, a model trained to process single images could give the broth class with high certainty, but nevertheless, taking into account image 12 can lower the confidence rate. Without the invention, there would be two defects and one of the two would be misclassified. But by combining the two images as input to a single model, the classifier makes the right decision, and assigns the two image portions a single class with high confidence.

[0143] The invention therefore increases confidence in the classification of defects.

[0144] Figures 10A and 10B are two images of the same portion of yet another container, here two images of the same glass bottle. The figure also shows the orientations of the cameras C1 and C2 used respectively to obtain two images II and I2 in directions forming an angle in a horizontal plane denoted a.

[0145] Apparently, two DFA and DFB defects are visible in both images, these defects appearing to be fin-type. In neither view taken alone is it possible to detect and classify the artifact as a fin with certainty. In fact, these two fin-type defects result from a single cause, namely an incorrect closure of a mold used for forming the bottle. We therefore have a single defect in two parts.

[0146] DFA1 is the front view, by the Cl camera, of a first DFA part of the defect (larger)

[0147] DFB1 is the rear view (camera Cl) of a second DFB part of the defect (small)

[0148] DFA2 is the back face view (C2 camera) of the first (larger) DFA part of the defect

[0149] DFB2 is the front view (camera C2) of the second part of the DFB defect (small)

[0150] With the invention, recognition of the front face defect (DFA1 or DFB2) despite a background (rear face) comprising shadows caused by the counter ring, is possible by the combined analysis of the images according to different directions.

[0151] The angle a between the two observation directions is here at least 60°.

[0152] The invention makes it possible to automatically detect and recognize / classify defects that are only partially visible in a single observation direction.

[0153] Prior to the inspection of containers (use phase), the object of the invention aims to train a neural network (construction or learning phase) on a learning set comprising recordings each composed of at least a first and a second image of the same portion of container according to two different observation directions and according to at least one modality.

[0154] According to an advantageous embodiment variant, the recordings of this learning set are carried out by an inspection system 7 which is the same system used for the use phase. In other words, the inspection systems 7 used to acquire the images during the construction phase and the use phase are the same. Advantageously, these are substantially the same observation directions as those during the inspection, with the same modality.

[0155] For guidance, the construction phase may precede the use / inspection phase. Also, a construction phase may be implemented after a use / inspection phase. For example, records usable for learning may be obtained after a first implementation of the use / inspection phase, and the implementation of a construction phase subsequent to the use / inspection phase allows the operation of the model according to the invention to be further improved. A construction phase subsequent to a use phase is analogous to a construction phase preceding a use phase, and it may itself be followed by a use phase.

[0156] According to an advantageous characteristic, during the construction phase, the image recordings are ordered according to a determined sequence. Thus, the images coming from the different cameras are classified according to a determined order. During the use phase, the image recordings are ordered according to a sequence identical to the sequence of the construction phase. In other words, the way in which the images are organized or arranged among themselves within the recordings to be presented as inputs to the classifier network, whether in an inspection phase, therefore classification, or in a construction phase, therefore training, is the same. The images obtained according to a given observation direction and a given modality will preferably be presented to the same input connectors of the model in both phases (typically to the same input neurons).However, although the identical order for both phases is a preferred method, it is possible alternatively, for example when the images are obtained by means of a device in which the observation directions are distributed in azimuth around the axis of the containers, and taking into account that the containers during inspection may arrive in the device with an indeterminate orientation, only the relative arrangement modulo 360° of the observation directions for each image of a recording counts.

[0157] To build the learning base, we select several containers with defects to be recognized but also several containers without defects, several containers with normal optical singularities to be recognized: decorations, codes, notches, screw moldings, positioning notches, etc., and / or several containers with commercially acceptable optical singularities.

[0158] It should be understood that the images of these recordings show at least a portion of a container to be inspected corresponding to regions of interest of the container such as the finish, the neck, the shoulder, the body, the rim or half a right or left side or an area of ​​presence of engravings. Some of these images include normal optical singularities to be recognized or abnormal optical singularities corresponding to defects. These images may be limited to these optical singularities or take into account a rectangle framing these optical singularities. These images may also take into account an enlarged rectangle framing these optical singularities, taking into account the context or the positioning of these singularities in the image.

[0159] The method aims to gather these recordings in a learning base, in a large number, typically at least a thousand recordings. For each class, several recordings are made comprising images of defects to be recognized, images with normal optical singularities to be recognized or images of containers without defects. It should be noted that the containers are preferably of the same material (glass or plastic) as those to be inspected, and are preferably manufactured using the same process. These containers may be of the same model, the same color, etc. but preferably the method consists of including in the learning base images of several containers of different models for each type of defect and several types of defects for each container model.

[0160] According to the invention, the construction phase is supervised learning. In other words, the neural network is trained by supervised learning, that is to say by operations imposing on it the classification to be carried out with an error to be minimized for a given set of records. Each record of the learning base is associated, at least as a label, with a membership class such as a defect type or a non-defect type.

[0161] In this supervised learning method, the system is provided with a set of sorted records, labeled according to one of the previously defined classes. Each record is associated, via sorting and labeling, with a of said classes, which will allow the algorithm to calculate a more general model that will subsequently allow any unknown, unlabeled data to be associated with one of the previously defined classes. This supervised learning method differs from the unsupervised learning method (being without a priori on the classes). According to this unsupervised method, data is provided in bulk to the system, without any form of sorting or labeling. The system itself is responsible for defining the number of classes that seems most relevant and associates each data with one of said classes (example: X-Means clustering algorithm). The supervised learning method also differs from unsupervised learning (with an a priori on the number of classes): data is provided in bulk to the system, without any form of sorting or labeling. On the other hand, the system is told the number p of expected classes.The system then automatically associates each data with one of the p expected classes (example: K-Means clustering algorithm). Unsupervised learning is not suitable for the objective of classifying defects according to a defect nomenclature, particularly for glass, which would be determined a priori. On the other hand, in the case of detecting glazes using the invention, unsupervised learning may be more effective, the automatically determined classes allowing better classification due to the fact that the learned model would be able to take into account characteristics of the glazes which correspond to their visual “signature” without any link to their cause.As explained previously, it is difficult for the person skilled in the art to determine particular forms of glazes, apart from their orientation (Horizontal, Vertical, inclined), and this orientation means that only certain transmitter-receiver groups are dedicated to a certain glaze orientation.

[0162] The method according to the invention aims to train the neural network so that it recognizes the types of defect and the containers not containing defects. This learning phase is carried out by a person skilled in the art of artificial intelligence who chooses in particular, a neural network model, a learning base and a learning algorithm. This neural network is trained and tested iteratively until the result is obtained desired (confidence matrix, metrics (precision, recall, fl-score, mAP50 and mAP75 (mAP being an Anglo-Saxon acronym meaning "mean Average Precision"). Eventually, the databases of these image records are reorganized with additions or deletions and / or the neural network model is changed as well as the learning algorithm.

[0163] It is clear from the above description that the subject of the invention is based on the observation that the shape (morphology) and sometimes the photometry (contrast in the broad sense, therefore intensity or color as well as separation of intensity and color) of a singularity of the defect or non-defect type varies according to the direction of observation and specifically according to the type of singularity. The change in appearance (morphology and / or photometry) in the image of a defect depending on the directions of observation and also the lighting is a characteristic which makes it possible to differentiate the defects.

[0164] To detect a glaze-type defect as described in patent application WO 2021 / 209704, a region of the container is illuminated under precise incidences, by directed light beams reaching the surface of the container at a precise incidence so that the majority of the beam penetrates the glass wall and propagates in the glass. If a glaze is present on the light path in the wall, then the glaze reflects the beam which leaves in a modified direction to exit the wall at a precise exit angle, which is a function of the incident angle and the position and shape of the glaze. A glaze-type defect in an image of observed shape differs depending on the observation angle, or is invisible in another direction, even a similar one (+ / -10 0) of the first direction. However, in a glaze observation system, singularities corresponding to parasitic lights (called "parasites") appear in the images, often linked to voluntary reliefs which vary little or not at all or differently with the direction of observation. The modification of the image by changing the direction of observation therefore makes it possible to differentiate a glaze type from a parasite.

[0165] For transparent containers illuminated in transmission by light panels as described in patent application WO 2023 / 052732, the shadows on the edges of the containers have a shape and position depending on the distribution of the glass but also on the observation angles and the lighting angles. In transmission, the modification of the morphology and / or the photometry of a defect varies according to the relative position of the container with respect to the observation directions and in particular: - for an absorbing defect, mainly the shape varies but the photometry varies little; - for a refractive defect, the morphology and photometry vary.

[0166] Furthermore, the way in which the image of a defect varies when the point of view or lighting direction changes depends on the position of the defect in depth (surface, inside the wall, inside the container). Trapezoid-type defects can thus be recognized. The shape of trapezoid-type defects in the images taken changes according to the direction of observation in a way specific to this defect, in particular because: - it is made of material extending inside the glass container. It therefore has characteristics linked to its three-dimensional shape which are not taken into account in an image according to a single direction of observation; - in the case of a machine with six cameras described in patent application WO 2023 / 052732, the trapezoid can be seen as: * a small object, attached to a wall; * two small objects each attached to a wall; * a large object attached to two walls * a small circular object apparently on the wall.

[0167] Also, for transparent containers illuminated in transmission by light panels, as described in patent application WO 2023 / 052732, it appears advantageous to acquire for each container, at least four images of at least one same portion of a container according to four different observation directions and according to at least the first modality, the directions of observation being distributed around the central axis R of the container two by two according to an azimuth angle of at least 45°.

[0168] Furthermore, a bubble in a transparent container has a different observed shape depending on the viewing angle, and this difference is not directly deducible by a geometric transformation. Indeed, the observed shape of the bubble and even the bubble contrasts depend on the relative position of i) the light source, ii) the bubble in the container (position / orientation of the container) and iii) the viewing direction. Conversely, an inclusion or a grease stain on the surface will have an image shape that varies with the viewing direction but in a quasi-deterministic manner by the geometry of the container and the viewing direction, while the photometry varies little. It follows that the variation of geometry and photometry between different viewpoints is a discriminating characteristic of bubbles and stains or inclusions.

[0169] The inventors therefore deduced from these observations that the way in which the appearance of a singularity of the container or of the image changes between two observations under a different direction is a characteristic of the bubble defect compared to the surface spot defect.

[0170] However, taking these behaviors into account is complex and difficult to model because the defects are of a complex and very changeable form. It is extremely illusory to try to generically model the transformations accompanying the modification of the point of view, which cannot be reduced to a modification of simple primitives. Furthermore, the shape of the containers has an impact on the modeling of the defects, which makes these models difficult.

[0171] This is why it has been found that neural networks are able to analyze (take into account) - the shapes and contrasts (Morphology / geometry) of the images of the defects - the variations of said shapes and contrasts between images taken from different observation directions, despite the fact that these shapes and / or contrasts as well as their variations according to the observation direction are complex and very difficult to predict or modelable by a priori knowledge of the geometry of the acquisition system.

[0172] It is clear from the above description that the method according to the invention not only makes it possible to identify glass defects in containers, but also to classify these defects to enable the transition from inspection to optimization of the manufacturing process. One of the characteristics of the invention is to define a list of classes comprising classes of defects, which makes it possible to relate the glass defects to characteristics of the manufacturing process to be regulated. Improving the classification of glass defects makes it possible to better trace the causes of the glass defects.

[0173] The subject matter of the invention is advantageously used in manufacturing facilities to enable better detection and categorization of defects present within containers. Certain defects can be seen, detected and categorized more easily thanks to different observation directions possibly combined with different modalities.

[0174] Preferably, the inspection method according to the invention is designed so that the neural network associates a confidence score with the classification of each inspected container of a production. The confidence score is typically the probability of the container belonging to the membership class. The score can be expressed as a % or a value between 0 and 1.

[0175] It should be noted that a container may have several defects. There are several ways to classify such containers. In the variants of the method that include a segmentation step, as illustrated in Figure 6, analysis images of the same container can be extracted, several image regions and for example several SR segments are recognized as belonging to defect classes. In this case, according to a first variant, the belonging class of the container will be that of the segment classified in the defect class with the highest criticality. It is also possible to take into account the confidence score of the classification, that is to say that the class assigned to the container will be that of the segment classified with a confidence score higher than the threshold of confidence. According to a second variant, we can count all the defects carried by a single container, in particular when a container carries several critical defects. Thus, the statistical analysis of production which will be presented later, can account for the distribution of defects independently of the number of containers rejected.

[0176] The neural network, and in particular the CNN, detects defects and also provides information on their position in the container. This position is useful for correcting the process; for example, it is useful to know whether a defect is in the body or the neck. In addition, the CNN can take into account the position of singularities in the container to perform the classification. According to the invention, the neural network also takes into account the relative position of the defect in the images according to different observation directions.

[0177] The subject of the invention is used for sorting container production in the following manner. After classifying a container, at least one container sorting characteristic is compared to a rejection criterion, and when the sorting characteristic exceeds the rejection criterion for a container, the container is considered non-compliant and rejected. Indeed, the installation comprises an ejector for removing defective containers from production. The sorting characteristic and the rejection criterion are dependent on the membership class to decide whether or not the container is compliant, the sorting characteristic being calculated on at least one image of the container according to one of two or three modalities. The sorting characteristic and the rejection criterion are for example a defect dimension such as its surface area or length measured in at least one analysis image.The confidence score can possibly be taken into account for sorting, by rejecting containers belonging to a low-critical defect class only if the confidence score is high and conversely by rejecting containers belonging to a critical defect class even if the confidence score is low. Since the neural network is able to determine the position of a defect, with high confidence thanks to the different observation directions, according to a variant of the invention the position is an additional rejection criterion, because the position of a defect can influence its criticality.

[0178] According to the invention, it is possible to define different rejection criteria depending on the position of the defects in the container.

[0179] The object of the invention is used to carry out a statistical analysis of a production of containers, that is to say an analysis of the frequency or distribution of the different types of defects and their criticality, the types of defects included in the list of classes and their criticality being determined in advance for the purpose of process control.

[0180] Some defects are caused during the container forming stages in the molds, and are therefore related to forming parameters that are different from one section to another or from one cavity to another. It is therefore preferable to count the defect classes according to the original section or cavity of the containers. When the installation is installed at the exit of the forming machines, therefore upstream of the annealing arch 6, the inspection is immediate after manufacturing so we know the time stamp of the container manufacturing, and we also know by synchronization, the cavities or sections of origin of the containers since the order of exit of the containers from the forming machine is known.When the inspection device 1 according to the invention is installed downstream of the annealing arch 5, it is preferably equipped with a device for reading information carried on the containers and indicating the mold or the section of origin of the containers and / or a time stamp of their manufacture and / or a unique identifier of each container such as a serial number, or else connected to such a reading device. It is therefore possible and preferable to carry out the statistical analysis of the production, from the classification of the containers by the inspection method, according to the distribution of the defects in direct relation to the production parameters at the time of manufacture of each container and / or according to the different cavities and sections of the manufacturing machine.

[0181] The statistical analysis of container production thus makes it possible to relate defects to their causes, to obtain two results: - on the one hand, it is possible to determine correlations between manufacturing parameters and the resulting defects, thus making it possible to define more efficient manual process regulation methods; - on the other hand, knowing the cause and effect relationships, deliver in real time to the production calculator 7, the possibility of creating an automatic feedback loop to regulate the process by correcting the defects and therefore the gaps between the desired quality and the estimated quality of the containers.

[0182] To summarize the above, the subject matter of the invention is advantageously used for various production operations described below: - sorting of production; - statistical analysis of production; - determination of cause and effect relationships between production parameters and defects; - process control and command by reducing the defects observed; - warning operators of the occurrence of critical faults by an alarm.

[0183] According to a preferred variant of the invention, the classification of the containers is only taken into account when the confidence score of the assigned class exceeds a confidence threshold for: - count defects by defect class in a defect frequency statistic, - and / or decide to reject the container, - and / or trigger an alarm for the presence of one or more critical defects in the inspected production.

[0184] It should be noted that the confidence threshold corresponds to a predetermined or adjustable minimum value of the confidence score as an operating parameter of the inspection device, the adjustment being made on its HMI or remotely.

Claims

Claims

1. Method for inspecting containers made of transparent or translucent material (2) with a view to classifying a container, the method comprising; a use phase comprising: - the acquisition for each container, of at least a first and a second image (le) of at least one same portion of a container according to two different observation directions and according to at least one modality; - providing as input to a deep learning model (NN), for each container, a recording of at least the first and second images of at least one portion of the container according to at least one modality and according to two different observation directions; - and the analysis by the deep learning model, for each container, of this recording to determine the membership of this portion of container, to a result class among a list of classes, a multi-view data fusion being implemented before the determination of the membership to a class by analysis, and the determination of the membership to a class takes into account elements coming from each image, jointly, and in which when a defect is observed according to different observation directions, it is considered that it is the same defect.

2. A method according to claim 1 wherein the method comprises: - the provision of an inspection system for acquiring images according to at least a first modality and a second modality; - the acquisition for each container, of a recording of at least one same portion of a container comprising at least two images according to at least two different observation directions according to the first modality and at least one image according to the second modality.

3. Method according to one of the preceding claims, according to which the method comprises the provision of an inspection system configured to acquire images of the same portion of a container according to at least two different observation directions and according to at least one modality taken from the list of the following modalities: absorption, birefringence, refraction, reflection, infrared radiation.

4. Method according to one of the preceding claims, according to which each portion of container is classified according to at least one class taken from a list of classes comprising at least one class of absence of defect in the portion and one class of presence of defect in the portion.

5. Method according to one of the preceding claims, according to which each portion of container is classified according to at least one class taken from a list of classes comprising at least one class including the presence in the portion of at least defects such as, in particular, trapezium, inclusion, bubble.

6. Method according to one of the preceding claims, according to which each portion of container is classified according to at least one class taken from a list of classes comprising at least one class including the presence in the portion of at least one singularity such as a marking, a mold seal, a notch, a thread, an impression, a stitch, a handle, a counter ring.

7. Method according to one of the preceding claims, according to which the method comprises the acquisition, for each container having a central axis, of at least four images of at least one same portion of a container according to four different observation directions and according to at least the first modality, the observation directions being distributed around the central axis two by two according to an azimuth angle of at least 45°.

8. Method according to one of the preceding claims, according to which at least one sorting characteristic is compared to a rejection criterion, the sorting characteristic and the rejection criterion being dependent on the membership class to decide whether or not the container is compliant, the sorting characteristic being calculated on at least one image of the container according to a modality.

9. Method according to one of the preceding claims, according to which a step is implemented of taking into account at least one identified defect in order to deduce therefrom adjustment information for at least one control parameter of a container manufacturing installation.

10. Method according to one of the preceding claims, wherein: -the deep learning model associates a confidence score with the ranking of containers that are part of an inspected production; - the classification of containers is taken into account only when the confidence score exceeds a confidence threshold for; - count defects by defect class; -and / or decide to reject the container; -and / or trigger an alarm for the presence of at least one critical defect in the inspected production.

11. A method of training a deep learning model for inspecting containers made of transparent or translucent material in order to classify a container, the method comprising a construction phase comprising: - provision of a learning set comprising recordings each composed of at least a first and a second image of the same portion of container according to two different observation directions and according to at least one modality; - a provision of at least one deep learning model of neurons having been trained on a training set comprising recordings each composed of at least a first and a second image of the same portion of container according to two different observation directions and according to at least one modality, the deep learning model determining at least one membership class (Kj) for said portion from a list of classes, a multi-view data fusion being implemented before the determination of membership in a class by analysis, and the determination of class membership takes into account elements from each image, jointly, and in which when a defect is observed from different observation directions, it is considered to be the same defect.

12. Method according to claim 11, according to which the method comprises providing at least one deep learning model having been trained on a training set comprising recordings each composed of at least two images of the same portion of container according to observation directions different by at most 5° during the acquisition of the images.

13. Method according to one of claims 11 or 12, according to which the method comprises providing at least one deep learning model having been trained on a training set comprising recordings each composed of images of the same portion of container according to different directions and modalities.

14. A method comprising a phase of constructing the method according to any one of claims 11 to 13 to obtain a deep learning model, and a phase of inspecting the method according to any one of claims 1 to 10 using the deep learning model of said construction phase.

15. A method according to claim 14, wherein during the construction phase, the image records are ordered according to a determined sequence while during the use phase, the image records are ordered according to a sequence identical to the sequence of the construction phase.

16. Device for inspecting containers made of transparent or translucent material leaving a manufacturing or recovery installation with a view to classifying the containers in relation to defects, the device comprising: - an inspection system comprising at least one camera arranged to recover light or radiation coming from at least one portion of a container and configured to acquire images of the same portion of a container according to at least two different observation directions and according to at least one first modality; - an information processing unit connected to the inspection system and comprising a deep learning model, the deep learning model determining at least one membership class for said portion from a list of classes, the deep learning model receiving as input, for each container, a recording of the at least two images of at least one portion of the container according to the first modality and according to two different observation directions, the deep learning model, for each container, analyzing this recording to determine the membership of this portion of container, to a result class from the list of classes, a multi-view data fusion being implemented before the determination of membership to a class by analysis, and the determination of membership to a class takes into account elements coming from each image, jointly,and in which when a defect is observed from different observation directions, it is considered to be the same defect..,

17. A deep learning model obtained by the learning method according to any one of claims 11 to 15.