JPS584489A - Detecting system for end of document - Google Patents

Detecting system for end of document

Info

Publication number
JPS584489A
JPS584489A JP56102934A JP10293481A JPS584489A JP S584489 A JPS584489 A JP S584489A JP 56102934 A JP56102934 A JP 56102934A JP 10293481 A JP10293481 A JP 10293481A JP S584489 A JPS584489 A JP S584489A
Authority
JP
Japan
Prior art keywords
image
side edge
scanning
detector
document
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
JP56102934A
Other languages
Japanese (ja)
Other versions
JPH0226265B2 (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 JP56102934A priority Critical patent/JPS584489A/en
Publication of JPS584489A publication Critical patent/JPS584489A/en
Publication of JPH0226265B2 publication Critical patent/JPH0226265B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Conveying Record Carriers (AREA)
  • Character Input (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 本発明は光学文字読取装置等における帳票の側端位置を
検出する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for detecting the side edge position of a form in an optical character reading device or the like.

一般に光学文字読取装置においては帳票を走行させ、帳
票走行方向と直角方向を主走査方向とし、帳票走行方向
の逆方向を副走査方向とし、主走査方向には帳票の一方
の側端から他方のIl亀まで、また副走査方向には1行
分の文字を完全に含む一定範囲を走査し、画像を2値情
報Tlc変換して−たん画像メモリに記憶したあと、こ
の中から1文字分の画像を切出し、必lIKよっては後
述の認識作業を容易にするため前縄理を施し、切出自侭
の特徴を抽出し、これをあらかじめ劇に記憶しである基
準パターン七比較するなどして切出し画像の認識すなわ
ち文字O読取)をおこなっている◎こ−で帳票が正しい
位置を走行せず一方に片寄って走行する場合Ka各O切
出し位置に誤差が生ずるので、帳票の片寄〕量を測定し
、これによ6て切出、し位置O補正をおと1に−Jてい
ゐ@この片寄〉量の一測定におiては温気などによる帳
II@の変化をも考慮して帳票の両儒亀の位置の一定が
おこなわれる◎従来、この帳票O側端位置の測定線、J
tI記1行分の文字を含む一定範囲を画像メモリに記憶
し一九あと、画像メモリの上の1走査分のiI像記憶内
容を調べることによりてこれをおこなりていた。
Generally, in an optical character reading device, a form is run, the direction perpendicular to the form running direction is the main scanning direction, the direction opposite to the form running direction is the sub-scanning direction, and the main scanning direction is from one side edge of the form to the other side. After scanning a certain range that completely includes one line of characters in the sub-scanning direction, converting the image into binary information Tlc and storing it in the -tan image memory, one character's worth of characters is scanned from this image. The image is cut out, and in order to facilitate the recognition work described later, the image is cut out, and the features of the cut-out selfishness are extracted, which are then memorized in advance and compared with seven reference patterns. ◎ If the form does not travel in the correct position but is offset to one side, an error will occur in the cutout position of each O, so measure the amount of deviation of the document. , By this, the position O is cut out and the position O is adjusted to -J to 1. In one measurement of the quantity i, the change in the book II due to temperature etc. is also taken into consideration. ◎ Conventionally, the measurement line at the O side edge position of this form, J
This is done by storing a certain range containing one line of characters in the image memory, and then checking the stored contents of the iI image for one scan on the image memory.

とζろが近時、ミシン目加工を施し切離した帳票を用い
ることが多(このような帳票の端部には纂1図に示すよ
うに規則的なピッチでハソ一定幅の不整部3が生じ、ζ
O不整部3紘遇當凸状である仁とが多くその高さは2箇
にも及ぶことがある。
Recently, perforated and separated forms are often used (the edges of such forms have irregular parts 3 with regular pitches and a constant width, as shown in Figure 1) occurs, ζ
O Irregular part 3 There are many convex ridges, and the height can reach up to 2.

この丸め前記の帳票O側端位置の測定値Kfla差を生
じ、1文字分の画lIO切出しが正確におζなわれず、
したがって文字の読取シが正確におζなわれないという
問題があった。
This rounding causes a difference in the measured value Kfla of the position of the side edge of the form O, and the stroke lIO cutout for one character is not accurately ζ.
Therefore, there was a problem that the characters were not read accurately.

本発明はこのような問題な餌決するためになされ九もの
でありて、その目的とするとζろは、帳票の側端にミシ
ン目加工による不整部があうても帳票の側端位置OIl
定が正確におこなわれ、正確な文字読取シOおこなわれ
る光学文字aIIIL装置を得ることにある■ 上記の目的を達成する九め、本実−は、相対移動する帳
票の相対移動方向と交叉する様に検知器を配置し、諌検
知器の走査によ〕該帳票の画像を得て、腋画像から帳票
の側端位置を測定するものにおいて、3回以上の走査に
よる各測定値の多数決を取る手段を設け、骸多数決によ
って蚊帳系の側端位置を決定することを特徴とする・以
下、本発明を実施例によって詳細に説明する〇第2図は
本発明実施例OS成と機能を示すブロック図である。走
査部2oは帳票10C)走査方向に対し直角方向を主走
査方向とし帳票走査方向と逆の方向を副走査方向とし、
主走査方向には帳票の一方ohmから他方の@端まで、
tた副走査方向Ka1行分の文字を完全に含む一定範囲
を走査し、画像を2値情報KW換しグー)3Gを介して
画像メモリ40に記憶する。マイクロプロセッサ50は
画像メモ”)40(D記憶内容な謁べ、走査部が定めら
れた範囲の走査をおこなったことを確認してゲート30
を閉じるとともに帳票走行制御部60を介して帳票走行
モータ70を停止し帳JIIlOの走行を止める◎走査
部20には2048個の光検知素子を一次元状に配列し
てあシ、これによりて最大215−の長さを走査してい
る0従つて帳票走行面の主走査方向0.105−の長さ
が1個の光検知素子に対応している。また副走査は0.
105mのピッチでおζなわれる0したがって帳票走査
範囲の画像は0.105■の方眼に区切られ各O1区画
が画像メモリ40の各1ビツトに記憶される0帳票側端
位置O測定は以上のようKして帳票走査IiJ!Iの画
像の記憶がおこなわれたあと、画像メモり4゜とマイク
ロプロセッサ50によっておこなわれる。
The present invention has been made to solve such problems, and its purpose is to maintain the position of the side edge of the form even if there is an irregularity due to perforation on the side edge of the form.
The objective is to obtain an optical character aIIIL device that can accurately set and read characters.The ninth step to achieving the above purpose is to intersect the direction of relative movement of the relatively moving form. In the case where the side edge position of the form is measured from the armpit image by obtaining an image of the form by arranging the detectors as shown in the figure and scanning with the insole detector, the majority vote of each measurement value is obtained by scanning three or more times. The invention is characterized in that the position of the side edge of the mosquito net system is determined by majority vote.Hereinafter, the present invention will be explained in detail with reference to an embodiment.〇Figure 2 shows the configuration and function of an embodiment of the present invention. It is a block diagram. The scanning unit 2o has a main scanning direction that is perpendicular to the scanning direction of the form 10C, and a sub-scanning direction that is opposite to the scanning direction of the form.
In the main scanning direction, from one ohm of the form to the other @ end,
A certain range completely including one line of characters in the sub-scanning direction Ka is scanned, and the image is converted into binary information KW and stored in the image memory 40 via 3G. The microprocessor 50 confirms that the scanning section has scanned the predetermined range and then outputs the image memo 40 (D) to the gate 30.
At the same time, the form running motor 70 is stopped via the form running control unit 60 to stop the running of the form JIIIO. ◎The scanning unit 20 has 2048 photodetecting elements arranged in a one-dimensional manner. The maximum scanning length is 215-, so the length of the form running surface in the main scanning direction of 0.105- corresponds to one photodetecting element. Also, the sub-scanning is 0.
Therefore, the image of the document scanning range is divided into squares of 0.105 square meters, and each O1 section is stored in each 1 bit of the image memory 40.0 The document side edge position O measurement is as follows. Let's do a form scan! After the image of I is stored, it is carried out by the image memory 4° and the microprocessor 50.

篇3図祉帳票lOの走査範囲の画像が画像メモリ40に
記憶されている様子とマイクロプロセッサ50がこれを
調べて帳票の側端位置を測定する模様を示す図である。
Figure 3 is a diagram showing how an image of the scanning range of a welfare form lO is stored in the image memory 40 and how the microprocessor 50 examines this to measure the position of the side edge of the form.

帳票側端位置の一定は基準縁YY’とこれから前後に1
g走査分離れたxX′及びzz′の両像メモリについて
おこなわれ、帳票左端にりいては画像メモすの記憶内容
を走査して4B及びCO位置をそれぞれX人、 YB、
及びzCの距離として求め、図示の例ではXA=ZC+
YBであるから多数決によってXA±zCが帳票左端位
置として決定される。前述のようにXX′とYY’及び
YY’とZZ/のピッチは18走査分であるがこれを帳
票上の長さに換算すると0.105smX 18−1.
811−となる0またXX’ 、 YY’及びzz′の
画像メモりは検知幅0.105−の検知器で検知したも
のeある。すなわち前述のマイクロプロセッサSDKよ
る帳票側端位置の一定は、検知幅0.105mの検知器
を用い、帳票上を1.89−のピッチで3回走査したこ
とに相当する〇一方木本実施例は帳票側端の不整部3の
幅はI’mまた不整部3の配列ピッチは6■とじた。し
たがって検知器の走査のピッチ(1,89mm)は不整
部O@に検知器の検知幅を加えたもIZ)(1■+0.
105■−1,105箇)よシ長(且つ不整部の配列ピ
ッチから不整部の幅と検知器の検知幅を減じたもO(6
−−l■−0,10lm=4.895■)よ〕短い0こ
のため第3図においてXX’ 、 YY’及びzz′の
うちの%/%ずれか1本が帳票の各側端において不整部
3を通ることはありても同時に2本以上が不整部3を通
ることがない0 以上説明したように、本発明によれば帳票0儒端にミシ
ン加工による不整部がTo−)ても帳票の側端位置の測
定が正確におζなわれるという効果がある◎
The constant position of the side edge of the form is the reference edge YY' and 1 forward and backward from this point.
This is done for both the image memories of xX' and zz' separated by g scanning, and at the left end of the form, the memory contents of the image memo are scanned and the 4B and CO positions are determined respectively for X person, YB,
and zC, and in the example shown, XA=ZC+
Since it is YB, XA±zC is determined as the left end position of the form by majority vote. As mentioned above, the pitch between XX' and YY' and YY' and ZZ/ is equivalent to 18 scans, but when converted to the length on the form, it is 0.105 smX 18-1.
The image memory of 0, XX', YY', and zz', which is 811-, was detected by a detector with a detection width of 0.105-. In other words, the constant position of the side edge of the form by the microprocessor SDK described above is equivalent to scanning the form three times at a pitch of 1.89 using a detector with a detection width of 0.105 m. In the example, the width of the irregular part 3 at the side edge of the form is I'm, and the arrangement pitch of the irregular part 3 is 6 square meters. Therefore, the scanning pitch of the detector (1.89 mm) is the irregularity O@ plus the detection width of the detector IZ) (1■+0.
105 ■ - 1,105 parts) (and the width of the irregular part and the detection width of the detector are subtracted from the arrangement pitch of the irregular part) O (6
-l■-0,10lm=4.895■)] Short 0 Therefore, in Fig. 3, one of XX', YY', and zz' is defective at each side edge of the form. Although two or more wires may pass through the irregular portion 3 at the same time, two or more wires may not pass through the irregular portion 3 at the same time.As explained above, according to the present invention, there are irregular portions created by perforation on the edge of the form. ) has the effect of accurately measuring the position of the side edge of the form◎

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

