JP3440261B2 - How to read the container number of the high pressure gas container - Google Patents
How to read the container number of the high pressure gas containerInfo
- Publication number
- JP3440261B2 JP3440261B2 JP01868894A JP1868894A JP3440261B2 JP 3440261 B2 JP3440261 B2 JP 3440261B2 JP 01868894 A JP01868894 A JP 01868894A JP 1868894 A JP1868894 A JP 1868894A JP 3440261 B2 JP3440261 B2 JP 3440261B2
- Authority
- JP
- Japan
- Prior art keywords
- container
- pressure gas
- container number
- gas container
- figures
- 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.)
- Expired - Fee Related
Links
Landscapes
- Character Input (AREA)
- Character Discrimination (AREA)
Description
【発明の詳細な説明】
【0001】
【産業上の利用分野】本発明は、高圧ガス容器の容器番
号の読取り方法に関し、詳しくは、容器番号を構成する
英字と数字とを光学的文字読取り手段により個々に図形
としてX−Y直交座標内に取込んだ後、各図形を画像処
理して英字,数字として識別し、自動的に容器番号を読
取る方法に関する。
【0002】
【従来の技術】従来から、各種物品の表面に表示された
記号を自動的に読取ることが行われている。例えば、郵
便番号の読取りにおいては、はがき等の紙面上に表示さ
れた数字をテレビカメラ等の光学的文字読取り手段によ
り個々に図形として確保した後、各図形を画像処理して
数字として認識するようにしている。
【0003】このときの図形から数字への画像処理は、
予め0から9の数字毎にいくつかの基本パターンを記憶
させておき、光学的に読込まれた図形を適宜に拡大縮小
し、例えば重ね合わせ法等により前記基本パターンと比
較照合し、一致していればそれを答とし、一致していな
ければ排除するという処理を繰返すことにより、各図形
を数字として識別し、郵便番号として認識している。
【0004】
【発明が解決しようとする課題】しかし、通常の高圧ガ
ス容器の容器番号は、数字のみからなる前記郵便番号と
異なり、A〜Zの英字(大文字)と0〜9の数字との組
合わせで表示されている。このため、従来の読取り方法
の場合は、英字の「I」と数字の「1」、英字の「O」
と数字の「0」、英字の「S」と数字の「5」、英字の
「Z」と数字の「2」のように、形状が類似した図形を
誤認することがあった。
【0005】さらに、合成樹脂等で形成された軽量の高
圧ガス容器の場合は、容器番号が刻印ではなく、容器の
胴部に貼付したシール上に表示されているので、従来の
平面的な撮影方法で図形として取込んでも良いが、金属
製の高圧ガス容器の場合には、容器番号が高圧ガス容器
の肩部に刻印されているため、従来の平面的な撮影方法
で図形として取込むと容器番号が歪むため、基本パター
ンとの比較照合自体ができなかった。
【0006】例えば、上記高圧ガス容器の容器番号は、
立てて置いたときの容器の肩部の同一高さ、すなわち容
器の肩部を形成する球面の略同緯度にくるように刻印さ
れている。このため、図1に想像線で示すように、立て
て置いた高圧ガス容器1の水平方向からテレビカメラ2
で容器番号3を撮影すると、図2に示すように、球面の
影響で両端の文字ほど大きく傾き歪んで映る。このた
め、歪んだ画像データを従来方法で処理しても、予め読
取り装置に記憶させておいた記号の基本パターンと一致
しないため識別できないことになる。
【0007】このようなことから、ガス充填工場等で高
圧ガス容器の容器番号を自動的に読取らせて高圧ガス容
器の管理を自動化しようとしても、容器番号の読取りは
作業者の目視に頼らなければならず、作業者の読取りミ
スにより生産性が落ちるという不都合があり、作業者の
負担になっていた。
【0008】そこで本発明者らは、上記高圧ガス容器の
容器番号を自動的に確実に読取れるように鋭意研究を重
ねた。その結果、高圧ガス容器の容器番号が、ある特定
の配列で容器に明示されていることを知見し、該容器番
号の配列状態を判別することにより、容器番号の英字部
と数字部とを分離し、より確実に容器番号を読取れるこ
と、さらに、容器の肩部に表示されている容器番号は、
特定の方向から撮影した後、特定の手法で画像処理する
ことにより容器番号を識別することが可能になることを
見出した。
【0009】すなわち、本発明は、高圧ガス容器の肩部
に表示されている容器番号を高い確率で識別することが
できる読取り方法を提供することを目的としている。
【0010】
【課題を解決するための手段】上記した目的を達成する
ため、本発明の高圧ガス容器の容器番号の読取り方法
は、高圧ガス容器の肩部に表示された容器番号を構成す
る英字と数字とを、前記肩部を形成する球面の略法線位
置から光学的文字読取り手段により撮影して個々に図形
としてX−Y直交座標内に取込んで、個々の前記図形を
X軸とY軸にそれぞれ平行な直線で囲んで外接四角形を
形成し、各外接四角形の図心を結ぶ曲線に近似する円弧
の中心点を求め、該中心点から個々の外接四角形の図心
を結ぶ直線がY軸に平行になるように各図形を各図心を
中心にして回転させる。
【0011】しかる後、各図形相互の間隔を測定し、相
互の間隔の関係から一連の図形を英字部と数字部とに分
離し、次いで、各図形を英字もしくは数字として基本パ
ターンと比較対照することを特徴とする。
【0012】
【作 用】前記したように、高圧ガス容器の肩部に刻印
された容器番号は、肩部を形成する球面上の略法線位置
から撮影してX−Y直交座標内に取込むと、容器番号を
構成する記号は扇形に並んだ図形群として確保される。
このとき、各図形は正立状態にはならないが歪みはほと
んどない。次に、扇形に並んだ図形群の一つ一つをX軸
とY軸に平行な直線で囲んで外接四角形を形成し、得ら
れた各外接四角形の図心を結ぶと、結んだ線は、ある点
を中心とした円弧に近似する曲線上に位置することにな
る。
【0013】したがって、上記曲線に近似した円弧の中
心点と個々の外接四角形の図心とを結ぶ直線は、個々の
図形の正立線となるので、これらの直線が前記Y軸に平
行になるように個々の図形を図心を中心として回転させ
れば、各図形は正立状態になる。
【0014】一方、容器番号を構成する英数字は特定の
配列で容器に表示されている。このため、各英字、数字
を個々に図形として確保した後、各図形相互の間隔を測
定することによって間隔相互の関係から容器番号を英字
部と数字部とに分離できる。したがって、容器番号中
に、英字の「I」と数字の「1」のように似た図形があ
っても、英字部の図形は英字の基本パターンのみと、ま
た、数字部の図形は数字の基本パターンのみと峻別して
比較照合できるので図形を正確に識別できる。
【0015】
【実施例】以下、本発明を、高圧ガス容器の肩部に表示
された容器番号の読取りの場合について図面を参照しな
がらさらに詳細に説明する。
【0016】まず、図1に実線で示すように、高圧ガス
容器1の肩部を形成する球面状部分の略同緯度に刻印さ
れた容器番号3を、該球面の略法線方向からテレビカメ
ラ2によって撮影し、その映像を、図3に示すようにモ
ニタテレビ4に映し出すとともに、読取り装置5に取込
んで画像処理を行う。
【0017】なお、テレビカメラ2は、容器番号3の中
央部が画面の縦方向の中心線上にくるように設定するこ
とが好ましい。また、高圧ガス容器1は、所定位置に静
置されていてもよいが、台車やベルトコンベアで搬送さ
れている移動中でもよい。
【0018】高圧ガス容器1の容器番号3の近傍には、
容器番号3を構成する英数字だけではなく、高圧ガス容
器1に充填されるガスの種類を表す記号も含まれている
(本実施例の場合は、窒素充填用容器であることを示す
N2 が刻印されている)。また、容器番号3が刻印され
た部分には、高圧ガス容器1の外壁に塗られた色と異な
る色が塗られており、目視だけでなく、テレビカメラ2
によっても容易に識別できるようになっている。
【0019】このように、読取り装置5のX−Y直交座
標内に確保された図形群は、以下に示す手順で処理さ
れ、記号として認識される。まず、容器番号3以外の上
記ガス種別の記号は処理の必要がないため、画像処理に
より上下の位置関係を利用して排除し、扇形に並んだ容
器番号3だけを抽出する。
【0020】抽出した容器番号3の図形群は、前述のよ
うに、高圧ガス容器1の肩部に刻印されている関係か
ら、図4に示すように、扇形に並んだ状態で、記号列の
両端の記号ほど大きく傾いた状態となる。
【0021】次いで、それぞれの記号の図形をX軸とY
軸に平行な4本の直線X1,X2,Y1,Y2で囲み、
各図形毎に外接四角形11を形成するとともに、各外接
四角形11の図心12を求める。
【0022】次に、それぞれの図形の図心12を結ぶと
曲線13になるが、この曲線13は、最小二乗法によ
り、ある点を中心とする円の一部(円弧)に近似させる
ことができる。したがって、各図形の図心12は、近似
された円の円弧上に存在すると仮定することができるの
で、該円弧の中心点14をX−Y直交座標上に求める。
【0023】そして、各図形の図心12と中心点14と
を直線15で結び、該直線15とY軸との交差角度αを
求め、図心12と中心点14とを結んだ直線15がY軸
に平行になるように、それぞれの図形を図心12を中心
として角α分だけ回転させる。
【0024】この操作により、それぞれの図形は、図5
に示すような正立状態になるので、予め読取り装置5に
記憶されている記号のいくつかの基本パターンとの照合
が可能となり、個々の図形が認識できるようになる。
【0025】なお、前記図2の、水平方向から撮影した
図形は、図6に示すように、両端部の記号が傾くだけで
なく歪むので、どのように処理しても基本パターンとの
照合が困難であり、記号として認識することはできな
い。
【0026】上述のようにして個々の図形を認識可能な
状態にした後、以下に説明する手順で英字部と数字部と
を分離する。なお、図4に示す傾いた状態で以下の分離
手順を行うことも可能ではあるが、「I」や「1」のよ
うに正立時と傾斜時とで幅寸法が大きく異なるものがあ
るので、図5に示す正立状態にしてからのほうが、分離
精度を高めることができる。
【0027】まず、英字部と数字部とを分離する手順を
説明する前に、高圧ガス容器における容器番号の一般的
な配列状態を説明する。最初に、高圧ガス容器の容器番
号は、前述のように、A〜Zの英字(大文字)と0〜9
のアラビア数字との組合わせからなるものであるが、英
字と数字とがランダムに混在することはなく、容器番号
を構成する記号列の左側には英字が、右側には数字が存
在している。すなわち、容器番号は、少なくとも1個の
英字の後に複数の数字が並んだ状態になっている。
【0028】次に、英字と数字との間には適当な間隔が
設けられており、数字同士は比較的近接した状態になっ
ている。また、数字と数字との間に、「−」(ハイフ
ン)が挿入されることがあるが、このハイフンは、通
常、右から2文字目と3文字目との間に挿入されてい
る。さらに、複数の英字がある場合、英字同士の間隔は
一定ではないが、その場合でも、英字と数字との間隔が
最大になる。
【0029】なお、ハイフンは、図5の状態までそのま
ま残しておいてもよいが、前記外接四角形11を形成し
た時点で、X軸に平行な2本の直線X1,X2の間隔か
ら、英字又は数字ではないと判断して除外しておくこと
が好ましい。すなわち、上下方向の高さがほとんどない
文字は、英字及び数字には存在しないので、このような
ものを除外することにより、容器番号部分の汚れなども
除外することができ、読取り操作の精度や速度を向上さ
せることができる。
【0030】英字部と数字部との分離手順の一例を図7
に示す。まず最初に、前記ハイフンに相当する部分を除
外した後(ステップ101)、図8乃至図11に示すよ
うに、各文字(図形)の間隔(文字間隔を左からS1,
S2,S3,…,Snとする)を求める(ステップ10
2)。
【0031】そして、求めた各間隔をステップ103で
比較し、一番左側の間隔S1が最大の間隔ではなかった
場合には、ステップ104で、各間隔の中で最大のもの
を選び出し、この最大文字間隔点を英数字分離点Sとす
る。
【0032】すなわち、図8に示すように、一番左側の
間隔S1よりも2番目の間隔S2の方が大きい場合は、
2番目の間隔S2部分を分離点Sとし、分離点Sよりも
左側の各図形を英字部として英字の基本パターンと照合
させ、分離点Sよりも右側の各図形を数字部として数字
の基本パターンと照合させる。
【0033】また、ハイフンが挿入されている場合は、
図9に示すように、このハイフン部分の間隔S5が最大
間隔であっても、ステップ101で既に除外されている
ので、その他の間隔同士で比較して最大間隔であるS3
が英数字分離点Sとなる。
【0034】前記ステップ103で間隔S1が最大であ
ると判断されたときは、ステップ105で2番目の間隔
S2が第2番目かどうかを判断し、これに合っていれば
ステップ106に進んで2番目の間隔S2を英数字分離
点Sとする(図10参照)。
【0035】また、間隔S1が最大で、2番目の間隔S
2が第2番目ではない場合は、ステップ107に進んで
一番左側の間隔S1を英数字分離点Sとする(図11参
照)。
【0036】このように、高圧ガス容器の容器番号に独
特の配列パターンに応じて英数字分離点を求め、英字と
数字とをそれぞれの基本パターンと照合することによ
り、前述の「I」と「1」、「O」と「0」、「S」と
「5」、「Z」と「2」を確実に識別することができ
る。
【0037】これにより、高圧ガス容器1の肩部に刻印
された記号列を容器独自の容器番号として読取ることが
でき、読取った容器番号から、予めデータベースに蓄積
されている各容器毎の製造年月,製造番号,充填ガス
名,重量,配置先等の管理データを取込むことにより、
高圧ガス容器1の管理を行うことができる。
【0038】なお、高圧ガス容器の容器番号は、通常は
肩部に刻印されているが、胴部等に刻印されているもの
を読取る場合は、前述の図4及び図5に示す処理を行わ
ずに、図7に示す手順を行うだけで読取りを精度よく行
うことができる。
【0039】
【発明の効果】以上説明したように、本発明方法によれ
ば、高圧ガス容器の容器番号が英字と数字の混在で表示
されていても、容器番号を構成する個々の記号を予め英
字又は数字と判別できるので、図形を基本パターンと比
較対照する際に、英字部の図形は英字の基本パターンだ
けと、また、数字部の図形は数字の基本パターンだけと
比較対照すれば良いので、英字の「I」と数字の「1」
等のように英字部の記号と数字部の記号とに形状の似た
ものがあっても精度よく識別することができ、正確に読
取ることができる。
【0040】また、容器番号が高圧ガス容器の肩部に表
示されていても、容器番号の読取りを、自動的に、か
つ、正確に行うことができるので、高圧ガス容器の管理
を確実かつ容易に行うことができ、作業者の負担を大幅
に軽減することができ、また、生産性の向上も図れる。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for reading a container number of a high-pressure gas container, and more particularly to an optical character reading means for reading alphabetic characters and numerals constituting the container number. The present invention relates to a method of individually taking figures as individual figures into XY orthogonal coordinates, then processing the figures by image processing, identifying them as alphabetic characters and numerals, and automatically reading the container number. 2. Description of the Related Art Conventionally, symbols displayed on the surface of various articles have been automatically read. For example, in reading a postal code, numbers displayed on a paper surface such as a postcard are individually secured as figures by optical character reading means such as a television camera, and then each figure is image-processed and recognized as a number. I have to. At this time, image processing from figures to figures is performed by
Some basic patterns are stored in advance for each of the numbers from 0 to 9, and the optically read figure is appropriately scaled up and down. If so, the process is repeated, and if not, each figure is identified as a number and recognized as a postal code. [0004] However, the container number of a normal high-pressure gas container is different from the postal code consisting of only numerals, and is different from the postal code consisting of letters A to Z (upper case) and numerals 0 to 9. It is displayed in combination. For this reason, in the case of the conventional reading method, the letter "I", the number "1", and the letter "O"
And figures "0", alphabet "S" and numeral "5", and alphabet "Z" and numeral "2" may be misidentified. Further, in the case of a lightweight high-pressure gas container made of a synthetic resin or the like, the container number is displayed not on the seal but on a sticker attached to the body of the container. Although it may be captured as a graphic by the method, in the case of a metal high-pressure gas container, since the container number is engraved on the shoulder of the high-pressure gas container, if it is captured as a graphic by a conventional planar imaging method Since the container number was distorted, comparison with the basic pattern itself could not be performed. For example, the container number of the high-pressure gas container is:
It is stamped so as to be at the same height as the shoulder of the container when placed upright, that is, at approximately the same latitude as the spherical surface forming the shoulder of the container. Therefore, as shown by an imaginary line in FIG.
When the container number 3 is photographed as shown in FIG. 2, as shown in FIG. For this reason, even if the distorted image data is processed by the conventional method, it cannot be identified because it does not match the basic pattern of the symbol stored in the reading device in advance. For this reason, even if the management of the high-pressure gas container is to be automated by automatically reading the container number of the high-pressure gas container at a gas filling factory or the like, the reading of the container number depends on the visual inspection of the operator. In addition, there is a disadvantage that productivity is reduced due to an operator's reading error, which is a burden on the operator. Accordingly, the present inventors have conducted intensive studies so that the container number of the high-pressure gas container can be automatically and reliably read. As a result, it was found that the container number of the high-pressure gas container was specified on the container in a specific arrangement, and the arrangement of the container number was determined to separate the alphabetic part and the numerical part of the container number. The container number can be read more reliably, and the container number displayed on the shoulder of the container is
It has been found that it is possible to identify the container number by taking an image from a specific direction and performing image processing with a specific method. That is, an object of the present invention is to provide a reading method capable of identifying a container number displayed on a shoulder portion of a high-pressure gas container with high probability. [0010] In order to achieve the above object, a method for reading a container number of a high-pressure gas container according to the present invention comprises the steps of reading a container number displayed on a shoulder of a high-pressure gas container. And the number, the approximate normal position of the spherical surface forming the shoulder
In ipecac in the X-Y orthogonal coordinates as a figure individually taken by put et optical character reading means, each of said graphic
Surround the circumscribed rectangle with straight lines parallel to the X and Y axes, respectively.
An arc that forms and approximates the curve that connects the centroids of each circumscribed rectangle
And the centroid of each circumscribed rectangle from the center point
Each figure so that the straight line connecting
Rotate around the center . Thereafter, the distance between the figures is measured, and the
A series of figures are divided into alphabetic and numeric
Release, and then use the basic pattern for each figure as letters or numbers.
It is characterized by comparison with turns . [Operation] As described above , the shoulder is stamped on the high-pressure gas container.
The container number given is the approximate normal position on the spherical surface that forms the shoulder
And take it in the XY rectangular coordinates,
The constituent symbols are secured as a group of figures arranged in a fan shape.
At this time, each figure is not in the upright state, but the distortion is almost
Not really. Next, each of the group of figures arranged in a fan shape is
And circumscribed by a straight line parallel to the Y axis to form a circumscribed rectangle.
If you connect the centroids of the circumscribed rectangles,
Are located on a curve that approximates an arc centered at
You . Therefore, in the arc approximate to the above curve,
The straight line connecting the center point and the centroid of each circumscribed rectangle is
Since these lines are erect lines of the figure, these straight lines are
Rotate each figure around its centroid so that it becomes a line
Then, each figure becomes an erect state . On the other hand, the alphanumeric characters constituting the container number
Displayed on the container in an array. Therefore, each letter, number
After securing individual figures, measure the distance between each figure.
By specifying the container number in English
Part and number part. Therefore, in the container number
There are figures similar to the letter "I" and the number "1".
However, the figure in the alphabet part is only the basic pattern of the alphabet,
Also, figures in the number part should be distinguished from only the basic pattern of numbers.
Since comparison and collation can be performed, figures can be accurately identified . DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in further detail with reference to the drawings, in the case of reading a container number displayed on a shoulder of a high-pressure gas container. First, as shown by a solid line in FIG. 1, a container number 3 engraved at substantially the same latitude on a spherical portion forming a shoulder of the high-pressure gas container 1 is referred to as a television camera from a substantially normal direction of the spherical surface. 2, the image is displayed on the monitor television 4 as shown in FIG. It is preferable that the television camera 2 is set so that the center of the container number 3 is on the vertical center line of the screen. The high-pressure gas container 1 may be settled at a predetermined position, or may be moving while being transported by a cart or a belt conveyor. In the vicinity of the container number 3 of the high-pressure gas container 1,
Not only the alphanumeric characters constituting the container number 3 but also a symbol indicating the type of gas filled in the high-pressure gas container 1 is included (in the case of this embodiment, N 2 indicating that the container is a nitrogen filling container). Is engraved). In addition, the part engraved with the container number 3 is painted in a color different from the color painted on the outer wall of the high-pressure gas container 1, so that not only the visual but also the television camera 2 is painted.
Can also be easily identified. As described above, the graphic group secured in the XY rectangular coordinates of the reading device 5 is processed in the following procedure and recognized as a symbol. First, since the symbols of the gas types other than the container number 3 do not need to be processed, they are eliminated by image processing using the vertical positional relationship, and only the container numbers 3 arranged in a fan shape are extracted. As shown in FIG. 4, the extracted graphic group of the container number 3 is engraved on the shoulder of the high-pressure gas container 1 and is arranged in a fan shape as shown in FIG. The symbols at both ends are more greatly inclined. Next, the figure of each symbol is represented by an X axis and a Y axis.
Surrounded by four straight lines X1, X2, Y1, Y2 parallel to the axis,
A circumscribed rectangle 11 is formed for each figure, and a centroid 12 of each circumscribed rectangle 11 is obtained. Next, when the centroids 12 of the respective figures are connected, a curve 13 is formed. The curve 13 can be approximated to a part (arc) of a circle centered on a certain point by the least square method. it can. Therefore, since the centroid 12 of each figure can be assumed to exist on the arc of the approximated circle, the center point 14 of the arc is obtained on the XY orthogonal coordinates. Then, the centroid 12 of each figure and the center point 14 are connected by a straight line 15, the intersection angle α between the straight line 15 and the Y axis is determined, and a straight line 15 connecting the centroid 12 and the center point 14 is obtained. Each figure is rotated about the centroid 12 by an angle α so as to be parallel to the Y axis. By this operation, each figure is shown in FIG.
(1), the symbol stored in the reader 5 in advance can be compared with some basic patterns, and individual figures can be recognized. As shown in FIG. 6, since the symbols at both ends of the figure taken from the horizontal direction in FIG. 2 are not only distorted but also distorted, as shown in FIG. It is difficult and cannot be recognized as a sign. After the individual figures are made recognizable as described above, the alphabetical part and the numeric part are separated by the procedure described below. It is possible to perform the following separation procedure in the inclined state shown in FIG. 4, but there is a type such as "I" or "1" in which the width dimension greatly differs between the erect state and the inclined state. The separation accuracy can be improved after the erect state shown in FIG. First, before explaining the procedure for separating the alphabetic part and the numeral part, the general arrangement of the container numbers in the high-pressure gas container will be described. First, the container numbers of the high-pressure gas containers are, as described above, alphabets (uppercase letters) of AZ and 0-9.
It is composed of a combination of Arabic numerals, but alphabets and numbers are not mixed at random, there is an alphabetic character on the left side of the symbol string that constitutes the container number, and a number on the right side . That is, the container number is in a state where a plurality of numbers are arranged after at least one alphabetic character. Next, an appropriate interval is provided between the alphabetic characters and the numbers, and the numbers are relatively close to each other. In addition, "-" (hyphen) may be inserted between numbers, and this hyphen is usually inserted between the second and third characters from the right. Further, when there are a plurality of alphabets, the interval between the alphabets is not constant, but even in such a case, the interval between the alphabets and the numbers becomes maximum. The hyphen may be left as it is until the state shown in FIG. 5, but when the circumscribed rectangle 11 is formed, an alphabetic character or a character is determined based on the interval between two straight lines X1 and X2 parallel to the X axis. It is preferable to exclude it because it is not a number. In other words, letters with almost no vertical height do not exist in alphabetic characters and numbers, so by excluding such characters, it is possible to exclude dirt on the container number part, etc. Speed can be improved. FIG. 7 shows an example of a procedure for separating an alphabetic part and a numeric part.
Shown in First, after removing the portion corresponding to the hyphen (step 101), as shown in FIGS. 8 to 11, the interval between the characters (graphics) (the character interval is set to S1,
S2, S3,..., Sn) (step 10).
2). Then, the obtained intervals are compared in step 103. If the leftmost interval S1 is not the maximum interval, in step 104 the largest interval is selected from each interval, and this maximum is selected. Let the character spacing point be the alphanumeric separation point S. That is, as shown in FIG. 8, when the second interval S2 is larger than the leftmost interval S1,
The second interval S2 is defined as a separation point S, each figure on the left side of the separation point S is compared with a basic pattern of an alphabet as an alphabetic part, and each figure on the right side of the separation point S is a numerical part as a numeric part. To match. When a hyphen is inserted,
As shown in FIG. 9, even if the interval S5 of the hyphen portion is the maximum interval, since it has already been excluded in step 101, the other intervals are compared with the maximum interval S3.
Becomes the alphanumeric separation point S. If it is determined in step 103 that the interval S1 is the maximum, it is determined in step 105 whether or not the second interval S2 is the second interval. The second interval S2 is defined as an alphanumeric separation point S (see FIG. 10). The interval S1 is the maximum and the second interval S
If 2 is not the second, the process proceeds to step 107, where the leftmost interval S1 is set as the alphanumeric separation point S (see FIG. 11). As described above, the alphanumeric separation points are determined according to the arrangement pattern unique to the container number of the high-pressure gas container, and the letters "I" and "I" are compared by comparing the alphabetic characters and numerals with the respective basic patterns. "1", "O" and "0", "S" and "5", and "Z" and "2" can be reliably identified. As a result, the symbol string imprinted on the shoulder of the high-pressure gas container 1 can be read as a container number unique to the container, and from the read container number, the manufacturing year of each container previously stored in the database can be obtained. By importing management data such as month, serial number, filling gas name, weight, and location,
The high-pressure gas container 1 can be managed. The container number of the high-pressure gas container is usually engraved on the shoulder, but when reading the engraved number on the body or the like, the processing shown in FIGS. 4 and 5 is performed. Instead, reading can be accurately performed only by performing the procedure shown in FIG. As described above, according to the method of the present invention, even if the container number of the high-pressure gas container is displayed in a mixture of alphabetic characters and numerals, the individual symbols constituting the container number are set in advance. Since it can be distinguished as alphabetic or numeric, when comparing figures with basic patterns, it is only necessary to compare the figures in the alphabet part with only the basic pattern of alphabets, and the figures in the number part with only the basic pattern of numbers. , The letter "I" and the number "1"
Even if there is a similar symbol in the alphabetic part and the symbol in the numeral part as in the case of, for example, it can be identified with high accuracy and can be read accurately. Even if the container number is displayed on the shoulder of the high-pressure gas container, the container number can be read automatically and accurately, so that the management of the high-pressure gas container can be performed reliably and easily. This can greatly reduce the burden on the operator and improve the productivity.
【図面の簡単な説明】
【図1】 高圧ガス容器の肩部に刻印された容器番号を
テレビカメラで撮影する状態を示す説明図である。
【図2】 高圧ガス容器の水平方向から撮影したときの
容器番号の状態を示す図である。
【図3】 高圧ガス容器の肩部の球面の法線方向から撮
影したときの容器番号の状態を示す図である。
【図4】 本発明方法で図形データを処理する手順の説
明図である。
【図5】 本発明方法で処理した後の図形データの状態
を示す図である。
【図6】 水平方向から撮影した図形データを本発明方
法と同様の手順で処理した後の状態を示す図である。
【図7】 英字部と数字部とを分離する手順の一例を示
すフローチャートである。
【図8】 英数字分離点の一例を示す説明図である。
【図9】 英数字分離点の他の例を示す説明図である。
【図10】 英数字分離点のさらに他の例を示す説明図
である。
【図11】 英数字分離点のさらに他の例を示す説明図
である。
【符号の説明】
1…高圧ガス容器、2…テレビカメラ、3…容器番号、
11…外接四角形、12…外接四角形の図心、13…曲
線、14…中心点、15…直線、S…英数字分離点,S
1,S2,S3・・・…文字間隔BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an explanatory diagram showing a state in which a container number stamped on a shoulder of a high-pressure gas container is photographed by a television camera. FIG. 2 is a diagram showing a state of a container number when photographing from a horizontal direction of a high-pressure gas container. FIG. 3 is a diagram showing a state of a container number when photographing from a normal direction of a spherical surface of a shoulder of a high-pressure gas container. FIG. 4 is an explanatory diagram of a procedure for processing graphic data by the method of the present invention. FIG. 5 is a diagram showing a state of graphic data after processing by the method of the present invention. FIG. 6 is a diagram showing a state after graphic data taken from a horizontal direction is processed in the same procedure as the method of the present invention. FIG. 7 is a flowchart illustrating an example of a procedure for separating an alphabetic part and a numeric part. FIG. 8 is an explanatory diagram showing an example of an alphanumeric separation point. FIG. 9 is an explanatory diagram showing another example of an alphanumeric separation point. FIG. 10 is an explanatory diagram showing still another example of an alphanumeric separation point. FIG. 11 is an explanatory diagram showing still another example of an alphanumeric separation point. [Description of Signs] 1 ... High-pressure gas container, 2 ... TV camera, 3 ... Container number,
11: circumscribed rectangle, 12: centroid of circumscribed rectangle, 13: curve, 14: center point, 15: straight line, S: alphanumeric separation point, S
1, S2, S3 ... character spacing
フロントページの続き (72)発明者 小田 芳美 広島県広島市西区観音新町4丁目6番22 号 三菱重工業株式会社内 (56)参考文献 特開 昭57−101986(JP,A) 特開 昭64−1089(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06K 9/00 - 9/76 Continuation of the front page (72) Inventor Yoshimi Oda 4-62-22 Kannonshinmachi, Nishi-ku, Hiroshima-shi, Hiroshima Inside Mitsubishi Heavy Industries, Ltd. (56) References JP-A-57-101986 (JP, A) JP-A-64- 1089 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G06K 9/00-9/76
Claims (1)
号を構成する英字と数字とを、前記肩部を形成する球面
の略法線位置から光学的文字読取り手段により撮影して
個々に図形としてX−Y直交座標内に取込んで、個々の
前記図形をX軸とY軸にそれぞれ平行な直線で囲んで外
接四角形を形成し、各外接四角形の図心を結ぶ曲線に近
似する円弧の中心点を求め、該中心点から個々の外接四
角形の図心を結ぶ直線がY軸に平行になるように各図形
を各図心を中心にして回転させた後、各図形相互の間隔
を測定し、相互の間隔の関係から一連の図形を英字部と
数字部とに分離し、次いで、各図形を英字もしくは数字
として基本パターンと比較対照することを特徴とする高
圧ガス容器の容器番号の読取り方法。(57) [Claims 1] An alphabet and a numeral constituting a container number displayed on a shoulder of a high-pressure gas container are converted into a spherical surface forming the shoulder.
Are taken by the optical character reading means from the approximate normal line position and individually taken into the XY rectangular coordinates as a figure ,
Surround the figure with straight lines parallel to the X and Y axes, respectively.
Form a tangent rectangle, close to the curve connecting the centroids of each circumscribed rectangle.
Find the center point of a similar arc, and from that center point,
Each figure so that the line connecting the centroids of the polygons is parallel to the Y axis
Is rotated around each centroid, the distance between each figure is measured, a series of figures are separated into alphabetic and numeric parts based on the relationship between the figures, A method for reading a container number of a high-pressure gas container, wherein the container number is compared with a basic pattern.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01868894A JP3440261B2 (en) | 1994-02-15 | 1994-02-15 | How to read the container number of the high pressure gas container |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01868894A JP3440261B2 (en) | 1994-02-15 | 1994-02-15 | How to read the container number of the high pressure gas container |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07225813A JPH07225813A (en) | 1995-08-22 |
| JP3440261B2 true JP3440261B2 (en) | 2003-08-25 |
Family
ID=11978562
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP01868894A Expired - Fee Related JP3440261B2 (en) | 1994-02-15 | 1994-02-15 | How to read the container number of the high pressure gas container |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3440261B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100954137B1 (en) * | 2009-07-17 | 2010-04-20 | 포항공과대학교 산학협력단 | Edge-based text localization and segmentation algorithms for automatic slab information recognition |
-
1994
- 1994-02-15 JP JP01868894A patent/JP3440261B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07225813A (en) | 1995-08-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Taylor et al. | Extraction of data from preprinted forms | |
| CA2013378C (en) | Technique for object orientation detection using a feed-forward neural network | |
| CN104781834B (en) | Two-dimensional code, two-dimensional code generation system and analysis program | |
| US5642442A (en) | Method for locating the position and orientation of a fiduciary mark | |
| US5607187A (en) | Method of identifying a plurality of labels having data fields within a machine readable border | |
| WO1996032692A1 (en) | Two-camera system for locating and storing indicia on conveyed items | |
| JPH07500200A (en) | recognition device | |
| US7889930B2 (en) | 2-D encoded symbol quality assessment | |
| JP3440261B2 (en) | How to read the container number of the high pressure gas container | |
| JPH0620026A (en) | Automatic character pattern correcting device | |
| JPH08510584A (en) | Method and apparatus for identifying the orientation of dot matrix code markings on an article | |
| JP3381180B2 (en) | How to read a symbol string displayed on a spherical surface | |
| US20020186885A1 (en) | Verifying results of automatic image recognition | |
| JP7075770B2 (en) | Character recognition system, character sharpening system, character sharpening program, character sharpening method, and character sharpening image display device | |
| CN110443847B (en) | Automatic vending machine holder positioning detection method based on camera | |
| JPH06309437A (en) | Pattern inspecting device | |
| JP3705216B2 (en) | Character entry frame detection method, character entry frame detection device and program | |
| JPH08171627A (en) | Calibration pattern centroid detection method | |
| JP2713306B2 (en) | Character recognition method | |
| JP3008145B2 (en) | Character extraction method and character recognition method | |
| JPH0798763A (en) | Image processing method and apparatus thereof | |
| EP0635803A2 (en) | A method and an apparatus for image processing | |
| JP2748207B2 (en) | How to read barcodes on voting tickets | |
| EP2605183A2 (en) | System and method for identifying a character-of-interest | |
| JPH11238135A (en) | Image recognition method and image recognition device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080620 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090620 Year of fee payment: 6 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090620 Year of fee payment: 6 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |