JPS585606A - System for measuring slant amount of document - Google Patents

System for measuring slant amount of document

Info

Publication number
JPS585606A
JPS585606A JP10292981A JP10292981A JPS585606A JP S585606 A JPS585606 A JP S585606A JP 10292981 A JP10292981 A JP 10292981A JP 10292981 A JP10292981 A JP 10292981A JP S585606 A JPS585606 A JP S585606A
Authority
JP
Japan
Prior art keywords
document
running
amount
scanning
coordinates
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
JP10292981A
Other languages
Japanese (ja)
Other versions
JPS6226683B2 (en
Inventor
Atsushi Shimoyama
霜山 篤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10292981A priority Critical patent/JPS585606A/en
Publication of JPS585606A publication Critical patent/JPS585606A/en
Publication of JPS6226683B2 publication Critical patent/JPS6226683B2/ja
Granted legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G01—MEASURING; TESTING
    • G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00—Measuring arrangements characterised by the use of optical techniques
    • G01B11/02—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/028—Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by measuring lateral position of a boundary of the object
    • G—PHYSICS
    • G01—MEASURING; TESTING
    • G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00—Measuring arrangements characterised by the use of optical techniques
    • G01B11/26—Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

PURPOSE:To measure the slant amount of document accurately even through it has irregular parts due to the work of perforation by obtaining the coordinates of the point from the read outputs corresponding to a plurality of detecting elements of an opticl detecting means which is arranged so as to cross the moving direction of the document. CONSTITUTION:On a segment AB of about 5mm. which is included in the running surface of the document 1 and forms a right angle with the running direction (shown by an arrow) of the document 1, 48 pieces of detecting elements with a diameter of 0.105mm. are closely arranged with two fixed points 12 and 13 as centers. The irregular parts 5 on a front side 4 of the document 1 have a width of 1mm. and a pitch of 6mm.. A scanning part 20 performs the main scanning in the direction at a right angle with the running direction of the document 10 (1) and the secondary scanning in the opposite running direction. The black and white data is converted into the binary data and stored in a picture memory 40 through a gate 30. A microprocessor 50 checks the stored contents bit by bit. The central coordinates of the main scanning line which detects the front side 4 comprising 24 bits or more are detected twice, and the slant amount of the document 10 is obtained regardless of the irregular parts 5.

Description

【発明の詳細な説明】 本発明は光学文字a板装置中光学!−り読取装置などに
おける帳票傾斜量測定方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an optical dial in an optical dial plate device. The present invention relates to a method for measuring the amount of inclination of a form in a paper reading device, etc.

例えに光学文字読取装置にお−ては、一般に手書き文字
及びあるiは印刷文字の記されてiる方形の@st−走
行させ、光学検知器を用いて帳票走行方向と直交する方
向を主走量方向とし帳票走行方向f:″M走査方向とし
て帳sを走査する。そして。
For example, in an optical character reading device, a handwritten character or a printed character is generally written in a rectangular shape marked with i. The scanning direction is set as the scanning direction, and the scanning direction is set as the scanning direction f:''M.The scanning direction is set as the scanning direction.

1桁分σ文字を走査して得られた観測パターン【−頁面
まメモリ上圧写像したのち、その中から順次1文字分の
観測パターンを切出し、必iIによってはこれに前処理
を施したのち、そのバI−ンのI!#徴を抽出し、これ
をあらかじめ準備した基準パターンと比較照合するなど
して文字の続取り【おこなっている、#記の観測パター
ンの4A出しが正確におこなわれるようにするため、帳
Jllには1文字毎に文字記入枠を印刷し帳票記入者は
この枠からはみ出なiように文字を記入するとともに、
光学文字読取装置は帳票上の座標系を用i′c1wI記
のすべての文字枠の位置および寸法を記憶しておき。
Observation pattern obtained by scanning σ characters for one digit [- After mapping the page surface onto the memory, observation patterns for one character are sequentially cut out, and if necessary, preprocessing is performed on them. , that bang I! # Characters are continued by extracting # signs and comparing them with a reference pattern prepared in advance. prints a character entry frame for each character, and the person filling out the form writes the characters in such a way that they do not protrude from this frame, and
The optical character reading device uses the coordinate system on the form to store the positions and dimensions of all character frames in i'c1wI.

帳票上の文字の走査に先立って帳票の走行位置と傾斜量
の測定をおこない、これらの値を用iで観測パターンの
切出し位1illt−決めて−る。第1図は帳票傾斜量
測定方式の従来例の原場図であp帳票1の走行面にふく
まれ帳票lの走行方向(矢印で示す)と直交する直線上
の2定点2及び3を定め。
Prior to scanning the characters on the form, the running position and the amount of inclination of the form are measured, and these values are used to determine the cutting position of the observation pattern using i. Figure 1 is a field diagram of a conventional example of the form inclination measuring method. Two fixed points 2 and 3 are defined on a straight line included in the running surface of form P 1 and orthogonal to the running direction of form I (indicated by an arrow). .

帳JllのwAl)11ilの辺4が定点2及び30関
t−s通する間の帳Jlllの走行長に一副定して@系
の傾斜量【求めている。この方法は帳票の2点の座標を
測定して帳票の傾斜量上京めることにほかならない。
The amount of inclination of the @ system is determined by substituting the running length of the book Jll while the side 4 of the book Jll passes through the fixed points 2 and 30 points t-s. This method is nothing but measuring the coordinates of two points on the form and determining the amount of inclination of the form.

ところがンシシ目加工?施して切離した@票の辺には第
2図に示すように多数の不整部5が規則的なビ、テで存
在する。この不整部5は凸状であることが多く、その高
さは2關にも及ぶことがある。
However, the slit-like finish? As shown in FIG. 2, on the side of the @ tag that has been applied and separated, a large number of irregular portions 5 are present in regular patterns. This irregular portion 5 often has a convex shape, and its height may reach two dimensions.

第1図にνいて帳票lの前端の辺4が第2図のような形
であるとき、2足点2及び3の^ずれをも直゛線部6か
通過するときには帳票lの傾斜量は正確に求められるが
9例えば一方の定点2を直線部6が通過し、他方の定点
3を不整部(凸状)5が通過する場合には帳票1の傾斜
量を正しく求めることかで色ない。その結果、観測パタ
ーンの切出しが正確におこなわれず、したがって文字の
読取力が正確におこなわれなiという問題がめった。
When the front edge 4 of the form l is in the form shown in Fig. 1 and the front edge 4 of the form l is shaped as shown in Fig. 2, when the straight line part 6 passes through the deviation of the two points 2 and 3, the amount of inclination of the form l is can be determined accurately, but 9For example, if a straight section 6 passes through one fixed point 2 and an irregular section (convex) 5 passes through the other fixed point 3, it is difficult to correctly determine the amount of inclination of the form 1. No color. As a result, the problem that the observation pattern was not accurately cut out and therefore the characters could not be read accurately occurred.

本発明はこのような問題を解決するためになされたもの
であって、その目的とすゐところは@票の辺にンシン目
加工を施して切離したために生ずる不整部があっても、
帳票の傾斜量の測定が正確におこなわれ、その績未、正
確な文字読取りがおこなわれるような光学文字読取装置
ft得ることにある。
The present invention has been made to solve such problems, and its purpose is to cut the edges of the @ tag with perforations and to cut it.
To provide an optical character reading device ft which can accurately measure the amount of inclination of a form and can also accurately read characters.

上記の目的を達するため1本発明においては。In order to achieve the above object, one aspect of the present invention is as follows.

相対移動する帳票の移動方向と交叉する様に配置され素
光検知手段と、#光検知手段の読取出力を記憶する画像
メモリとを有する帳票読取装置において、鍍読取出力か
ら該帳票の前端2点の座標【検出して帳票の傾斜量を求
めるのに際し、該光検知手段の複数の検出素子に対応す
る読取出力から各点の座標を得ることを特徴とする。
In a form reading device, which has an elementary light detection means disposed so as to intersect with the moving direction of a relatively moving form, and an image memory that stores the read output of the light detection means, two points from the front edge of the form are detected from the edge reading output. The coordinates of each point are obtained from reading outputs corresponding to a plurality of detection elements of the light detection means when detecting the amount of inclination of the form.

以下本発明を実施例によって詳細に説明する。The present invention will be explained in detail below using examples.

、313図は本発明の実施例の原理図であり、帳票1の
走行面にふくまれ帳票1の走行方向(矢印で示す)と直
交する直線上の2定点12及び13t一定め各O定点上
中心とし帳票走行方向と1又する線分AIlびCDj:
に各484d4O@知素子を豐畿して配列している。検
知素子の径は0.105m1″e6るかも各の線分の長
さは約5Mとなる。一方、使用する帳票lの前端の辺4
に存在する不整−5の幅は11でTol)不6865は
611II11のピッチで生じている。したが9て検知
素子が配列されている各の線分の長さは不整部5の幅の
2倍よフ大きく且つ不整部の生じているピッチよりも短
い。一般に上記の例のようにミシン目加工t−施して切
離した帳票1の辺4に生ずる不整部50幅は検知素子の
径の約lO倍程度であ〕且つ直線部6の長さの5分の1
程度である。したがうて上記のような条件で検知素子を
設ければ、前記線分と帳票の前端の辺のなす角度がよほ
ど大きくない限り、前記の各の線分上t−2個以上の不
整部が通過することもなく。
, 313 is a principle diagram of an embodiment of the present invention, in which two fixed points 12 and 13 on a straight line included in the running surface of the form 1 and orthogonal to the running direction (indicated by an arrow) of the form 1 are fixed on each O fixed point. Line segments AIl and CDj that are centered and intersect with the document running direction:
Each 484d4O@intelligence element is arranged in a row. The diameter of the detection element is 0.105 m1''e6, and the length of each line segment is about 5 M.On the other hand, the front end side 4 of the form l to be used
The width of the irregularity -5 existing in Tol) is 11, and the irregularity 6865 occurs at a pitch of 611II11. However, the length of each line segment on which the sensing elements are arranged is more than twice the width of the irregular portion 5 and shorter than the pitch at which the irregular portion occurs. In general, as in the above example, the width of the irregular part 50 that occurs on the side 4 of the form 1 which has been perforated and separated is about 10 times the diameter of the sensing element] and 5 times the length of the straight part 6. one part
That's about it. Therefore, if a detection element is provided under the above conditions, as long as the angle between the line segment and the front edge of the form is not very large, there will be t-2 or more irregularities on each line segment. without passing through.

