JPS642996B2 - - Google Patents

Info

Publication number
JPS642996B2
JPS642996B2 JP15436782A JP15436782A JPS642996B2 JP S642996 B2 JPS642996 B2 JP S642996B2 JP 15436782 A JP15436782 A JP 15436782A JP 15436782 A JP15436782 A JP 15436782A JP S642996 B2 JPS642996 B2 JP S642996B2
Authority
JP
Japan
Prior art keywords
mark
code
dimensional sensor
reading
ring
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
Application number
JP15436782A
Other languages
Japanese (ja)
Other versions
JPS5943477A (en
Inventor
Masakazu Sano
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.)
Nippon Steel Corp
Original Assignee
Sumitomo Metal Industries Ltd
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 Sumitomo Metal Industries Ltd filed Critical Sumitomo Metal Industries Ltd
Priority to JP15436782A priority Critical patent/JPS5943477A/en
Publication of JPS5943477A publication Critical patent/JPS5943477A/en
Publication of JPS642996B2 publication Critical patent/JPS642996B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10861Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices sensing of data fields affixed to objects or articles, e.g. coded labels

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Discharge Of Articles From Conveyors (AREA)

Description

【発明の詳細な説明】 本発明は管材又は棒材の円周に複数のリング状
マークを付けてコード化し、該コードを2次元セ
ンサーを用いて2次元的に判別し、読取りエラー
の防止を図ると共に管材又は棒材の径変化に対し
て何ら対処することなくコードを確実に判別でき
る管・棒材のトラツキング用コード読取り方法に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention creates a code by attaching a plurality of ring-shaped marks to the circumference of a pipe or bar, and distinguishes the code two-dimensionally using a two-dimensional sensor, thereby preventing reading errors. The present invention also relates to a method for reading codes for tracking pipes and bars, which allows the codes to be reliably identified without having to take any measures against changes in the diameter of the pipes or bars.

一般に鋼管・棒鋼等の製造ラインにおけるリン
グ状バーコードの読取装置には、レーザースキヤ
ン方式やビームスイツチを用いた装置、或いは一
次元CCD(ラインセンサー)を用いた装置などが
あるが、いずれにしてもリング状バーコードを直
線的に読取るものであつた。このため、バーコー
ドにローラ軸受関係潤滑油や防錆油、スケール等
の汚れが附着していたり或いはキツカー、搬送用
Vローラ、転送用スキツドレール等との接触・摩
擦によりバーコード自体が部分的に剥離し、読取
エラーを生じる欠点があつた。
In general, ring-shaped barcode reading devices used on manufacturing lines for steel pipes and bars include devices that use a laser scan method, beam switches, and devices that use a one-dimensional CCD (line sensor). The ring-shaped barcode was also read linearly. For this reason, the barcode may be contaminated with roller bearing related lubricating oil, anti-rust oil, scale, etc., or the barcode itself may be partially damaged due to contact or friction with the roller bearing-related lubricating oil, anti-rust oil, scale, etc. It had the disadvantage of peeling off and causing reading errors.

従来では、この読取エラーを無くすため、読取
センサーを円周方向に複数個設けて、確実なる読
取りを行なうようにしているが、それでも前記バ
ーコードの汚れがひどい場合等にはエラーが発生
することがあり、またコストアツプの原因になる
欠点があつた。
Conventionally, in order to eliminate this reading error, multiple reading sensors are provided in the circumferential direction to ensure reliable reading, but errors can still occur if the barcode is heavily soiled. However, there were also drawbacks that led to increased costs.

また従来にあつては、鋼管・棒鋼等の径変化に
対しては、対物距離を一定にするためにセンサー
位置をプリセツトしたり、対物距離の変化による
視野変動を補正する必要があり、径情報は読取前
にこれを知らなければならなかつた。
In addition, in the past, when changing the diameter of steel pipes, steel bars, etc., it was necessary to preset the sensor position to keep the object distance constant, or to correct changes in the field of view due to changes in the object distance. had to know this before reading.

本発明は従来の上記欠点に鑑みてこれを改良除
去したものであつて、管材又は棒材の円周に複数
のリング状マークを付けてコード化し、該コード
を2次元センサーを用いて2次元的に判別し、読
取エラーの防止を図ると共に管材又は棒材の径変
化に対して何ら対処することなくコードを確実に
判別できる管・棒材のトラツキング読取り方法に
関するものである。
The present invention improves and eliminates the above-mentioned drawbacks of the conventional technology by attaching a plurality of ring-shaped marks to the circumference of a pipe or bar to code the code, and using a two-dimensional sensor to encode the code into a two-dimensional image. This invention relates to a method for tracking and reading pipes and bars, which prevents reading errors and reliably identifies codes without having to take any measures against changes in the diameter of the pipe or bar.

