JP2012185728A - Image recognition system - Google Patents

Image recognition system Download PDF

Info

Publication number
JP2012185728A
JP2012185728A JP2011049297A JP2011049297A JP2012185728A JP 2012185728 A JP2012185728 A JP 2012185728A JP 2011049297 A JP2011049297 A JP 2011049297A JP 2011049297 A JP2011049297 A JP 2011049297A JP 2012185728 A JP2012185728 A JP 2012185728A
Authority
JP
Japan
Prior art keywords
imaging
unit
camera
image data
symbol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011049297A
Other languages
Japanese (ja)
Other versions
JP5939699B2 (en
Inventor
Michisumi Nakamura
倫純 中村
Takeshi Sakai
武 堺
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.)
Isuzu Motors Ltd
Original Assignee
Isuzu Motors 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 Isuzu Motors Ltd filed Critical Isuzu Motors Ltd
Priority to JP2011049297A priority Critical patent/JP5939699B2/en
Publication of JP2012185728A publication Critical patent/JP2012185728A/en
Application granted granted Critical
Publication of JP5939699B2 publication Critical patent/JP5939699B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To suppress the occurrence frequency of identification error to be low if the state of an imaging surface is different.SOLUTION: A camera 15 images a mark 42 put on the surface of a connecting rod 41 and outputs image data. An auxiliary illumination 13 irradiates the surface of the connecting rod 41 with irradiation light of which light quantity is changeable. An image processing determination unit 25 detects and identifies the mark 42 from the image data output by the camera 15. A light quantity control unit 27 changes light quantity of the auxiliary illumination 13 when the image processing determination unit 25 does not identify the mark 42 from the image data.

Description

本発明は、画像認識システムに関する。   The present invention relates to an image recognition system.

特開昭64−36387号公報には、自動車などの各種生産工程において、車体を構成する各部品の表面に付された刻印文字をカメラによって撮像し、撮像した画像データから文字画像データを切り出し、切り出した画像データの各画素情報を2値データに変換し、この2値データから文字パターンを検出し、検出した文字パターンと予め登録した文字パターンとのマッチングによって、文字の識別を行う文字認識装置が記載されている。   In JP-A-64-36387, in various production processes such as automobiles, a stamped character attached to the surface of each part constituting a vehicle body is imaged by a camera, and character image data is cut out from the captured image data. Character recognition apparatus for converting each pixel information of cut out image data into binary data, detecting a character pattern from the binary data, and identifying the character by matching the detected character pattern with a previously registered character pattern Is described.

特開昭64−36387号公報JP-A 64-36387

上記文字認識装置では、カメラが撮像した画像データの各画素情報を2値データに変換して文字パターンを検出するため、文字パターンの検出精度は、カメラの撮像環境の影響を受ける。特に、刻印文字が付された撮像面の状態(例えば反射率)は必ずしも一律ではないことから、撮像面の明るさ(照度)の影響を受け易い。このため、撮像面の明るさによっては文字パターンの検出精度が悪化し、複数の部品を連続して検出する際に識別エラーの発生頻度が高くなってしまう可能性がある。   In the above character recognition device, each pixel information of image data captured by the camera is converted into binary data to detect a character pattern, so that the character pattern detection accuracy is affected by the imaging environment of the camera. In particular, since the state (for example, reflectance) of the imaging surface with the engraved characters is not necessarily uniform, it is easily affected by the brightness (illuminance) of the imaging surface. For this reason, depending on the brightness of the imaging surface, the detection accuracy of the character pattern is deteriorated, and there is a possibility that the frequency of occurrence of identification errors increases when a plurality of components are continuously detected.

そこで、本発明は、撮像面の状態が相違する場合であっても、識別エラーの発生頻度を低く抑えることが可能な画像認識システムの提供を目的とする。   Therefore, an object of the present invention is to provide an image recognition system that can suppress the occurrence frequency of identification errors even when the state of the imaging surface is different.

上記目的を達成すべく、本発明の画像認識システムは、撮像手段と照射手段と記号識別手段と光量制御手段とを備える。   In order to achieve the above object, an image recognition system according to the present invention includes an imaging unit, an irradiation unit, a symbol identification unit, and a light amount control unit.

撮像手段は、対象物体の表面に付された記号を撮像し、その画像データを出力する。照射手段は、光量を変更可能な照射光によって対象物体の表面を照射する。記号識別手段は、撮像手段が出力した画像データから記号を検出して識別する。光量制御手段は、記号識別手段が画像データから記号を識別できないとき、照射手段の光量を変更する。   The imaging means images a symbol attached to the surface of the target object and outputs the image data. The irradiation unit irradiates the surface of the target object with irradiation light whose light quantity can be changed. The symbol identifying unit detects and identifies the symbol from the image data output by the imaging unit. The light quantity control means changes the light quantity of the irradiation means when the symbol identification means cannot identify the symbol from the image data.

記号には、文字や数字や図形などが含まれる。対象物体の表面に記号を付する方法には、印刷や刻印の他、記号が印刷されたシールの貼付などが含まれる。また、光量制御手段は、照射手段の光量を、下限光量から徐々に増加させてもよく、上限光量から徐々に減少させてもよい。   Symbols include letters, numbers and figures. The method of attaching a symbol to the surface of the target object includes not only printing and engraving but also sticking of a seal on which the symbol is printed. Further, the light quantity control means may gradually increase the light quantity of the irradiating means from the lower limit light quantity or gradually decrease from the upper limit light quantity.

