JPH08297092A - Method and apparatus for image recognition - Google Patents

Method and apparatus for image recognition

Info

Publication number
JPH08297092A
JPH08297092A JP7102757A JP10275795A JPH08297092A JP H08297092 A JPH08297092 A JP H08297092A JP 7102757 A JP7102757 A JP 7102757A JP 10275795 A JP10275795 A JP 10275795A JP H08297092 A JPH08297092 A JP H08297092A
Authority
JP
Japan
Prior art keywords
image
dimensional
dimensional image
recognition
line sensor
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
Application number
JP7102757A
Other languages
Japanese (ja)
Inventor
Kenji Morimoto
健次 森本
Kazuo Nagae
和男 長江
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7102757A priority Critical patent/JPH08297092A/en
Publication of JPH08297092A publication Critical patent/JPH08297092A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To obtain an apparatus whose constitution is compact and by which an object to be recognized is recognized in a short recognition time and with a high accuracy even when the object is large. CONSTITUTION: The apparatus is provided with a one-dimensional line sensor camera 1 as the one-dimensional image input part, a θ-rotation motor 2 as the drive part used to turn the camera, an encoder 3 which generates the signal of its angle of rotation and an image processing part 4 which fetches a one- dimensional image from the one-dimensional line sensor camera 1 in synchronization with the signal from the encoder 3 and which forms a two-dimensional image.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、組立工程等において物
体を認識する場合等に好適に利用できる認識方法及びそ
の装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recognition method and apparatus which can be suitably used when an object is recognized in an assembly process or the like.

【0002】[0002]

【従来の技術】近年、画像認識方法における画像入力手
段としては、可視光・赤外光等に反応するCCD素子を
応用したものが主流となっている。その中で、二次元C
CDを用いた方式は一般的である反面、画素が512×
480程度と少なく、大きな対象物を広角レンズを使用
して認識する広範囲の画像入力手段として用いると、1
画素当たりの画像面積が大きくなり、画像精度の低下を
招くことになる。そこで、より画素数の多い、1000
画素以上のCCDを応用した一次元ラインセンサの活用
が一般化してきている。
2. Description of the Related Art In recent years, as an image input means in an image recognition method, a device to which a CCD element which responds to visible light, infrared light or the like is applied has become mainstream. Among them, two-dimensional C
The method using a CD is general, but the pixel is 512 ×
When used as a wide range image input means for recognizing a large object as small as about 480 using a wide-angle lens, 1
The image area per pixel becomes large, and the image accuracy is degraded. Therefore, 1000 with more pixels
The utilization of one-dimensional line sensors using CCDs with more than pixels has become common.

【0003】以下、図9〜図11を参照しながら従来の
画像認識方法について説明する。図9において、21は
一次元ラインセンサカメラ、22a、22bは互いに直
交する方向に配設された直動ロボットである。23はエ
ンコーダ、24は画像処理部である。
A conventional image recognition method will be described below with reference to FIGS. 9 to 11. In FIG. 9, 21 is a one-dimensional line sensor camera, and 22a and 22b are linear motion robots arranged in directions orthogonal to each other. Reference numeral 23 is an encoder, and 24 is an image processing unit.

【0004】図10において、25は一辺が一次元ライ
ンセンサカメラ21の画像入力寸法長の2倍弱の大きさ
の認識対象物であり、この認識対象物25の画像を取り
込むため、一次元ラインセンサカメラ21が直動ロボッ
ト22a、22bにて矢印26、27、28で示すよう
な軌跡に沿って移動される。29は一次元ラインセンサ
カメラ21より取り込む一次元画像の入力範囲である。
In FIG. 10, reference numeral 25 denotes a recognition object whose one side is slightly less than twice the image input dimension length of the one-dimensional line sensor camera 21. The sensor camera 21 is moved by the linear motion robots 22a and 22b along the loci indicated by arrows 26, 27, and 28. Reference numeral 29 is an input range of a one-dimensional image captured by the one-dimensional line sensor camera 21.