したがつてまた、不整部の通過する範囲が各の線分の長
さの半分以上を占めることもない。検知素子をこのよう
に設け、一方の線分上の約半数の検知素子が帳票のll
tj層Q辺會検知してから、他方の線分上の約半数の検
知素子がas#端の辺上検知するまでの間の帳票走行長
上測定して帳票の傾斜量の測定tおこなう仁とができる
。
Therefore, the range through which the irregular portion passes does not occupy more than half of the length of each line segment. With the detection elements arranged in this way, about half of the detection elements on one line segment
The amount of inclination of the form is measured by measuring the running length of the form from when the edge of the layer Q is detected until about half of the sensing elements on the other line segment detect the edge of the as# end. I can do that.

以上は本発明Q実IN何t−原理図によって説明したも
のであるが1次にこれtj!に具体的に説明する。纂4
図は具体的な実施例のIll成金示すブロック図である
。走査部20は@娯lOの走行方向九対し直角方向ビ主
走食方向とし帳票走行方向と逆の方向を副た皇方同とし
て帳票走行に1f走査し。
The above has been explained using the principle diagram of the present invention. This will be explained in detail. Essay 4
The figure is a block diagram showing Ill deposition of a specific embodiment. The scanning unit 20 scans 1f while the form is running, with the main scanning direction being perpendicular to the running direction of @Yo, and the direction opposite to the form running direction being the secondary direction.