上記構成では、記号識別手段が画像データから記号を識別できないとき、照射手段の光量が変更されるので、連続して検出される複数の対象物体間において撮像面の反射率が相違する場合であっても、各撮像面にとって適切な光量で撮像された画像データを用いて記号の識別を行うことができ、識別エラーの発生頻度を低く抑えることができる。   In the above configuration, when the symbol identifying unit cannot identify the symbol from the image data, the light amount of the irradiating unit is changed. Therefore, the reflectance of the imaging surface is different among a plurality of target objects that are continuously detected. However, symbols can be identified using image data captured with an appropriate amount of light for each imaging surface, and the frequency of occurrence of identification errors can be kept low.

また、上記画像認識判定システムは、対象物体の表面に対する撮像手段の撮像方向を変更する撮像方向変更手段と、記号識別手段が画像データから記号を識別できないとき、撮像方向変更手段を制御して撮像手段の撮像方向を変更する撮像方向制御手段と、を備えてもよい。   In addition, the image recognition determination system controls the imaging direction changing unit when the imaging direction changing unit that changes the imaging direction of the imaging unit with respect to the surface of the target object and the symbol identifying unit cannot identify the symbol from the image data. Imaging direction control means for changing the imaging direction of the means.

撮像方向制御手段は、光量制御手段が照射手段の光量を変更しても記号識別手段が画像データから記号を識別できないときに、撮像手段の撮像方向を変更してもよく、光量制御手段が照射手段の光量を変更する際に、撮像手段の撮像方向を変更してもよい。   The imaging direction control means may change the imaging direction of the imaging means when the symbol identification means cannot identify the symbol from the image data even if the light quantity control means changes the light quantity of the irradiation means. When changing the light quantity of the means, the imaging direction of the imaging means may be changed.

上記構成では、光量に加えて撮像方向の変更も可能であるので、識別エラーの発生頻度をさらに低く抑えることができる。   In the above configuration, since the imaging direction can be changed in addition to the amount of light, the frequency of occurrence of identification errors can be further reduced.

本発明によれば、撮像面の状態が相違する場合であっても、識別エラーの発生頻度を低く抑えることができる。   According to the present invention, the occurrence frequency of identification errors can be kept low even when the state of the imaging surface is different.

本発明の一実施形態の画像認識システムを模式的に示す概略構成図である。It is a schematic structure figure showing typically an image recognition system of one embodiment of the present invention. 搬送箱に収容された状態のコンロッドを模式的に示す平面図である。It is a top view which shows typically the connecting rod of the state accommodated in the conveyance box. 撮像ユニットを模式的に示す斜視図である。It is a perspective view which shows an imaging unit typically. コントローラが実行する検査処理を示すフローチャートである。It is a flowchart which shows the test | inspection process which a controller performs.

以下、本発明の画像認識システムを検査システムに適用した一実施形態について、図面を参照して説明する。この検査システムでは、自動車のエンジンに使用されるコネクティングロッド(コンロッド)41を対象物体とし、1つのエンジンに使用される複数(本実施形態では4本)のコンロッド41の組み合わせが適正(4本のコンロッド41が全て同じ規格)であるか否かを検査する。なお、対象物体はコンロッドに限定されず、本発明の画像認識システムは、様々な部品に対して適用可能である。   Hereinafter, an embodiment in which an image recognition system of the present invention is applied to an inspection system will be described with reference to the drawings. In this inspection system, a connecting rod (connecting rod) 41 used in an automobile engine is a target object, and a combination of a plurality of (four in this embodiment) connecting rods 41 used in one engine is appropriate (four It is inspected whether or not the connecting rods 41 are all the same standard). The target object is not limited to the connecting rod, and the image recognition system of the present invention can be applied to various parts.

図1に示すように、検査システム1は、ロボットアーム(撮像方向変更手段)2と、ロボットアーム2に固定された撮像ユニット10と、コンロッド41を搬送するコンベア40と、検査処理全体を制御するコントローラ20と、表示装置3とを備える。   As shown in FIG. 1, the inspection system 1 controls the robot arm (imaging direction changing means) 2, the imaging unit 10 fixed to the robot arm 2, the conveyor 40 that conveys the connecting rod 41, and the entire inspection process. A controller 20 and a display device 3 are provided.

図2に示すように、コンロッド41の一端部の側面(表面)には刻印(記号)42が付され、各コンロッド41の刻印42が上方を向いて露出するように、12本(3組)のコンロッド41が1つの搬送箱43に並んで収容される。コンベア40は、所定の検査位置で順次停止するように搬送箱43を搬送する。1つの搬送箱43内には、3組(12本)のコンロッド41A,41B,41Cが搬送方向に沿って組毎に並んで配置される。1つのエンジンに使用される同一規格の4本のコンロッド41には、共通の1文字(アルファベットや数字など)が刻印42として付されており、検査システム1は、同一組内の4本のコンロッド41の全てに所望の共通の刻印42が付されているか否かを検査する。   As shown in FIG. 2, the side surface (surface) of one end of the connecting rod 41 is marked (symbol) 42 and twelve (three sets) so that the marking 42 of each connecting rod 41 is exposed upward. Connecting rods 41 are accommodated side by side in one transport box 43. The conveyor 40 conveys the conveyance box 43 so as to sequentially stop at a predetermined inspection position. In one transport box 43, three sets (12) of connecting rods 41A, 41B, 41C are arranged side by side along the transport direction. Four common rods 41 of the same standard used for one engine are marked with one common letter (alphabet, number, etc.) as an engraved mark 42, and the inspection system 1 has four connecting rods in the same set. It is inspected whether or not a desired common marking 42 is attached to all 41.

図1及び図3に示すように、撮像ユニット10は、ロボットアーム2の先端に固定されたベース板11と、ベース板11に固定されたカメラユニット12及び補助照明(照射手段)13とを有し、カメラユニット12は、メイン照明14とカメラ(撮像手段)15とを有する。   As shown in FIGS. 1 and 3, the imaging unit 10 has a base plate 11 fixed to the tip of the robot arm 2, a camera unit 12 fixed to the base plate 11, and auxiliary illumination (irradiation means) 13. The camera unit 12 includes a main illumination 14 and a camera (imaging means) 15.