【0005】図9の画像認識装置の動作について詳しく
説明すると、一次元ラインセンサカメラ21は直動ロボ
ット22aにより直線移動する。エンコーダ23は一次
元ラインセンサカメラ21が一次元ラインセンサ1画素
分移動する毎に信号を出力し、その信号に同期して画像
処理部24が一次元ラインセンサカメラ21から一次元
画像を取り込む。一次元ラインセンサカメラ21は、図
10の矢印26、27、28に示すような軌跡を通って
認識対象物25上を直線移動する。矢印26の移動にお
いて、画像処理部24はエンコーダ23からの信号に同
期して図11(a)に示すように認識対象物25の1番
目の一次元画像31を取り込む。次に直動ロボット22
aにより一次元ラインセンサカメラ21は認識対象物2
5上を移動し、画像処理部24はエンコーダ23の信号
に同期して図11(b)に示すように認識対象物25の
2番目の一次元画像32を取り込む。次に直動ロボット
22aにより一次元ラインセンサカメラ21は認識対象
物25上を移動し、画像処理部24はエンコーダ23の
信号に同期して図11(c)に示すように認識対象物2
5の3番目の一次元画像33を取り込む。以下、同様に
して矢印26に示すような軌跡を通って画像処理部24
は認識対象物25の一次元画像を一次元ラインセンサカ
メラ21から取り込む。次に、認識対象物25の残りの
画像を取り込むため、直動ロボット22bを用いて直動
ロボット22aを移動させ、矢印27に示すような軌跡
を通って一次元ラインセンサカメラ21を移動させる。
次に、矢印28の移動において画像処理部24は矢印2
6で移動した時と同様にしてエンコーダ23からの信号
に同期して認識対象物25の一次元画像を取り込んでい
く。以上のように取り込んだ一次元画像を画像処理部2
4で合成して図11(d)に示すような認識対象物の二
次元画像34を形成する。
The operation of the image recognition apparatus shown in FIG. 9 will be described in detail. The one-dimensional line sensor camera 21 is linearly moved by the linear robot 22a. The encoder 23 outputs a signal each time the one-dimensional line sensor camera 21 moves by one pixel of the one-dimensional line sensor, and the image processing unit 24 captures the one-dimensional image from the one-dimensional line sensor camera 21 in synchronization with the signal. The one-dimensional line sensor camera 21 linearly moves on the recognition target object 25 along the loci shown by arrows 26, 27, and 28 in FIG. 10. In the movement of the arrow 26, the image processing unit 24 takes in the first one-dimensional image 31 of the recognition target object 25 in synchronization with the signal from the encoder 23, as shown in FIG. Next, the linear motion robot 22
The one-dimensional line sensor camera 21 detects the object 2
5, the image processing unit 24 captures the second one-dimensional image 32 of the recognition target object 25 in synchronization with the signal of the encoder 23, as shown in FIG. Next, the linear robot 22a causes the one-dimensional line sensor camera 21 to move on the recognition target object 25, and the image processing unit 24 synchronizes with the signal of the encoder 23 and, as shown in FIG.
The third one-dimensional image 33 of 5 is captured. Thereafter, similarly, the image processing unit 24 passes through the locus indicated by the arrow 26.
Captures a one-dimensional image of the recognition object 25 from the one-dimensional line sensor camera 21. Next, in order to capture the remaining image of the recognition object 25, the linear motion robot 22b is used to move the linear motion robot 22a, and the one-dimensional line sensor camera 21 is moved along the locus shown by the arrow 27.
Next, in moving the arrow 28, the image processing unit 24 causes the arrow 2 to move.
In the same manner as when moving at 6, the one-dimensional image of the recognition object 25 is captured in synchronization with the signal from the encoder 23. The image processing unit 2 receives the one-dimensional image captured as described above.
Then, the two-dimensional image 34 of the recognition target object as shown in FIG.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
ような構成では、一次元ラインセンサカメラ21を直動
ロボット22a、22bを用いて移動させるようにして
いるため、一次元ラインセンサカメラ21の駆動部スペ
ースが大きくなって装置が大型化し、特に大きな認識対
象物25では2軸の直動ロボット22a、22bが必要
であるため、更に大型で高コストな構成となるという問
題がある。また、認識対象物25が大きい場合に、矢印
27で示すように一次元ラインセンサカメラ21を移動
するだけの画像取り込みに関係しない無駄な時間を必要
とし、認識に時間がかかるという問題がある。また、直
動ロボット22aを矢印26、28のように逆方向に動
作させるため、機械的なバックラッシュ等の誤差を含ん
でおり、画像精度の低下が生じることになる。
However, in the above configuration, since the one-dimensional line sensor camera 21 is moved by using the linear motion robots 22a and 22b, the one-dimensional line sensor camera 21 is driven. There is a problem in that the apparatus space becomes large due to a large space, and particularly the large object to be recognized 25 requires the two-axis linear motion robots 22a and 22b, resulting in a larger size and higher cost. In addition, when the recognition target object 25 is large, there is a problem that a wasteful time that is not related to image capturing, such as moving the one-dimensional line sensor camera 21, is required as shown by an arrow 27, and recognition takes time. Further, since the linear motion robot 22a is operated in the opposite direction as shown by the arrows 26 and 28, an error such as mechanical backlash is included and the image accuracy is deteriorated.

【0007】本発明は、上記従来の問題点に鑑み、コン
パクトな構成にできるとともに認識対象物が大きい場合
にも認識時間が短くて済み、かつ高精度の認識ができる
画像認識方法及びその装置を提供することを目的として
いる。
In view of the above-mentioned conventional problems, the present invention provides an image recognition method and an apparatus therefor capable of achieving a compact structure, a short recognition time even when a recognition target is large, and high-accuracy recognition. It is intended to be provided.

【0008】[0008]

【課題を解決するための手段】本発明の画像認識方法
は、一次元画像入力部を回転させて一次元画像を入力す
る工程と、一次元画像を取込んで二次元画像に形成する
工程とを備えたことを特徴とする。
The image recognition method of the present invention comprises the steps of rotating a one-dimensional image input section to input a one-dimensional image, and capturing the one-dimensional image to form a two-dimensional image. It is characterized by having.

【0009】また、本発明の画像認識装置は、一次元画
像入力部を回転させて一次元画像を入力する画像入力手
段と、画像入力手段から一次元画像を取り込んで二次元
画像に形成する画像処理手段とを備えたことを特徴とす
る。
Further, the image recognition apparatus of the present invention, the image input means for rotating the one-dimensional image input section to input the one-dimensional image, and the image for capturing the one-dimensional image from the image input means to form a two-dimensional image. And a processing means.

【0010】好適には、一次元画像入力部を回転させる
駆動部と、駆動部の回転角の信号を生成するエンコーダ
と、エンコーダからの信号に同期して一次元画像入力部
から一次元画像を取り込み二次元画像を形成する画像処
理部とを備える。また、一次元画像入力部が駆動部の回
転軸芯に対して半径方向に離間して配置されて連結手段
にて連結され、さらに連結手段が可変長とされる。
Preferably, a drive unit for rotating the one-dimensional image input unit, an encoder for generating a signal of a rotation angle of the drive unit, and a one-dimensional image from the one-dimensional image input unit in synchronization with a signal from the encoder. And an image processing unit that forms a captured two-dimensional image. Further, the one-dimensional image input unit is arranged in the radial direction with respect to the rotation axis of the drive unit and connected by the connecting unit, and the connecting unit has a variable length.

【0011】[0011]

【作用】本発明の画像認識方法及びその装置によれば、
一次元画像入力部を回転させて一次元画像を入力するの
で、一次元画像入力部の駆動部をコンパクトで簡単な構
成にでき、また一次元画像入力部の長さの2倍の大きさ
の認識対象物を認識する場合にも1軸駆動にて認識で
き、大きな認識対象物の場合に一次元画像入力部の移動
時間を短くできて認識時間を短くすることができ、かつ
一方向に回転させて認識するのでバックラッシュ等の機
械的な誤差の影響も受け難く、高精度の認識ができる。
According to the image recognition method and apparatus of the present invention,
Since the one-dimensional image input unit is rotated to input the one-dimensional image, the driving unit of the one-dimensional image input unit can be made compact and simple, and the size of the drive unit can be twice the length of the one-dimensional image input unit. Even when recognizing an object to be recognized, it can be recognized by one-axis drive, and when a large object is to be recognized, the moving time of the one-dimensional image input unit can be shortened to shorten the recognition time, and the object can rotate in one direction. Since the recognition is performed by being performed, it is hardly affected by a mechanical error such as a backlash and the recognition can be performed with high accuracy.

【0012】また、一次元画像入力部の回転角をエンコ
ーダにて検出し、画像処理部でエンコーダからの信号に
同期して一次元画像入力部から一次元画像を取り込むこ
とにより精度の良い二次元画像を簡単に形成することが
できる。
Further, the rotation angle of the one-dimensional image input section is detected by the encoder, and the one-dimensional image is input from the one-dimensional image input section in synchronism with the signal from the encoder in the image processing section. An image can be easily formed.

【0013】また、一次元画像入力部を駆動部の回転軸
芯に対して半径方向に離間配置して連結手段にて連結す
ると、認識対象の外周部の形状を認識する必要がある場
合に一次元画像入力部の長さの2倍以上の大型の認識対
象物の認識においても1軸駆動にて短時間で認識するこ
とができ、さらに可変長の連結手段を用いることにより
任意の大きさの認識対象物を認識することができる。
Further, when the one-dimensional image input section is radially separated from the rotation axis of the drive section and connected by the connecting means, it is necessary to recognize the shape of the outer peripheral portion of the recognition target when the primary Even in the case of recognizing a large-sized recognition target having a length equal to or more than twice the length of the original image input section, it can be recognized in a short time by the uniaxial drive, and by using the connecting means of variable length, an arbitrary size can be obtained. The recognition target can be recognized.

【0014】[0014]

【実施例】【Example】

(実施例1)以下、本発明の第1の実施例について図1
〜図3を参照して説明する。
(Embodiment 1) Hereinafter, a first embodiment of the present invention will be described with reference to FIG.
~ It demonstrates with reference to FIG.

【0015】図1において、1は一次元画像入力部とし
ての一次元ラインセンサカメラ、2は駆動部としてのθ
回転モータ、3はθ回転モータ2の回転角を検出して信
号を出力するエンコーダ、4は画像処理部である。図2
に認識対象物5を示す。この認識対象物5は一辺が一次
元ラインセンサカメラ1における一次元ラインセンサの
長さの2倍弱である。
In FIG. 1, 1 is a one-dimensional line sensor camera as a one-dimensional image input unit, and 2 is a drive unit θ.
The rotary motor 3, 3 is an encoder that detects the rotation angle of the θ rotary motor 2 and outputs a signal, and 4 is an image processing unit. Figure 2
The recognition object 5 is shown in FIG. This recognition object 5 has one side slightly less than twice the length of the one-dimensional line sensor in the one-dimensional line sensor camera 1.

【0016】次に、図1の認識装置による図2の認識対
象物5の認識動作を図3を参照して説明する。一次元ラ
インセンサカメラ1は、その一次元ラインセンサの任意
の端がθ回転モータ2の回転軸芯上に位置するように配
設されており、このθ回転モータ2の軸芯上に認識対象
物5の略中心に位置するように認識対象物5を位置決め
し、θ回転モータ2を回転させる。すると、一次元ライ
ンセンサカメラ1が認識対象物5の中心回りに回転する
とともに、一次元ラインセンサ1の最外周のCCDが1
画素分移動する角度だけ回転する毎にエンコーダ3から
信号が出力される。
Next, the recognition operation of the recognition object 5 of FIG. 2 by the recognition device of FIG. 1 will be described with reference to FIG. The one-dimensional line sensor camera 1 is arranged so that an arbitrary end of the one-dimensional line sensor is located on the rotation axis of the θ rotation motor 2, and the recognition target is on the axis of the θ rotation motor 2. The recognition target object 5 is positioned so that it is located substantially at the center of the object 5, and the θ rotation motor 2 is rotated. Then, the one-dimensional line sensor camera 1 rotates around the center of the recognition target 5 and the outermost CCD of the one-dimensional line sensor 1 moves to 1
A signal is output from the encoder 3 each time it rotates by an angle moved by the number of pixels.

【0017】画像処理部4は、エンコーダ3からの信号
に同期して図3(a)に示すように一次元ラインセンサ
カメラ1から認識対象物5の一次元画像6を取り込む。
次に、θ回転モータ2により一次元ラインセンサカメラ
1が1画素分回転し、エンコーダ3からの信号が入力さ
れると、その信号に同期して図3(b)に示すように一
次元ラインセンサカメラ1から認識対象物5の次の一次
元画像7を取り込む。
The image processing section 4 captures a one-dimensional image 6 of the recognition object 5 from the one-dimensional line sensor camera 1 as shown in FIG. 3A in synchronization with the signal from the encoder 3.
Next, when the one-dimensional line sensor camera 1 is rotated by one pixel by the θ rotation motor 2 and the signal from the encoder 3 is input, the one-dimensional line sensor camera 1 is synchronized with the signal as shown in FIG. The next one-dimensional image 7 of the recognition object 5 is captured from the sensor camera 1.

【0018】次に、θ回転モータ2により一次元ライン
センサカメラ1がさらに1画素分回転し、エンコーダ3
からの信号が入力されると、その信号に同期して図3
(c)に示すように一次元ラインセンサカメラ1から認
識対象物5の次の一次元画像8を取り込む。以下同様に
θ回転モータ2により一次元ラインセンサカメラ1が回
転し、エンコーダ3からの信号に同期して画像処理部4
が認識対象物5の一次元画像を順次取り込む。こうし
て、一次元ラインセンサカメラ1が認識対象物5上を1
回転すると、認識対象物5の全ての一次元画像が取り込
まれ、画像処理部4において画像処理され、図3(d)
に示すように認識対象物5の二次元画像9が形成され
る。
Next, the one-dimensional line sensor camera 1 is further rotated by one pixel by the θ rotation motor 2, and the encoder 3
When the signal from is input, it synchronizes with the signal and
As shown in (c), the next one-dimensional image 8 of the recognition object 5 is captured from the one-dimensional line sensor camera 1. Similarly, the one-dimensional line sensor camera 1 is rotated by the θ rotation motor 2 and the image processing unit 4 is synchronized with the signal from the encoder 3.
Sequentially takes in one-dimensional images of the recognition object 5. In this way, the one-dimensional line sensor camera 1 moves over the recognition object 5
When rotated, all the one-dimensional images of the recognition target object 5 are captured and image-processed by the image processing unit 4, and the image is processed as shown in FIG.
A two-dimensional image 9 of the recognition object 5 is formed as shown in FIG.

【0019】以上のように、θ回転モータ2のような1
軸のみのコンパクトな構成の駆動部で一次元ラインセン
サカメラ1を移動させることにより、図2に示すような
一次元ラインセンサの2倍長の大きさの認識対象物5の
二次元画像を形成して認識することができる。また、二
次元画像9を形成するに当たり、従来例のような一次元
画像を取り込まない駆動部の移動が存在しないので、二
次元画像形成時間を短縮することができる。
As described above, one such as the θ rotation motor 2
By moving the one-dimensional line sensor camera 1 by a driving unit having a compact structure having only axes, a two-dimensional image of the recognition target object 5 having a size twice as long as that of the one-dimensional line sensor as shown in FIG. 2 is formed. Can be recognized. Further, in forming the two-dimensional image 9, since there is no movement of the drive unit that does not take in the one-dimensional image unlike the conventional example, the two-dimensional image forming time can be shortened.

【0020】(実施例2)以下、本発明の第2の実施例
について図4〜図6を参照して説明する。
(Second Embodiment) A second embodiment of the present invention will be described below with reference to FIGS.

【0021】図4において、一次元ラインセンサカメラ
1、θ回転モータ2、エンコーダ3、画像処理部4は、
図1と同じ構成要素である。11はθ回転モータ2の出
力軸と一次元ラインセンサカメラ1を連結する可変長の
連結部材である。本実施例の認識対象は、図5に示すよ
うに、円板状のトレイ12に複数(図示例では6個)の
認識対象物13a〜13fを配置したものである。
In FIG. 4, the one-dimensional line sensor camera 1, the θ rotation motor 2, the encoder 3, and the image processing unit 4 are
The components are the same as those in FIG. Reference numeral 11 denotes a variable-length connecting member that connects the output shaft of the θ rotation motor 2 and the one-dimensional line sensor camera 1. As shown in FIG. 5, the recognition target of this embodiment is a disc-shaped tray 12 on which a plurality of (six in the illustrated example) recognition targets 13a to 13f are arranged.

【0022】次に、図4の認識装置による図5の認識対
象物13a〜13fの認識動作を図6を参照して説明す
る。まず、θ回転モータ2の回転軸芯上にトレイ12の
中心が位置するようにトレイ12を配置するとともに、
一次元ラインセンサカメラ1が認識対象物13a〜13
fの上にくるように連結部材11を手動で調整する。
Next, the recognition operation of the recognition objects 13a to 13f of FIG. 5 by the recognition device of FIG. 4 will be described with reference to FIG. First, the tray 12 is arranged such that the center of the tray 12 is located on the rotation axis of the θ rotation motor 2, and
The one-dimensional line sensor camera 1 uses the recognition objects 13a to 13a.
The connecting member 11 is manually adjusted so that it is on top of f.

【0023】そしてθ回転モータ2を回転させると、一
次元ラインセンサカメラ1が認識対象物13a〜13f
の上を通る。以下、実施例1で示したように、エンコー
ダ3からの信号に同期して、一次元ラインセンサカメラ
1から図6(a)に示すように一次元画像14を取り込
む。次に、θ回転モータ2により一次元ラインセンサカ
メラ1が1画素分回転し、エンコーダ3からの信号が入
力されると、その信号に同期して図6(b)に示すよう
に一次元ラインセンサカメラ1から次の一次元画像15
を取り込む。以下同様にθ回転モータ2により一次元ラ
インセンサカメラ1が回転し、エンコーダ3からの信号
に同期して画像処理部4が認識対象物13a〜13fの
一次元画像を順次取り込む。そして、一次元ラインセン
サカメラ1が1回転すると全ての一次元画像が取り込ま
れ、画像処理部4で画像処理され、図6(c)に示すよ
うに認識対象物13a〜13fの二次元画像16が形成
される。
When the θ rotation motor 2 is rotated, the one-dimensional line sensor camera 1 causes the recognition target objects 13a to 13f.
Pass over. Hereinafter, as shown in the first embodiment, the one-dimensional image 14 is captured from the one-dimensional line sensor camera 1 as shown in FIG. 6A in synchronization with the signal from the encoder 3. Next, when the one-dimensional line sensor camera 1 is rotated by one pixel by the θ rotation motor 2 and the signal from the encoder 3 is input, the one-dimensional line sensor camera 1 is synchronized with the signal as shown in FIG. Next one-dimensional image 15 from the sensor camera 1
Take in. Similarly, the one-dimensional line sensor camera 1 is rotated by the θ rotation motor 2, and the image processing unit 4 sequentially captures one-dimensional images of the recognition objects 13a to 13f in synchronization with the signal from the encoder 3. Then, when the one-dimensional line sensor camera 1 makes one rotation, all the one-dimensional images are captured, image-processed by the image processing unit 4, and the two-dimensional images 16 of the recognition objects 13a to 13f are obtained as shown in FIG. 6C. Is formed.

【0024】以上のように本実施例によれば、円周上に
配置された複数の認識対象物13a〜13fの二次元画
像を形成することができ、円周上に配置された部品の一
括認識に活用することができる。
As described above, according to the present embodiment, it is possible to form a two-dimensional image of the plurality of recognition objects 13a to 13f arranged on the circumference, and the parts arranged on the circumference can be collectively collected. It can be used for recognition.

【0025】(実施例3)以下、本発明の第3の実施例
について上記図4、及び図7、図8を参照して説明す
る。
(Embodiment 3) A third embodiment of the present invention will be described below with reference to FIGS. 4, 7, and 8.

【0026】認識装置の構成は、図4に示した上記実施
例2と同じ構成である。本実施例の認識対象物17は、
図7に示すように、QFPと呼ばれる四方にリードが突
設された電子部品であり、そのリードの数や曲がり、位
置等を検出するために部品外周部のリードの先端付近の
形状のみが認識対象となる認識対象物である。
The structure of the recognition device is the same as that of the second embodiment shown in FIG. The recognition object 17 of this embodiment is
As shown in FIG. 7, it is an electronic component called QFP in which leads are provided in four directions, and in order to detect the number, bending, position, etc. of the leads, only the shape near the tips of the leads on the outer periphery of the component is recognized. It is a target recognition target object.

【0027】次に、図4の認識装置による図7の認識対
象物17の認識動作を図8を参照して説明する。まず、
θ回転モータ2の回転軸芯上に認識対象物17の中心が
位置するように認識対象物17を配置するとともに、一
次元ラインセンサカメラ1が認識対象物17外周部のリ
ード上を通るように連結部材11を手動で調整する。
Next, the recognition operation of the recognition object 17 of FIG. 7 by the recognition device of FIG. 4 will be described with reference to FIG. First,
The recognition target object 17 is arranged such that the center of the recognition target object 17 is located on the rotation axis of the θ rotation motor 2, and the one-dimensional line sensor camera 1 passes over the lead on the outer peripheral portion of the recognition target object 17. The connecting member 11 is manually adjusted.

【0028】そしてθ回転モータ2を回転させると、一
次元ラインセンサカメラ1が認識対象物17のリード上
を通る。以下、実施例1で示したように、エンコーダ3
からの信号に同期して、一次元ラインセンサカメラ1か
ら図8(a)に示すように一次元画像18を取り込む。
次に、θ回転モータ2により一次元ラインセンサカメラ
1が1画素分回転し、エンコーダ3からの信号が入力さ
れると、その信号に同期して図8(b)に示すように一
次元ラインセンサカメラ1から次の一次元画像19を取
り込む。以下同様にθ回転モータ2により一次元ライン
センサカメラ1が回転し、エンコーダ3からの信号に同
期して画像処理部4が認識対象物17の一次元画像を順
次取り込む。そして、一次元ラインセンサカメラ1が1
回転すると認識対象物17の全てのリードの一次元画像
が取り込まれ、画像処理部4で画像処理され、図8
(c)に示すように認識対象物17のすべてのリードの
二次元画像20が形成される。
When the θ rotation motor 2 is rotated, the one-dimensional line sensor camera 1 passes over the lead of the recognition object 17. Hereinafter, as shown in the first embodiment, the encoder 3
The one-dimensional image 18 is captured from the one-dimensional line sensor camera 1 as shown in FIG.
Next, when the one-dimensional line sensor camera 1 is rotated by one pixel by the θ rotation motor 2 and the signal from the encoder 3 is input, the one-dimensional line sensor camera 1 is synchronized with the signal as shown in FIG. The next one-dimensional image 19 is captured from the sensor camera 1. Similarly, the one-dimensional line sensor camera 1 is rotated by the θ rotation motor 2, and the one-dimensional image of the recognition object 17 is sequentially captured by the image processing unit 4 in synchronization with the signal from the encoder 3. And the one-dimensional line sensor camera 1
When the image is rotated, the one-dimensional images of all the leads of the recognition object 17 are captured and image-processed by the image processing unit 4.
As shown in (c), the two-dimensional images 20 of all the leads of the recognition object 17 are formed.

【0029】以上のように形成された二次元画像は、Q
FPの認識に必要なリードの画像のみ形成し、QFPの
認識に不必要な中心部の画像は形成しないので、二次元
画像の形成に要する時間が少なくなる。
The two-dimensional image formed as described above is Q
Since only the lead image necessary for FP recognition is formed and the central image unnecessary for QFP recognition is not formed, the time required for forming a two-dimensional image is reduced.

【0030】[0030]

【発明の効果】本発明の画像認識方法によれば、以上の
説明から明らかなように、一次元画像入力部を回転させ
て一次元画像を入力するので、一次元画像入力部の駆動
部をコンパクトで簡単な構成にできて装置の小型・低コ
スト化を図ることができ、また一次元画像入力部の長さ
の2倍の大きさの認識対象物を認識する場合にも1軸駆
動にて認識できるので、大きな認識対象物の場合に一次
元画像入力部の移動時間を短くできて認識時間を短くす
ることができ、かつ一方向に回転させて認識するのでバ
ックラッシュ等の機械的な誤差の影響を受け難く、高精
度の認識を行なうことができる。
According to the image recognition method of the present invention, as is clear from the above description, since the one-dimensional image is input by rotating the one-dimensional image input unit, the drive unit of the one-dimensional image input unit is The device can be made compact and simple, and the size and cost of the device can be reduced. In addition, even when recognizing an object that is twice the length of the one-dimensional image input unit, it can be driven by a single axis. It is possible to shorten the movement time of the one-dimensional image input unit to shorten the recognition time in the case of a large recognition target because it can be recognized by rotating it in one direction, and it is possible to detect mechanical problems such as backlash. Highly accurate recognition can be performed without being easily affected by errors.

【0031】また、本発明の画像認識装置によれば、画
像入力手段と画像処理手段にて上記認識方法を実施する
ことができる。
Further, according to the image recognition device of the present invention, the above recognition method can be implemented by the image input means and the image processing means.

【0032】また、一次元画像入力部の回転角をエンコ
ーダにて検出し、画像処理部でエンコーダからの信号に
同期して一次元画像入力部から一次元画像を取り込むこ
とにより精度の良い二次元画像を簡単に形成することが
できる。
Further, the rotation angle of the one-dimensional image input section is detected by the encoder, and the one-dimensional image is taken in from the one-dimensional image input section in synchronization with the signal from the encoder in the image processing section. An image can be easily formed.

【0033】また、一次元画像入力部を駆動部の回転軸
芯に対して半径方向に離間配置して連結手段にて連結す
ると、認識対象の外周部の形状を認識する必要がある場
合に一次元画像入力部の長さに比して大型の認識対象物
の認識においても1軸駆動にて短時間で認識することが
できる。
Further, when the one-dimensional image input section is radially separated from the rotation axis of the drive section and connected by the connecting means, the shape of the outer peripheral portion of the recognition target needs to be recognized when the primary shape is recognized. Even in the case of recognizing an object to be recognized which is larger than the length of the original image input section, it can be recognized in a short time by uniaxial driving.

【0034】また、可変長の連結手段を用いると、任意
の大きさの認識対象物を認識することができる。
Further, by using the variable length connecting means, it is possible to recognize an object to be recognized of any size.

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

【図1】本発明の第1の実施例における認識装置の斜視
図である。
FIG. 1 is a perspective view of a recognition device according to a first embodiment of the present invention.

【図2】第1の実施例の認識対象物の平面図である。FIG. 2 is a plan view of an object to be recognized according to the first embodiment.

【図3】第1の実施例の認識動作の説明図である。FIG. 3 is an explanatory diagram of a recognition operation according to the first embodiment.

【図4】本発明の第2と第3の実施例における認識装置
の斜視図である。
FIG. 4 is a perspective view of a recognition device according to second and third embodiments of the present invention.

【図5】第2の実施例の認識対象物の平面図である。FIG. 5 is a plan view of an object to be recognized according to the second embodiment.

【図6】第2の実施例の認識動作の説明図である。FIG. 6 is an explanatory diagram of a recognition operation according to the second embodiment.

【図7】第3の実施例の認識対象物の平面図である。FIG. 7 is a plan view of an object to be recognized according to a third embodiment.

【図8】第3の実施例の認識動作の説明図である。FIG. 8 is an explanatory diagram of a recognition operation according to the third embodiment.

【図9】従来例における認識装置の斜視図である。FIG. 9 is a perspective view of a recognition device in a conventional example.

【図10】従来例の画像取り込み動作時の移動軌跡の説
明図である。
FIG. 10 is an explanatory diagram of a movement locus during an image capturing operation of a conventional example.

【図11】従来例の認識動作の説明図である。FIG. 11 is an explanatory diagram of a recognition operation of a conventional example.

【符号の説明】[Explanation of symbols]

1 一次元ラインセンサカメラ(一次元画像入力部) 2 θ回転モータ(駆動部) 3 エンコーダ 4 画像処理部 11 連結部材 1 One-dimensional line sensor camera (one-dimensional image input unit) 2 θ rotation motor (driving unit) 3 Encoder 4 Image processing unit 11 Connecting member

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 一次元画像入力部を回転させて一次元画
像を入力する工程と、一次元画像を取込んで二次元画像
に形成する工程とを備えたことを特徴とする画像認識方
法。
1. An image recognition method comprising: a step of rotating a one-dimensional image input section to input a one-dimensional image; and a step of capturing a one-dimensional image and forming a two-dimensional image.
【請求項2】 一次元画像入力部を回転させて一次元画
像を入力する画像入力手段と、画像入力手段から一次元
画像を取り込んで二次元画像に形成する画像処理手段と
を備えたことを特徴とする画像認識装置。
2. An image input means for rotating a one-dimensional image input section to input a one-dimensional image, and an image processing means for taking a one-dimensional image from the image input means and forming a two-dimensional image. Characteristic image recognition device.
【請求項3】 一次元画像入力部を回転させる駆動部
と、駆動部の回転角の信号を生成するエンコーダと、エ
ンコーダからの信号に同期して一次元画像入力部から一
次元画像を取り込み二次元画像を形成する画像処理部と
を備えたことを特徴とする請求項1記載の画像認識装
置。
3. A drive unit that rotates the one-dimensional image input unit, an encoder that generates a signal of a rotation angle of the drive unit, and a one-dimensional image is captured from the one-dimensional image input unit in synchronization with the signal from the encoder. The image recognition apparatus according to claim 1, further comprising an image processing unit that forms a three-dimensional image.
【請求項4】 一次元画像入力部が駆動部の回転軸芯に
対して半径方向に離間して配置されて連結手段にて連結
されていることを特徴とする請求項3記載の画像認識装
置。
4. The image recognition apparatus according to claim 3, wherein the one-dimensional image input unit is arranged in a radial direction with respect to the rotation axis of the drive unit and is connected by a connecting means. .
【請求項5】 連結手段が可変長であることを特徴とす
る請求項4記載の画像認識装置。
5. The image recognition apparatus according to claim 4, wherein the connecting means has a variable length.
JP7102757A 1995-04-26 1995-04-26 Method and apparatus for image recognition Pending JPH08297092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7102757A JPH08297092A (en) 1995-04-26 1995-04-26 Method and apparatus for image recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7102757A JPH08297092A (en) 1995-04-26 1995-04-26 Method and apparatus for image recognition

Publications (1)

Publication Number Publication Date
JPH08297092A true JPH08297092A (en) 1996-11-12

Family

ID=14336081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7102757A Pending JPH08297092A (en) 1995-04-26 1995-04-26 Method and apparatus for image recognition

Country Status (1)

Country Link
JP (1) JPH08297092A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100437638C (en) * 2002-12-25 2008-11-26 卡西欧计算机株式会社 Card-type apparatus and identification system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100437638C (en) * 2002-12-25 2008-11-26 卡西欧计算机株式会社 Card-type apparatus and identification system

Similar Documents

Publication Publication Date Title
US6366310B1 (en) Electronic parts mounting apparatus
JP2690603B2 (en) Vision sensor calibration method
JPH08297092A (en) Method and apparatus for image recognition
JPH114373A (en) Method and system for configurating full circumference panorama image
US20020030736A1 (en) Single camera alignment system using up/down optics
US6891643B1 (en) Imaging device and imaging method
JP2002214693A (en) Method and device for picking up image of several objects and electronic part mounting device using the same
JP4356579B2 (en) Image processing method and image processing apparatus
JPS60134671A (en) Video camera
JP6907526B2 (en) Robot and imaging method
JPH02155249A (en) Visual inspection device
JPH07333160A (en) Surface property observation device for inspection object
JP2003148930A (en) Substrate inspection device
JPH09289605A (en) Image pickup device
JP2001028500A (en) Electronic part mounting device
JPH04105476A (en) Omni-directional image pickup device
JPH06319143A (en) Area sequential color camera provided with registration correction device
CN117671279A (en) Feature extraction device and method based on vision measurement
JPH05215534A (en) Adjusting method for surface inspecting camera mechanism
JPS61220008A (en) Positioning system
WO1998049521A1 (en) Equipment for inspecting semiconductor devices
JP2018107488A (en) Imaging apparatus and imaging method
JPH05118820A (en) Visual recognition apparatus
JPH08211941A (en) Device and method for positioning
JPH026108B2 (en)