第1図は端部に不整部のある帳票の拡大図、第2図は本
発明実施例O構成と機能を示すプロツ図、第3図は本実
@O実施例説明図である0図中、10は帳票、20は走
査部、30はゲ−)、4(1画像メモリ、50は!イク
ロプ四セッサ、60は帳票走行制御部、70は帳票送行
モータである。 蕗 1 図 を 茸 2 巴 0
Fig. 1 is an enlarged view of a form with irregularities at the edges, Fig. 2 is a plot diagram showing the configuration and function of embodiment O of the present invention, and Fig. 3 is an explanatory diagram of the actual @O embodiment. Inside, 10 is a form, 20 is a scanning unit, 30 is a game), 4 (1 image memory, 50 is an electronic processor, 60 is a form travel control unit, and 70 is a form feeding motor.) 2 Tomoe 0

Claims (1)

【特許請求の範囲】[Claims] 相対移動する帳票の相対移動方向と交叉すゐ様に検知器
を配置し、誼検知器0*査によ〕腋帳票0ili儂を得
て、諌画偉から帳票の側端位置を一定するものにおいて
、3回以上の走査による各一定値の多数決を取る手段を
設け、腋多数決によりて皺帳mollts位置を決定す
ることを善黴とする帳票側端検出方式。   −
A detector is placed so as to intersect the direction of relative movement of the relatively moving form, and the side edge position of the form is fixed from the image of the side of the form by means of the 0x inspection by the yaw detector. In this method, a form side edge detection method is provided in which means is provided to take a majority vote for each fixed value by scanning three or more times, and the position of the wrinkled mollts is determined by the majority vote. −
JP56102934A 1981-06-30 1981-06-30 Detecting system for end of document Granted JPS584489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56102934A JPS584489A (en) 1981-06-30 1981-06-30 Detecting system for end of document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56102934A JPS584489A (en) 1981-06-30 1981-06-30 Detecting system for end of document

Publications (2)

Publication Number Publication Date
JPS584489A true JPS584489A (en) 1983-01-11
JPH0226265B2 JPH0226265B2 (en) 1990-06-08

Family

ID=14340666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56102934A Granted JPS584489A (en) 1981-06-30 1981-06-30 Detecting system for end of document

Country Status (1)

Country Link
JP (1) JPS584489A (en)

Also Published As

Publication number Publication date
JPH0226265B2 (en) 1990-06-08

Similar Documents

Publication Publication Date Title
KR930023865A (en) Barcode reader
JPS584489A (en) Detecting system for end of document
JPS6046471B2 (en) character reading device
JP2503208B2 (en) Business card image processing method
JP4411146B2 (en) Fingerprint image acquisition / collation device and method
JP3817662B2 (en) Reading method of optical reader
JPS6226683B2 (en)
JPS6027436B2 (en) Character recognition correction method
JPH07192087A (en) Optical character reader
JP2925270B2 (en) Character reader
JPH0461395B2 (en)
JPH0250513B2 (en)
JPH0221385A (en) printer device
JPS5896209A (en) Detector for skew of paper
JPH11120260A (en) Form image processing method and apparatus, and storage medium storing form image processing program
JPS62177688A (en) Skew quantity detecting system
JPS58114174A (en) Impression reader
JPH05174184A (en) Optical character reader
JPH0793479A (en) Optical character reader
JPH03250387A (en) Character segmenting system
JPS6225220B2 (en)
JPS5878269A (en) Optical character reader
JPH0218515B2 (en)
JPS5953983A (en) Detecting and segmenting method of character
JP2000099643A (en) Character recognition device and character recognition system