ロボットアーム2は、撮像ユニット10を任意の位置および方向に移動可能な装置であり、撮像ユニット10を所定の撮像位置まで移動して停止する。撮像ユニット10の撮像位置は、検査位置で停止した搬送箱43内の12本のコンロッド41のそれぞれに対して予め設定されている。ロボットアーム2は、12本のコンロッド41にそれぞれ対応する12箇所の撮像位置のうち、搬送方向最前端のコンロッド41に対応する最前端の撮像位置に撮像ユニット10を移動して停止した後、搬送方向後方へ撮像ユニット10を移動し、搬送方向最後端のコンロッド41に対応する最後端の撮像位置に達するまで、各撮像位置で撮像ユニット10を順次停止する。各撮像位置で停止する際の撮像ユニット10(カメラ15)の姿勢(撮像面に対するカメラ15の撮像方向)は、所定の基本姿勢に設定される。また、ロボットアーム2は、所定の可動範囲内において、カメラ15の姿勢を基本姿勢から段階的に変更可能である。なお、必要な条件を満たせば、多関節ロボットやリニア駆動装置を組み合わせたロボットなど、周知のロボットアームを任意に採用可能である。   The robot arm 2 is a device that can move the imaging unit 10 to an arbitrary position and direction, and moves the imaging unit 10 to a predetermined imaging position and stops. The imaging position of the imaging unit 10 is set in advance for each of the 12 connecting rods 41 in the transport box 43 stopped at the inspection position. The robot arm 2 moves the imaging unit 10 to the imaging position at the foremost end corresponding to the connecting rod 41 at the foremost end in the transport direction among the 12 imaging positions corresponding to the 12 connecting rods 41, and then transports it. The imaging unit 10 is moved backward in the direction, and the imaging unit 10 is sequentially stopped at each imaging position until the imaging position at the rearmost end corresponding to the connecting rod 41 at the rearmost end in the transport direction is reached. The attitude of the imaging unit 10 (camera 15) when stopping at each imaging position (imaging direction of the camera 15 with respect to the imaging surface) is set to a predetermined basic attitude. The robot arm 2 can change the posture of the camera 15 stepwise from the basic posture within a predetermined movable range. Note that a known robot arm such as a multi-joint robot or a robot combined with a linear drive device can be arbitrarily employed as long as necessary conditions are satisfied.

カメラ15は、例えばCCDカメラであり、撮像ユニット10が撮像位置に停止した状態で、その撮像位置に対応するコンロッド41の一端部の表面を撮像面として刻印42を撮像し、その画像データをコントローラ20へ出力する。   The camera 15 is, for example, a CCD camera, and in the state where the imaging unit 10 is stopped at the imaging position, the engraving 42 is imaged using the surface of one end of the connecting rod 41 corresponding to the imaging position as an imaging surface, and the image data is transferred to the controller. 20 output.

メイン照明14は、環状であり、カメラ15の周囲に覆うように配置される。メイン照明14と補助照明13とは、カメラ15の撮像方向が撮像面を向いた状態でそれぞれの照射光が撮像面を照射するように、ベース板11に対して固定される。メイン照明14は、光量が所定量に固定された照明装置であり、補助照明13は、光量が変更可能な照明装置である。補助照明13の光量を変更する方法は、特に限定されるものではないが、例えば可変定電流電源回路を内部に接続し、可変定電流電源回路の電流値を制御することによって可能である。補助照明13の光量は、初期状態ではゼロ(消灯状態)に設定され、コントローラ20からの指示に応じて段階的に徐々に増加する。   The main illumination 14 has a ring shape and is arranged so as to cover the periphery of the camera 15. The main illumination 14 and the auxiliary illumination 13 are fixed to the base plate 11 so that each irradiation light irradiates the imaging surface with the imaging direction of the camera 15 facing the imaging surface. The main illumination 14 is an illumination device whose light amount is fixed to a predetermined amount, and the auxiliary illumination 13 is an illumination device whose light amount can be changed. The method of changing the light quantity of the auxiliary illumination 13 is not particularly limited, but for example, it is possible to connect a variable constant current power supply circuit inside and control the current value of the variable constant current power supply circuit. The light amount of the auxiliary illumination 13 is set to zero (light-off state) in the initial state, and gradually increases step by step in response to an instruction from the controller 20.

コントローラ20は、CPU(Central Processing Unit)21と記憶部22とを有する。コントローラ20は、汎用のパーソナルコンピュータであってもよく、専用の装置であってもよい。記憶部22は、ROM(Read Only Memory)やRAM(Random Access Memory)などによって構成され、CPU21が各種処理を実行するための各種プログラムや各種データが記憶されている。各種プログラムには、CPU21が検査処理を実行するための検査プログラムが含まれる。   The controller 20 includes a CPU (Central Processing Unit) 21 and a storage unit 22. The controller 20 may be a general-purpose personal computer or a dedicated device. The storage unit 22 includes a ROM (Read Only Memory), a RAM (Random Access Memory), and the like, and stores various programs and various data for the CPU 21 to execute various processes. The various programs include an inspection program for the CPU 21 to execute an inspection process.

