FR2729484A1 - Reading of identification marks from liquefied gas bottles for domestic use - Google Patents

Reading of identification marks from liquefied gas bottles for domestic use Download PDF

Info

Publication number
FR2729484A1
FR2729484A1 FR9500398A FR9500398A FR2729484A1 FR 2729484 A1 FR2729484 A1 FR 2729484A1 FR 9500398 A FR9500398 A FR 9500398A FR 9500398 A FR9500398 A FR 9500398A FR 2729484 A1 FR2729484 A1 FR 2729484A1
Authority
FR
France
Prior art keywords
image
characters
identification element
chromatic
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
FR9500398A
Other languages
French (fr)
Other versions
FR2729484B1 (en
Inventor
Alain Delannoy
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FinaGaz SAS
Original Assignee
TotalGaz Compagnie Francaise des Gaz Liquefies SNC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TotalGaz Compagnie Francaise des Gaz Liquefies SNC filed Critical TotalGaz Compagnie Francaise des Gaz Liquefies SNC
Priority to FR9500398A priority Critical patent/FR2729484B1/en
Publication of FR2729484A1 publication Critical patent/FR2729484A1/en
Application granted granted Critical
Publication of FR2729484B1 publication Critical patent/FR2729484B1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/66Trinkets, e.g. shirt buttons or jewellery items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/1429Identifying or ignoring parts by sensing at different wavelengths
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Filling Or Discharging Of Gas Storage Vessels (AREA)

Abstract

The reading of identification marks commences with an image of the marks, applies digital processing to the image, then applies the results to a neural net for final identification. Three chromatic views are taken of the identification marks, and these are digitised. The chromatic view with the best contrast is selected. The selected image is processed to black and white, the boundaries of the characters identified, and the characters digitally re-oriented so they are upright and sequential. The centre of gravity of each character is determined and character data relative to the centre of gravity delivered to a neural net, which identifies the character by comparison with a library of characters.

Description

PROCEDE ET DISPOSITIF DE LECTURE D'ELEMEITS D'IflEITIFICATIOi PORTES PAR DES BOUTEILLES DE GAZ
COMBUSTIBLE LIQUEFIE A USAGE DOMESTIQUE, ET LEUR UTILISATIOX.
METHOD AND DEVICE FOR READING ELEMENTS OF IFETIFICATIOI CARRIED BY GAS BOTTLES
LIQUEFIED FUEL FOR DOMESTIC USE, AND THEIR USE.

La présente invention concerne un procédé et un dispositif de lecture d'éléments d'identification portés par des bouteilles de gaz combustible liquéfié à usage domestique (butane, propane, mélanges techniques ou gaz de pétrole liquéfié, que l'on désignera ci-après par la dénomination générique G.P.L.). Elle concerne également leur utilisation dans une chaîne de convoyage et d'emplissage de bouteilles de gaz. The present invention relates to a method and a device for reading identification elements carried by cylinders of liquefied combustible gas for household use (butane, propane, technical mixtures or liquefied petroleum gas, which will be designated below by the generic name GPL). It also relates to their use in a chain for conveying and filling gas cylinders.

On sait que le G.P.L. est stocké dans les bouteilles de gaz à usage domestique à température ambiante, en phase liquide, sous la pression d'un ciel gazeux. En effet, à la pression atmosphérique il se vaporiserait instantanément, alors que, sous pression il reste liquide, ce qui, à volume identique, permet de stocker environ 250 fois plus d'énergie. Les brûleurs sont généralement conçus pour utiliser du gaz et il est impératif, du fait de ce rapport d'énergie, qu'ils ne reçoivent pas du G.P.L. liquide. We know that the G.P.L. is stored in gas cylinders for domestic use at room temperature, in the liquid phase, under the pressure of a gaseous sky. Indeed, at atmospheric pressure it would vaporize instantly, while, under pressure it remains liquid, which, at identical volume, can store about 250 times more energy. Burners are generally designed to use gas and it is imperative, because of this energy ratio, that they do not receive G.P.L. liquid.

Le G.P.L. en phase liquide est caractérisé par un coefficient de dilatation volumique relativement important il est donc impératif, pour éviter un risque de rupture en poussée hydraulique de la phase liquide, de maintenir au dessus de cette dernière un ciel gazeux à même d'absorber les dilatations susceptibles de se produire du fait de variations de température. The G.P.L. in the liquid phase is characterized by a relatively high coefficient of volume expansion, it is therefore imperative, to avoid a risk of rupture in hydraulic thrust of the liquid phase, to maintain above the latter a gaseous sky capable of absorbing the dilations liable to occur due to temperature variations.

Les réservoirs de stockage de G.P.L., y compris les bouteilles, sont classés dans les appareils à pression et sont donc réglementairement astreints à différentes contraintes, en particulier à une épreuve hydraulique périodique (5 ou 15 ans) et à une identification individuelle précisant
- leur poids plein, dit improprement Tare,
- l'année d'déchéance d'épreuve,
- l'année de fabrication,
- la dénomination du fabricant,
- le numéro de série,
- la capacité, la nature du gaz liquéfié et la pression.
LPG storage tanks, including cylinders, are classified in pressure vessels and are therefore subject to various constraints, in particular a periodic hydraulic test (5 or 15 years) and an individual identification specifying
- their full weight, says Tare,
- the year of expiry of the test,
- the year of manufacture,
- the name of the manufacturer,
- the serial number,
- the capacity, the nature of the liquefied gas and the pressure.

Les informations relatives à la date d'échéance d'épreuve et la tare sont portées par une pastille sertie sur le volant du robinet et dénommez Pastille de tare . Le poids de la bouteille pleine y est inscrit en kilogranies, avec mention des hectogrammes ; l'année d'échéance d'épreuve est identifiée par la combinaison d'un chiffre et de la couleur de la pastille. The information relating to the test due date and the tare is carried by a tablet set on the valve wheel and name Tare tablet. The weight of the full bottle is entered in kilogrania, with mention of the hectograms; the test due year is identified by the combination of a number and the color of the patch.

Ces deux informations sont utilisées au cours des opérations d'emplissage, car, sur les chaînes d'emplissage, dune part, il y a lieu de procéder a un tri préalable pour orienter vers l'épreuve les bouteilles arrivées à échéance d'épreuve et, d'autre part, la tare est indispensable à l'emplissage correct et au contrôle de pesée. Ces deux informations sont mises à jour à chaque épreuve, par changement de pastille, par contre, les autres informations ont un caractère permanent et sont inscrites dans le métal de la bouteille. These two pieces of information are used during the filling operations, because, on the filling lines, on the one hand, it is necessary to carry out a preliminary sorting to orient towards the test the bottles which have reached the test deadline and , on the other hand, the tare weight is essential for correct filling and weighing control. These two pieces of information are updated with each test, by changing the tablet, however, the other information is permanent and is written in the metal of the bottle.

C'est la charge de gaz qui est vendue au client, la bouteille étant mise à sa disposition moyennant une consignation. It is the charge of gas that is sold to the customer, the cylinder being made available to him for a deposit.

La charge de gaz doit être conforme à la quantité sur laquelle porte la transaction (les bouteilles les plus courantes en France sont prévues pour 13 kg de gaz). Il arrive que des bouteilles reviennent à l'emplissage incomplètement vidées et, pour certaines utilisations, un échange périodique systématique est effectué, quel que soit l'usage fait des bouteilles et donc la quantité de gaz qu'elles sont susceptibles de contenir encore ; pour respecter le ciel gazeux, elles doivent naturellement repartir avec le poids correct de G.P.L. et surtout pas surremplies. The gas charge must be in accordance with the quantity to which the transaction relates (the most common bottles in France are intended for 13 kg of gas). It happens that bottles return to the filling incompletely emptied and, for certain uses, a systematic periodic exchange is carried out, whatever the use made of the bottles and therefore the quantity of gas which they are likely to still contain; to respect the gaseous sky, they must naturally leave with the correct weight of G.P.L. and especially not overfilled.

Le parc français de bouteilles de G.P.L. représente environ 50 000 000 d'unités. Ce parc a une durée de vie relativement longue : on trouve en circulation beaucoup de bouteilles fabriquées pendant la décennie 1950-1960 et le renouvellement s'effectue très lentement. The French fleet of bottles by G.P.L. represents approximately 50,000,000 units. This park has a relatively long lifespan: there are many circulating bottles produced during the 1950-1960 decade and renewal takes place very slowly.

Ce parc de bouteilles est aussi caractérisé par une importante diversité de caractéristiques (nombre de cordons de soudure, épaisseur de la tôle, hauteur de la bouteille, diamètre de la collerette...), qui tient tant à des causes historiques qu'à des causes techniques (usage prévu pour du butane, du propane, du mélange carburation, par exemple). I1 en résulte, en particulier, des écarts importants de tare si l'on considère le cas des bouteilles les plus courantes, prévues pour une charge de gaz de 13kg, on en trouve avec des poids "à plein" répartis entre 21 et plus de 29 kg. On constate aussi d'importantes différences de hauteur, pouvant atteindre 10 cm, en particulier de la hauteur de la tête du robinet, qui porte la pastille de tare, et donc de sa position par rapport au convoyeur à l'emplissage. This fleet of bottles is also characterized by an important diversity of characteristics (number of weld beads, sheet thickness, height of the bottle, diameter of the flange ...), which is due as much to historical causes as to technical causes (intended use for butane, propane, fuel mixture, for example). I1 results, in particular, significant deviations in tare if we consider the case of the most common bottles, provided for a gas load of 13kg, we find some with "full" weights distributed between 21 and more 29 kg. There are also significant differences in height, up to 10 cm, in particular the height of the tap head, which carries the tare tablet, and therefore of its position relative to the conveyor during filling.

Il faut aussi mentionner que, pour des raisons d'optimisation économique entre les frais de logistique et de transport, et ceux de multiplication des établissements d'emplissage et aussi les contraintes réglementaires et de sécurité qui limitent les possibilités d'implantation, il est d'usage, pour les opérateurs, de recourir à des échanges de prestations d'emplissage ou à des sous-traitances, de sorte que des établissements concurrents sont donc appelés à emplir les bouteilles de leurs confrères.On peut ajouter que les bouteilles ne sont pas affectées à un établissement d'emplissage et qu'elles se présentent successivement de façon relativement aléatoire à l'emplissage, tant géographiquement que temporellement : une bouteille venant d'un client à forte consommation peut revenir très vite à l'emplissage et, la fois suivante, ayant été remise à un client ayant une utilisation en appoint ou dépannage, rester très longtemps avant de revenir, éventuellement à un établissement différent. It should also be mentioned that, for reasons of economic optimization between the logistics and transport costs, and those of multiplication of filling establishments and also the regulatory and safety constraints which limit the possibilities of establishment, it is necessary to for operators to use the exchange of filling services or subcontracting, so that competing establishments are therefore called upon to fill the bottles of their colleagues. It may be added that the bottles are not assigned to a filling establishment and that they occur successively relatively randomly at filling, both geographically and temporally: a bottle from a high-consumption customer can very quickly return to filling and, at the same time following, having been given to a customer having a backup or troubleshooting use, stay very long before returning, possibly an establishment different.

Les pastilles de tare sont réalisées en aluminium anodisé, selon une spécification interprofessionnelle. La "tare" est inscrite sous la forme d'un nombre de trois chiffres : celui des dizaines de kilogrammes, de taille inférieure aux deux suivants, celui des kilogrammes, suivi d'une virgule, et celui des hectogrammes. La date d'échéance d'épreuve est indiquée selon une convention interprofessionnelle par la combinaison de la couleur de la pastille et d'un chiffre positionné en travers, en dessous de la "tare". La spécification définit clairement les caractères à utiliser : police, taille, graisse, orientation du chiffre relatif à la date d'échéance d'épreuve etc., qui devraient être rigoureusement identiques sur toutes les pastilles.En fait, il n'en est rien et l'on peut constater une disparité considérable entre pastilles. The tare pellets are made of anodized aluminum, according to an interprofessional specification. The "tare" is entered in the form of a three-digit number: that of tens of kilograms, of size less than the following two, that of kilograms, followed by a comma, and that of hectograms. The test due date is indicated according to an interprofessional convention by the combination of the color of the patch and a number positioned across, below the "tare". The specification clearly defines the characters to be used: font, size, weight, orientation of the number relative to the test due date etc., which should be strictly identical on all the pellets. In fact, this is not the case. and one can note a considerable disparity between pellets.

Par ailleurs, les pastilles de tare subissent des altérations dues
- à l'effet du temps et à l'usage des bouteilles, puisque, les bouteilles étant normalement éprouvées tous les quinze ans, les marquages des pastilles doivent pouvoir être utilisés pendant toute cette période
- aux souillures présentes sur les pastilles, que l'on peut difficilement nettoyer à des conditions économiquement acceptables en exploitation industrielle ;
- au sertissage des pastilles, qui ampute frequ4mmpnt une partie du marquage.
In addition, the tare pellets undergo alterations due
- with the effect of time and the use of the bottles, since, the bottles being normally tested every fifteen years, the markings of the pellets must be able to be used during all this period
- to the stains present on the pellets, which can hardly be cleaned at economically acceptable conditions in industrial operation;
- crimping of the pellets, which amputates frequ4mmpnt part of the marking.

L'emplissage des bouteilles comprend une succession d'opérations à caractère industriel, qui se déroulent dans un établissement fortement automatisé, très spécifique, compte tenu des caractéristiques du G.P.L. The filling of the bottles includes a succession of industrial operations, which take place in a highly automated, very specific establishment, taking into account the characteristics of the G.P.L.

Les matériels et équipements doivent être utilisables en zone à atmosphère explosive. The materials and equipment must be usable in an explosive atmosphere zone.

La cadence nominale des équipements d'emplissage de la
Demanderesse est, par exemple, de 1 200 bouteilles/heure.
The nominal rate of filling equipment of the
Applicant is, for example, 1,200 bottles / hour.

Sur une chaîne d'emplissage, compte tenu de ce qu'il n'est pas possible de suivre aisément le cheminement individuel des bouteilles (le temps de cycle n'est pas rigoureusement constant à chaque poste et à chaque bouteille, et certaines bouteilles sont éjectées lorsque lon détecte des désordres, tels qu'absences ou détérioration de certaines accessoires, ou encore défaut de fermeture ou d'ouverture du robinet etc ...), la lecture des pastilles est nécessaire à trois reprises
- au poste de tri, pour évacuer les bouteilles en échéance d'épreuve,
- au poste d'emplissage, pour régler la bascule d'emplissage,
- au poste de contrôle de pesée.
On a filling line, given that it is not possible to easily follow the individual path of the bottles (the cycle time is not strictly constant at each station and each bottle, and some bottles are ejected when we detect disorders, such as absences or deterioration of certain accessories, or failure to close or open the tap, etc.), the pastilles must be read three times
- at the sorting station, to evacuate the bottles at the end of the test,
- at the filling station, to adjust the filling scale,
- at the weighing control station.

La très grande fiabilité exigée de la lecture de la pastille de tare, dans ces conditions de cadence, rend ce travail très pénible : au poste d'emplissage, cette opération est normalement effectuee par un roulement de deux heures entre les différents opérateurs présents. The very high reliability required from reading the tare tablet, under these conditions of cadence, makes this work very painful: at the filling station, this operation is normally carried out by a two-hour shift between the different operators present.

Pour remédier à cet inconvénient, on pourrait naturellement envisager de procéder à un nouveau marquage des pastilles de tare ou d'autres éléments d'identification, par exemple à l'aide d'un code à barres, se prêtant à une lecture à l'aide d'un équipement vidéo-informatique. Une telle opération se révèlerait toutefois extrêmement coûteuse, compte tenu de l'importance du parc existant de bouteilles de gaz. De plus, une période transitoire tres longue, où l'on utiliserait conjointement le nouveau système de marquage et le système existant, serait nécessaire. Par ailleurs, si le nouveau système de marquage devait être apposé sur les pastilles comportant le système de marquage usuel, la surface disponible serait extrêmement limitée. To overcome this drawback, one could naturally envisage carrying out a new marking of the tare pellets or other identification elements, for example using a bar code, suitable for reading by using computer and video equipment. Such an operation would however prove to be extremely costly, given the size of the existing fleet of gas cylinders. In addition, a very long transitional period, in which the new marking system and the existing system would be used jointly, would be necessary. Furthermore, if the new marking system were to be affixed to the pellets comprising the usual marking system, the available area would be extremely limited.

Enfin, de tels systèmes de reconnaissance seraient eux-mêmes sensibles aux souillures, altérations et dégradations et aux problèmes d'orientation et de positionnement des pastilles déjà rencontrés avec les systèmes usuels.Finally, such recognition systems would themselves be sensitive to soiling, alterations and degradations and to the problems of orientation and positioning of the pellets already encountered with the usual systems.

La présente invention vise à éviter ces problèmes, en proposant un procédé et un dispositif de lecture des pastilles de tare des bouteilles de G.P.L. du parc existant, qui soit immédiatement utilisable avec le système de marquage déjà présent sur ces pastilles. The present invention aims to avoid these problems, by proposing a method and a device for reading the tare pellets of G.P.L. bottles. of the existing fleet, which can be immediately used with the marking system already present on these tablets.

L'invention a également pour but de proposer un procédé et un dispositif de lecture des pastilles de tare des bouteilles de G.P.L., qui ne nécessite pas d'intervention humaine. The invention also aims to provide a method and a device for reading the tare pellets of G.P.L. bottles, which does not require human intervention.

L'invention vise enfin à proposer un procédé et un dispositif de lecture des pastilles de tare des bouteilles de G.P.L., qui soit compatible avec les très courts délais, généralement inférieurs à trois secondes, dont on dispose dans ce but sur les chaînes d'embouteillage entre bouteilles successives. Finally, the invention aims to propose a method and a device for reading the tare pellets of LPG bottles, which is compatible with the very short delays, generally less than three seconds, which are available for this purpose on bottling lines. between successive bottles.

A cet effet, l'invention a pour premier objet un procédé de lecture d'un élément d'identification porté par une bouteille de gaz combustible liquéfié, notamment d'une pastille de tare, ce procédé étant caractérisé en ce que :
(1) on effectue de façon quasi-simultanée trois prises de vue chromatiques de l'élément d'identification, aboutissant à l'obtention de trois images chromatiques, la première rouge, la seconde verte et la troisième bleue, de cet élément
(2) on procède à une digitalisation de chacune de ces images
(3) on sélectionne l'image chromatique présentant le meilleur contraste
(4) on recherche sur l'image sélectionnée la position réelle de l'élément d'identification, à partir de ses dimensions, et on détermine la fraction de cette image correspondant exactement à l'image de cet élément
(5) on procède à une binarisation de l'image de l'élément d'identification , de manière à faire apparaître en noir sur un fond blanc ou inversement les caractères qu'il comporte et à éliminer les nuances
(6) on convertit l'image ainsi binarisée en un fichier de tous les pixels de cette image ou d'un polygone circonscrit à cette image
(7) on détermine la couleur du fond de l'image à l'aide des pixels des trois images, respectivement rouge, verte et bleue
(8) on redresse 1 'image binarisée pour 1 'amener dans une position prédéterminée
(9) dans cette position, on localise et on isole les caractères apparaissant sur cette image
(10) on recherche le centre de gravité de chacun des caractères ainsi repérés et on les traite par un filtre autour de ce centre de gravité
(11) on transmet les caractères ainsi traités à un réseau de neurones, qui les identifie par comparaison avec des caractères contenus dans une bibliothèque.
To this end, the invention firstly relates to a method for reading an identification element carried by a bottle of liquefied combustible gas, in particular a tare tablet, this method being characterized in that:
(1) three chromatic shots of the identification element are carried out almost simultaneously, leading to three chromatic images, the first red, the second green and the third blue, of this element
(2) we digitize each of these images
(3) the chromatic image having the best contrast is selected
(4) on the selected image, the actual position of the identification element is sought, from its dimensions, and the fraction of this image corresponding exactly to the image of this element is determined
(5) a binarization of the image of the identification element is carried out, so as to make the characters it contains appear in black on a white background or vice versa and to eliminate the nuances
(6) the image thus binarized is converted into a file of all the pixels of this image or of a polygon circumscribed to this image
(7) the background color of the image is determined using the pixels of the three images, respectively red, green and blue
(8) the binarized image is straightened to bring it to a predetermined position
(9) in this position, we locate and isolate the characters appearing on this image
(10) we search for the center of gravity of each of the characters thus identified and we process them by a filter around this center of gravity
(11) the characters thus treated are transmitted to a neural network, which identifies them by comparison with characters contained in a library.

L'invention a également pour objet l'utilisation d'un tel procédé de lecture dans une chaîne continue de convoyage et d'emplissage de gaz liquéfié, caractérisé en ce que le poste de cette chaîne vers lequel est transférée chaque bouteille est déterminé en fonction de la couleur et des caractères identifiés par le procédé de lecture défini cidessus. Plus précisément, il sera ainsi possible de traiter chaque bouteille, en fonction des résultats de la lecture de l'élément d'identification ou de la pastille de tare dont elle est équipée
- à un poste de tri, qui évacue les bouteilles en échéance d'épreuve
- à un poste d'emplissage, où la bascule d'emplissage peut être réglée au poids désiré
- à un poste de contrôle de pesée, pour comparer le poids de consigne avec le poids mesuré et en tirer les conclusions nécessaires.
The invention also relates to the use of such a reading process in a continuous conveying and filling chain of liquefied gas, characterized in that the position of this chain to which each bottle is transferred is determined according to of the color and characters identified by the reading process defined above. More precisely, it will thus be possible to process each bottle, depending on the results of reading the identification element or the tare tablet with which it is equipped.
- at a sorting station, which disposes of the bottles at the end of the test
- at a filling station, where the filling scale can be adjusted to the desired weight
- at a weighing control station, to compare the target weight with the measured weight and draw the necessary conclusions.

La phase (1) du procédé peut être mise en oeuvre en filmant en séquence les trois plans chromatiques, rouge, vert et bleu, qui constituent l'image de la pastille de tare considérée et cette image est transmise ensuite (phase 2) à la carte vidéo d'un ordinateur équipé d'un logiciel approprié, qui effectue la digitalisation de ces plans. Phase (1) of the process can be implemented by filming in sequence the three chromatic planes, red, green and blue, which constitute the image of the taring disc considered and this image is then transmitted (phase 2) to the video card from a computer equipped with appropriate software, which digitizes these plans.

Dans la pratique, chacune des bouteilles qui défilent sur le convoyeur de la chaîne d'emplissage est arrêtée et saisie par un dispositif mécanique ou pneumatique, qui la soulève pour l'amener en contact avec une butée de centrage de la tête de robinet, sous le système de prise de vues, puis l'y immobilise et déclenche les prises de vues, après quoi la bouteille est redescendue sur la chaîne et évacuée. In practice, each of the bottles which pass on the conveyor of the filling line is stopped and gripped by a mechanical or pneumatic device, which lifts it up to bring it into contact with a centering stop of the tap head, under the shooting system, then immobilizes it there and triggers the shots, after which the bottle is lowered onto the chain and evacuated.

Le bon positionnement de la tête du robinet peut être détecté par un système optique à faisceau lumineux, ce qui permet de déclencher la prise de vues avec un temps de réponse ultra-court et répétitif. The correct positioning of the tap head can be detected by a light beam optical system, which makes it possible to start shooting with an ultra-short and repetitive response time.

L'étape (1) est très importante, car meilleure sera la qualité des images sur lesquelles travaillera le logiciel de l'ordinateur, meilleures seront les performances. Step (1) is very important, because the better the quality of the images on which the computer software will work, the better the performance.

L'éclairage (composition spectrale, orientation verticale, inclinée, rasante, concentré ou diffus, ou combinaison de différents éclairages...) joue un rôle primordial pour l'obtention de "bonnes" images, c'est-à-dire d'images présentant un contraste maximal entre les caractères et le fond, tout en étant exemptes de reflets et en minimisant le contraste entre la pastille et les empreintes de sertissage qui apparaissent en creux sur sa périphérie. I1 faut aussi, évidement, que la mise au point de l'objectif soit correctement effectuée sur la pastille et que cette dernière ne bouge pas pendant la saisie de l'image.The lighting (spectral composition, vertical orientation, inclined, grazing, concentrated or diffuse, or combination of different lighting ...) plays a key role in obtaining "good" images, that is to say images presenting a maximum contrast between the characters and the background, while being free of reflections and minimizing the contrast between the patch and the crimping imprints which appear hollow on its periphery. It is also necessary, of course, that the focusing of the objective is correctly carried out on the patch and that the latter does not move during the capture of the image.

Alternativement, au lieu d ' immobiliser chaque bouteille sous le système de prises de vues, on peut aussi filmer en une seule fois l'image de la pastille à lire. Ceci conduit à travailler avec une caméra à trois capteurs et avec un éclairage stroboscopique. En effet, en 100 micro-secondes (durée maximale d'un éclair), une pastille de 12 millimètres de diamètre se déplace de 0,03 millimètre sur un convoyeur entraîné à 18 mètres/minute, c'est-à-dire de 0,25 % de son diamètre, ce qui ne produit pas de flou significatif de l'image (même avec une très bonne définition, il y aurait moins de 300 pixels dans l'image pour les 12 millimètres d'une pastille). Alternatively, instead of immobilizing each bottle under the shooting system, it is also possible to film the image of the pastille to be read at once. This leads to working with a camera with three sensors and with strobe lighting. In fact, in 100 micro-seconds (maximum duration of a flash), a pellet of 12 millimeters in diameter moves 0.03 millimeter on a conveyor driven at 18 meters / minute, that is to say from 0 , 25% of its diameter, which does not produce any significant blurring of the image (even with very good definition, there would be less than 300 pixels in the image for the 12 millimeters of a dot).

L'étape (3) présente de l'importance. En effet, en choisissant le plan monochrome qui présente le meilleur contraste pour effectuer la reconnaissance des caractères, on compense l'effet de la couleur et de l'état des pastilles sur leur lisibilité. Step (3) is important. In fact, by choosing the monochrome plane which presents the best contrast for character recognition, one compensates for the effect of the color and the state of the pastilles on their readability.

On opérera ensuite sur la luminance de ce plan, que l'on peut assimiler à des variantes de gris plus ou moins foncées. We will then operate on the luminance of this plane, which we can assimilate to more or less dark variants of gray.

Le plan sélectionné à l'étape (3) comporte l'image de la pastille, mais cette image n'est pas rigoureusement centrée, car, lors de la saisie, on ne dispose par de repère adéquat. The plan selected in step (3) includes the image of the patch, but this image is not rigorously centered, because, during data entry, there is no adequate benchmark.

A l'étape (4), le logiciel va rechercher dans ce plan la position réelle de la pastille, à partir de ses dimensions théoriques, compte tenu de la focale de l'objectif utilisé et de la distance de prise de vue. Ceci permettra de poursuivre le traitement sur la fraction du plan correspondant exactement à l'image de la pastille en cours d ' identification (ou dans la pratique à un carré circonscrit à ce cercle théorique), avec un centrage correct de la pastille. In step (4), the software will search in this plane for the actual position of the patch, from its theoretical dimensions, taking into account the focal length of the objective used and the shooting distance. This will allow treatment to continue on the fraction of the plane corresponding exactly to the image of the patch being identified (or in practice to a square circumscribed to this theoretical circle), with correct centering of the patch.

Une méthode originale de recherche a été développée par la Demanderesse : elle consiste à faire Passer sur toute la surface de l'image une pluralité de cercles virtuels de diamètres légèrement supérieurs à celui de la pastille et à ne conserver que celui dont écart type des luminances des pixels périphériques est le plus faible. An original search method has been developed by the Applicant: it consists of passing over a plurality of virtual circles over the entire surface of the image, with diameters slightly greater than that of the pellet and retaining only that of which the standard deviation of the luminances of the peripheral pixels is the lowest.

A l'étape (5), on recherche un seuil de binarisation et l'on procède à la binarisation de limage de la pastille, pour effacer les nuances de gris et former une image ne comportant que des "blancs" et des Xnoirs, ce qui "normalise" le marquage, les caractères apparaissant en noir sur un fond blanc, alors que, sur les pastilles, selon la couleur du fond, les caractères sont en blanc ou en noir. In step (5), a binarization threshold is sought and the image of the patch is binarized, to erase the shades of gray and form an image comprising only "whites" and blacks, this which "normalizes" the marking, the characters appearing in black on a white background, while, on the pastilles, depending on the color of the background, the characters are in white or in black.

Cette image "normalisée", seule exploitable pour la suite du traitement, est réduite en un fichier de tous les pixels du carré circonscrit à la pastille trouvé à l'étape précédente, affectés chacun d'un "0" ou d'un "1" (étape 6).This "normalized" image, which can only be used for further processing, is reduced to a file of all the pixels of the square circumscribed by the patch found in the previous step, each assigned a "0" or a "1 "(step 6).

Selon une forme de mise en oeuvre avantageuse de l'étape (5), pour tenir compte des rendus extrêmement variables des pastilles usagées et des différentes couleurs sur les images obtenues, au lieu de travailler avec les mêmes seuils pour toutes les images, on réalise un histogramme des densités de "gris" du plan considéré et l'analyse de cet histogramme permet de déterminer le seuil optimal pour la binarisation de cette image ainsi que la couleur des caractères (noir, ou blanc). La binarisation est ensuite effectuée en utilisant ces éléments (seuil et couleur des caractères). According to an advantageous embodiment of step (5), to take into account the extremely variable renderings of the used pellets and of the different colors on the images obtained, instead of working with the same thresholds for all the images, one realizes a histogram of the densities of "gray" of the plane considered and the analysis of this histogram makes it possible to determine the optimal threshold for the binarization of this image as well as the color of the characters (black, or white). Binarization is then carried out using these elements (threshold and color of the characters).

A l'étape (7), on détermine la couleur de la pastille, en tenant compte de son état de salissure et des nuances chromatiques pour une même couleur d'origine ou du fait du vieillissement (bleu marine à bleu clair, par exemple). In step (7), the color of the tablet is determined, taking into account its state of soiling and the chromatic nuances for the same original color or due to aging (navy blue to light blue, for example) .

La recherche de la couleur est effectuée sur les pixels déterminés comme appartenant au fond de la pastille (ceux trouvés "blancs" par la binarisation) : pour chacun de ces pixels, on passe du rouge, vert, bleu au HLS (Hue Luminance et Saturation) et, pour chacune de ses composantes, on réalise un histogramme. L'analyse de chacun de ces trois histogrammes (un par composante HLS) permet de déterminer la couleur de la pastille. Cette information sera utilisée, en combinaison avec la lecture du chiffre inscrit en travers sous l'indication de Mtareff, pour déterminer la date d'échéance d'épreuve. The search for color is carried out on the pixels determined as belonging to the background of the patch (those found "white" by binarization): for each of these pixels, we go from red, green, blue to HLS (Hue Luminance and Saturation ) and, for each of its components, a histogram is produced. Analysis of each of these three histograms (one per HLS component) makes it possible to determine the color of the patch. This information will be used, in combination with the reading of the number written across under the indication of Mtareff, to determine the date of expiry of the test.

L'orientation de la pastille de tare sous la caméra vidéo étant aléatoire, on procède à un redressement de l'image. As the orientation of the tare tablet under the video camera is random, the image is straightened.

Dans ce but, on cherche tout d'abord à inscrire dans un pavé virtuel chaque dessin élémentaire formé par des groupes de pixels noirs dans le plan binarisé. Le logiciel détermine ensuite pour chacun de ces pavés son axe d'inertie principal : s'il existe trois axes parallèles entre eux et un quatrième perpendiculaire, un premier angle est déterminé. Le logiciel recherche également des droites passant par des points de la base des pavés, ce qui peut confirmer cet angle ou en proposer d'autres : tous les angles trouvés sont classés par ordre de préférence selon des critères de vraisemblance et le logiciel effectue ensuite successivement toutes les rotations correspondantes dans 1 'ordre de ce classement, pour retenir celle qui semble être la bonne et faire pivoter l'image de cet angle. For this purpose, we first seek to register in a virtual block each elementary drawing formed by groups of black pixels in the binarized plane. The software then determines for each of these blocks its main axis of inertia: if there are three axes parallel to each other and a fourth perpendicular, a first angle is determined. The software also searches for lines passing through points of the base of the blocks, which can confirm this angle or propose others: all the angles found are classified in order of preference according to criteria of likelihood and the software then performs successively all the corresponding rotations in the order of this classification, to select the one that seems to be the right one and rotate the image by this angle.

Pour localiser et isoler les caractères portés par la pastille de tare, le logiciel recherche ensuite et situe sur le plan redressé chacun des caractères attendus (ceux qui constituent l'indication de tare et celui nécessaire à la détermination de la date d'échéance d'épreuve). I1 réalise pour cela la recherche de la localisation des espaces blancs qui séparent les caractères en testant des droites de separation possibles et en retenant celles qui coupent le moins de pixels "noirs" (étape 9). To locate and isolate the characters carried by the tare label, the software then searches and locates on the rectified plan each of the expected characters (those which constitute the indication of tare and that necessary for determining the due date for test). For this, it performs the search for the location of the white spaces which separate the characters by testing possible separation lines and retaining those which cut the least number of "black" pixels (step 9).

Le logiciel prépare ensuite les caractères qu'il a situés dans le plan redressé pour les envoyer au réseau de neurones (étape 10). Il recherche le centre de gravité de chacun d'eux et passe un filtre autour de ce centre de gravité, en particulier pour limiter l'effet des variantes d'épaisseur de trait. The software then prepares the characters it has located in the rectified plane to send them to the neural network (step 10). It searches for the center of gravity of each of them and passes a filter around this center of gravity, in particular to limit the effect of the variants of line thickness.

Le réseau de neurones fonctionne en s'appuyant sur un apprentis sage effectué sur des caractères dont on lui a donné la valeur. Cet apprentissage détermine des coefficients appelés poids. Lors de la reconnaissance, on applique des coefficients au caractère à reconnaitre.  The neural network functions by relying on a wise apprentice carried out on characters whose value it has been given. This training determines coefficients called weights. During recognition, we apply coefficients to the character to be recognized.

Le réseau de neurones comporte dix sorties possibles correspondant respectivement aux dix chiffres de O à 9 que peut représenter un caractère : pour chaque caractère qui lui est proposé, il va restituer sur chacune de ces sorties une note comprise entre -1 et +1, qu'il va établir par comparaison avec la bibliothèque constituée par l'apprentissage (étape 11). L'analyse de l'ensemble des dix notes obtenues sur ces dix sorties pour le caractère examiné va permettre de déterminer à quel chiffre correspond ce caractère (celui qui correspond à la sortie gratifiée de la meilleure note) et aussi si cet ensemble de note converge suffisamment sur cette conclusion pour que le résultat puisse être considéré comme quasi-certain (si le rapport de convergence des notes sur ces dix sorties est insuffisant, le logiciel considère qu'il n'a pas pu reconnaître le caractère considéré). The neural network has ten possible outputs corresponding respectively to the ten digits of O to 9 that a character can represent: for each character which is proposed to it, it will restore on each of these outputs a note between -1 and +1, which 'it will establish by comparison with the library constituted by learning (step 11). The analysis of the set of ten notes obtained on these ten exits for the character examined will make it possible to determine to which figure corresponds this character (the one which corresponds to the gratified exit of the best note) and also if this set of note converges enough on this conclusion for the result to be considered almost certain (if the convergence ratio of the notes on these ten outputs is insufficient, the software considers that it could not recognize the character considered).

C'est un des avantages de la méthode neuronale retenue et une originalité de ce développement que de forger ce critère de jugement du résultat de la reconnaissance de caractères, qui est primordial dans cette application, puisque l'on exige une quasicertitude de l'exactitude de la lecture. It is one of the advantages of the neural method chosen and an originality of this development to forge this judgment criterion of the result of the recognition of characters, which is essential in this application, since we require a quasi-certainty of accuracy. reading.

L'ensemble de ce procédé est donc d'une mise en oeuvre simple et rapide, répondant aux exigences des chaînes d'emplissage de bouteilles de gaz. The whole of this process is therefore simple and quick to implement, meeting the requirements of gas cylinder filling lines.

L'appareillage utilisé pour la mise oeuvre de ce procédé constitue un autre objet de la présente invention. The apparatus used for the implementation of this process constitutes another object of the present invention.

L'invention a par conséquent également pour objet un dispositif de lecture d'un élément d'identification porté par une bouteille de gaz combustible liquéfié, notamment d'une pastille dite de tare, caractérisé en ce qu'il comprend
- un appareil de prise de vues, apte à réaliser quasisimultanément trois images chromatiques de l'élément d'identification ;
- des moyens pour sélectionner l'image chromatique présentant le meilleur contraste
- des moyens pour déterminer la fraction de cette image chromatique qui correspond à 1'image de l'élément d'identification ;
- des moyens pour faire apparaître en noir sur un fond blanc, ou inversement, les caractères que comporte l'élément d'identification ; ;
- des moyens pour déterminer la couleur de fond de l'élément d'identification
- des moyens pour amener l'image de l'élément d'identification dans une position prédéterminée ;
- des moyens pour localiser et isoler les caractères apparaissant sur cette image
- des moyens pour identifier les caractères portés par cette image.
The invention therefore also relates to a device for reading an identification element carried by a bottle of liquefied combustible gas, in particular a so-called tare pellet, characterized in that it comprises
a camera capable of taking almost three chromatic images of the identification element simultaneously;
means for selecting the chromatic image presenting the best contrast
means for determining the fraction of this chromatic image which corresponds to the image of the identification element;
- Means for making appear in black on a white background, or vice versa, the characters that comprise the identification element; ;
- means for determining the background color of the identification element
- Means for bringing the image of the identification element to a predetermined position;
- means to locate and isolate the characters appearing on this image
- means to identify the characters carried by this image.

Les moyens pour sélectionner l'image chromatique de l'élément d'identification présentant le meilleur contraste et pour traiter ensuite cette image comprendront simplement un ordinateur avec une carte d'acquisition vidéo et un logiciel approprié. The means for selecting the chromatic image of the identification element having the best contrast and for subsequently processing this image will simply comprise a computer with a video acquisition card and appropriate software.

L'appareil de prise de vues sera avantageusement équipé d'un système d'éclairage apte à fournir une bonne qualité d'image et un contraste maximum. un système d'éclairage approprié sera décrit ci-après. The camera will advantageously be equipped with a lighting system capable of providing good image quality and maximum contrast. an appropriate lighting system will be described below.

Comme indiqué ci-dessus, des moyens pourront être prévus pour immobiliser et centrer la bouteille de gaz sous l'appareil de prises de vue. As indicated above, means may be provided to immobilize and center the gas cylinder under the camera.

Les dessins annexés illustrent certaines caractéristiques de l'invention. Sur ces dessins
La figure 1 montre diverses pastilles de tare illustrant la diversité des caractères rencontrés
La figure 2 illustre l'acquisition de trois images chromatiques d'une pastille et le choix du meilleur plan ;
La figure 3 illustre la binarisation de l'image de la pastille
La figure 4 illustre le redressement de l'image de la pastille ;
La figure 5 illustre l'isolement des caractères de cette pastille
La figure 6 illustre la préparation des résultats envoyés au réseau de neurones pour une pastille ;;
La figure 7 illustre les résultats retournés par le réseau de neurones pour cette même pastille
Les figures 8 et 9 sont des vues, respectivement en élévation et en perspective, d'un ensemble de prise de vues et d'éclairage utilisable dans le cadre de l'invention.
The accompanying drawings illustrate certain features of the invention. On these drawings
Figure 1 shows various tare pellets illustrating the diversity of characters encountered
Figure 2 illustrates the acquisition of three chromatic images of a patch and the choice of the best plan;
Figure 3 illustrates the binarization of the pastille image
FIG. 4 illustrates the rectification of the image of the patch;
Figure 5 illustrates the isolation of the characters from this patch
FIG. 6 illustrates the preparation of the results sent to the neural network for a pellet;
Figure 7 illustrates the results returned by the neural network for this same pellet
Figures 8 and 9 are views, respectively in elevation and in perspective, of a set of shots and lighting usable in the context of the invention.

La figure 1 a simplement pour but d'illustrer la diversité des caractères apparaissant sur les pastilles de tare et la variété de leurs positions relatives. Comme il a été indiqué ci-dessus, ces pastilles sont souillées à l'usage, usées au cours du temps et amputées partiellement par le sertissage. Elles se présentent en outre en des orientations absolument quelconques sur les têtes de robinet des bouteilles, sur les chaînes d'emplissage, ce qui complique d'autant leur lecture. FIG. 1 is simply intended to illustrate the diversity of the characters appearing on the tare pellets and the variety of their relative positions. As indicated above, these pellets are soiled in use, worn over time and partially amputated by crimping. They are also presented in absolutely arbitrary orientations on the tap heads of the bottles, on the filling lines, which makes their reading all the more complicated.

La présente invention vise précisément à proposer un procédé simple et rapide de lecture de telles pastilles. The present invention aims precisely to provide a simple and rapid method for reading such pellets.

Dans un premier temps, on va procéder à 1 'acquisition de trois images chromatiques analogues de la pastille, de façon simultanée ou quasi-simultanée, à l'aide d'un appareil de prise de vues. Ces images, référencées R pour rouge, V pour vert, et B pour bleu, apparaissent sur la figure 2. Elles permettent de déterminer la couleur de la pastille, à partir du poids des trois composantes rouge, vert et bleu. Firstly, we will proceed with the acquisition of three similar chromatic images of the pastille, simultaneously or almost simultaneously, using a camera. These images, referenced R for red, V for green, and B for blue, appear in FIG. 2. They make it possible to determine the color of the patch, from the weight of the three components red, green and blue.

Comme on le voit sur la figure 2, les trois images de la pastille sont d'une qualité différente. Pour la suite des opérations, on conservera une seule image, celle qui présente le meilleur contraste, ici l'image chromatique verte. Cette image est destinée à être traitée en noir et blanc. As seen in Figure 2, the three images of the patch are of different quality. For the rest of the operations, we will keep only one image, the one with the best contrast, here the green chromatic image. This image is intended to be processed in black and white.

Sur l'image sauvegardée, qui est un carré de 200 sur 200 pixels, on va commencer par rechercher la pastille, en trouvant un cercle de diamètre proche de celui théoriquement fixé (156 pixels). On the saved image, which is a square of 200 by 200 pixels, we will start by searching for the patch, by finding a circle with a diameter close to that theoretically fixed (156 pixels).

Une fois trouvé le cercle correspondant à la pastille, on va opérer sur un carré circonscrit à ce cercle, d'une dimension de 156 sur 156 pixels et l'on va rechercher le seuil de binarisation correspondant au meilleur contraste des caractères par rapport au fond. Dans ce but, on considère l'image comme comportant divers niveaux de gris, par exemple 256 au total (le niveau 0 correspondant au noir et le niveau 255 au blanc) et l'on calcule l'histogramme des différents niveaux de gris du carré circonscrit au cercle de la pastille. Once we have found the circle corresponding to the dot, we will operate on a square circumscribed to this circle, with a dimension of 156 by 156 pixels and we will look for the binarization threshold corresponding to the best contrast of the characters compared to the background . For this purpose, the image is considered to have various gray levels, for example 256 in total (level 0 corresponding to black and level 255 to white) and the histogram of the different gray levels of the square is calculated. circumscribed to the circle of the patch.

Une fois le seuil de binarisation déterminé, on binarise l'image de la pastille, dont les caractères apparaissent alors en noir sur fond blanc, comme représente sur la figure 3. Once the binarization threshold has been determined, the image of the patch is binarized, the characters of which then appear in black on a white background, as shown in FIG. 3.

Il est ensuite nécessaire de redresser cette image, car la pastille s'est présentée dans une position absolument quelconque au-dessous de l'appareil de prise de vues. It is then necessary to straighten this image, because the patch has appeared in an absolutely arbitrary position below the camera.

Dans ce but, on utilise la technique des Paves englobants", c'est-à-dire que l'on enferme les différents caractères dans des "pavés" (rectangles ou carrés de côtés tous parallèle à des mêmes directions), comme représenté sur la figure 4, et l'on recherche différentes droites, à savoir la droite servant de ligne de base, qui passe par le bas des trois caractères donnant la tare de la bouteille de gaz et celles correspondant aux moments d'inertie de chacun des pavés. For this purpose, we use the technique of enclosing Paves ", that is to say that we enclose the different characters in" blocks "(rectangles or squares with sides all parallel to the same directions), as shown on FIG. 4, and we are looking for different lines, namely the line serving as the baseline, which passes through the bottom of the three characters giving the tare of the gas cylinder and those corresponding to the moments of inertia of each of the blocks .

On considère alors les angles des moments d'inertie par rapport à la ligne de base et l'on corrèle les moments d'inertie, parmi lesquels trois, correspondant aux chiffres de tare, seront à peu près parallèles, tandis que la quatrième (chiffre de millésime) sera perpendiculaire aux précédentes. We then consider the angles of the moments of inertia with respect to the baseline and we correlate the moments of inertia, among which three, corresponding to the tare figures, will be roughly parallel, while the fourth (figure vintage) will be perpendicular to the previous ones.

On redresse ensuite la pastille, en essayant toutes les relations en fonction des angles trouvés. We then straighten the patch, trying all the relationships according to the angles found.

Une fois l'image redressée selon un certain angle, on cherche à isoler trois caractères, en déterminant les espaces blancs séparant les caractères. Once the image is straightened at a certain angle, we try to isolate three characters, by determining the white spaces separating the characters.

Dans ce but, on fait passer à travers l'image redressée des droites horizontales et verticales et l'on conserve celles qui rencontrent le moins de pixels noirs (voir figure 5). For this purpose, horizontal and vertical lines are passed through the straightened image and those which meet the fewest black pixels are kept (see FIG. 5).

Après avoir réussi à isoler ainsi au moins deux caractères, correspondant aux unités des kilos et des grammes, il reste à les préparer avant de les envoyer au réseau de neurones qui les identifiera. Dans ce but, on cherche le centre de gravité du caractère et on passe un filtre autour de ce centre de gravité. After having succeeded in isolating at least two characters in this way, corresponding to the units of kilos and grams, it remains to prepare them before sending them to the neural network which will identify them. For this purpose, we seek the center of gravity of the character and we pass a filter around this center of gravity.

On envoie ensuite les caractères au réseau de neurones. We then send the characters to the neural network.

Ce réseau fonctionne en s'appuyant sur un apprentissage effectué sur des caractères dont on lui a donné la valeur.This network works by relying on learning carried out on characters whose value it has been given.

Cet apprentissage détermine des coefficients appelés poids.This training determines coefficients called weights.

Lors de la reconnaissance, on applique ces coefficients au caractère à reconnaître.During recognition, these coefficients are applied to the character to be recognized.

Le réseau de neurones comporte dix sorties possibles correspondant respectivement aux dix chiffres de 0 à 9 que peut représenter un caractère. Pour chaque caractère qui lui est proposé, il va restituer, sur chacune de ces sorties, une note comprise entre -1 et +1, qu'il va établir par comparaison avec la bibliothèque constituée par l'apprentissage (voir figure 7). L'analyse de ensemble des dix notes obtenues sur ces dix sorties par le caractère examiné va permettre de déterminer à quel chiffre correspond ce caractère et si cet ensemble de note converge suffisamment sur cette conclusion pour que le résultat puisse être considéré comme quasi-certain. The neural network has ten possible outputs corresponding respectively to the ten digits from 0 to 9 that a character can represent. For each character which is proposed to him, he will restore, on each of these outputs, a note between -1 and +1, which he will establish by comparison with the library formed by learning (see Figure 7). The overall analysis of the ten scores obtained on these ten outputs by the character examined will make it possible to determine which figure corresponds to this character and whether this set of notes converges sufficiently on this conclusion so that the result can be considered almost certain.

Lors de la prise de vues des images chromatiques de la capsule de tare, le système d'éclairage utilisé présente une grande importance. Il est important d'obtenir un contraste optimal, de ne souffrir d'aucun reflet, quelle que soit la couleur de la pastille considérée, et de minimiser l'effet des marques de sertissage. When taking color images of the tare capsule, the lighting system used is of great importance. It is important to obtain an optimal contrast, not to suffer from any reflection, whatever the color of the pastille considered, and to minimize the effect of the crimp marks.

Dans ce but, la Demanderesse a mis au point un ensemble de prise de vues à éclairage incorporé, qui est représenté sur les figures 8 et 9. To this end, the Applicant has developed a set of shots with incorporated lighting, which is shown in FIGS. 8 and 9.

Cet ensemble comprend un boîtier parallélépipédique formant réflecteur, solidaire d'une caméra 2, extérieure au boîtier 1 et disposée coaxialement à un tube pare-lumière 3, qui traverse le boîtier et se termine à la base de celui-ci par une pyramide 4 sans fond, en matière plastique translucide, ouverte vers l'extérieur. Deux luminaires antidéflagrants 5, du type à tube fluorescent, sont logés en parallèle dans le boîtier 1, de part et d'autre du tube 3, au-dessus de la pyramide 4. La pyramide en matière plastique translucide permet d'obtenir un éclairage très diffus et sans ombre. On pourrait naturellement remplacer cette pyramide par un cône ou similaire. This assembly comprises a parallelepipedic housing forming a reflector, integral with a camera 2, external to the housing 1 and arranged coaxially with a light-shielding tube 3, which passes through the housing and ends at the base thereof by a pyramid 4 without bottom, in translucent plastic, open to the outside. Two explosion-proof luminaires 5, of the fluorescent tube type, are housed in parallel in the housing 1, on either side of the tube 3, above the pyramid 4. The pyramid made of translucent plastic material makes it possible to obtain lighting very diffuse and without shade. One could naturally replace this pyramid by a cone or similar.

Bien entendu, on pourrait utiliser d'autres systèmes d'éclairage sans sortir du cadre de l'invention.  Of course, other lighting systems could be used without departing from the scope of the invention.

Claims (11)

RevendicationsClaims 1. Procédé de lecture d'un élément d'identification porté par une bouteille de gaz combustible liquéfié, notamment d'une pastille de tare, ce procédé étant caractérisé en ce que 1. Method for reading an identification element carried by a bottle of liquefied combustible gas, in particular a tare tablet, this method being characterized in that (1) on effectue de façon quasi-simultanee trois prises de vues chromatiques de l'élément d'identification aboutissant à l'obtention de trois images chromatiques, la première rouge, la seconde verte et la troisième bleue, de cet élément  (1) three chromatic shots of the identification element are carried out almost simultaneously, leading to three chromatic images, the first red, the second green and the third blue, of this element (2) on procède à une digitalisation de chacune de ces images (2) we digitize each of these images (3) on sélectionne l'image chromatique présentant le meilleur contraste (3) the chromatic image having the best contrast is selected (4) on recherche sur l'image sélectionnée la position réelle de l'élément d'identification, à partir de ses dimensions, et on détermine la fraction de cette image correspondant exactement à 1 'image de cet élément (4) on the selected image, the actual position of the identification element is searched for, from its dimensions, and the fraction of this image corresponding exactly to the image of this element is determined. (5) on procède à une binarisation de l'image de l'élément d'identification , de manière à faire apparaître en noir sur un fond blanc, ou inversement, les caractères qu' il comporte et à éliminer les nuances;; (5) the image of the identification element is binarized, so as to make the characters which it contains appear in black on a white background, or vice versa; (6) on convertit limage ainsi binarisée en un fichier de tous les pixels de cette image ou d'un polygone circonscrit à cette image  (6) the image thus binarized is converted into a file of all the pixels of this image or of a polygon circumscribed to this image (7) on détermine la couleur de fond à partir des pixels des trois images, respectivement rouge, verte et bleue (7) the background color is determined from the pixels of the three images, respectively red, green and blue (8) on redresse limage binarisée pour 1 'amener dans une position prédéterminée (8) the binarized image is straightened to bring it to a predetermined position (9) dans cette position, on localise et on isole les caractères apparaissant sur cette image (9) in this position, we locate and isolate the characters appearing on this image (10) on recherche le centre de gravité de chacun des caractères ainsi repérés et on les traite par un filtre autour de ce centre de gravité (10) we search for the center of gravity of each of the characters thus identified and we process them by a filter around this center of gravity (11) on transmet les caractères ainsi traités à un réseau de neurones, qui les identifie par comparaison avec des caractères contenus dans une bibliothèque.  (11) the characters thus treated are transmitted to a neural network, which identifies them by comparison with characters contained in a library. 2. Procédé selon la revendication 1, caractérisé en ce que les vues chromatiques sont effectuées après immobilisation de la bouteille de gaz par rapport à l'appareil de prise de vue. 2. Method according to claim 1, characterized in that the chromatic views are carried out after immobilization of the gas cylinder relative to the camera. 3. Procédé selon la revendication 1, caractérisé en ce que les vues chromatiques sont effectuées simultanément, avec un éclairage stroboscopique, alors que la bouteille de gaz défile en regard de l'appareil de prise de vue. 3. Method according to claim 1, characterized in that the chromatic views are carried out simultaneously, with stroboscopic lighting, while the gas bottle scrolls opposite the camera. 4. Procédé selon l'une des revendications 1 à 3, caractérisé en ce que l'étape (4) de recherche de la position réelle de la position de l'élément d'identification sur l'image chromatique comprend le passage sur toute la surface de l'image d'une pluralité de cercles virtuels de diamètre légèrement supérieur à celui de la pastille, en vue de retenir celui dont 1 'écart type des luminances des pixels périphériques est le plus faible. 4. Method according to one of claims 1 to 3, characterized in that the step (4) of finding the actual position of the position of the identification element on the chromatic image comprises passing over the entire image surface of a plurality of virtual circles of diameter slightly greater than that of the patch, in order to select the one whose standard deviation of the luminances of the peripheral pixels is the smallest. 5. Procédé selon lune des revendications 1 à 4, caractérisé ce que, dans l'étape (5) de binarisation de l'image de l'élément d'identification, on réalise un histogramme des densités des différentes variantes de gris de l'image considérée, en vue de déterminer le seuil de contraste optimal pour la binarisation de l'image. 5. Method according to one of claims 1 to 4, characterized in that, in step (5) of binarization of the image of the identification element, a histogram of the densities of the different gray variants of the image considered, in order to determine the optimal contrast threshold for binarization of the image. 6. Procédé selon lune des revendications 1 à 5, caractérisé en ce que l'étape (8) de redressement de limage de l'élément d'identification comprend une phase d'inscription dans un rectangle ou "pavé" de chacun des caractères de cette image, la recherche pour chacun de ces pavés de son axe d'inertie principal, la recherche de la ou des droites passant par la base des "pavés", la recherche par un logiciel des angles de ces différentes droites et le pivotement de l'image suivant ces différents angles. 6. Method according to one of claims 1 to 5, characterized in that the step (8) of straightening the image of the identification element comprises a phase of writing in a rectangle or "block" of each of the characters of this image, the search for each of these blocks of its main axis of inertia, the search for the line or lines passing through the base of the "blocks", the search by software of the angles of these different lines and the pivoting of the image from these different angles. 7. Procédé selon l'une des revendications 1 à 6, caractérisé en ce que l'étape (9) de localisation des caractères apparaissant sur l'image comprend une phase consistant à rechercher les espaces blancs séparant les caractères en faisant passer des droites à travers l'image et en retenant celles qui rencontrent le moins de pixels noirs. 7. Method according to one of claims 1 to 6, characterized in that the step (9) of locating the characters appearing on the image comprises a phase consisting in searching for the white spaces separating the characters by passing from straight lines to across the image and retaining those that meet the least number of black pixels. 8. Procédé selon l'une des revendications 1 à 7, caractérisé en ce que le réseau de neurones comprend dix sorties distinctes, correspondant respectivement aux dix chiffres 0 à 9 que peut représenter un caractère, une note comprise entre -1 et +1 étant restituée sur chacune de ces sorties pour chacun des caractères proposés, après comparaison avec la bibliothèque. 8. Method according to one of claims 1 to 7, characterized in that the neural network comprises ten distinct outputs, corresponding respectively to the ten digits 0 to 9 that can represent a character, a note between -1 and +1 being restored on each of these outputs for each of the characters offered, after comparison with the library. 9. Dispositif de lecture d'un élément d'identification porté par une bouteille de gaz combustible liquéfié, notamment d'une pastille de tare, caractérisé en ce qu'il comprend 9. Device for reading an identification element carried by a bottle of liquefied combustible gas, in particular a tare tablet, characterized in that it comprises - un appareil de prise de vues, apte à prendre quasisimultanément trois images chromatiques de l'élément d' identification ; a camera capable of taking almost three chromatic images of the identification element simultaneously; - des moyens pour sélectionner l'image chromatique présentant le meilleur contraste means for selecting the chromatic image presenting the best contrast - des moyens pour déterminer la fraction de cette image chromatique qui correspond à l'image de l'élément d'identification ;  means for determining the fraction of this chromatic image which corresponds to the image of the identification element; - des moyens pour faire apparaître en noir sur un fond blanc les caractères que comporte l'élément d'identification ;  - Means for making appear in black on a white background the characters which comprise the identification element; - des moyens pour déterminer la couleur de fond de l'élément d'identification - means for determining the background color of the identification element - des moyens pour amener limage de l'élément d' identification ;;  - means for bringing the image of the identification element; - des moyens pour localiser et isoler les caractères apparaissant sur cette image ;  - means for locating and isolating the characters appearing on this image; - des moyens pour identifier les caractères que porte cette image. - means to identify the characters that bear this image. 10. Dispositif selon la revendication 9, caractérisé en ce qu'il comprend en outre un système d'éclairage coopérant avec l'appareil de prise de vue, ce système d'éclairage comprenant, à l'intérieur d'un boîtier (1) à parois réfléchissantes, au moins une source lumineuse (5) disposée à l'extérieur d'une structure pyramidale ou conique (4) sans fond, en un matériau translucide, ouverte vers l'extérieur du boîtier (1). 10. Device according to claim 9, characterized in that it further comprises a lighting system cooperating with the camera, this lighting system comprising, inside a housing (1) with reflecting walls, at least one light source (5) disposed outside a bottomless pyramid or conical structure (4), made of a translucent material, open towards the outside of the housing (1). 11. Utilisation d'un procédé selon l'une des revendications 1 à 8 ou d'un dispositif selon lune des revendications 9 et 10 dans une chaîne continue de convoyage et d'emplissage de bouteilles de gaz combustible liquéfié, caractérisé en ce que les bouteilles à échéance d'épreuve sont éjectées de la chaîne d'emplissage et orientées vers une chaîne d'épreuve.  11. Use of a method according to one of claims 1 to 8 or of a device according to one of claims 9 and 10 in a continuous chain for conveying and filling bottles of liquefied combustible gas, characterized in that the Bottles at the end of the test are ejected from the filling line and oriented towards a test line.
FR9500398A 1995-01-16 1995-01-16 METHOD AND DEVICE FOR READING IDENTIFICATION MATERIALS CARRIED BY BOTTLES OF LIQUEFIED FUEL GAS FOR DOMESTIC USE, AND THEIR USE Expired - Lifetime FR2729484B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
FR9500398A FR2729484B1 (en) 1995-01-16 1995-01-16 METHOD AND DEVICE FOR READING IDENTIFICATION MATERIALS CARRIED BY BOTTLES OF LIQUEFIED FUEL GAS FOR DOMESTIC USE, AND THEIR USE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR9500398A FR2729484B1 (en) 1995-01-16 1995-01-16 METHOD AND DEVICE FOR READING IDENTIFICATION MATERIALS CARRIED BY BOTTLES OF LIQUEFIED FUEL GAS FOR DOMESTIC USE, AND THEIR USE

Publications (2)

Publication Number Publication Date
FR2729484A1 true FR2729484A1 (en) 1996-07-19
FR2729484B1 FR2729484B1 (en) 1997-09-26

Family

ID=9475140

Family Applications (1)

Application Number Title Priority Date Filing Date
FR9500398A Expired - Lifetime FR2729484B1 (en) 1995-01-16 1995-01-16 METHOD AND DEVICE FOR READING IDENTIFICATION MATERIALS CARRIED BY BOTTLES OF LIQUEFIED FUEL GAS FOR DOMESTIC USE, AND THEIR USE

Country Status (1)

Country Link
FR (1) FR2729484B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0924638A2 (en) * 1997-12-16 1999-06-23 Adobe Systems, Inc. Removing non-text information from a color image

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4680803A (en) * 1984-12-17 1987-07-14 Ncr Corporation Method and apparatus for isolating image data for character recognition
JPH0676100A (en) * 1992-08-25 1994-03-18 Nippon Steel Corp Character and picture input device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4680803A (en) * 1984-12-17 1987-07-14 Ncr Corporation Method and apparatus for isolating image data for character recognition
JPH0676100A (en) * 1992-08-25 1994-03-18 Nippon Steel Corp Character and picture input device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
J. KIM: "Baseline drift correction of handwritten text", IBM TECH. DISCLOSURE BULLETIN, vol. 25, no. 10, March 1983 (1983-03-01), pages 5111 - 5114, XP002017620 *
K. FUKUSHIMA: "Neural network model for a mechanism of pattern recognition unaffected by shift in position: neocognitron", ELECTRONICS AND COMMUNICATION IN JAPAN, vol. 62, no. 10, October 1979 (1979-10-01), SILVER SPRING, MARYLAND, USA, pages 11 - 18, XP002017621 *
PATENT ABSTRACTS OF JAPAN vol. 018, no. 330 (P - 1758) 22 June 1994 (1994-06-22) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0924638A2 (en) * 1997-12-16 1999-06-23 Adobe Systems, Inc. Removing non-text information from a color image
EP0924638A3 (en) * 1997-12-16 2001-02-07 Adobe Systems, Inc. Removing non-text information from a color image

Also Published As

Publication number Publication date
FR2729484B1 (en) 1997-09-26

Similar Documents

Publication Publication Date Title
EP3589939B1 (en) Fruit or vegetable optical analysis method and device and automatic sorting device
EP2992315B1 (en) Method and device for observing and analysing optical singularities in glass containers
FR2585131A1 (en) CONTROL OF CONTAINER NUTS
KR101030449B1 (en) Apperance inspecting apparatus of cylinder type rechargeable battery
CZ299731B6 (en) Method of inspecting container and identifying variations that affect commercial acceptability of the container and apparatus for making the same
CH625431A5 (en)
EP0745866A1 (en) Method and apparatus for movement detection of a target and its applications
FR2700007A1 (en) Optical method and device for automatic classification of cylindrical pellets of nuclear fuel.
CA2643371A1 (en) Biodetector functioning without contact
FR2729484A1 (en) Reading of identification marks from liquefied gas bottles for domestic use
EP0310526B1 (en) Method and device for controlling the pressure on a seal or within a container
FR2836576A1 (en) Hide surface image data frames calibrated by optical computer-controlled cutting system
EP1147405B1 (en) Method and device for detecting crizzling in translucent or transparent material
EP4136434B1 (en) Station and method for translationally detecting glaze defects on glass containers
FR2899358A1 (en) Container`s e.g. bottle, appearance controlling method, involves activating camera for preset integration time interval, where integration time interval starts at instant posterior or equal to end of illuminating time interval
EP4062142B1 (en) Device for monitoring plastic containers
FR2754892A1 (en) METHOD AND DEVICE FOR GEOMETRICAL CONTROL OF A FUEL ASSEMBLY BY PHOTOGRAMMETRY
US20220175617A1 (en) System and method for applying patterns on articles and inspection thereof
FR2667398A1 (en) Method and installation for automatic examination of the circumferential surface of cylindrical objects
WO2020157260A1 (en) Method for manually reading a code, and associated device
FR2512945A1 (en) Automatic gas cylinder shape checking system - utilises measurement of separation between two focussed light spots from beam aimed at cylinder profile
EP2102706B1 (en) System for taking images of the face of an individual
WO2017140959A1 (en) Improved mollusc-marking device, corresponding packaging chain and mollusc-marking method for implementing same
FR2846096A1 (en) Device for detecting, analyzing and locating defects present on transparent and/or reflecting surface, in particular of silicon wafers and glass products
FR2475424A1 (en) Identification and sorting system - has obliquely aligned light sensor w.r.t. conveyor having segment partially obscured by bottle and framed by two non obscured segments