以下に本発明の方法を管材をトラツキングする
場合に基づいて説明すると次の通りである。
The method of the present invention will be explained below based on the case of tracking a pipe material.

第1図は本発明の具体的な実施例を示すもので
ある。同図において、1は鋼管、2は投・受光器
3,4よりなる鋼管1の管端1aを検出するため
の検出器、5は鋼管1の管端1aから所定距離は
なれた位置において、円周に設けられた複数個の
リング状バーコードである。該バーコード5は、
第2図に示すように読取開始位置マーク5aと、
内容を表すコード5b乃至5mと、読取終了位置
マーク5nを有する。6は管端検出器2の信号に
より一定時間間隔で発光するストロボ、7は撮像
装置としての2次元センサー、8は該センサー7
からの信号を表示するモニターテレビで、また9
は2次元センサー7の信号を画像処理する装置で
ある。
FIG. 1 shows a specific embodiment of the present invention. In the figure, 1 is a steel pipe, 2 is a detector for detecting the pipe end 1a of the steel pipe 1, which is composed of emitter/receiver 3 and 4, and 5 is a circular detector at a position a predetermined distance from the pipe end 1a of the steel pipe 1. It is a plurality of ring-shaped barcodes provided around the circumference. The barcode 5 is
As shown in FIG. 2, a reading start position mark 5a,
It has codes 5b to 5m representing the contents and a reading end position mark 5n. 6 is a strobe that emits light at regular intervals according to the signal from the tube end detector 2; 7 is a two-dimensional sensor as an imaging device; 8 is the sensor 7;
9 again on the monitor TV displaying the signal from
is a device that performs image processing on the signal from the two-dimensional sensor 7.

この装置9はストロボ6と2次元センサー7で
捉えた静止画像を記憶して、所定のスライスレベ
ルで2値化し、2値化画像上での読取開始位置マ
ーク(一端側のリング状バーコード)と、読取終
了位置マーク(他端側のリング状バーコード)と
の画素数を夫々個別的に計数して、該計数値が所
定基準値以上であれば夫々「マーク有り」と判定
し、所定基準値以下であれば夫々「マーク無し」
と判定して視野を求める。そして、これに応じて
内容を示すコード部の各構成ビツトに対応する部
分に所定巾のウインドー部11を設定して、この
中の画面上のマークを検出している画素数を夫々
個別的に計数する。各ウインドー部11の画素数
がある一定の数以上であれば夫々「マーク有り」
と判定し、一定の数以下であれば夫々「マーク無
し」と判定する。そして「マーク有り」に“1”
を与え、「マーク無し」に“0”を与え、読取開
始位置マーク側を最上位ビツト、終了位置マーク
側を最下位ビツトとするバイナリーコードとして
判断する。
This device 9 stores the still image captured by the strobe 6 and the two-dimensional sensor 7, binarizes it at a predetermined slice level, and marks the reading start position on the binarized image (ring-shaped barcode on one end). and the reading end position mark (ring-shaped barcode on the other end side) are individually counted, and if the counted value is greater than or equal to a predetermined reference value, it is determined that there is a mark, and a predetermined If it is below the standard value, there is no mark.
and determine the field of view. Then, in accordance with this, a window section 11 of a predetermined width is set in a portion corresponding to each constituent bit of the code section indicating the content, and the number of pixels in which the mark on the screen is detected is individually determined. Count. If the number of pixels in each window part 11 is more than a certain number, it is "marked".
If the number is less than a certain number, it is determined that there is no mark. And “1” for “marked”
is given, "0" is given to "no mark", and the code is determined as a binary code in which the reading start position mark side is the most significant bit and the end position mark side is the least significant bit.

而して、画像処理装置9のウインドー部11の
幅及び間隔と、バーコード5の幅及び間隔並びに
基準となる画素数の設定は、2次元センサー7と
鋼管1の距離及び2次元センサー7の視野等を考
慮して決定される。
The width and spacing of the window section 11 of the image processing device 9, the width and spacing of the barcode 5, and the number of reference pixels are determined based on the distance between the two-dimensional sensor 7 and the steel pipe 1, and the distance between the two-dimensional sensor 7 and the steel pipe 1. It is determined by taking into consideration the field of view, etc.

このような構成のシステムにおいて、先づ鋼管
1が第1図の矢符の如く搬送され、その管端1a
が管端検出器2の投・受光器3,4を遮ぎると、
ストロボライト6が一定時間のあいだ、一定の間
隔で発光を開始する。すると、これに同期して2
次元センサー7及びモニターテレビ8、画像処理
装置9に静止画像が写し出される。画像処理装置
9は、上記静止画像を記憶し、読取開始位置マー
ク5aと読取終了位置マーク5nが画像処理装置
9の画面10全体にキヤツチされるまで2次元セ
ンサー7からの信号処理を続行する。すなわち、
コードマーク5全体が2次元センサー7の画面1
0内にキヤツチされるまで続行する。尚、2次元
センサー7の視野の大きさは設定が任意であり、
これを大きく取ることにより、コードマーク5全
体をキヤツチすることが容易であるばかりでな
く、鋼管1の外径変化に対しても、何ら対応する
ことなく判定が可能である。その半面、画面上の
マーク巾に対応する画素数が減少し、分解能が落
ちるため、これらのかね合いにより視野を決定す
る。
In a system with such a configuration, the steel pipe 1 is first transported as indicated by the arrow in FIG.
blocks the emitter/receiver 3 and 4 of the tube end detector 2,
The strobe light 6 starts emitting light at regular intervals for a given period of time. Then, in synchronization with this, 2
A still image is projected onto the dimensional sensor 7, monitor television 8, and image processing device 9. The image processing device 9 stores the above-mentioned still image and continues signal processing from the two-dimensional sensor 7 until the reading start position mark 5a and the reading end position mark 5n are captured on the entire screen 10 of the image processing device 9. That is,
The entire code mark 5 is the screen 1 of the two-dimensional sensor 7
Continue until caught within 0. Note that the size of the field of view of the two-dimensional sensor 7 can be set arbitrarily;
By setting this to a large value, it is not only easy to catch the entire code mark 5, but also it is possible to judge changes in the outer diameter of the steel pipe 1 without having to take any measures. On the other hand, the number of pixels corresponding to the width of the mark on the screen decreases and the resolution deteriorates, so the field of view is determined by these considerations.

画像処理装置9では、第2図に示すように、読
取開始位置マーク5aのエツジ検出は、2値化画
像10の読取開始位置マーク側の端より縦1列毎
に各画素数をチエツクし、マークを検出している
画素数がその列の画素数に対して所定の割合以上
となる最初の列とする。同様に他の一方の端より
チエツクし、読取終了位置マークのエツジ部を見
つける。このようにして、読取開始位置マーク5
aと最終位置マーク5nがわかれば、コード5の
各構成ビツトと対応して設けられたウインドー部
11内のマークを検出している画素数を計数す
る。そして、これが所定の基準数以上であれば、
夫々のウインドー部11のエリアは「マーク有
り」として“1”を与え、所定の基準数以下であ
れば「マーク無し」として“0”を与える。この
操作を5b〜5mまでの全ビツトに対して行い、
得られた“1”、“0”の列の5bを最上位ビツ
ト、5mを最下位ビツトとするバイナリーコード
として読取る。
In the image processing device 9, as shown in FIG. 2, edge detection of the reading start position mark 5a is performed by checking the number of pixels in each vertical column from the end of the binarized image 10 on the side of the reading start position mark. This is the first column in which the number of pixels detecting marks is equal to or greater than a predetermined ratio to the number of pixels in that column. Similarly, check from the other end to find the edge of the reading end position mark. In this way, the reading start position mark 5
Once a and the final position mark 5n are known, the number of pixels detecting the mark in the window section 11 provided corresponding to each constituent bit of the code 5 is counted. And if this is more than a predetermined standard number,
The area of each window portion 11 is given "1" as "marked", and if it is less than a predetermined reference number, "0" is given as "no mark". Perform this operation for all bits from 5b to 5m,
The obtained string of "1" and "0" is read as a binary code in which 5b is the most significant bit and 5m is the least significant bit.

以上説明したように本発明は、管材又は棒材の
円周に複数のリング状マークを付けてコード化
し、該コードを2次元センサーを用いて2次元的
に判別するようにしたから、マークに汚れ等があ
つても読取エラーがない。また読取操作の都度視
野を自動検出する方式であるためその視野の設定
が任意であり、これを予め大きく取つておけば管
材や棒材の径変化に対しても何ら対応することな
く、コードの判別が可能である。
As explained above, in the present invention, a plurality of ring-shaped marks are attached to the circumference of a pipe or a bar to code it, and the code is discriminated two-dimensionally using a two-dimensional sensor. There are no reading errors even if there is dirt etc. In addition, since the field of view is automatically detected each time a reading operation is performed, the field of view can be set arbitrarily.If this field of view is set large in advance, there will be no need to deal with changes in the diameter of the pipe or bar, and the code can be read easily. Discrimination is possible.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例を示す全体システム
図、第2図は同実施例における画像処理装置の画
面と鋼管のコードの関係を示す図面である。 1……鋼管、5……コード、5a乃至5n……
マーク、7……2次元センサー。
FIG. 1 is an overall system diagram showing one embodiment of the present invention, and FIG. 2 is a drawing showing the relationship between the screen of an image processing device and the code of a steel pipe in the same embodiment. 1... Steel pipe, 5... Cord, 5a to 5n...
Mark, 7...2D sensor.

Claims (1)

【特許請求の範囲】[Claims] 1 管・棒材の円周に複数のリング状マークを付
けてコード化し、2次元センサーを管・棒材に近
接して配設して、前記コードが2次元センサーの
識別エリア内にあるかどうかを、2次元センサー
の画面上に捉えられた一端側のリング状マークと
他端側のリング状マークとの画素数の計数値がそ
れぞれ所定基準値以上であるか以下であるかによ
り判別し、前記コードの全数が2次元センサーの
識別エリア内に入つた時点の前記各コード化され
たマークに対応する部分の画面上のマークを検出
している画素数をそれぞれ計数して該計数値が所
定基準値以上であるか以下であるかにより各コー
ド化されたマークの有無を個別的に判定し、全コ
ードの内容を判断するようにしたことを特徴とす
る管・棒材のトラツキング用コード読取り方法。
1. Put multiple ring-shaped marks on the circumference of the pipe/bar to code it, place a two-dimensional sensor close to the pipe/bar, and check whether the code is within the identification area of the two-dimensional sensor. This is determined based on whether the counts of the number of pixels of the ring-shaped mark on one end and the ring-shaped mark on the other end captured on the screen of the two-dimensional sensor are respectively above or below a predetermined reference value. , the number of pixels detecting the mark on the screen corresponding to each coded mark at the time when all the codes enter the identification area of the two-dimensional sensor is counted, and the counted value is calculated. A code for tracking pipes and bars, characterized in that the presence or absence of each coded mark is determined individually depending on whether it is above or below a predetermined reference value, and the contents of all codes are judged. How to read.
JP15436782A 1982-09-03 1982-09-03 Reading method of tracking of pipe or bar material Granted JPS5943477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15436782A JPS5943477A (en) 1982-09-03 1982-09-03 Reading method of tracking of pipe or bar material

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15436782A JPS5943477A (en) 1982-09-03 1982-09-03 Reading method of tracking of pipe or bar material

Publications (2)

Publication Number Publication Date
JPS5943477A JPS5943477A (en) 1984-03-10
JPS642996B2 true JPS642996B2 (en) 1989-01-19

Family

ID=15582605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15436782A Granted JPS5943477A (en) 1982-09-03 1982-09-03 Reading method of tracking of pipe or bar material

Country Status (1)

Country Link
JP (1) JPS5943477A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9012343D0 (en) * 1990-06-02 1990-07-25 Prestek Ltd Bar code reader
DE102008030183B4 (en) * 2008-06-26 2010-04-29 V&M Deutschland Gmbh Method for single item tracking of metallic hollow bodies

Also Published As

Publication number Publication date
JPS5943477A (en) 1984-03-10

Similar Documents

Publication Publication Date Title
US5394342A (en) Log scanning
US5637854A (en) Optical bar code scanner having object detection
US6783068B2 (en) Large depth of field line scan camera
US4134684A (en) Repeat defect detector system
JPH0244202A (en) Apparatus for detecting end position of object
US6633383B1 (en) Method and apparatus for the automated inspection of yarn packages
CN115063308A (en) Image correction method and device, electronic equipment and storage medium
GB2072836A (en) Hot box detector systems
JPS642996B2 (en)
US6394352B1 (en) Method of reconstructing successive scans of a bar code
US5430284A (en) Bar code reading apparatus capable of reading bar codes having long and short bars
CA1295711C (en) Scannable document velocity detector
JPH03242592A (en) Monitoring device for image
JPS63187118A (en) Position reading encoder
JPH1082617A (en) Apparatus for measuring length of long object
JP2019197492A (en) Device and method for reading optical information
EP0915432B1 (en) Selection and control device for bars and relative method
JP3480401B2 (en) Document reading apparatus and black streak detection method
FR3072783B1 (en) IONIZING RADIATION DETECTION SYSTEM AND ASSOCIATED DETECTION METHOD
JP2579674B2 (en) Label detection device
JPS59135511A (en) Optical detector for obstacle
US6331888B1 (en) Method and apparatus for surface inspection
JPH0246097B2 (en)
JP2604922B2 (en) Length measuring machine
KR940004481A (en) Symbol information reading device