検査プログラムは、搬送制御処理を実行するための搬送制御プログラム、アーム制御処理を実行するためのアーム制御プログラム、記号識別処理を実行するための記号識別プログラム、及び組み合わせ判定処理を実行するための判定プログラムが含まれる。搬送制御処理とは、コンベア40を制御して搬送箱43を搬送する処理である。アーム制御処理とは、ロボットアーム2を制御して撮像ユニット10を移動及び停止する処理である。記号識別処理とは、カメラ15によってコンロッド41の撮像面を撮像し、その画像データに含まれる刻印42を識別する処理である。組み合わせ判定処理とは、識別した刻印42に基づいてコンロッド41の組み合わせが適正であるか否かを判定する処理である。これらのプログラムは、各種CDメディア(Compact Disc Media)などの外部の記憶媒体から読み出されて記憶部22に記憶されてもよく、インターネットなどのネットワークを介して取得されて記憶部22に記憶されてもよい。各種データには、搬送箱43の停止位置を規定するデータや、撮像ユニット10の停止位置を規定するデータなどが含まれる。   The inspection program includes a transfer control program for executing the transfer control process, an arm control program for executing the arm control process, a symbol identification program for executing the symbol identification process, and a determination for executing the combination determination process. A program is included. The conveyance control process is a process for controlling the conveyor 40 and conveying the conveyance box 43. The arm control process is a process for controlling the robot arm 2 to move and stop the imaging unit 10. The symbol identification process is a process of imaging the imaging surface of the connecting rod 41 with the camera 15 and identifying the marking 42 included in the image data. The combination determination process is a process of determining whether or not the combination of the connecting rods 41 is appropriate based on the identified marking 42. These programs may be read from an external storage medium such as various CD media (Compact Disc Media) and stored in the storage unit 22, or may be acquired via a network such as the Internet and stored in the storage unit 22. May be. The various data includes data defining the stop position of the transport box 43, data defining the stop position of the imaging unit 10, and the like.

また、記憶部22には、画像データや刻印情報などを一時的に記憶する領域が設定される。刻印情報の記憶領域は、搬送箱43毎に設定される。   In the storage unit 22, an area for temporarily storing image data, marking information, and the like is set. The storage area for the stamp information is set for each transport box 43.

CPU21は、搬送制御処理を実行することによってコンベア制御部23として機能し、アーム制御処理を実行することによってアーム制御部(撮像方向制御手段)24として機能し、記号識別処理及び組み合わせ判定処理を実行することによって撮像制御部25、画像処理判定部(記号識別手段)26、光量制御部(光量制御手段)27及び表示制御部28として機能する。なお、例えば搬送処理やアーム制御処理を実行するシーケンサをコントローラとは別に設けるなど、CPU21の機能の一部を抽出して他の情報処理装置に設けてもよい。   The CPU 21 functions as the conveyor control unit 23 by executing the conveyance control process, and functions as the arm control unit (imaging direction control means) 24 by executing the arm control process, and executes the symbol identification process and the combination determination process. As a result, the imaging control unit 25, the image processing determination unit (symbol identification unit) 26, the light amount control unit (light amount control unit) 27, and the display control unit 28 function. Note that a part of the function of the CPU 21 may be extracted and provided in another information processing apparatus, for example, by providing a sequencer for performing the conveyance process and the arm control process separately from the controller.

コンベア制御部23は、搬送箱43が検査位置まで移動して順次停止するように、コンベア40を制御する。   The conveyor control unit 23 controls the conveyor 40 so that the transport box 43 moves to the inspection position and sequentially stops.

アーム制御部24は、搬送箱43が検査位置で停止した状態で撮像ユニット10が各コンロッド41に対応する12箇所の撮像位置に順次移動して基本姿勢で停止するように、ロボットアーム2を駆動制御する。   The arm control unit 24 drives the robot arm 2 so that the imaging unit 10 sequentially moves to 12 imaging positions corresponding to the connecting rods 41 and stops at the basic posture with the transport box 43 stopped at the inspection position. Control.

記号識別処理において、光量制御部27は、メイン照明14を点灯する。また、光量制御部27は、1つのコンロッド41に対する記号識別処理の開始時に、補助照明13を初期状態(消灯状態)に維持する。   In the symbol identification process, the light quantity control unit 27 turns on the main illumination 14. Further, the light quantity control unit 27 maintains the auxiliary illumination 13 in the initial state (light-off state) at the start of the symbol identification process for one connecting rod 41.

記号識別処理において、撮像制御部25は、撮像位置に撮像ユニット10が移動して停止した後、カメラ15へ撮像指示信号を出力する。撮像指示信号を受信したカメラ15は、コンロッド41の撮像面を撮像し、その画像データをコントローラ20へ出力する。   In the symbol identification process, the imaging control unit 25 outputs an imaging instruction signal to the camera 15 after the imaging unit 10 moves to the imaging position and stops. The camera 15 that has received the imaging instruction signal images the imaging surface of the connecting rod 41 and outputs the image data to the controller 20.

画像データがカメラ15からコントローラ20に入力すると、画像処理判定部26は、画像処理及びパターン判定を実行する。画像処理では、カメラ15が撮像した画像データから、刻印42を含む画像データを切り出し、切り出した画像データの各画素情報を2値データに変換し、この2値データから文字パターンを検出する。パターン判定では、検出した文字パターンと予め記憶された文字パターンとのマッチングを行い、刻印42を識別(刻印42が何れの記号を表しているかを判別)し、刻印42が表す記号を刻印情報として記憶部22に順次記憶する。   When image data is input from the camera 15 to the controller 20, the image processing determination unit 26 performs image processing and pattern determination. In the image processing, image data including the marking 42 is cut out from the image data captured by the camera 15, each pixel information of the cut-out image data is converted into binary data, and a character pattern is detected from the binary data. In the pattern determination, the detected character pattern is matched with a pre-stored character pattern, the stamp 42 is identified (determining which symbol the stamp 42 represents), and the symbol represented by the stamp 42 is used as stamp information. The data is sequentially stored in the storage unit 22.

画像処理判定部26が刻印42を識別できない場合、光量制御部27は、光量が段階的に増加するように補助照明13を制御する。撮像制御部25は、補助照明13の光量が段階的に増加する毎に、カメラ15へ撮像指示信号を出力する。撮像指示信号を受信したカメラ15は、コンロッド41の撮像面を撮像し、その画像データをコントローラ20へ出力する。画像データがカメラ15からコントローラ20に入力すると、画像処理判定部26は、画像処理及びパターン判定を実行する。光量制御部27は、画像処理判定部26が刻印42を識別するか、或いは補助照明13が最大光量(上限値)に達するまで、補助照明13の光量の増加を継続する。   When the image processing determination unit 26 cannot identify the marking 42, the light amount control unit 27 controls the auxiliary illumination 13 so that the light amount increases stepwise. The imaging control unit 25 outputs an imaging instruction signal to the camera 15 every time the light amount of the auxiliary illumination 13 increases stepwise. The camera 15 that has received the imaging instruction signal images the imaging surface of the connecting rod 41 and outputs the image data to the controller 20. When image data is input from the camera 15 to the controller 20, the image processing determination unit 26 performs image processing and pattern determination. The light amount control unit 27 continues to increase the light amount of the auxiliary illumination 13 until the image processing determination unit 26 identifies the marking 42 or until the auxiliary illumination 13 reaches the maximum light amount (upper limit value).

補助照明13が最大光量に達しても画像処理判定部26が刻印42を識別できない場合、アーム制御部24は、カメラ15の姿勢が基本姿勢から段階的に変わるように、ロボットアーム2を駆動制御する。撮像制御部25は、カメラ15の姿勢が段階的に変更される毎に、カメラ15へ撮像指示信号を出力する。撮像指示信号を受信したカメラ15は、コンロッド41の撮像面を撮像し、その画像データをコントローラ20へ出力する。画像データがカメラ15からコントローラ20に入力すると、画像処理判定部26は、画像処理及びパターン判定を実行する。アーム制御部24は、画像処理判定部26が刻印42を識別するか、或いはカメラ15の姿勢が可動範囲の限界に達するまで、カメラ15の姿勢の変更を継続する。   If the image processing determination unit 26 cannot identify the marking 42 even if the auxiliary illumination 13 reaches the maximum light amount, the arm control unit 24 controls the driving of the robot arm 2 so that the posture of the camera 15 changes stepwise from the basic posture. To do. The imaging control unit 25 outputs an imaging instruction signal to the camera 15 every time the posture of the camera 15 is changed stepwise. The camera 15 that has received the imaging instruction signal images the imaging surface of the connecting rod 41 and outputs the image data to the controller 20. When image data is input from the camera 15 to the controller 20, the image processing determination unit 26 performs image processing and pattern determination. The arm control unit 24 continues to change the posture of the camera 15 until the image processing determination unit 26 identifies the marking 42 or until the posture of the camera 15 reaches the limit of the movable range.

カメラ15の姿勢が変更可能範囲の限界に達しても画像処理判定部26が刻印42を識別できない場合、表示制御部28は、刻印42を識別不能である旨を示すエラー表示を表示装置3に表示する。   If the image processing determination unit 26 cannot identify the stamp 42 even when the posture of the camera 15 reaches the limit of the changeable range, the display control unit 28 displays an error display on the display device 3 indicating that the stamp 42 cannot be identified. indicate.

画像処理判定部26は、1つの搬送箱43に収容された全て(12本)のコンロッド41の刻印42を識別すると、各組(4本)のコンロッド41の組み合わせが適正であるか否かを判定する組み合わせ判定処理を、識別した刻印42に基づいて実行する。具体的には、記憶部22に記憶された刻印情報を組毎に読み出し、読み出した4つの刻印情報が全て共通する所定の情報である場合に適正であると判定し、4つの刻印情報に所定の情報以外の情報が含まれている場合に不適正であると判定する。   When the image processing determination unit 26 identifies the markings 42 of all (12) connecting rods 41 accommodated in one transport box 43, whether or not the combination of the connecting rods 41 of each set (4) is appropriate. A combination determination process for determining is executed based on the identified marking 42. Specifically, the marking information stored in the storage unit 22 is read for each set, and when the read four marking information is all predetermined common information, it is determined to be appropriate, and the four marking information is predetermined. If information other than this information is included, it is determined to be inappropriate.

表示制御部28は、画像処理判定部26によるコンロッド41の組み合わせ判定の結果を、表示装置3に表示する。   The display control unit 28 displays the result of the combination determination of the connecting rod 41 by the image processing determination unit 26 on the display device 3.

次に、コントローラ20が実行する検査処理の1サイクルについて、図4のフローチャートを参照して説明する。本処理は、コントローラ20が検査作業者から所定の開始指示を受ける(例えば、開始ボタンを押下する)ことによって開始され、光量制御部27は、補助照明13の消灯を維持したまま、メイン照明14を点灯する。1つの搬送箱43が1サイクルに対応し、1つの搬送箱43内の全てのコンロッド41の検査が終了すると、次の搬送箱43に対応する検査サイクルが連続して開始される。   Next, one cycle of the inspection process executed by the controller 20 will be described with reference to the flowchart of FIG. This process is started when the controller 20 receives a predetermined start instruction from the inspection worker (for example, pressing a start button), and the light amount control unit 27 maintains the extinguishing of the auxiliary illumination 13 and the main illumination 14. Lights up. When one transport box 43 corresponds to one cycle and inspection of all the connecting rods 41 in one transport box 43 is completed, inspection cycles corresponding to the next transport box 43 are continuously started.

本処理が開始されると、コンベア制御部23はコンベア40を制御し、搬送箱43は検査位置まで移動して停止する(ステップS1)。   When this process is started, the conveyor control unit 23 controls the conveyor 40, and the transport box 43 moves to the inspection position and stops (step S1).

搬送箱43が検査位置で停止すると、アーム制御部24はロボットアーム2を制御し、カメラ15は、搬送方向最前端のコンロッド41に対応する最前端の撮像位置に移動して、基本姿勢で停止する(ステップS2)。   When the transport box 43 stops at the inspection position, the arm control unit 24 controls the robot arm 2, and the camera 15 moves to the foremost imaging position corresponding to the connecting rod 41 at the front end in the transport direction and stops at the basic posture. (Step S2).

撮像ユニット10が撮像位置で停止すると、撮像制御部25は、カメラ15へ撮像指示信号を出力し、撮像指示信号を受信したカメラ15は、コンロッド41の撮像面を撮像し、その画像データをコントローラ20へ出力する(ステップS3)。   When the imaging unit 10 stops at the imaging position, the imaging control unit 25 outputs an imaging instruction signal to the camera 15, and the camera 15 that has received the imaging instruction signal images the imaging surface of the connecting rod 41 and uses the image data as a controller. 20 (step S3).

画像データがカメラ15からコントローラ20に入力すると、画像処理判定部26は、画像処理及びパターン判定を実行する(ステップS4)。   When image data is input from the camera 15 to the controller 20, the image processing determination unit 26 performs image processing and pattern determination (step S4).

パターン判定において刻印42が識別不能であると(ステップS5:NO)、光量制御部27は、補助照明13の光量が上限値に達しているか否かを判定し(ステップS6)、補助照明13の光量が上限値に達していない場合(ステップS6:NO)、補助照明13の光量を1段階増加する(ステップS7)。   If the marking 42 cannot be identified in the pattern determination (step S5: NO), the light amount control unit 27 determines whether or not the light amount of the auxiliary illumination 13 has reached the upper limit value (step S6). If the light amount has not reached the upper limit (step S6: NO), the light amount of the auxiliary illumination 13 is increased by one step (step S7).

補助照明13の光量が1段階増加すると、撮像面の撮像(ステップS3)と画像処理及びパターン判定(ステップS4)とを再度実行する。補助照明13の光量が増加しても刻印42が識別不能の場合(ステップS5:NO)、補助照明13の光量が上限値に達するまで、撮像面の撮像(ステップS3)と画像処理及びパターン判定(ステップS4)とを繰り返して実行する。   When the light amount of the auxiliary illumination 13 increases by one step, the imaging surface imaging (step S3), image processing, and pattern determination (step S4) are executed again. If the marking 42 cannot be identified even if the amount of light from the auxiliary illumination 13 increases (step S5: NO), the imaging surface is imaged (step S3), image processing, and pattern determination until the amount of light from the auxiliary illumination 13 reaches the upper limit. (Step S4) is repeatedly executed.

補助照明13の光量が上限値に達すると(ステップS6:YES)、アーム制御部24は、カメラ15の姿勢を変更可能か否か(可動範囲の限界に達したか否か)を判定し(ステップS8)、変更可能な場合(ステップS8:YES)、カメラ15の姿勢を1段階変更する(ステップS9)。   When the amount of light of the auxiliary illumination 13 reaches the upper limit (step S6: YES), the arm control unit 24 determines whether or not the posture of the camera 15 can be changed (whether or not the limit of the movable range has been reached) ( In step S8), if changeable (step S8: YES), the posture of the camera 15 is changed by one step (step S9).

カメラ15の姿勢が1段階変更されると、撮像面の撮像(ステップS3)と画像処理及びパターン判定(ステップS4)とを再度実行する。カメラ15の姿勢が変更されても刻印42が識別不能の場合(ステップS5:NO)、カメラ15の姿勢が可動範囲の限界に達するまで、撮像面の撮像(ステップS3)と画像処理及びパターン判定(ステップS4)とを繰り返して実行する。   When the posture of the camera 15 is changed by one step, the imaging surface imaging (step S3), image processing, and pattern determination (step S4) are executed again. If the marking 42 cannot be identified even if the posture of the camera 15 is changed (step S5: NO), the imaging surface is imaged (step S3), image processing, and pattern determination until the posture of the camera 15 reaches the limit of the movable range. (Step S4) is repeatedly executed.

カメラ15の姿勢が可動範囲の限界に達すると(ステップS8:NO)、表示制御部28は、刻印42を識別不能である旨を示すエラー表示を表示装置3に表示し(ステップS10)、本処理が終了する。   When the posture of the camera 15 reaches the limit of the movable range (step S8: NO), the display control unit 28 displays an error display indicating that the stamp 42 cannot be identified on the display device 3 (step S10). The process ends.

一方、パターン判定において刻印42が識別されると(ステップS5:YES)、画像処理判定部26は、刻印42が表す記号を刻印情報として記憶部22に記憶し(ステップS11)、光量制御部27は、補助照明13を消灯して光量を最小に設定する(ステップS12)。   On the other hand, when the marking 42 is identified in the pattern determination (step S5: YES), the image processing determination unit 26 stores the symbol represented by the marking 42 in the storage unit 22 as the marking information (step S11), and the light amount control unit 27. Turns off the auxiliary illumination 13 and sets the amount of light to the minimum (step S12).

カメラ15が最後端の撮像位置に未到達であり、記憶部22に記憶された刻印情報が所定数(12個)に達していない場合(ステップS13:NO)、ステップS2へ移行し、カメラ15を次の撮像位置に移動して、ステップ3以降の処理を実行する。   If the camera 15 has not reached the last imaging position and the stamp information stored in the storage unit 22 has not reached the predetermined number (12) (step S13: NO), the process proceeds to step S2, and the camera 15 Is moved to the next imaging position, and the processes in and after step 3 are executed.

