JPH03204792A - Method and device for detecting marking - Google Patents

Method and device for detecting marking

Info

Publication number
JPH03204792A
JPH03204792A JP2000100A JP10090A JPH03204792A JP H03204792 A JPH03204792 A JP H03204792A JP 2000100 A JP2000100 A JP 2000100A JP 10090 A JP10090 A JP 10090A JP H03204792 A JPH03204792 A JP H03204792A
Authority
JP
Japan
Prior art keywords
image
stamped
marking
imaging
stamp
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
JP2000100A
Other languages
Japanese (ja)
Other versions
JPH0792813B2 (en
Inventor
Hidekuni Nakamura
英都 中村
Tetsumi Harakawa
哲美 原川
Hiroki Mikami
博季 三上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Steel Corp
Original Assignee
Nippon Steel Corp
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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP2000100A priority Critical patent/JPH0792813B2/en
Publication of JPH03204792A publication Critical patent/JPH03204792A/en
Publication of JPH0792813B2 publication Critical patent/JPH0792813B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To automatize the detection of marking by performing character recognition by binarizing image pickup signals obtained with image pickup means in plural inspection areas, respectively, limiting a specific marking member based on the change point of a binarization signal, and performing the binarization processing of a marking image in the marking member. CONSTITUTION:When high change points h1-h4 are detected in all the set plural inspection areas out of plural marking surfaces in a photographic image, a part enclosed with each of the change points h1-h4 is specified as one marking surface. Information for character recognition can be obtained by applying the binarization processing and collateral processing at need are applied only to the specific marking surface. In such a way, one of the marking surfaces can be specified even when plural marking surfaces are included in the photographic image, and the detection of marking can be automatized.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は打刻印字像が形成された複数の打刻材の中か
ら1つの打刻材を選出し、その打刻印を検出する検出方
法及び装置に係り、特に、比較的小型の一次圧延鋼材に
打刻されたマーキングをテレビカメラで撮影し、これを
画像処理して内容を認識する打刻印の検出方法及び装置
に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a detection method for selecting one stamped material from a plurality of stamped materials on which stamped images are formed and detecting the stamped stamp. In particular, the present invention relates to a method and apparatus for detecting stamps, in which a marking stamped on a comparatively small primary rolled steel material is photographed with a television camera, and the content thereof is recognized by image processing.

[従来の技術] 例えば、比較的小型の一次圧延鋼材(例えばビレット、
ブルーム)に対し、数字、文字、記号などをマーキング
し、このマーキングを自動的に読み取って認識し、これ
を製造、加工、在庫管理などに利用している。
[Prior art] For example, relatively small primary rolled steel materials (e.g. billet,
Bloom) is marked with numbers, letters, symbols, etc., and the markings are automatically read and recognized and used for manufacturing, processing, inventory management, etc.

このマーキングの形成は、数字、文字、記号などが左右
反転に形成された印字部材(文字金型)を−次圧延鋼材
の端面に押圧して刻設し、刻印面に数字、文字、記号な
どが溝状に形成されるようにしている。
This marking is formed by pressing a marking member (letter mold) on which numbers, letters, symbols, etc. are formed in a horizontally reversed manner onto the end face of the rolled steel material. is formed in the shape of a groove.

この1つの方法として、−次圧延鋼材(以下、刻印材と
いう)に形成された打刻印字像をテレビカメラなどの撮
像装置により多値の原画像信号として得、これを変換し
て得る2値の最終画像を用いて文字を認識するものがあ
る。そして1文字認識用の最終画像を得るための画像処
理として1例えば、特開昭61−80372号かある。
One method for this is to obtain a stamped image formed on a rolled steel material (hereinafter referred to as the stamping material) as a multi-value original image signal using an imaging device such as a television camera, and convert this into a binary signal. There is a method that recognizes characters using the final image. An example of image processing for obtaining a final image for single character recognition is disclosed in Japanese Patent Application Laid-Open No. 61-80372.

これに示された技術は、多値の原画像を2値の最終画像
に変換する2値化処理において1画像全体に対して1つ
のしきい値を用いるものとし、このしきい値を最終画像
の低輝度領域の数が設定値に合致するまて更新して決定
することを特徴としている。
The technology shown here uses one threshold value for the entire image in the binarization process that converts a multivalued original image into a binary final image, and this threshold value is It is characterized by updating and determining the number of low brightness areas in the area that matches the set value.

[発明が解決しようとする課題] しかし、上記のような従来の打刻印の検出装置において
は、複数の刻印材が同時に撮影領域に搬送された場合、
その1つを特定化することがてきないため、刻印検出を
行うことができない。
[Problems to be Solved by the Invention] However, in the conventional stamp detection device as described above, when a plurality of stamp materials are conveyed to the imaging area at the same time,
Since it is not possible to specify one of them, marking detection cannot be performed.

また、1つのみのしきい値を用いて画像全体に対する二
値化処理を行っているため、誤認識をする場合がある。
Furthermore, since the entire image is binarized using only one threshold value, erroneous recognition may occur.

すなわち、打刻面は平坦でなく、また錆や汚染を生じて
いることが多く、その発生の程度や形成状況も一定ては
ない、このため、汚れなどが刻印と共に検出され、誤認
識や認識不能を招くことになる。
In other words, the engraving surface is not flat and often has rust or contamination, and the degree of occurrence and formation conditions are not constant. Therefore, dirt etc. can be detected along with the engraving, leading to misrecognition or recognition. It will lead to incompetence.

この発明は、かかる従来技術の問題点を解決するために
なされたもので、同時に複数の刻印材が画像撮影領域に
到来しても、その1つを特定化して打刻印を検出できる
ようにした打刻印の検出方法及び装置を提供することに
ある。
This invention was made in order to solve the problems of the prior art, and even if a plurality of stamping materials arrive at the image capturing area at the same time, it is possible to identify one of them and detect the stamping stamp. An object of the present invention is to provide a method and device for detecting a stamp.

[課題を解決するための手段] 上記の目的を達成するために、この発明は、打刻印字像
が形成された複数の打刻材の打刻面を同時に撮像して撮
像信号を得、前記撮像された領域の中心から放射状に複
数の検査領域を設定し、この検査領域における前記各撮
像信号な二値化し、その変化点が最も強く現われる部位
を検査対象の刻印材の刻印面として特定し、この特定し
た刻印面についてのみ文字認識用の二値化処理を施す方
法と打刻印字像が形成された複数の打刻材の打刻面を斜
め方向から照明して撮像する撮像手段と。
[Means for Solving the Problems] In order to achieve the above object, the present invention obtains an imaging signal by simultaneously imaging the stamping surfaces of a plurality of stamping materials on which stamped images are formed, and A plurality of inspection areas are set radially from the center of the imaged area, each of the imaging signals in this inspection area is binarized, and the part where the change point appears most strongly is identified as the stamping surface of the stamping material to be inspected. , a method of performing binarization processing for character recognition only on the identified stamped surface, and an imaging means for capturing an image by illuminating the stamping surfaces of a plurality of stamping materials on which stamped images are formed from an oblique direction.

この撮像手段によって得られた前記撮像領域の中心から
放射状に複数の検査領域を設定し、この検査領域におけ
る前記撮像手段によって得られた各撮像信号を二値化す
る手段と、この手段によって得られた二値化信号の変化
点によって特定の打刻材を限定し、この打刻材における
打刻印字像を二値化処理して文字認識を行なう文字認識
手段とを具備した装置である。
A plurality of inspection areas are set radially from the center of the imaging area obtained by the imaging means, and means for binarizing each imaging signal obtained by the imaging means in the inspection area; This device is equipped with a character recognition means that limits a specific stamped material based on the change point of the binary signal, and performs character recognition by binarizing the stamped image on the stamped material.

[作用コ 上記のように構成することによって、撮影画像中の複数
の打刻面のうち、設定した複数の検査領域のいずれにも
大きな変化点が検出されたとき、この各変化点て囲まれ
る部分を1つの刻印面として特定する。この特定した刻
印面のみについて二値化処理及び更に必要に応じて付随
する処理を施すことにより文字認識用の情報を得ること
ができる。したかって、撮影画像中に複数の刻印面な含
む場合でも、その中の1つを特定することができ、刻印
検出の自動化を図ることが可能になる。
[Operation] By configuring as above, when a large change point is detected in any of the plurality of set inspection areas among the plurality of stamped surfaces in the photographed image, each change point is surrounded. Identify the part as one stamped surface. Information for character recognition can be obtained by performing binarization processing and additional processing as necessary on only the identified stamped surface. Therefore, even if a photographed image includes a plurality of marking surfaces, one of them can be identified, and marking detection can be automated.

[実施例] 第1図はこの発明の一実施例を示すブロック図である。[Example] FIG. 1 is a block diagram showing one embodiment of the present invention.

撮像装置lは複数のうちの1つの刻印材(この実施例て
は、ビレットについて例示)の打刻面を撮影するもので
あり、例えば、テレビカメラが用いられる。撮像装置l
には打刻検出装置2が接続され、この打刻検出装置2に
は文字認識処理部3−1〜3−Nか接続されている。
The imaging device 1 is for photographing the stamping surface of one of the plurality of stamping materials (in this embodiment, a billet is exemplified), and for example, a television camera is used. Imaging device
A stamp detection device 2 is connected to the stamp detection device 2, and character recognition processing units 3-1 to 3-N are connected to the stamp detection device 2.

撮像装置lは、第2図に示すように、複数の刻印材4の
うちの少なくとも1つの打刻面を撮影領域とするように
配設され、また、打刻面を照明するために複数のランプ
5が配設されている。
As shown in FIG. 2, the imaging device l is arranged so that at least one of the stamping surfaces of the plurality of stamping materials 4 is taken as a photographing area, and also has a plurality of A lamp 5 is provided.

打刻画像の抽出が確実に行われるためには、背景と文字
との濃度差(コントラスト)が大きいことが望まれる。
In order to reliably extract the stamped image, it is desirable that the density difference (contrast) between the background and the characters be large.

この濃度差は、■照明光の照射方向、■文字形状で決ま
る文字の実効直線長(なお、ここでは各照明方向に平行
な直線を考えたとき、その直線と文字とがかさなる長さ
の一番長いものを実効直線長と定義する)、■文字の打
刻法さなどに関係する。そして、抽出を良好にするため
には、文字の打刻が深く、実効直線長を短くするのがよ
く、実効直線を短くするためにはランプ5による照明を
打刻面に対して斜め方向から行うのがよい。
This density difference is determined by ■the irradiation direction of the illumination light, and ■the effective linear length of the character determined by the character shape (here, when considering a straight line parallel to each illumination direction, the length that the straight line and the character overlap) The longest length is defined as the effective straight line length), ■It is related to the stamping method of characters, etc. In order to improve the extraction, it is better to make the characters deeply engraved and to shorten the effective straight line length. It's good to do it.

打刻検出装置2は、撮像装置lからの原画像信号11中
に含まれる複数の刻印材4の1つのみを特定する端面マ
スク画像再生部6、刻印像のみを強調する処理を施す刻
印画像強調処理部7、アンド回路8、刻印材向き検出処
理部9.刻印位置検出部10、刻印画像分離処理部11
、及び二値化処理部11.〜12−.から構成されてい
る。
The stamp detection device 2 includes an end face mask image reproduction unit 6 that identifies only one of the plurality of stamp materials 4 included in the original image signal 11 from the imaging device 1, and a stamp image reproduction unit 6 that performs processing to emphasize only the stamp image. Emphasis processing unit 7, AND circuit 8, marking material orientation detection processing unit 9. Engraving position detection section 10, engraving image separation processing section 11
, and a binarization processing unit 11. ~12-. It consists of

次に、第1図に示す構成の概略動作について説明する。Next, the general operation of the configuration shown in FIG. 1 will be explained.

まず、撮像装置lによって第2図に示す方向から刻印材
4の打刻面を撮像し、刻印像を多値の原画像信号13と
して得る。これに対し刻印面の全体が撮影領域内にある
刻印材4のみを端面マスク画像生成部6によって抽出し
、端面マスク画像14を出力する。
First, an image of the stamped surface of the stamping material 4 is captured from the direction shown in FIG. 2 by the imaging device 1, and the stamped image is obtained as a multivalued original image signal 13. On the other hand, only the stamp material 4 whose entire stamp surface is within the imaging area is extracted by the end face mask image generation unit 6, and an end face mask image 14 is output.

一方、原画像信号13に対し、刻印画像強調処理部7に
よって刻印像(文字、数字、記号などの像)のみを強調
する処理を施し、刻印画像強調信号15を出力する。つ
いて、アンド回路8によって、端面マスク画像生成部6
で特定された端面マスク画像14の座標Z (x、y)
に含む刻印像(文字、数字、記号など)の刻印画像強調
信号16のみをゲート通過させる。
On the other hand, the original image signal 13 is subjected to a process of emphasizing only the stamped image (images of letters, numbers, symbols, etc.) by the stamped image enhancement processing section 7, and a stamped image enhancement signal 15 is output. Then, the AND circuit 8 generates the end face mask image generator 6.
Coordinates Z (x, y) of the end face mask image 14 specified by
Only the engraved image emphasis signal 16 of the engraved image (letters, numbers, symbols, etc.) included in the image is allowed to pass through the gate.

ついで、刻印材向き検出処理部9によって刻印材の向を
検出し、刻印材向き情報17を出力する。
Next, the direction of the stamp material is detected by the stamp material orientation detection processing section 9, and stamp material orientation information 17 is output.

さらに、刻印画像強調信号12及び刻印材向き情報13
に基づいて刻印位置検出処理部8により刻印位置を検出
する。この刻印位置検出処理部10によって得られる刻
印位置情報18及び原画像信号13に基づいて、刻印画
像分離処理部11により原画像信号13を各々の刻印毎
に分離させたN個の刻印別画像信号19を得る。この刻
印別画像信号19は、N個の中に1つだけの刻印像を含
んでいる。そこで、二値化処理部12−1〜12−8に
よって各々の刻印毎に独立に二値化処理を施すことによ
り、最終画像20−□〜20−Hが得られる。この最終
画像20−8〜20−Hに対し、文字認識処理部3−1
〜3−.4によって文字認識処理を実行する。
Further, a stamp image enhancement signal 12 and stamp material orientation information 13
Based on this, the marking position is detected by the marking position detection processing section 8. Based on the stamp position information 18 and the original image signal 13 obtained by the stamp position detection processing section 10, the stamp image separation processing section 11 separates the original image signal 13 for each stamp into N image signals for each stamp. Get 19. This stamp-specific image signal 19 includes only one stamp image among N images. Therefore, the final images 20-□ to 20-H are obtained by performing binarization processing independently for each marking by the binarization processing units 12-1 to 12-8. For these final images 20-8 to 20-H, the character recognition processing unit 3-1
~3-. 4, character recognition processing is executed.

次に、第3図〜第6図を参照して端面マスク画像生成部
6の処理について説明する。
Next, the processing of the end face mask image generation section 6 will be explained with reference to FIGS. 3 to 6.

ここでは、第3図に示すように、3木の刻印材が撮影領
域内に有り、その中央に1本が位置し、この両側に所定
の間隙をもって2木の刻印材が位置している場合を例に
説明する。そして、撮影領域の中心から十字形に縦、横
に検査領域としての細幅な枠w10. who、 w3
0. w40を設定する。
Here, as shown in Fig. 3, there are three wooden engravings in the photographing area, one in the center, and two wooden engravings on both sides with a predetermined gap. This will be explained using an example. Then, from the center of the imaging area, there is a narrow frame w10 extending vertically and horizontally from the center of the imaging area as an inspection area. who, w3
0. Set w40.

また、印画像の分解能は、例えば、0.305 xO,
3t)5□/1画素のレベルとし、また、枠Wの幅を1
00画素(p i x)とし、枠の長さを256画素と
している。
Further, the resolution of the stamp image is, for example, 0.305 x O,
3t) Set the level to 5□/1 pixel, and set the width of the frame W to 1
00 pixels (p i x), and the length of the frame is 256 pixels.

3本の刻印材は、相互に密着した状態で束ねられている
が、その両端の周縁部は丸みを有しているため、隣接間
及び周縁部の外側には刻印よりも深い溝が形成されてい
る。したがって、枠内を二値化していくと、刻印とは明
らかに異なる二値レベルの変化点が生じ、この変化点位
置を刻印面の周縁と見なすことができる。
The three stamping materials are bundled in close contact with each other, but since the peripheral edges at both ends are rounded, grooves deeper than the stamps are formed between the adjacent edges and on the outside of the peripheral edges. ing. Therefore, when the inside of the frame is binarized, a change point of a binary level that is clearly different from the marking occurs, and the position of this change point can be regarded as the periphery of the marking surface.

具体的には、まず、上記の枠wlo、 w20゜w3G
、 w40内の各々の画像に対し、判別しきい偏性によ
って二値化処理を行う(S31)。ついで、二値化結果
を用いて枠w 10. w20. w30゜w40の各
々に対し、中心から外側に向かって、その長さ方向に順
次プロフィールを測定していくと、第4図に示すように
、抽出対象の刻印材4の刻印面の周縁と刻印材間の間隙
(或いは、開放された空間との間)とが接する位置でプ
ロフィールは大きく変化し、変化点hl(枠wlOに存
在)、変化点h2(枠whoに存在)、変化点h3(枠
w30に存在)、変化点h4(枠w40に存在)か得ら
れる(S32)、t−の変化点で囲まれる部分を刻印材
4の端面であると確定しく533)、これを画像処理上
では第6図に示すように白にセットし、これを端面マス
ク画像14として出力する。
Specifically, first, the above frame wlo, w20゜w3G
, w40 is subjected to binarization processing using discrimination threshold bias (S31). Next, use the binarization results to create a frame w10. w20. When the profile is sequentially measured in the length direction from the center outward for each of w30 and w40, as shown in Figure 4, the periphery of the stamped surface of the stamping material 4 to be extracted and the stamped The profile changes greatly at the position where the gap between the materials (or the open space) comes into contact, and the change point hl (exists in the frame wlO), the change point h2 (exists in the frame who), the change point h3 ( The transition point h4 (existing in the frame w30) is obtained (S32), and the part surrounded by the transition point t- is determined to be the end face of the stamping material 4 (533), and this is determined by image processing. Then, as shown in FIG. 6, it is set to white, and this is output as the end face mask image 14.

次に、刻印画像強調処理部7の詳細について説明する。Next, details of the stamped image enhancement processing section 7 will be explained.

刻印材4に形成されている刻印は、照明によって生じる
影(以下、この影による像を刻印像という)が撮影され
ることにより、画像として捕えられる。したがって、撮
像装置lにとって、刻印像か刻印材向き検出処理や刻印
位置検出処理を施すに充分なほどに鮮明であれば、刻印
画像強調処理は必要ではない、しかし、一般に刻印像を
鮮明に得ることは難しく、刻印画像強調処理を施さなけ
れば、良好な画像検出は得ることはできない。
The stamp formed on the stamp material 4 is captured as an image by photographing a shadow caused by illumination (hereinafter, an image caused by this shadow will be referred to as a stamp image). Therefore, for the imaging device l, as long as the stamped image is clear enough to perform stamping material direction detection processing and stamping position detection processing, stamped image enhancement processing is not necessary. However, in general, stamped images can be clearly obtained. This is difficult, and good image detection cannot be obtained without engraving image enhancement processing.

この刻印画像強調処理部6での処理を数式で示せば、次
のようになる。
The processing in the stamped image enhancement processing section 6 can be expressed mathematically as follows.

すなわち、画像信号13の座標(x、y)の濃度値をf
 (x、y)とすると、刻印強調画像の座標(x、y)
の濃度値g (x、y)は、次式で与えられる。
That is, the density value of the coordinates (x, y) of the image signal 13 is
(x, y), the coordinates of the engraving enhanced image (x, y)
The density value g (x, y) of is given by the following equation.

g  (x、y) = Σaixf  (x−xi、y  yi)ここで、
xi、yiは、原画像信号を画像移動処理させた時のx
、y方向の移動量であり、aiは加重定数を示している
。また、上式の定数(N、xi、yi、ai)は、対象
とする画像信号を特徴から定めることができる。適当な
定数を選ぶことによって、ノイズ分を強調することなく
、刻印画像のみを強調することができる。
g (x, y) = Σaixf (x-xi, y yi) where,
xi, yi are x when the original image signal is subjected to image movement processing
, the amount of movement in the y direction, and ai indicates a weighting constant. Furthermore, the constants (N, xi, yi, ai) in the above equation can be determined from the characteristics of the target image signal. By selecting an appropriate constant, only the stamped image can be emphasized without emphasizing the noise.

次に、第7図を参照して刻印材向き検出処理部9の詳細
について説明する。
Next, details of the marking material orientation detection processing section 9 will be explained with reference to FIG.

刻印材4の刻印(本実施例では、3段の数字の組合せか
ら成り、第1段が5桁、第2段が2桁、第3段が1桁か
らなる)が撮像装置1にとって最適な位置て送られて来
るとはかぎらない。そこて、刻印画像強調信号16の画
像から縦、横を判断し、正位置による画像に変換する。
The engraving on the engraving material 4 (in this embodiment, it consists of a combination of numbers in three stages, the first stage consists of five digits, the second stage consists of two digits, and the third stage consists of one digit) is optimal for the imaging device 1. It doesn't necessarily mean that the location will be sent to you. Then, the vertical and horizontal directions are determined from the image of the engraving image emphasis signal 16, and the image is converted into an image in the correct position.

具体的には、刻印画像の縦、横方向の濃度射影を得、刻
印の配置が刻印材4の中心を回転中心として、点対の配
置が刻印材4の中心を回転中心として、点対象でなけれ
ば刻印材4の向きにより縦、横の積算値a、bの最大偏
位iic、dもしくは大きさが異なる。
Specifically, the vertical and horizontal density projections of the stamped image are obtained, and the arrangement of the stamps is point-symmetric with the center of the stamping material 4 as the rotation center, and the arrangement of point pairs is point-symmetric with the center of the stamping material 4 as the rotation center. If not, the maximum deviations (iic, d) or magnitudes of the vertical and horizontal integrated values a, b will differ depending on the orientation of the marking material 4.

この情報に基づいて解析を行うことにより、刻印材4の
向きを検出することができる。例えば、最大値位置の公
転が、刻印材4の左上、右上、右下、左下のいずれに有
るかにより、回転角な0゜90度、180度、270度
のいずれかにあるものと判定する。
By performing analysis based on this information, the orientation of the marking material 4 can be detected. For example, depending on whether the maximum value position revolves at the upper left, upper right, lower right, or lower left of the stamping material 4, it is determined that the rotation angle is at 0°90°, 180°, or 270°. .

次に、第8図を参照して刻印位置検出処理部8の処理の
詳細について説明する。
Next, details of the processing of the marking position detection processing section 8 will be explained with reference to FIG.

この処理は、刻印画像強調信号16または刻印材向き情
報17に対し、刻印材4の特定範囲(この実施例ては、
第8図中の濃度射影算出範囲1について濃度射影を求め
、その積算値の凹凸を検出することにより、刻印の位置
を検出している。
In this process, a specific range of the stamping material 4 (in this embodiment,
The position of the marking is detected by determining the density projection for the density projection calculation range 1 in FIG. 8 and detecting the unevenness of the integrated value.

第8図においては、刻印の上段の5つの数字の検出を行
っているが、同様の処理を繰り返すことにより、全ての
刻印の位置を検出することが可能である。
In FIG. 8, the five numbers at the top of the markings are detected, but by repeating the same process, it is possible to detect the positions of all markings.

次に、二値化処理部10−1〜10−、の動作の詳細に
ついて説明する。
Next, details of the operation of the binarization processing units 10-1 to 10- will be described.

この構成における概略動作は、刻印別画像(多値画像)
の濃度ヒストグラムを算出し、これによって決定された
二値化しきい値に基づいて刻印別画像な二値化するもの
である。このままでは、様々なノイズを含んでいるため
、二値化画像に対しノイズ除去処理部(不図示)によっ
てノイズ除去処理を実施する。
The outline of the operation in this configuration is as follows:
The density histogram of the image is calculated, and the image for each marking is binarized based on the binarization threshold determined based on the density histogram. Since the image as it is contains various noises, a noise removal process is performed on the binarized image by a noise removal processing unit (not shown).

この二値化処理を第7図に示した各ビレットを例にして
、第9図、第10A図、第10B図及び第11図を参照
して説明する。
This binarization process will be explained using each billet shown in FIG. 7 as an example, with reference to FIGS. 9, 10A, 10B, and 11.

第9図に示すように、入力画像に対し各1文字か枠で囲
まれるように区分し、枠wl〜w8を割り当てる。この
枠wl〜W8の各々に対し、枠内を判別しきい偏性で二
値化しくしきい値:thl、分離度bl)、二値化画像
walを得る(S41)。ついで、残った領域の面積a
rlを測定しく542)、第11図のように、枠内のし
きい値th1以上の濃度を持つ点について(画素の数)
判別しきい偏性て二値化処理(しきい値:th2.分離
度:b2)し、二値化画像wa2を得る(S43)。
As shown in FIG. 9, the input image is divided so that each character is surrounded by a frame, and frames wl to w8 are assigned. For each of the frames wl to W8, the area within the frame is binarized using discrimination threshold bias (threshold: thl, separation degree bl) to obtain a binarized image wal (S41). Then, the area a of the remaining region is
rl (542), as shown in Figure 11, for points within the frame that have a density equal to or higher than the threshold value th1 (number of pixels)
Binarization processing is performed using the discrimination threshold bias (threshold: th2. degree of separation: b2) to obtain a binarized image wa2 (S43).

続いて残った領域の面積ar2を測定しく544)1分
離度blとb2を比較する(S45)。
Next, the area ar2 of the remaining region is measured (544) and the degree of separation bl and b2 are compared (S45).

S45において、bl>b2であれは、第10B図のフ
ロー〇へ移動し、b2>blであれば第1OB図のフロ
ー■へ移動する。
In S45, if bl>b2, the process moves to flow ○ in FIG. 10B, and if b2>bl, the process moves to flow -2 in FIG. 1OB.

フロー■では面積arlと面積しきい値arthを比較
し、a r 1 < a r t hてあれば、以後の
処理対象画像をwalにする(S47)。また、arl
>arthであれば、以後の処理対象画像をwa2にす
る(348)、このS4Bの処理は、346でフロー〇
が選択された場合にも実行される。
In flow (2), the area arl is compared with the area threshold arth, and if ar 1 < ar th, the image to be processed thereafter is set as wal (S47). Also, arl
>arth, the image to be processed thereafter is set to wa2 (348). This process of S4B is also executed when flow ○ is selected in 346.

S46またはS48の処理が終了すると、処理対象画像
内の特徴量を測定する(S49)、ついて、面積30画
素(p i x :ビクセル)未満のものを除去しく5
50)、さらに面積率が0.5以上のものを除去する(
351)。S49〜S51までが、ノイズ除去処理に該
当する。
When the processing in S46 or S48 is completed, the feature amount in the image to be processed is measured (S49), and those with an area of less than 30 pixels (pix: pixels) are removed.
50), and further remove those with an area ratio of 0.5 or more (
351). S49 to S51 correspond to noise removal processing.

次に、本発明の具体的な実施例について説明する。Next, specific examples of the present invention will be described.

ここでは、各印材4が約1200□x tzoo□の角
ビレットで、端面に製品番号が打刻されたものとし、こ
の製品番号を打刻検出装置2によって検出し、これを文
字認識処理部3−I〜3−、によって文字認識している
。また、刻印画像強調処理部7における各定数は次の如
くとした。
Here, it is assumed that each stamp material 4 is a square billet of approximately 1200□ x tzoo□, and a product number is stamped on the end face.This product number is detected by the stamp detection device 2, and this is detected by the character recognition processing section Characters are recognized by -I to 3-. Further, each constant in the stamped image enhancement processing section 7 was set as follows.

N=5 (xi、yi、ai) = (0,0,4)、(4,O,−1)。N=5 (xi, yi, ai) = (0,0,4), (4,O,-1).

(−4,O,−1)、(0,4,−1)。(-4,O,-1), (0,4,-1).

(0,−4,−1) この結果、従来技術による検出ては最終画像に部分的な
錆や汚れが残り、その認識率は76%程度であった。し
かし、本発明による検出では、刻印のみの明瞭な最終画
像を得ることができ、認識率は95%に達することが確
認された。
(0, -4, -1) As a result, when detected using the conventional technology, partial rust and dirt remained in the final image, and the recognition rate was about 76%. However, with the detection according to the present invention, it was confirmed that a clear final image of only the markings could be obtained, and the recognition rate reached 95%.

[発明の効果] 以上より明らかな如く1本発明によれば、打刻印字像が
形成された複数の打刻材の打刻面を同時に撮像して撮像
信号を得、前記撮像された領域の中心から放射状に複数
の検査領域を設定し、この検査領域における前記各撮像
信号を二値化し、その変化点が最も強く現われる部位を
検査対象の刻印材の刻印面として特定し、この特定した
刻印面についてのみ文字認識用の二値化処理を施すよう
にしたので、撮影画像中に複数の刻印面を含む場合でも
、その中の1つを特定することができ、刻印検出の自動
化を図ることが可能になる。
[Effects of the Invention] As is clear from the above, according to the present invention, the stamped surfaces of a plurality of stamped materials on which stamped images are formed are simultaneously imaged to obtain an imaging signal, and the imaged areas are A plurality of inspection areas are set radially from the center, each of the imaging signals in these inspection areas is binarized, the part where the change point appears most strongly is identified as the stamping surface of the stamping material to be inspected, and the identified stamping material is Binarization processing for character recognition is applied only to faces, so even if a photographed image contains multiple stamped faces, one of them can be identified, and stamp detection can be automated. becomes possible.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は第1図に示す撮像装置lの取り付は及び照明手段を示
す説明図、第3図は複数の刻印材から対象の1本を特定
する処理を示す説明図、第4図は刻印材を特定するため
のプロフィール処理を示す変化点検出特性図、第5図は
変化点を求める処理を示すフローチャート、第6図は変
化点に基づいて特定した刻印材のマスク画像図、第7図
は刻印材向き検出処理部9の処理を示す説明図、第8図
は刻印位置検出処理部lOの処理を示す説明図、第9図
は入力画像の枠決め処理を示す説明図、第10A図及び
第10B図は二値化処理部の処理を示すフローチャート
、第11図はしきい値設定を示す説明図である。 図中。 l:撮像装置   2:打刻検出装置 1、〜3−. :文字認識処理部 4:刻印材    5:ランプ 6:端面マスク画像生成部 7:刻印画像強調処理部 8:アンド回路 9:刻印材向き検出処理部 lO:刻印位置検出処理部 ll:刻印画像分離処理部 12−8〜12−.1:二値化処理部 13:ji(画像信q 14:端面マスク画像 15゜ 16:刻印画像強調信号 17:刻印材向き情報 18:刻印位置情報 19:刻印別画像信号 20−□〜2(L、 :最終画像
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing the installation and illumination means of the imaging device shown in FIG. 1, and FIG. An explanatory diagram showing the process of identifying one piece, Figure 4 is a change point detection characteristic diagram showing the profile process to identify the stamping material, Figure 5 is a flowchart showing the process of determining the change point, and Figure 6 is a change point diagram. 7 is an explanatory diagram showing the processing of the engraving material orientation detection processing section 9; FIG. 8 is an explanatory diagram showing the processing of the engraving position detection processing section IO; FIG. 10A and 10B are flowcharts showing the processing of the binarization processing section, and FIG. 11 is an explanatory drawing showing threshold setting. In the figure. l: Imaging device 2: Embossing detection device 1, to 3-. : Character recognition processing unit 4: Engraving material 5: Lamp 6: End face mask image generation unit 7: Engraving image enhancement processing unit 8: AND circuit 9: Engraving material orientation detection processing unit 10: Engraving position detection processing unit 11: Engraving image separation Processing units 12-8 to 12-. 1: Binarization processing unit 13: ji (image signal q 14: end face mask image 15° 16: engraving image enhancement signal 17: engraving material orientation information 18: engraving position information 19: image signal by engraving 20-□~2( L: Final image

Claims (2)

【特許請求の範囲】[Claims] (1)打刻印字像が形成された複数の打刻材の打刻面を
同時に撮像して撮像信号を得、前記撮像された領域の中
心から放射状に複数の検査領域を設定し、この検査領域
における前記各撮像信号を二値化し、その変化点が最も
強く現われる部位を検査対象の刻印材の刻印面として特
定し、この特定した刻印面についてのみ文字認識用の二
値化処理を施すことを特徴とする打刻印の検出方法。
(1) Imaging surfaces of a plurality of stamped materials on which stamped images are formed are simultaneously imaged to obtain imaging signals, a plurality of inspection areas are set radially from the center of the imaged area, and the inspection is performed. Binarize each of the imaging signals in the region, identify the part where the change point appears most strongly as the stamped surface of the stamped material to be inspected, and perform the binarization process for character recognition only on the identified stamped surface. A method for detecting stamps characterized by:
(2)打刻印字像が形成された複数の打刻材の打刻面を
斜め方向から照明して撮像する撮像手段と、この撮像手
段によって得られた前記撮像領域の中心から放射状に複
数の検査領域を設定し、この検査領域における前記撮像
手段によって得られた各撮像信号を二値化する手段と、
この手段によって得られた二値化信号の変化点によって
特定の打刻材を限定し、この打刻材における打刻印字像
を二値化処理して文字認識を行なう文字認識手段とを具
備したことを特徴とする打刻印の検査装置。
(2) an imaging means for capturing images by illuminating the stamping surfaces of a plurality of stamping materials on which stamped images have been formed from an oblique direction; means for setting an inspection area and binarizing each imaging signal obtained by the imaging means in this inspection area;
Character recognition means is provided, which limits a specific stamped material based on the change point of the binary signal obtained by this means, and performs character recognition by binarizing the stamped print image on the stamped material. A stamp inspection device characterized by:
JP2000100A 1990-01-05 1990-01-05 Stamped stamp detection method and device Expired - Lifetime JPH0792813B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000100A JPH0792813B2 (en) 1990-01-05 1990-01-05 Stamped stamp detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000100A JPH0792813B2 (en) 1990-01-05 1990-01-05 Stamped stamp detection method and device

Publications (2)

Publication Number Publication Date
JPH03204792A true JPH03204792A (en) 1991-09-06
JPH0792813B2 JPH0792813B2 (en) 1995-10-09

Family

ID=11464682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000100A Expired - Lifetime JPH0792813B2 (en) 1990-01-05 1990-01-05 Stamped stamp detection method and device

Country Status (1)

Country Link
JP (1) JPH0792813B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3832539A4 (en) * 2018-07-27 2022-08-31 SCREEN Holdings Co., Ltd. Mark inspection device, mark inspection method and article inspection device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6180372A (en) * 1984-09-26 1986-04-23 Nippon Steel Corp Detecting method of dotted print
JPS6222185A (en) * 1985-07-23 1987-01-30 Toshiba Corp Extracting device for photographing image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6180372A (en) * 1984-09-26 1986-04-23 Nippon Steel Corp Detecting method of dotted print
JPS6222185A (en) * 1985-07-23 1987-01-30 Toshiba Corp Extracting device for photographing image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3832539A4 (en) * 2018-07-27 2022-08-31 SCREEN Holdings Co., Ltd. Mark inspection device, mark inspection method and article inspection device
US11680911B2 (en) 2018-07-27 2023-06-20 SCREEN Holdings Co., Ltd. Marking inspection device, marking inspection method and article inspection apparatus

Also Published As

Publication number Publication date
JPH0792813B2 (en) 1995-10-09

Similar Documents

Publication Publication Date Title
KR101403876B1 (en) Method and Apparatus for Vehicle License Plate Recognition
TWI409718B (en) Method of locating license plate of moving vehicle
US8724885B2 (en) Integrated image processor
CN105005766B (en) A kind of body color recognition methods
JP3545506B2 (en) Specific color area extraction method and specific color area removal method
CN110335233B (en) Highway guardrail plate defect detection system and method based on image processing technology
CN107067389A (en) A kind of blind evidence collecting method of distorted image based on Sobel rim detections Yu image block brightness
CN115330795B (en) Cloth burr defect detection method
WO2019076326A1 (en) Shadow detection method and system for surveillance video image, and shadow removing method
CN111539980B (en) A multi-target tracking method based on visible light
CN112508913A (en) Cable section edge detection method based on image detection
CN112488031A (en) A color segmentation based safety helmet detection method
CN118258815A (en) A detection method for flexible film sensors based on machine vision
CN111028263A (en) Moving object segmentation method and system based on optical flow color clustering
CN119380042B (en) An event feature extraction method based on spatial gradient variance maximization
JP2000048120A (en) Method for extracting character area of gray level image and recording medium having recorded the program thereon
CN111444359B (en) Method for identifying placement behavior related to image difference
CN106021610B (en) A kind of method for extracting video fingerprints based on marking area
CN110232709B (en) Method for extracting line structured light strip center by variable threshold segmentation
JP3906221B2 (en) Image processing method and image processing apparatus
CN106778827A (en) A kind of hair density appraisal procedure based on lines cluster
JP2001028059A (en) Method and device for color unevenness inspection
JPH0792813B2 (en) Stamped stamp detection method and device
JP3753234B2 (en) Defect detection method
Zhou et al. A fast algorithm for detecting die extrusion defects in IC packages

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071009

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 15