黒白情報1に211fit報に変換し、グー)30’i
介して画像メモリ40に記憶する。マイクロプロセッサ
50は画像メモリ40の紀″1内容t−ぺ、走査部20
が定められた回数の主走査を終ったときダート30を賄
じるとともに快系走行#11備酩60を介して帳票送行
モータ70を停止して帳票100走行を止める。この結
果、自家!そり40には帳票の前端の辺の前後の一慮情
@Q−憶が2こなわれる。走査部20には2048個の
光検知素子を一次元状に配列してあり、これによって最
大211sUの長さ主走査している・従うて轍第走行−
主走査方向0.105mの長さが光検知器の1素子に対
応することになる。また−走査は0.1051!lのピ
ッチでおこなわれる。したがって**7F!行向はα1
06關の方眼に区切られ各の1区画か′!Iii慮メモ
リ上O1ビットに対応してiる・ざで0M述の纂3凶の
説明図とは貢なり、−躯傾斜瀘6III定は幽鐵紀億酩
4(lマイクロプロセッサ50によっておこなわれろ。
Convert black and white information 1 to 211 fit information, goo) 30'i
The image data is stored in the image memory 40 via the image data. The microprocessor 50 reads the contents of the image memory 40 and the scanning unit 20.
When the main scan has been completed a predetermined number of times, the dart 30 is covered and the form feeding motor 70 is stopped via the free system run #11 gear 60 to stop the running of the form 100. As a result, I am home! On the sled 40, two measurements are made of the front and rear sides of the front edge of the form. The scanning unit 20 has 2,048 photodetecting elements arranged in a one-dimensional manner, which allows for main scanning with a maximum length of 211 sU.
The length of 0.105 m in the main scanning direction corresponds to one element of the photodetector. Also - scan is 0.1051! It is performed at a pitch of l. Therefore **7F! Line direction is α1
Divided into 06 square grids, each with one section!' This is different from the explanatory diagram of the 3rd generation described above, which corresponds to the O1 bit on the memory. .

第5WJFi画像メモリ40の上に記憶された帳票の前
端の辺のパターン?1l−iイクロプロセッサ50が走
査する模様の説明図である。なお、以下の説明において
、m像メモリ上VcF!、帳票の白部分Fii、帳票外
の部分はOとして記憶されている本ノトスる。マイクロ
プロセッサ50は帳票走査方向に相当する方向(矢印で
示す)に平行な[MUU’ t−中心に48ビツトの幅
の記憶内容t−,UUに直角な方向を主走査方向とし、
UU  方向を副走査方向として走査し、記憶内容t−
1ビツトずつ“調べ、1回の主走査において24ビツト
以上のlを検知するはじめての主走査線の中心Xを求め
る。
The pattern of the front edge of the form stored on the fifth WJFi image memory 40? 11 is an explanatory diagram of a scanning pattern performed by the 1l-i microprocessor 50. FIG. In the following explanation, VcF! on the m-image memory will be described. , the white part of the form is stored as Fii, and the part outside the form is stored as O. The microprocessor 50 stores the storage content t- with a width of 48 bits centered on [MUU' t-, which is parallel to the direction corresponding to the form scanning direction (indicated by the arrow), and the direction perpendicular to UU is the main scanning direction.
The UU direction is scanned as the sub-scanning direction, and the stored content t-
Examine each bit one by one, and find the center X of the first main scanning line where l of 24 bits or more is detected in one main scanning.

次忙直*UU’から一定距離の直mvv’ t−中心と
する48ビツトの幅の記憶内容も同様にして走査し24
ビツト以上のl’l(検知するはじめての主走査線の中
心Yを求める。このようにして求めたX及びYO座悼か
ら帳票の傾斜量を求める。第5図の例では直mvv’ 
を中心とする48ビツト幅の中に不整s5が含まれて匹
るが、Yの位置は直線部6と直線vv の交点と一致す
る。
The stored contents of the 48-bit width centering on the next busy line*UU' at a certain distance mvv' t- are scanned in the same way24
Find the center Y of the first main scanning line to be detected. Find the amount of inclination of the form from the X and YO data obtained in this way. In the example of FIG.
Although the irregularity s5 is included in the 48-bit width centered at , the position of Y coincides with the intersection of the straight line portion 6 and the straight line vv.

以上説明したように0本発明によれは帳票の傾斜量を検
知する辺にミシン目加工による不整部があっても、帳票
の傾斜量を正確に測定することができるという効果があ
る。
As described above, the present invention has the advantage that even if there is an irregular part due to perforation on the side where the amount of inclination of the form is to be detected, the amount of inclination of the form can be accurately measured.

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

第1図は従来例の原理図、第2図はlla票の辺に生ず
る不!1.部の説明図、第3図は本発明実画例の原理図
、第4図は本発明実施例の構成上水すブロック図であり
、10は帳票、20はた置部、30はゲー)、40ti
画像メモリ、50はマイクロプロセッサ、60は帳票走
行制御部、70は帳票送行モータである。また第5図は
不発明実施列の説明図である。 賽1 コ 壽ど図 斗3 閃 %47 d力
Figure 1 is a diagram of the principle of the conventional example, and Figure 2 is a diagram of the defect that occurs on the side of the lla ticket. 1. FIG. 3 is a principle diagram of an actual example of the present invention, and FIG. 4 is a block diagram of the configuration of an embodiment of the present invention. 10 is a form, 20 is a storage section, and 30 is a game) , 40ti
An image memory, 50 a microprocessor, 60 a form running control section, and 70 a form feeding motor. Further, FIG. 5 is an explanatory diagram of the non-inventive implementation sequence. Dice 1 Kojudo Zuto 3 Sen%47 d power

Claims (1)

【特許請求の範囲】[Claims] 相対移動する帳票の移動方向と交叉する様に配置された
光検知手段と、該光検知手段の読取出方を記憶するIm
象メそりとを有fbMM読取装!において、am取出力
から該帳票の前端2点の座標を検出して#1JIIの傾
斜量を求めるのに際し、該光検知手段の複数の検出素子
に対応する読取出方から各点の座標を得ることt−特徴
とする帳Jll!傾斜量測定方式。
A light detection means arranged so as to intersect with the direction of movement of a relatively moving form, and an Im that stores the reading method of the light detection means.
Elephant mesori and fbMM reading equipment! In order to determine the amount of inclination of #1JII by detecting the coordinates of two points at the front end of the form from the am output, the coordinates of each point are obtained from the reading method corresponding to the plurality of detection elements of the light detection means. Kotot-Featured book Jll! Inclination measurement method.
JP10292981A 1981-06-30 1981-06-30 System for measuring slant amount of document Granted JPS585606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10292981A JPS585606A (en) 1981-06-30 1981-06-30 System for measuring slant amount of document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10292981A JPS585606A (en) 1981-06-30 1981-06-30 System for measuring slant amount of document

Publications (2)

Publication Number Publication Date
JPS585606A true JPS585606A (en) 1983-01-13
JPS6226683B2 JPS6226683B2 (en) 1987-06-10

Family

ID=14340528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10292981A Granted JPS585606A (en) 1981-06-30 1981-06-30 System for measuring slant amount of document

Country Status (1)

Country Link
JP (1) JPS585606A (en)

Also Published As

Publication number Publication date
JPS6226683B2 (en) 1987-06-10

Similar Documents

Publication Publication Date Title
US5343031A (en) Method of decoding a two-dimensional code symbol mark
US5541396A (en) Method of representing binary data
US4430563A (en) Data processing form
US3870865A (en) Method and apparatus for optical reading of recorded data
US5255331A (en) Production of an image model and inspection of a pixel representation of an image
JPH01100441A (en) Detection of significant difference for surface of sheetlike material to be inspected
EP0165734B1 (en) Production of an image model and inspection of a pixel representation of an image
US3924105A (en) Device for optically reading coded identity cards and the like
US4232290A (en) Handwritten character identification
EP0549765B1 (en) A method of representing binary data
CA2035891C (en) Digital data reader of digital data recording sheet
JPS6165375A (en) Mark code and reading device
JPH0731717B2 (en) Optical reader
JPH0431435B2 (en)
JPS6226683B2 (en)
JPH0437466B2 (en)
DE69835492T2 (en) Method and device for reading bar codes
JPS62551B2 (en)
JPS62197877A (en) Bar code reading system
JP3789751B2 (en) Image position inspection device
JPH0782524B2 (en) Optical character reader
JPH01136286A (en) Bar code width measuring method
JPS6298475A (en) Print quality inspection method
JPS58221467A (en) Bar code reading system
JPH0371282A (en) Device for segmenting word