カメラ15が最後端の撮像位置に到達し、記憶部22に記憶された刻印情報が所定数(12個)に達していると(ステップS13:YES)、画像処理判定部26は、組み合わせ判定処理を実行する。組み合わせ判定処理では、記憶部22に記憶された刻印情報を組毎に読み出し、読み出した4つの刻印情報が全て共通する所定の情報である場合に適正であると判定し、4つの刻印情報に所定の情報以外の情報が含まれている場合に不適正であると判定する。   When the camera 15 has reached the last imaging position and the marking information stored in the storage unit 22 has reached a predetermined number (12) (step S13: YES), the image processing determination unit 26 performs combination determination processing. Execute. In the combination determination process, the marking information stored in the storage unit 22 is read for each set, and when the read four marking information is the predetermined common information, it is determined to be appropriate and the four marking information is predetermined. If information other than this information is included, it is determined to be inappropriate.

組み合わせ判定処理が完了すると、表示制御部28は、画像処理判定部26によるコンロッド41の組み合わせ判定の結果を、表示装置3に表示し、本処理が終了する。   When the combination determination process is completed, the display control unit 28 displays the result of the combination determination of the connecting rod 41 by the image processing determination unit 26 on the display device 3, and this process ends.

以上説明したように、本実施形態によれば、画像処理判定部26が画像データから刻印42を識別できない場合には、補助照明13の光量が段階的に増加し、光量の増加毎に撮像面を撮像し、新たに撮像された画像データから刻印42の識別を行うので、連続して検出される複数のコンロッド41間において撮像面の反射率が相違する場合であっても、各撮像面にとって適切な光量で撮像された画像データを用いて刻印42の識別を行うことができ、識別エラーの発生頻度を低く抑えることができる。   As described above, according to the present embodiment, when the image processing determination unit 26 cannot identify the marking 42 from the image data, the amount of light of the auxiliary illumination 13 increases stepwise, and the imaging surface increases every time the amount of light increases. Since the marking 42 is identified from the newly captured image data, even if the reflectance of the imaging surface is different among the plurality of connecting rods 41 that are continuously detected, for each imaging surface The marking 42 can be identified using image data captured with an appropriate amount of light, and the frequency of occurrence of identification errors can be kept low.

また、最大光量に達しても画像処理判定部26が画像データから刻印42を識別できないときには、撮像方向を段階的に変更し、撮像方向の変更毎に撮像面を撮像し、新たに撮像された画像データから刻印42の識別を行うので、識別エラーの発生頻度をさらに低く抑えることができる。   Further, when the image processing determination unit 26 cannot identify the stamp 42 from the image data even when the maximum amount of light is reached, the imaging direction is changed in stages, the imaging surface is imaged every time the imaging direction is changed, and a new image is taken. Since the marking 42 is identified from the image data, the occurrence frequency of identification errors can be further reduced.

なお、上記実施形態は本発明の一例であり、本発明を逸脱しない範囲において変更可能である。   In addition, the said embodiment is an example of this invention and can be changed in the range which does not deviate from this invention.

例えば、メイン照明14及び補助照明13に代えて、光量が変更可能な1つの照明装置を設けてもよい。補助照明13の光量を消灯状態から増加せず、所定の光量から段階的に減少してもよい。撮像方向を変更する際に、補助照明13を最大光量とせずに所定の光量に設定してもよく、補助照明13を消灯してもよい。カメラ15の撮像方向の変更を、光量の減少と同時に行ってもよく、省略してもよい。   For example, instead of the main illumination 14 and the auxiliary illumination 13, a single illumination device that can change the amount of light may be provided. The light quantity of the auxiliary illumination 13 may be decreased stepwise from the predetermined light quantity without increasing from the extinguished state. When changing the imaging direction, the auxiliary illumination 13 may be set to a predetermined light amount without setting the maximum light amount, or the auxiliary illumination 13 may be turned off. The change of the imaging direction of the camera 15 may be performed simultaneously with the decrease of the light amount or may be omitted.

本発明は、対象物体の表面に付された記号を識別するシステムに広く適用可能である。   The present invention is widely applicable to a system for identifying a symbol attached to the surface of a target object.

1:検査システム
2:ロボットアーム(撮像方向変更手段)
3:表示装置
10:撮像ユニット
11:ベース板
12:カメラユニット
13:補助照明(照射手段)
14:メイン照明
15:カメラ(撮像手段)
20:コントローラ
21:CPU
22:記憶部
23:コンベア制御部
24:アーム制御部(撮像方向制御手段)
25:撮像制御部
26:画像処理判定部(記号識別手段)
27:光量制御部(光量制御手段)
28:表示制御部
40:コンベア
41:コンロッド(対象物体)
42:刻印(記号)
43:搬送箱
1: Inspection system 2: Robot arm (imaging direction changing means)
3: Display device 10: Imaging unit 11: Base plate 12: Camera unit 13: Auxiliary illumination (irradiation means)
14: Main illumination 15: Camera (imaging means)
20: Controller 21: CPU
22: Storage unit 23: Conveyor control unit 24: Arm control unit (imaging direction control means)
25: Imaging control unit 26: Image processing determination unit (symbol identification means)
27: Light quantity control unit (light quantity control means)
28: Display control unit 40: Conveyor 41: Connecting rod (target object)
42: Stamp (symbol)
43: Transport box

Claims (2)

対象物体の表面に付された記号を撮像し、その画像データを出力する撮像手段と、
光量を変更可能な照射光によって前記対象物体の表面を照射する照射手段と、
前記撮像手段が出力した画像データから前記記号を検出して識別する記号識別手段と、
前記記号識別手段が前記画像データから前記記号を識別できないとき、前記照射手段の光量を変更する光量制御手段と、を備えた
ことを特徴とする画像認識システム。
An imaging means for imaging the symbol attached to the surface of the target object and outputting the image data;
Irradiating means for irradiating the surface of the target object with irradiation light capable of changing the amount of light;
Symbol identifying means for detecting and identifying the symbol from the image data output by the imaging means;
An image recognition system comprising: a light amount control unit that changes a light amount of the irradiation unit when the symbol identification unit cannot identify the symbol from the image data.
請求項1に記載の画像認識判定システムであって、
前記対象物体の表面に対する前記撮像手段の撮像方向を変更する撮像方向変更手段と、
前記記号識別手段が前記画像データから前記記号を識別できないとき、前記撮像方向変更手段を制御して前記撮像手段の撮像方向を変更する撮像方向制御手段と、を備えた
ことを特徴とする画像認識システム。
The image recognition determination system according to claim 1,
Imaging direction changing means for changing the imaging direction of the imaging means relative to the surface of the target object;
An image direction control unit that controls the image capturing direction changing unit to change the image capturing direction of the image capturing unit when the symbol identifying unit cannot identify the symbol from the image data. system.
JP2011049297A 2011-03-07 2011-03-07 Image recognition system Expired - Fee Related JP5939699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011049297A JP5939699B2 (en) 2011-03-07 2011-03-07 Image recognition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011049297A JP5939699B2 (en) 2011-03-07 2011-03-07 Image recognition system

Publications (2)

Publication Number Publication Date
JP2012185728A true JP2012185728A (en) 2012-09-27
JP5939699B2 JP5939699B2 (en) 2016-06-22

Family

ID=47015760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011049297A Expired - Fee Related JP5939699B2 (en) 2011-03-07 2011-03-07 Image recognition system

Country Status (1)

Country Link
JP (1) JP5939699B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016052514A (en) * 2014-09-03 2016-04-14 ダイソン・テクノロジー・リミテッド Mobile robot
US10144342B2 (en) 2014-09-03 2018-12-04 Dyson Technology Limited Mobile robot
WO2022156707A1 (en) * 2021-01-19 2022-07-28 佛山市顺德区美的洗涤电器制造有限公司 Light supplementing method and light supplementing apparatus for dishwasher, and dishwasher

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161735A (en) * 1997-12-01 1999-06-18 Nidek Co Ltd Device for recognizing character
JP2001118232A (en) * 1999-10-20 2001-04-27 Tdk Corp Method and device for reading mark
JP2006172080A (en) * 2004-12-15 2006-06-29 Hitachi Global Storage Technologies Netherlands Bv Parameter setup method of light source, and recognition method of identification symbol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161735A (en) * 1997-12-01 1999-06-18 Nidek Co Ltd Device for recognizing character
JP2001118232A (en) * 1999-10-20 2001-04-27 Tdk Corp Method and device for reading mark
JP2006172080A (en) * 2004-12-15 2006-06-29 Hitachi Global Storage Technologies Netherlands Bv Parameter setup method of light source, and recognition method of identification symbol

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CSNG200900534002; 高橋 泰岳、外2名: '"価値システムに基づく他者行為観察と自己行動学習の循環的発達"' 知能と情報(日本知能情報ファジィ学会誌) Vol.21, No.5, 20091015, p.14-26, 日本知能情報ファジィ学会 *
JPN6014044133; 高橋 泰岳、外2名: '"価値システムに基づく他者行為観察と自己行動学習の循環的発達"' 知能と情報(日本知能情報ファジィ学会誌) Vol.21, No.5, 20091015, p.14-26, 日本知能情報ファジィ学会 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016052514A (en) * 2014-09-03 2016-04-14 ダイソン・テクノロジー・リミテッド Mobile robot
US10112302B2 (en) 2014-09-03 2018-10-30 Dyson Technology Limited Mobile robot
US10144342B2 (en) 2014-09-03 2018-12-04 Dyson Technology Limited Mobile robot
WO2022156707A1 (en) * 2021-01-19 2022-07-28 佛山市顺德区美的洗涤电器制造有限公司 Light supplementing method and light supplementing apparatus for dishwasher, and dishwasher

Also Published As

Publication number Publication date
JP5939699B2 (en) 2016-06-22

Similar Documents

Publication Publication Date Title
TWI706143B (en) Testing device and method for circuit board dispensing
JP2019010888A5 (en)
EP3736560A1 (en) Apparatus for inspecting substrate and method for determining fault type of screen printer
JP6537332B2 (en) Image processing method and photographing apparatus
EP2986412B1 (en) Colour marking metal surfaces
JP5939699B2 (en) Image recognition system
JP2012064171A (en) Code print quality evaluation device
WO2019039016A1 (en) Medicine inspection assistance device, image processing device, image processing method, and program
JP2022162153A (en) System, processing method, and program
Martinez et al. Automated 3D vision guided bin picking process for randomly located industrial parts
WO2018088460A1 (en) Well address acquiring system, well address acquiring method, and program
JP2010052060A (en) Automatic operation device
US10967517B2 (en) Information processing apparatus, method, and storage medium for presenting information for calibration
JP6265784B2 (en) Posture estimation system, program, and posture estimation method
JP5691736B2 (en) Reader
EP3783342A1 (en) Inspection system, inspection apparatus, and inspection method
JP2017220865A5 (en)
JP2014211769A5 (en)
JP2008014857A (en) Device, method, and program for acquiring coordinate for inspection of printed board
JP6424667B2 (en) Inspection apparatus, inspection method, and program for inspection apparatus
JP2018096872A (en) Measurement device, measurement method, system, and manufacturing method of article
JPH11351824A (en) Coordinate system correcting method and image measuring instrument
JP6985771B1 (en) Inspection device and inspection method for engraved characters
JP2000055820A (en) Optical recognition method and device of product
JP2012164153A (en) Optical information reading apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141017

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141215

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150408

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20150416

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20150515

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160516

R150 Certificate of patent or registration of utility model

Ref document number: 5939699

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees