JPH02224083A - Method for detecting display part for article discrimination - Google Patents
Method for detecting display part for article discriminationInfo
- Publication number
- JPH02224083A JPH02224083A JP1073029A JP7302989A JPH02224083A JP H02224083 A JPH02224083 A JP H02224083A JP 1073029 A JP1073029 A JP 1073029A JP 7302989 A JP7302989 A JP 7302989A JP H02224083 A JPH02224083 A JP H02224083A
- Authority
- JP
- Japan
- Prior art keywords
- pattern
- frame memory
- identification display
- marks
- mark
- 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.)
- Pending
Links
Landscapes
- Character Input (AREA)
Abstract
Description
【発明の詳細な説明】
(a)産業上の利用分野
この発明は、物品の表面に表示されている物品識別用の
文字や記号を認識する装置に用いられ、物品を撮像して
得られた画像データから物品識別用表示部の位置、方向
、大きさなどを検出する方法に関するものである。Detailed Description of the Invention (a) Industrial Application Field The present invention is used for a device for recognizing characters and symbols for identifying an article displayed on the surface of an article, and is used for recognizing characters and symbols for identifying an article displayed on the surface of the article. The present invention relates to a method of detecting the position, direction, size, etc. of an article identification display section from image data.
(1))従来の技術
一般に、物品を自動的に識別する方法として、各物品に
識別用の文字や記号を予め(t i=、ておき、己れを
テレヒー′カメラなどで撮像しζ文字・図形認識するこ
とによって物品を識別する方法が採られている。(1)) Conventional technology In general, as a method for automatically identifying items, each item is marked with identification characters or symbols (t i =) in advance, and the item is imaged with a tele-hi camera or the like and ζ characters are placed on each item. - A method is used to identify objects by recognizing their shapes.
文字・図形認識技術には種々の手法があるが、いずれに
しても撮像した画像データから文字や記号を認識する際
、画面内の特定の範囲内にある画像データ6ごついて文
字・図形認識を行うものであるため、物品の特定位置に
特定の方向に文字や記号からなる物品識別用表示部を設
け、その物品をテレビカメラに対して特定の位置関係に
配置した状態で撮像していた。There are various methods for character/figure recognition technology, but in any case, when recognizing characters and symbols from captured image data, character/figure recognition is performed based on image data within a specific range on the screen. Therefore, an item identification display section consisting of characters or symbols is provided at a specific position of an item in a specific direction, and the item is imaged while being placed in a specific positional relationship with respect to a television camera.
(c1発明が解決し7ようとする課題
ところが、たとえば予め行き先コー ド番号表の貼付さ
れた荷物をコンベアによって自動振り分けするよ・うな
場合、行き先コード番号表は何物の特定位置の特定方向
に貼付されるとは限らず、また荷物はコンベア上で特定
の向きに載置された状態で搬送されるとは限らず、しか
も荷物の形状自体が一定でない場合、テレビカメラに対
する行き先コード番号表の位置関係は全くランダムとな
る。(c1) The problem that the invention attempts to solve is, for example, when packages to which destination code number lists have been affixed in advance are automatically sorted by a conveyor, the destination code number list must be placed in a specific direction at a specific location of something. If the destination code number table is not always affixed, the baggage is not always transported in a specific direction on the conveyor, and the shape of the baggage itself is not constant, The positional relationship is completely random.
このような場合には荷物の略全体が画面内(5二人るよ
うに撮像し、得られた画像データから行き先コード番号
表の画像データを抽出したのちに認識しなげればならな
い。ところが、画面内の認識すべき文字や記号の位置、
方向および大きさのいづ′れも特定されていない状態か
ら認識すべき文字や記号を短時間に抽出することは極め
て困難であったこの発明の目的は、画像データ内の認識
すべき文字や記号の位置、方向お′よび大きざを短時間
のうちに抽出できるよ・うにして、実時間処理の要求さ
れる用途にも適用できるようにした物品識別用表示部検
出方法を提供することにある。In such a case, it is necessary to capture an image so that almost the entire baggage is on the screen (52 persons), extract the image data of the destination code number table from the obtained image data, and then recognize it. the position of characters and symbols to be recognized on the screen;
It is extremely difficult to extract characters and symbols to be recognized in a short time from a state where neither direction nor size is specified.The purpose of this invention is to extract characters and symbols to be recognized from image data. An object of the present invention is to provide a method for detecting a display part for identifying an article, which can extract the position, direction, and size of a product in a short time, and can be applied to applications requiring real-time processing. be.
fd1課題を解決するための手段
この発明の請求項1に係る物品識別用表示部検出方法は
、物品識別用表示パターンとともに、この物品識別用表
示パターンに対して一定の位置関係で略円形または略同
心円形パターンからなるマークを物品に設けておき、
前記識別用表小パターンと前記マークを含む範囲を撮像
して、その画像データを第1フレームメモリに記憶し、
この第1フ1/−ム、メモリより特定軸方向のパターン
を抽出し第2フレームメモリに記憶し、第2フレームメ
モリから前記特定軸方向に直交する軸方向に前記マーク
によるパターン配列を抽出することによって撮像した画
像データ中の前記マークの位置を求め、このマーク位置
を基準にして前記物品識別用表示部を検出することを特
徴としている。Means for Solving the Problems fd1 The method for detecting an article identification display part according to claim 1 of the present invention provides a method for detecting an article identification display part according to claim 1 of the present invention. A mark consisting of a concentric circular pattern is provided on the article, an image is taken of an area including the small identification table pattern and the mark, and the image data is stored in a first frame memory;
In this first frame, a pattern in a specific axis direction is extracted from the memory and stored in a second frame memory, and a pattern arrangement based on the marks is extracted from the second frame memory in an axial direction perpendicular to the specific axis direction. The present invention is characterized in that the position of the mark in the captured image data is determined by this method, and the article identification display section is detected based on the position of the mark.
この発明の請求項2に係る物品識別用表示部検出方法は
、物品識別用表示バタ・−ンとともに、この物品識別用
表示パターンに対して一定の位置関係で略円形または略
同心円形パターンからなる少なくとも一つの主マークと
、この主マークに対して一定の位置関係にある副マーク
を物品に設けておき、
前記識別用表示パターンと前記主マークおよび副マーク
を含む範囲を撮像して、その画像データを第1フレーム
メモリに記憶し、この第1フレームメモリより特定軸方
向のパターンを抽出し第2フレームメモリに記憶し、第
2フレームメモリから前記特定軸方向に直交する軸方向
に前記主マークによるパターン配列を抽出することによ
って撮像した画像データ中の前記主マークの位置を求め
、この主マーク位置を基準にして画像データ中の副マー
クの位置を求め、主マークと副マークの位置を基準にし
て前記物品識別用表示部を検出することを特徴としてい
る。The method for detecting an article identification display part according to claim 2 of the present invention comprises an article identification display pattern and an approximately circular or approximately concentric circular pattern in a predetermined positional relationship with respect to the article identification display pattern. At least one main mark and a sub mark having a certain positional relationship with respect to the main mark are provided on the article, and an image is taken of an area including the identification display pattern and the main mark and the sub mark. Data is stored in a first frame memory, a pattern in a specific axis direction is extracted from the first frame memory and stored in a second frame memory, and the main mark is extracted from the second frame memory in an axial direction perpendicular to the specific axis direction. The position of the main mark in the captured image data is determined by extracting the pattern array according to It is characterized in that the article identification display section is detected by
この発明の請求項3に係る物品識別用表示部検出装置は
、物品識別用表示パターンとともに、この物品識別用表
示パターンに対して一定の位置関係で略円形または略同
心円形パターンからなるパターンの異なる2つのマーク
を物品に設けておき、前記識別用表示パターンと前記2
つのマークを含む範囲を撮像して、その画像データを第
1フレームメモリに記憶し1、二の第1フレームメモリ
より特定軸方向のパターンを抽出し第2フ1ノ−ムメモ
リに記憶し、第2フレームメモリから前記特定軸方向に
直交する軸方向に前記2つのマークによるパターン配列
を抽出することによって一2撮像した画像データ中の前
記2つのマークの位置を求め1.の2つのマークの位置
を基準にして前記物品識別用表示部を検出することを特
徴としている。The article identification display part detection device according to claim 3 of the present invention includes a display pattern for article identification as well as a different pattern consisting of substantially circular or substantially concentric circular patterns in a fixed positional relationship with respect to the display pattern for article identification. Two marks are provided on the article, the identification display pattern and the second mark.
A range including two marks is imaged, the image data is stored in the first frame memory, a pattern in a specific axis direction is extracted from the first frame memories 1 and 2, and stored in the second frame 1 norm memory. 1. Find the positions of the two marks in the captured image data by extracting the pattern arrangement of the two marks from the two-frame memory in the axis direction perpendicular to the specific axis direction; The article identification display section is detected based on the positions of the two marks.
さらにこの発明の請求項4に係る物品識別用表示部検出
方法は、物品識別用表示パターンとともに、この物品識
別用表示バタ・−ンに対して一定の位置関係で二次元方
向に配置しまた略円形または略同心円形パターンからな
る複数のマークを設けておき、
前記識別用表示パターンと前記複数のマークを含む範囲
を撮像し2て、その画像データを第1フレームメモリに
記憶し、この第1フレームメモリより特定軸方向のパタ
ーンを抽出し第2フレームメモリに記憶し、第2フレー
ムメモリから前記特定軸方向に直交する軸方向に前記複
数のマークによるパターン配列を抽出することによって
、撮像した画像データ中の前記複数のマークの位置を求
め、この複数のマークの位置を基準にして前記物品識別
用表示部を検出することを特徴としている。Furthermore, the method for detecting an article identification display part according to claim 4 of the present invention is such that the article identification display pattern and the article identification display pattern are arranged in a two-dimensional direction in a predetermined positional relationship with respect to the article identification display pattern. A plurality of marks consisting of circular or substantially concentric circular patterns are provided, an image is taken of a range including the identification display pattern and the plurality of marks, and the image data is stored in a first frame memory. An image captured by extracting a pattern in a specific axis direction from a frame memory, storing it in a second frame memory, and extracting a pattern arrangement of the plurality of marks from the second frame memory in an axial direction orthogonal to the specific axis direction. The present invention is characterized in that the positions of the plurality of marks in the data are determined, and the article identification display section is detected based on the positions of the plurality of marks.
(e)作用
この発明の物品識別用表示部検出ツノ法は、物品識別用
表示パターンとともに、この物品識別用表示パターンに
対して一定の位置関係で略円形または略同心円形バター
・ンからなるマークが物品に設(づられていて、識別用
表示パターンとともに前記マークを含む範囲が撮像され
て、画像データ中から前記マークの位置が求められる。(e) Function The horn method for detecting a display part for product identification of the present invention includes a mark consisting of a pattern of substantially circular or substantially concentric circular patterns in a fixed positional relationship with respect to the display pattern for product identification, as well as a display pattern for product identification. is attached to the article, a range including the mark is imaged together with an identification display pattern, and the position of the mark is determined from the image data.
この求められたマークの位置を基準にして物品識別用表
示部が検出される。The article identification display section is detected based on the position of this determined mark.
この発明の請求項3に係る構成例を第1図に示す。同図
においてAは識別される物品であり、その特定面に物品
識別用表示パターンIDとこの物品識別用表示パターン
ID45対して−・定の位置関係で略円形または略同心
円形バタ・〜・ンからなるパターンの異なる2つのマー
クMaおよびMbが設けられている61はこの物品識別
用表示パターンIDとともに2つのマークMa、Mbを
含む範囲を撮像するテレビカメラであり、第1フレーム
メモリ2は撮像して得られたデータを記憶する。図中3
は2つのマークMa、MbのX軸方向に現れる特有のパ
ターンを第1フレー°ムメモリ2から抽出して第2フレ
ームメモリ4に書き込む。さらに図中5では2つのマー
クMa、Mbによる特定のパターン配列を第2フレーム
メモリ4から抽出することによってその位置を2つのマ
ークMa、Mbの位置デ・−夕として求める。A configuration example according to claim 3 of the present invention is shown in FIG. In the same figure, A is an article to be identified, and on its specific surface there is an article identification display pattern ID and, with respect to this article identification display pattern ID45, a substantially circular or substantially concentric circular pattern with a fixed positional relationship. A television camera 61 is provided with two marks Ma and Mb having different patterns, and a television camera 61 captures an image of an area including the two marks Ma and Mb together with the product identification display pattern ID. and store the data obtained. 3 in the diagram
extracts a unique pattern appearing in the X-axis direction of the two marks Ma and Mb from the first frame memory 2 and writes it into the second frame memory 4. Furthermore, at 5 in the figure, a specific pattern arrangement of the two marks Ma and Mb is extracted from the second frame memory 4, and its position is determined as the position data of the two marks Ma and Mb.
2つマークは円形または同心円形パターンからなり、互
いに異なるため、撮像方向に無関係にそれぞれ独立して
容易に検出することができる。そしてこの2つのマーク
Ma、Mbは物品識別用表示パターンIDと一定の位置
関係にあるため、マークMa、Mbの画面内の位置が求
められたことにより、第1フレームメモリ2に読み込ま
れた画像データにおける物品識別用表示パターンIDの
位置と方向を2つのマークMa、Mbの位置関係によっ
て、また大きさを2つのマークMa、Mb間の距離によ
って求めることができる。The two marks consist of circular or concentric circular patterns and are different from each other, so that they can be easily detected independently regardless of the imaging direction. Since these two marks Ma and Mb are in a fixed positional relationship with the product identification display pattern ID, the image read into the first frame memory 2 is obtained by determining the positions of the marks Ma and Mb on the screen. The position and direction of the article identification display pattern ID in the data can be determined by the positional relationship between the two marks Ma and Mb, and the size can be determined by the distance between the two marks Ma and Mb.
請求項1に係る方法では、少なくとも一つのマークの位
置が上述と同様にして求められ、そのマーク位置を基準
にして物品識別用表示部が検出される。In the method according to the first aspect, the position of at least one mark is determined in the same manner as described above, and the article identification display section is detected based on the position of the mark.
請求項2に係る方法では、略円形または略同心円形パタ
ーンからなる主マークの位置が上述と同様にして求めら
れ、この主マークの位置と別に求められた副マークの位
置とを基準にして物品識別用表示部が検出される。In the method according to claim 2, the position of the main mark consisting of a substantially circular or substantially concentric circular pattern is determined in the same manner as described above, and the position of the main mark and the separately determined position of the sub-mark are used as a reference to determine the position of the article. The identification display section is detected.
請求項4に係る方法では、二次元方向に配置された複数
のマーク位置が上述と同様にして求められ、各マークの
位置関係から物品識別用表示部の位置、方向および傾き
が求められる。In the method according to claim 4, the positions of a plurality of marks arranged in a two-dimensional direction are determined in the same manner as described above, and the position, direction, and inclination of the article identification display section are determined from the positional relationship of each mark.
(f)実施例
この発明の物品識別用表示部検出方法を物品自動振り分
は装置に適用した例を第2図に示す。(f) Embodiment FIG. 2 shows an example in which the article identification display detection method of the present invention is applied to an automatic article sorting device.
第2図において上部はベルトコンベア103」二に複数
の物品At、A2.A3が載置されて切込されている状
態を示す上面図、下部はその正面図および物品自動振り
分り装置の制御部のブロック図である。図に示すように
ベルl−コンベア103上部の一定位置にテレビカメラ
1が設置されていて、搬送されてくる物品の上面画像を
順次撮像する。画像処理装置100はテレビカメラ1の
映像信号を処理することによって画面内の2つの7・・
−クの位置を求める。ホストコンピュータ101は画像
処理装置100から前記2・つのマークの位置データを
受は取るとともに、撮像して得られた画像データから物
品識別用表示パターンを認識して、その識別用表示に応
じて物品を振り分けるために周辺制御装置102へ制御
信号を出力する。また、物品識別用表示パターンに汚れ
等があって、認識できなかった場合にはベルトコンベア
を停止させるとともに、アラームを鳴らせる。その場合
には、係員が表示パターンを読み取ってキーボード10
4から直接行き先コード番号を入力することができる。In FIG. 2, the upper part is a belt conveyor 103, which carries a plurality of articles At, A2. A top view showing a state in which A3 is placed and cut, the lower part is a front view thereof, and a block diagram of a control unit of the automatic article sorting device. As shown in the figure, a television camera 1 is installed at a fixed position above the bell l-conveyor 103, and sequentially captures images of the top surfaces of the articles being conveyed. The image processing device 100 processes the video signal of the television camera 1 to create two 7...
− Find the position of the mark. The host computer 101 receives the position data of the two marks from the image processing device 100, recognizes the article identification display pattern from the image data obtained by imaging, and identifies the article according to the identification display. A control signal is output to the peripheral control device 102 in order to distribute the information. Further, if the display pattern for identifying the article is dirty and cannot be recognized, the belt conveyor is stopped and an alarm is sounded. In that case, the staff member reads the display pattern and presses the keyboard 10.
You can directly input the destination code number from 4.
次に前記画像処理装置100の構成について説明する。Next, the configuration of the image processing device 100 will be explained.
第3図は画像処理装置100のブロック図、第4図およ
び第5図はそのブロック図の一部を詳細に表した図であ
る。FIG. 3 is a block diagram of the image processing apparatus 100, and FIGS. 4 and 5 are diagrams showing a part of the block diagram in detail.
第3図においてテレビカメラ1は第2図に示したように
ベルトコンベアの上部一定位置に固定されていて、一定
の画角を撮像する6A/Dコンバータ10はテレビカメ
ラ1から出力される映像信号を例えば1画素3bitか
らなる1画面分の画像データを作成して第1フレームメ
モリ2へ書き込む。2値化回路11は第1フレームメモ
リ2から順次出力される3bitのデータを所定のしき
い値で2値化して1画素1bitのデータとして第1シ
フトレジスタ12へ出力する。なお、画像データの微分
値を2値化するようにしてもよい。In FIG. 3, the television camera 1 is fixed at a fixed position above the belt conveyor as shown in FIG. For example, one screen worth of image data consisting of one pixel and three bits is created and written into the first frame memory 2. The binarization circuit 11 binarizes 3-bit data sequentially output from the first frame memory 2 using a predetermined threshold value and outputs the binarized data to the first shift register 12 as 1-bit data per pixel. Note that the differential value of the image data may be binarized.
図中14はクロック信号を発生ずるクロックジェネレー
タであり、アドレスカウンタ15はクロック信号によっ
て第1フレームメモリ2の読み出しアドレスを順次更新
する。この読み出し方向をX軸方向とすれば、第1シフ
トレジスタ12には画像データのX軸方向の特定bit
数の内容が読み出されることになる。なお、アドレスカ
ウンタ15が第1フレームメモリ2の読み出しアドレス
を選択する毎に第1シフトレジスダ12にシフトパルス
(不図示)が与えられ、図中右側から溢れたデータは失
われる。In the figure, 14 is a clock generator that generates a clock signal, and the address counter 15 sequentially updates the read address of the first frame memory 2 using the clock signal. If this reading direction is the X-axis direction, the first shift register 12 stores a specific bit of the image data in the X-axis direction.
The contents of the number will be read. Note that each time the address counter 15 selects a read address of the first frame memory 2, a shift pulse (not shown) is applied to the first shift register 12, and data overflowing from the right side in the figure is lost.
図中13はP A L (Programmable
Array Logic)からなる論理ゲート回路であ
り、後述するように第1シフトレジスタ12の内容が2
つのマークによる特定のパターンになったとき、そのパ
ターンを表すデータを出力して第2フレームメモリ4へ
書き込む。第2フレームメモリ4は第1フレームメモリ
2と同様にアドレスカウンタ15によって第1フレーム
メモリ2の読み出しアドレスと同一アドレスが書込アド
レスとして選択される。このようにして第2フレームメ
モリ4に第1フレームメモリ2のX軸方向の特定パター
ンを表すデータが求められる。13 in the figure is PAL (Programmable
This is a logic gate circuit consisting of an array logic (Array Logic), and the contents of the first shift register 12 are
When a specific pattern of two marks is obtained, data representing that pattern is output and written into the second frame memory 4. In the second frame memory 4, the same address as the read address of the first frame memory 2 is selected as a write address by the address counter 15, similarly to the first frame memory 2. In this way, data representing a specific pattern in the X-axis direction of the first frame memory 2 is obtained in the second frame memory 4.
その後、アドレスカウンタ18が第2フレームメモリ4
の続出アドレスを順次選択し、第2フレームメモリ4の
内容を第2シフトレジスタ16へ順次出力する。このと
きアドレスカウンタ18は第2フレームメモリ4からY
軸方向の内容が読み出されるようにアドレス選択を行う
。従って第2シフトレジスタ16には第2フレームメモ
リ4内に書き込まれているX軸方向の特定パターンを表
すデータをY軸方向に配列したパターンが得られる。Thereafter, the address counter 18 is set to the second frame memory 4.
The contents of the second frame memory 4 are sequentially output to the second shift register 16. At this time, the address counter 18 reads Y from the second frame memory 4.
Address selection is performed so that the contents in the axial direction are read. Therefore, a pattern is obtained in the second shift register 16 in which data representing a specific pattern in the X-axis direction written in the second frame memory 4 is arranged in the Y-axis direction.
図中17は前記13と同様にPAT、からなる論理ゲー
ト回路であり、第2シフトレジスタ16の内容が略円形
または略同心円形パターンからなるマークによる特定の
パターン配列となったとき、マークに応じて信号3a、
3bを出力する。Saが出力されたときラッチ回路19
はその時のアドレスカウンタ18の内容をラッチし、s
bが出力されたときにはラッチ回路20がその時のアド
レスカウンタ18の内容をラッチする。このように2つ
のマークの位置を第1フレームメモリのアドレスデータ
(−第2フレームメモリのアドレスデータ)として求め
、これをホストコンピュータJ01 (第2図参照)へ
出力する。In the figure, 17 is a logic gate circuit consisting of a PAT, similar to 13 above, and when the contents of the second shift register 16 become a specific pattern arrangement based on marks consisting of a substantially circular or substantially concentric circular pattern, signal 3a,
Outputs 3b. When Sa is output, the latch circuit 19
latches the contents of address counter 18 at that time, and s
When b is output, the latch circuit 20 latches the contents of the address counter 18 at that time. In this way, the positions of the two marks are determined as address data of the first frame memory (-address data of the second frame memory), and this is output to the host computer J01 (see FIG. 2).
以上のように、略円形または略同心円形パターンからな
るマークの位置の検出はリアルタイムで行われる。従っ
て予め定めたマーク位置の検出タイミング毎に第1フレ
ームメモリ2の画像データが撮像画像データにリフレッ
シュされる。2つのマークの位置が検出されたなら、第
1フレームメモリのリフレッシュが停止されて、2つの
マーク位置データがホストコンピュータに出力される。As described above, detection of the position of a mark made of a substantially circular or substantially concentric circular pattern is performed in real time. Therefore, the image data in the first frame memory 2 is refreshed to captured image data at each predetermined mark position detection timing. Once the positions of the two marks have been detected, refreshing of the first frame memory is stopped and the two mark position data are output to the host computer.
これにより、ホストコンピュータは2つのマーク位置デ
ータを基にして第1フレームメモリから物品識別用パタ
ーンを読み出し、認識する。Thereby, the host computer reads and recognizes the article identification pattern from the first frame memory based on the two mark position data.
このようにマークの検出と物品の識別用表示パターンの
判読は別モードで行われる。In this way, detection of the mark and reading of the identification display pattern of the article are performed in different modes.
次に第3図に示した各部の具体的構成と動作について説
明する。Next, the specific configuration and operation of each part shown in FIG. 3 will be explained.
第7図は第3図示した第1シフトレジスタ12からPA
L17までの信号処理の例を概略的に示している。第7
図においてXは第1フレームメモリ内に書き込まれるマ
ークMaのパターンと、これがX軸方向に読み出されて
第1シフHzジスタにセットされたときの、3その第1
シフトレジスタの内容を示している。また、Dは第1シ
フトレジスタの内容がXに示す内容となったときにPA
L13から出力される3bitのデータをそれぞれ示し
ている。例えば第1シフ1−レジスタの内容が0000
01111111100000であるとき、PAL 1
3から00000001が出力され1.第1シフトレジ
スタの内容が000111111111111000の
とき、PAL 13から0oooooioが出力される
。このように第1フレームメモリの内容をX軸方向に読
み出し、第1シフトレジスタに連続的に入力することに
よって、第1フレームメモリに書き込まれているマーク
Maの書き込みアドレスと同一の第2フ1/−ムメモリ
のアドレスに第7図中りで示すデータが書き込まれる。FIG. 7 shows the PA from the first shift register 12 shown in FIG.
An example of signal processing up to L17 is schematically shown. 7th
In the figure, X indicates the pattern of marks Ma written in the first frame memory, and when this is read out in the X-axis direction and set in the first shift Hz register,
Shows the contents of the shift register. In addition, D is PA when the contents of the first shift register become the contents shown in X.
Each shows 3-bit data output from L13. For example, the content of the first shift 1 register is 0000.
When 01111111100000, PAL 1
00000001 is output from 3 and 1. When the content of the first shift register is 000111111111111000, the PAL 13 outputs 0ooooioio. By reading the contents of the first frame memory in the X-axis direction and inputting them continuously to the first shift register in this way, the second frame memory is read out in the X-axis direction, and the second frame memory is read out in the X-axis direction and inputted continuously to the first shift register. /- The data shown in FIG. 7 is written to the address of the memory.
第2フレームメモリに書き込まれたデータはY軸方向に
順次読み出され、所定1) i を数を有する8本の第
2シフトレジスタ16に順次入力される。PAL17は
第2シフトレジスタ16の内容がマークMaによる特定
のパターン配列となったときマーク検出信号Saを出力
する。The data written in the second frame memory is sequentially read out in the Y-axis direction and sequentially input into eight second shift registers 16 having a predetermined number 1) i. The PAL 17 outputs a mark detection signal Sa when the contents of the second shift register 16 become a specific pattern arrangement of marks Ma.
第4図は第3図に示した第1シフトレジスタ12とPA
L13の具体例を示す図である。同図において上部は第
1フレームメモリ2内に書き込まれているMaのパター
ンと、これがX軸方向に読み出されて第1シフトレジス
タ12にセットされる内容の例を示している。また同図
の下部は第1シフトレジスタ12とその出力に接続され
ているPAL13の構成を示している。Figure 4 shows the first shift register 12 and PA shown in Figure 3.
It is a figure which shows the specific example of L13. The upper part of the figure shows an example of the Ma pattern written in the first frame memory 2 and the contents read out in the X-axis direction and set in the first shift register 12. The lower part of the figure shows the configuration of the first shift register 12 and the PAL 13 connected to its output.
図示のとおり第1シフトレジスタ12の各bit出力に
はそれぞれ入力ゲー1− Aが接続され、各bit毎に
反転信号と非反転信号を得ている。この信号ラインに7
トリツクス状に交差する信号ラインとして例えばLi、
Lk、Loが設けられていて、マトリックスの交差点の
接続有無によって各ライン最大28人力のANDゲート
を構成している。図中・は7トリソクスの交差点を表し
、この例ではマークMaの中心部の行Xiのパターンが
シフトレジスタ12にセットされたときラインLiの出
力が1になり、Xk行のパターンがシフトレジスタ】、
2にセットされたときラインLkの出力が1になり、さ
らに行XOのパターンがシフトレジスタ12にセットさ
れたときラインL oの出力が1になるように各AND
ゲート・の入力が選択されている。ただし、第1フレー
ムメモリに書き込まれるマークの大きさは一定ではない
ため、ある範囲内で同一のANDゲート出力が得られる
ように各ANDゲート入力の黒領域と白N域に幅を持た
せている。(図中拳印の無いシフトレジスタ12のbi
tをANDゲートの入力としていない、)また、さらに
大きさの異なるマークに対応する場合には、その大きさ
に応じた特定パターンを抽出するために数種類の他のA
NDゲート回路(不図示)をマトリックスによって予め
構成しておけばよい。As shown in the figure, an input gate 1-A is connected to each bit output of the first shift register 12, and an inverted signal and a non-inverted signal are obtained for each bit. 7 on this signal line
For example, Li,
Lk and Lo are provided, and each line forms an AND gate with a maximum of 28 people depending on whether or not the matrix intersections are connected. In the figure, * represents the intersection of 7 trisox; in this example, when the pattern in the row Xi at the center of the mark Ma is set in the shift register 12, the output of the line Li becomes 1, and the pattern in the Xk row is the shift register] ,
When set to 2, the output of line Lk becomes 1, and when the pattern of row XO is set to the shift register 12, the output of line Lo becomes 1.
Gate input is selected. However, since the size of the mark written to the first frame memory is not constant, the black area and white N area of each AND gate input must have a width so that the same AND gate output can be obtained within a certain range. There is. (bi of shift register 12 without a fist in the figure)
In addition, when dealing with marks of different sizes, several other types of A are used to extract a specific pattern according to the size.
The ND gate circuit (not shown) may be configured in advance by a matrix.
このようにして構成された複数のANDゲートの出力状
態が3bitのデータとして出力され、これが第3図に
示した第2フレームメモリ4に書き込まれる。The output states of the plurality of AND gates configured in this way are output as 3-bit data, and this is written into the second frame memory 4 shown in FIG. 3.
第6図は第2フレームメモリ4に書き込まれた2つのパ
ターン配列を第1フレームメモリに書き込まれている2
つのマークのパターンと重ねて表している。この例では
各マークがX軸方向の8行分についてコード化された例
を示しでいる。なお、正確には第2フレームメモリ4に
書き込まれるパターンの書込アドレスは第1フレームメ
モリに書き込まれているマークパターンのアドレスとは
、ずれた(X方向にオフセットのかかった)位置に書き
込まれるが、ここではマークとの対応関係を明らかにす
るためにマークの中央にパターンを表すコードを重ねて
表している。FIG. 6 shows two pattern arrays written in the second frame memory 4 and two pattern arrays written in the first frame memory 4.
It is shown overlapping the two mark patterns. This example shows an example in which each mark is coded for eight lines in the X-axis direction. To be precise, the write address of the pattern written in the second frame memory 4 is written at a position that is shifted (offset in the X direction) from the address of the mark pattern written in the first frame memory. However, here, in order to clarify the correspondence with the mark, the code representing the pattern is superimposed on the center of the mark.
第5図は第3図に示した第2シフトレジスタ16とPA
L 17の構成を示している。第5図において第2シフ
トレジスタ16は各々数十ビットからなる8本のシフト
レジスタであり、第2フレームメモリより出力されるD
O〜D7の8ビツトデークをビット毎に入力する。PA
L17において縦線は各シフトレジスタの所定ビットの
出力ライン、横線は各出力ラインとのマトリックスによ
ってANDゲートを構成するANDゲー[・の入力ライ
ンを示している。複数のANDゲート出力はORaによ
り論理和されて信号Saを出力し、またORbにより論
理和されて信号sbを出力する。FIG. 5 shows the second shift register 16 and PA shown in FIG.
The configuration of L 17 is shown. In FIG. 5, the second shift register 16 is eight shift registers each consisting of several tens of bits, and the D
Input the 8-bit data from O to D7 bit by bit. P.A.
In L17, vertical lines indicate output lines of predetermined bits of each shift register, and horizontal lines indicate input lines of an AND gate which constitutes an AND gate by a matrix with each output line. The outputs of the plurality of AND gates are logically summed by ORa to output a signal Sa, and are logically summed by ORb to output a signal sb.
いま、例えばシフトレジスタ16に第6図に示したマー
クMaのコ・−ドパターン配列CO,C2C5,C4,
C5,C5,C4,C3,C2゜COがセットされたと
きシフトレジスタ16の出力ラインとたとえばラインL
aとのマトリックスからなるANDゲート出力が1とな
り、信号Saが1になる。このようなコードパターン配
列は第1フレームメモリに書き込まれたマークの大きさ
やX軸方向の読み出し位置によって異なるので、これら
のコードの配列を予め複数種定めておき、その何れかに
一致したとき、マークMaによるコードパターン配列で
あれば信号Saが1になり、マークMbによるコードパ
ターン配列であれば信号sbが1になるようにA、 N
Dゲートを構成するマトリックスの交差点の接続状態
を定めている。Now, for example, the code pattern array CO, C2C5, C4, of the mark Ma shown in FIG. 6 is stored in the shift register 16.
C5, C5, C4, C3, C2° When CO is set, the output line of the shift register 16 and, for example, line L
The output of an AND gate consisting of a matrix with a becomes 1, and the signal Sa becomes 1. Since such a code pattern arrangement differs depending on the size of the mark written in the first frame memory and the read position in the X-axis direction, multiple types of these code arrangement are determined in advance, and when a match is made with any of them, A, N so that if the code pattern arrangement is based on marks Ma, the signal Sa will be 1, and if the code pattern arrangement is based on marks Mb, the signal sb will be 1.
The connection state of the intersections of the matrix that constitutes the D gate is determined.
以上のようにして第2図に示した画像処理装置100が
第1フレームメモリに書き込んだ画像データにおける2
つのマーク位置を第1フレームのアドレスとして求め、
これをホスト・コンピュータ101へ出力する。ただし
この第1フレームメモリ2に書き込まれているマークパ
ターンの中心アドレスと第2フレームメモリ4に書き込
まれた′コードパター・・ン配列の中心アドレスにはX
軸方向に一定のオフセットがあり、また論理ゲート回路
17から信号Sa、Sbが出力されるときのアドレスカ
ウンタ18の内容は第2フレームメモリ4内のコードパ
ターン配列の中心アドレスからY軸方向に一定のオフセ
ットが存在する。したがってホストコンピュータ101
はこのオフセット分を補正して画像処理装置100内の
第1フj/−ムメモリから認識すべき物品識別用表示パ
ターンの画像データを読み出し認識を行・う。その際、
2′・つのマークの位置関係から物品識別用表示パター
ンの方向を正規化し、2つのマークの画面内の距離から
物品識別用表示パターンの大きさを正規化する。2 in the image data written to the first frame memory by the image processing apparatus 100 shown in FIG.
Find the position of the two marks as the address of the first frame,
This is output to the host computer 101. However, the center address of the mark pattern written in the first frame memory 2 and the center address of the code pattern array written in the second frame memory 4 are
There is a constant offset in the axial direction, and the contents of the address counter 18 when the signals Sa and Sb are output from the logic gate circuit 17 are constant in the Y-axis direction from the center address of the code pattern array in the second frame memory 4. There is an offset of Therefore, host computer 101
After correcting this offset, the image data of the display pattern for article identification to be recognized is read out from the first frame memory in the image processing apparatus 100 and recognized. that time,
The direction of the article identification display pattern is normalized from the positional relationship of the two marks, and the size of the article identification display pattern is normalized from the distance between the two marks in the screen.
なお、実施例では2つのマ・・−り間に物品識別用表示
パターンを配置した例であ−7だが、その他に例えば第
8図に示すように2゛つの7−りを物品識別用表示パタ
ーンとともに2行に分離し7て配置することもできる。In this example, the article identification display pattern is placed between two mar... 7, but in addition, for example, as shown in FIG. It is also possible to separate them into two rows and arrange them together with the pattern.
また、この発明は物品識別用表示部の位置を検出するだ
めの基準となるマークは2つに限らない、、単〜のマー
クを設けた場合には1、そのφ、−のマークから予め定
めた距離だり隔てた箇所から物品識別用表示パターンを
抽出することができる。その際、例えば第9図示すよう
に略円形または略同心円形バター・ンからなるマークM
を主マークとし、この主マークMに対して一定の位置関
係に副マークMsを設けておけば11、主マー・りMと
副マークMsの位置を基準にして物品識別用表示部を検
出することができる。In addition, the present invention is not limited to two marks that serve as a reference for detecting the position of the product identification display section.If a single mark is provided, it is determined in advance from 1, its φ, and - marks. It is possible to extract display patterns for article identification from locations separated by a certain distance. At that time, for example, as shown in FIG.
If the main mark is set as the main mark and the sub mark Ms is provided in a fixed positional relationship with respect to the main mark M, then the article identification display part can be detected based on the positions of the main mark M and the sub mark Ms. be able to.
なお、実施例ではテレビカメラIに対して平行な位置に
物品識別用表示パターンが配置されている例であ6.だ
が、例えば物品識別用表示パターンの付され“rいる面
が・ノ・レビカメうの光軸に対して傾斜し、ている場合
には、2つのマークの大きさの比などから物品識別用表
示パターンの傾斜角をも検出し2.これを正規化するこ
とによって文字・図形認識の精度を高めることもできる
。In this embodiment, the article identification display pattern is arranged in a position parallel to the television camera I.6. However, for example, if the surface on which the product identification display pattern is attached is tilted with respect to the optical axis of the camera, the product identification display pattern may be The accuracy of character/figure recognition can also be improved by also detecting the inclination angle of the pattern and normalizing it.
例えば第10図Gこ示ずように2.2つのマークM1、
MaはX軸方向に配置し、マークMl、 M2をY軸方
向に配置t、/ておき、3つのマークMl。For example, as shown in Figure 10G, 2.2 marks M1,
Ma is placed in the X-axis direction, marks Ml and M2 are placed in the Y-axis direction, and three marks Ml are placed.
M2.Maの位置から物品の傾斜による物品識別用表示
パターンのひずみを補正することができる。すなわち、
物品が傾斜することによって画像にひずみが生じるが、
xi−xiとX2−X2の平行関係並びにyi−yiに
対するY2−Y2およびY3−Y3の平行関係および各
平行線の間隔比は一定であるため、これらの関係から物
品識別用表示パターンである各数字の中心座椋等を求め
ることができる。M2. From the position Ma, it is possible to correct the distortion of the display pattern for product identification due to the inclination of the product. That is,
Image distortion occurs when the item is tilted, but
Since the parallel relationship between xi-xi and X2-X2, the parallel relationship between Y2-Y2 and Y3-Y3 with respect to yi-yi, and the interval ratio of each parallel line are constant, from these relationships each You can find the center of a number.
(幻発明の効果
以上のようにこの発明によれば、撮像した画面内に含ま
れる物品識別用表示パターンの位置および方向等を短時
間に検出rることができるため、撮像用のテレビカメラ
などに対する物品識別用表示バタ・−ンの位置関係が統
一されていない場合でも画像データから物品識別用表示
パターンの画像データを短時間に抽出して認識する、−
とができる(Effects of the Phantom Invention As described above, according to the present invention, the position and direction of the item identification display pattern included in the imaged screen can be detected in a short time. Even if the positional relationship of the product identification display pattern to the product identification display pattern is not unified, the image data of the product identification display pattern can be extracted and recognized from the image data in a short time.
can be done
第1図はこの発明の構成例を示すブロック図である。第
2図はこの発明の実施例である物品の自動振り分は装置
の構成を示す図である。第3図は第2図における画像処
理袋2100のブロック図、第4回および第5図は第3
図の一部の構成を示す図である。第6図は第1フレーム
メモリと第2フレームメモリの記憶例を示す図である。
第7図は前記画像処理装置内の信3処理の共像例を示す
概略図eある。第8図−第10図は他の実施例に係る?
−りの例を示す図である。
1−テ1./ビカメラ、
13.17−論理ゲート回路(PAL)、A1.A2.
A3−物品、
ID−物品識別用表示バタ・−ン、
M、Ma、Mb−マーク。FIG. 1 is a block diagram showing an example of the configuration of the present invention. FIG. 2 is a diagram showing the configuration of an automatic article sorting device according to an embodiment of the present invention. FIG. 3 is a block diagram of the image processing bag 2100 in FIG.
FIG. 2 is a diagram showing the configuration of a part of the diagram. FIG. 6 is a diagram showing a storage example of the first frame memory and the second frame memory. FIG. 7 is a schematic diagram showing an example of co-image processing of signal 3 in the image processing apparatus. Do Figures 8 to 10 relate to other embodiments?
- is a diagram showing an example. 1-Te1. /Vicamera, 13.17-Logic gate circuit (PAL), A1. A2.
A3-article, ID-item identification display baton, M, Ma, Mb-mark.
Claims (4)
用表示パターンに対して一定の位置関係で略円形または
略同心円形パターンからなるマークを物品に設けておき
、 前記識別用表示パターンと前記マークを含む範囲を撮像
して、その画像データを第1フレームメモリに記憶し、
この第1フレームメモリより特定軸方向のパターンを抽
出し第2フレームメモリに記憶し、第2フレームメモリ
から前記特定軸方向に直交する軸方向に前記マークによ
るパターン配列を抽出することによって、撮像した画像
データ中の前記マークの位置を求め、このマーク位置を
基準にして前記物品識別用表示部を検出することを特徴
とする物品識別用表示部検出方法。(1) Along with the product identification display pattern, a mark consisting of a substantially circular or substantially concentric circular pattern is provided on the product in a fixed positional relationship with respect to the product identification display pattern, and the identification display pattern and the mark are provided on the product. capturing an image of the included range and storing the image data in a first frame memory;
The image was captured by extracting a pattern in a specific axis direction from this first frame memory and storing it in a second frame memory, and extracting a pattern arrangement of the marks from the second frame memory in an axial direction perpendicular to the specific axis direction. A method for detecting an article identification display section, characterized in that the position of the mark in image data is determined, and the article identification display section is detected based on the mark position.
用表示パターンに対して一定の位置関係で略円形または
略同心円形パターンからなる少なくとも一つの主マーク
と、この主マークに対して一定の位置関係にある副マー
クを物品に設けておき前記識別用表示パターンと前記主
マークおよび副マークを含む範囲を撮像して、その画像
データを第1フレームメモリに記憶し、この第1フレー
ムメモリより特定軸方向のパターンを抽出し第2フレー
ムメモリに記憶し、第2フレームメモリから前記特定軸
方向に直交する軸方向に前記主マークによるパターン配
列を抽出することによって、撮像した画像データ中の前
記主マークの位置を求め、この主マーク位置を基準にし
て画像データ中の副マークの位置を求め、主マークと副
マークの位置を基準にして前記物品識別用表示部を検出
することを特徴とする物品識別用表示部検出方法。(2) together with the product identification display pattern, at least one main mark consisting of a substantially circular or substantially concentric circular pattern in a fixed positional relationship with respect to the product identification display pattern; and with a fixed positional relationship with respect to the main mark; A sub mark located on the article is provided on the article, an image is taken of a range including the identification display pattern, the main mark and the sub mark, and the image data is stored in a first frame memory. The main mark in the captured image data is extracted by extracting a direction pattern and storing it in a second frame memory, and extracting a pattern arrangement of the main marks in an axial direction perpendicular to the specific axis direction from the second frame memory. , the position of the sub mark in the image data is determined based on the main mark position, and the article identification display section is detected based on the positions of the main mark and the sub mark. Identification display detection method.
用表示パターンに対して一定の位置関係で略円形または
略同心円形パターンからなるパターンの異なる2つのマ
ークを物品に設けておき、前記識別用表示パターンと前
記2つのマークを含む範囲を撮像して、その画像データ
を第1フレームメモリに記憶し、この第1フレームメモ
リより特定軸方向のパターンを抽出し第2フレームメモ
リに記憶し、第2フレームメモリから前記特定軸方向に
直交する軸方向に前記2つのマークによるパターン配列
を抽出することによって、撮像した画像データ中の前記
2つのマークの位置を求め、この2つのマークの位置を
基準にして前記物品識別用表示部を検出することを特徴
とする物品識別用表示部検出方法。(3) Along with the product identification display pattern, two marks with different patterns consisting of substantially circular or substantially concentric circular patterns are provided on the product in a fixed positional relationship with respect to the product identification display pattern, and the identification display pattern is A range including the pattern and the two marks is imaged, the image data is stored in a first frame memory, a pattern in a specific axis direction is extracted from the first frame memory and stored in a second frame memory, and the image data is stored in a first frame memory. By extracting the pattern arrangement of the two marks from the frame memory in the axial direction perpendicular to the specific axis direction, the positions of the two marks in the captured image data are determined, and the positions of the two marks are used as a reference. 1. A method for detecting an article identification display section, characterized in that the article identification display section is detected by using the following method.
用表示パターンに対して一定の位置関係で二次元方向に
配置した略円形または略同心円形パターンからなる複数
のマークを設けておき、前記識別用表示パターンと前記
複数のマークを含む範囲を撮像して、その画像データを
第1フレームメモリに記憶し、この第1フレームメモリ
より特定軸方向のパターンを抽出し第2フレームメモリ
に記憶し、第2フレームメモリから前記特定軸方向に直
交する軸方向に前記複数のマークによるパターン配列を
抽出することによって、撮像した画像データ中の前記複
数のマークの位置を求め、この複数のマークの位置を基
準にして前記物品識別用表示部を検出することを特徴と
する物品識別用表示部検出方法。(4) Along with the product identification display pattern, a plurality of marks consisting of substantially circular or substantially concentric circular patterns are provided in a two-dimensional direction in a fixed positional relationship with respect to the product identification display pattern, and A range including the display pattern and the plurality of marks is imaged, the image data is stored in a first frame memory, a pattern in a specific axis direction is extracted from the first frame memory and stored in a second frame memory, and the image data is stored in a first frame memory. The positions of the plurality of marks in the captured image data are determined by extracting the pattern arrangement of the plurality of marks in the axial direction orthogonal to the specific axis direction from the two-frame memory, and the positions of the plurality of marks are used as a reference. A method for detecting an article identification display section, characterized in that the article identification display section is detected by using the following steps.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1073029A JPH02224083A (en) | 1988-11-30 | 1989-03-23 | Method for detecting display part for article discrimination |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30497888 | 1988-11-30 | ||
| JP63-304978 | 1988-11-30 | ||
| JP1073029A JPH02224083A (en) | 1988-11-30 | 1989-03-23 | Method for detecting display part for article discrimination |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02224083A true JPH02224083A (en) | 1990-09-06 |
Family
ID=26414166
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1073029A Pending JPH02224083A (en) | 1988-11-30 | 1989-03-23 | Method for detecting display part for article discrimination |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02224083A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4970533A (en) * | 1972-08-07 | 1974-07-08 | ||
| JPS57203188A (en) * | 1981-06-09 | 1982-12-13 | Nissan Motor Co Ltd | Information display medium for optical information reader |
-
1989
- 1989-03-23 JP JP1073029A patent/JPH02224083A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4970533A (en) * | 1972-08-07 | 1974-07-08 | ||
| JPS57203188A (en) * | 1981-06-09 | 1982-12-13 | Nissan Motor Co Ltd | Information display medium for optical information reader |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2217458C (en) | Method for locating the position and orientation of a fiduciary mark | |
| US4776464A (en) | Automated article handling system and process | |
| US4785290A (en) | Non-counterfeitable document system | |
| US3553437A (en) | Optical label reading system and apparatus | |
| EP0820618A1 (en) | Two-camera system for locating and storing indicia on conveyed items | |
| JPS60222980A (en) | Apparatus and method of automatically inspecting print label | |
| US7545972B2 (en) | Test tube type discrimination apparatus | |
| JPS62214481A (en) | Image quality judgment device | |
| US4797940A (en) | Optical character reader | |
| US3800282A (en) | Code reading system | |
| JPS62126487A (en) | Edge detecting circuit for binary image | |
| EP0076332B1 (en) | Optical character reader with pre-scanner | |
| JPS62131391A (en) | Wiring pattern inspection method and device | |
| JPS61153507A (en) | Three-dimensional shape recognizing device | |
| JP2722434B2 (en) | Optical character reader | |
| JP2514663B2 (en) | Optical character reader | |
| EP0140527B1 (en) | Document reading system | |
| JPS6352272A (en) | Pattern discrimination device | |
| JP2881762B2 (en) | Optical character reading device | |
| JP2893412B2 (en) | IC package inspection system | |
| JPS5952472B2 (en) | Part identification method | |
| JPH0290371A (en) | Pattern inspection method | |
| JP2925300B2 (en) | Optical character reader | |
| JPH0199174A (en) | Shape recognizing device | |
| HK40109794A (en) | System for detecting number of game token money |