JPS634228B2 - - Google Patents
Info
- Publication number
- JPS634228B2 JPS634228B2 JP56087574A JP8757481A JPS634228B2 JP S634228 B2 JPS634228 B2 JP S634228B2 JP 56087574 A JP56087574 A JP 56087574A JP 8757481 A JP8757481 A JP 8757481A JP S634228 B2 JPS634228 B2 JP S634228B2
- Authority
- JP
- Japan
- Prior art keywords
- optical system
- read
- voting ticket
- reading
- test chart
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/24—Aligning, 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)
- Character Input (AREA)
- Character Discrimination (AREA)
Description
本発明は光学的読取装置とくに投票券払戻装置
として使用される光学的読取装置の光学系のチエ
ツク方法に関するものである。
一般に投票券払戻装置等は第1図のごとく構成
されている。第1図において投票券1は操作卓2
の挿入口より挿入されて券搬送制御部3により搬
送される。投票券の文字データはまづ読取部4に
より読取られ読取られた文字データは認識制御部
5を介して再生画像格納メモリ6に格納される。
文字比較回路7は再生画像格納メモリ6内から認
識しようとする文字のエリアのデータを読出して
あらかじめ用意してある投票券の文字マスクと比
較して読取り文字の認識を行ない認識制御部−主
制御部インターフエース8、主制御部9およびイ
ンターフエース部10を介して中央処理装置
CPUに送られCPUにおいて投票券が当つている
か否かを判断しその結果は再び前記主制御部9を
介して表示部11に表示される。一方において読
取部4において情報を読取られた後の投票券は廃
券処理部12において処理されスタツクカ13に
格納される。
第1図のごとく構成された投票券払戻装置にお
いて光学系は第2図のごとく形成される。第2図
において挿入口20から挿入された投票券は搬送
用モータ21によりフオト22を介してフオトラ
インセンサ23、レンズ24、ランプ25からな
る読取り部に送られる。投票券がフオト22を通
過するとフオトラインセンサ23による読取りが
開始される。
このような光学系の場合その調整が狂うとつぎ
のごとき認識率の低下となる。
(イ) 読取り位置(フオト22の位置)、センサ2
3のX方向、Y方向の取付け位置が正確でない
とあらかじめ定められた文字エリアから読取り
文字がはみ出て認識ができない。
(ロ) センサーの取付けにあたつてスキユーがある
と読取り文字と文字マスクを1対1で比較する
ために読取り文字が傾き認識できない。
(ハ) 倍率や搬送速度が正確でないと読取り文字と
文字マスクを1対1で比較するために読取り文
字の大きさが異なつて認識できない。
従来、光学系の調整の確認は投票券を読取らせ
てフオトライセンサの出力波形をシンクロで観測
したり読取りデータをイメージとしてシンクロの
画面に出して行つていた。しかしこの方法では読
取りデータをイメージとしてシンクロの画面に出
す為に特別な試験器が必要となりまた目視によつ
て行うため調整結果の判定を正確に行なうことが
できなかつた。
本発明の目的は特別な試験器を必要とせず迅速
かつ正確に調整の確認を行うことのできる光学情
報読取装置の光学系のチエツク方法を提供するこ
とにある。
本発明によれば挿入口から挿入された紙葉に記
録された情報を光学的に読取る光学情報読取り装
置において、前記紙葉に記録された情報の行およ
び桁のエリアのセンタを示すマークを記入したテ
ストチヤートを読取らせ該テストチヤートに記入
された前記マークの位置をテストモードで認識さ
せその結果を控券に印字させることにより光学系
のチエツクを行うことを特徴とする光学情報読取
装置の光学系のチエツク方法が提案される。
以下本発明にかかる方法の実施例について詳細
に説明する。
本発明においては光学系の調整の確認を行うの
に投票券を読取らせるのではなくテストチヤート
に読取らせテストチヤートのマークをテストモー
ドで認識させるものであつて第3図に投票券すな
わち情報を印刷した紙葉、第4図にテストチヤー
トを示す。第4図において31は1〜9桁の文字
エリアのセンタを示すマークを示し32は1〜5
行の文字エリアのセンターを示すマークを示して
いる。第5図は第4図のテストチヤートを光学系
で読取つた画像を示し、第5図において33は第
3行目第1桁目のエリアの拡大図を示し、34は
エリア33のセンターを示し、35は第3行目第
1桁目の画像の読取つたセンターを示す。
つぎにテストモードにおける認識処理をつぎの
表に示す。
The present invention relates to an optical reading device, and particularly to a method for checking the optical system of an optical reading device used as a voting ticket refund device. Generally, a voting ticket refund device or the like is constructed as shown in FIG. In Figure 1, voting ticket 1 is operator console 2
The ticket is inserted through the insertion slot and transported by the ticket transport control section 3. The character data on the voting ticket is first read by the reading section 4, and the read character data is stored in the reproduced image storage memory 6 via the recognition control section 5.
The character comparison circuit 7 reads the data of the area of the character to be recognized from the reproduced image storage memory 6 and compares it with the character mask of the voting ticket prepared in advance to recognize the read character.Recognition control unit - main control central processing unit via the main control unit 9 and interface unit 10.
The voting ticket is sent to the CPU, where it is determined whether or not the voting ticket is a winning ticket, and the result is again displayed on the display section 11 via the main control section 9. On the other hand, the voting ticket whose information has been read by the reading section 4 is processed by the discarded ticket processing section 12 and stored in the stacker 13. In the voting ticket payout device configured as shown in FIG. 1, the optical system is formed as shown in FIG. 2. In FIG. 2, a voting ticket inserted through an insertion slot 20 is sent by a conveying motor 21 via a photo 22 to a reading section consisting of a photo line sensor 23, a lens 24, and a lamp 25. When the voting ticket passes the photo 22, reading by the photo line sensor 23 is started. In the case of such an optical system, if the adjustment is out of order, the recognition rate will decrease as follows. (a) Reading position (position of photo 22), sensor 2
If the mounting positions in the X and Y directions of 3 are not accurate, the read characters will protrude from the predetermined character area and cannot be recognized. (b) If there is a skew when installing the sensor, the read characters will be skewed and cannot be recognized because the read characters and the character mask are compared one-to-one. (c) If the magnification and conveyance speed are not accurate, the read characters will be of different sizes and cannot be recognized because the read characters and the character mask are compared on a one-to-one basis. Conventionally, the adjustment of the optical system has been confirmed by reading the voting ticket and observing the output waveform of the photo sensor with a synchronizer, or displaying the read data as an image on the synchronizer screen. However, this method requires a special tester to display the read data as an image on the synchronized screen, and it is not possible to accurately judge the adjustment results because the test is performed visually. SUMMARY OF THE INVENTION An object of the present invention is to provide a method for checking the optical system of an optical information reading device, which can quickly and accurately check the adjustment without requiring a special tester. According to the present invention, in an optical information reading device that optically reads information recorded on a paper sheet inserted through an insertion slot, a mark is written to indicate the center of a line and column area of information recorded on the paper sheet. An optical information reading device characterized in that an optical system is checked by reading a test chart, recognizing the position of the mark written on the test chart in a test mode, and printing the result on a receipt. A method for checking the optical system is proposed. Examples of the method according to the present invention will be described in detail below. In the present invention, to check the adjustment of the optical system, instead of reading the voting ticket, the test chart is read and the mark on the test chart is recognized in the test mode. A test chart of the sheet of paper with information printed on it is shown in Figure 4. In Fig. 4, 31 indicates a mark indicating the center of the character area of 1 to 9 digits, and 32 indicates a mark of 1 to 5 characters.
Shows a mark indicating the center of the character area of the line. FIG. 5 shows an image obtained by reading the test chart in FIG. 4 with an optical system. In FIG. , 35 indicates the reading center of the image in the first digit of the third row. Next, the recognition processing in the test mode is shown in the following table.
【表】【table】
【表】
第5図の読取り画像を前記の表を基準にしてそ
の偏差を控券に印刷した例を第6図に示す。第7
図は第6図に示す控券の印刷データを計算するた
めの装置のブロツク図を示す。
第7図において読取り部4はテストチヤートを
読取りその読取られた画像は再生画像格納メモリ
6に格納される。格納された画像はそれぞれ水平
射影回路41aおよび垂直射影回路41bを介し
てセンター出し回路43の指令によつて水平射影
レジスタ42aおよび垂直射影レジスタ42bに
蓄積される。つぎにレジスタ42aおよび42b
の内容はセンター出し回路43に入力されてここ
において読取り画像のセンター
C31x,C31y;C11x,C11y,
C51x,C51y;C19x,C19y,
が求められる。ここにおいてC31xは第3行目第1
桁目のx方向の画像のセンタ、C31yは第3行目、
第1桁目のy方向の画像のセンター、C11x,
C11y,……についても同様である。一方認識制御
部5は第3行目第1桁目のxおよびy方向のエリ
アのセンター位置AC31xおよびAC31yを記憶して
おりこれらの値はセンター出し回路43で求めた
センター値C31x,C31y,……とともに減算回路4
4に印加され減算回路44ではつぎのアルゴリズ
ムにより第6図における値NRX,NRY,NSX,
NSY,NDおよびNSPを求めることができる。
NRX=C31x−AC31x
NRY=AC31y−C31y
NSX=C51x−C11x
NSY=C11y−C19y
ND=C51y−C11y
NSP=C19x−C11x
第7図の回路において水平垂直射影回路41
a,41b、水平垂直射影レジスタ42a,42
b、センタ出し回路43、減算回路44の動作は
認識プログラムを一部変更するだけで行なうこと
ができるので特別な試験器を用いることなく迅速
かつ正確な光学系の調整の確認を行うことができ
るので本発明は投票券払戻装置等に適用してその
効果は頗る大である。[Table] FIG. 6 shows an example in which the deviation of the read image shown in FIG. 5 is printed on a receipt based on the above-mentioned table. 7th
The figure shows a block diagram of a device for calculating printing data for the receipt shown in FIG. In FIG. 7, the reading section 4 reads the test chart and the read image is stored in the reproduced image storage memory 6. The stored images are stored in a horizontal projection register 42a and a vertical projection register 42b by a command from a centering circuit 43 via a horizontal projection circuit 41a and a vertical projection circuit 41b, respectively. Next, registers 42a and 42b
The contents of are input to the centering circuit 43, where the centers of the read image C 31x , C 31y ; C 11x , C 11y , C 51x , C 51y ; C 19x , C 19y , are determined. Here, C 31x is the 1st in the 3rd row.
The center of the image in the x direction of the digit, C 31y is the third row,
Center of the image in the y direction of the first digit, C 11x ,
The same applies to C 11y ,... On the other hand, the recognition control unit 5 stores the center positions AC 31x and AC 31y of the area in the x and y directions in the first digit of the third row, and these values are the center values C 31x and AC 31y obtained by the centering circuit 43, respectively . Subtraction circuit 4 with C 31y ,...
4, and the subtraction circuit 44 uses the following algorithm to obtain the values N RX , N RY , N SX ,
N SY , N D and N SP can be determined. N RX = C 31x −AC 31x N RY = AC 31y −C 31y N SX = C 51x −C 11x N SY = C 11y −C 19y N D = C 51y −C 11y N SP = C 19x −C 11x 7th Horizontal/vertical projection circuit 41 in the circuit shown in the figure
a, 41b, horizontal and vertical projection registers 42a, 42
b. The operations of the centering circuit 43 and the subtraction circuit 44 can be performed by only partially changing the recognition program, so it is possible to quickly and accurately check the adjustment of the optical system without using a special tester. Therefore, the present invention can be applied to a voting ticket refund device, etc., and its effects are extremely large.
第1図は光学情報読取装置の1例としての投票
券処理装置の1例のブロツク図、第2図は第1図
の装置における光学系の構成を示す図、第3図は
第1図の装置において使用される投票券の1例、
第4図は本発明にかかる方法において用いるテス
トチヤート、第5図は第4図のテストチヤートの
読取画像、第6図はテストモードにおける控券の
印刷例、第7図は本発明にかかる方法を実施する
ための装置の1実施例である。
図において、30がテストチヤート、31が1
〜9桁の文字のエリアのセンターを示すマーク、
32が1〜5行の文字のエリアのセンターを示す
マーク、41a,41bが水平垂直射影回路、4
2a,42bが水平垂直射影レジスタ、43がセ
ンター出し回路、44が減算回路である。
FIG. 1 is a block diagram of an example of a voting ticket processing device as an example of an optical information reading device, FIG. 2 is a diagram showing the configuration of an optical system in the device of FIG. 1, and FIG. An example of a voting ticket used in the device,
FIG. 4 is a test chart used in the method according to the present invention, FIG. 5 is a read image of the test chart in FIG. 4, FIG. 6 is an example of printing a receipt in test mode, and FIG. 7 is a method according to the present invention. 1 is an example of an apparatus for carrying out the following. In the figure, 30 is a test chart, 31 is 1
~A mark indicating the center of the 9-digit character area,
32 is a mark indicating the center of the 1st to 5th line character area, 41a and 41b are horizontal and vertical projection circuits, 4
2a and 42b are horizontal and vertical projection registers, 43 is a centering circuit, and 44 is a subtraction circuit.
Claims (1)
を光学的に読取る光学情報読取り装置において、
前記紙葉に記録された情報の行および桁のエリア
のセンタを示すマークを記入したテストチヤート
を読取らせ該テストチヤートに記入された前記マ
ークの位置を認識し、その結果を表示させること
により光学系のチエツクを行うことを特徴とする
光学情報読取装置の光学系のチエツク方法。1. In an optical information reading device that optically reads information recorded on a paper sheet inserted through an insertion slot,
By reading a test chart on which a mark indicating the center of the row and digit area of the information recorded on the sheet of paper is written, recognizing the position of the mark written on the test chart, and displaying the result. A method for checking an optical system of an optical information reading device, the method comprising checking the optical system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56087574A JPS57203175A (en) | 1981-06-09 | 1981-06-09 | Check method for optical system of optical information reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56087574A JPS57203175A (en) | 1981-06-09 | 1981-06-09 | Check method for optical system of optical information reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57203175A JPS57203175A (en) | 1982-12-13 |
| JPS634228B2 true JPS634228B2 (en) | 1988-01-28 |
Family
ID=13918766
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56087574A Granted JPS57203175A (en) | 1981-06-09 | 1981-06-09 | Check method for optical system of optical information reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57203175A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0423186A (en) * | 1990-05-18 | 1992-01-27 | Pfu Ltd | Picture reader |
-
1981
- 1981-06-09 JP JP56087574A patent/JPS57203175A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57203175A (en) | 1982-12-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6145372A (en) | Picture character recognizer | |
| JPH10269359A (en) | Inspection method of printed matter and this apparatus | |
| JPS634228B2 (en) | ||
| CN102844770A (en) | Account form, account form processing device, account form processing method, and recording medium | |
| JPH08202014A (en) | Plate inspecting device | |
| JPH10227622A (en) | Inspection method of lead and lead inspecting instrument | |
| KR870000428B1 (en) | Method and apparatus for displaying ruled line in photocomposing machine | |
| TW378165B (en) | Pass or fail judgement device of liquid crystal mask type laser marker | |
| JP2767983B2 (en) | Mark reader | |
| JP3395922B2 (en) | Inspection method and inspection device | |
| JP3094708B2 (en) | Form reading processor | |
| JPS59173879A (en) | Stock price automatic reading device | |
| JPH03148785A (en) | Character read-out device | |
| JPH0698808B2 (en) | Data output device | |
| JPS6298475A (en) | Print quality inspection method | |
| JPH0652351A (en) | Optical character reader | |
| JPH02297463A (en) | Printing apparatus | |
| JPH08122933A (en) | Position information determining method in photo printing apparatus and photo printing apparatus | |
| JPS6027064A (en) | Slip issuing system for on-line system | |
| JPH0264882A (en) | Address reading device | |
| JPH06342481A (en) | Slip reading system | |
| JPH0952476A (en) | Drawing sheet | |
| JPH0476555A (en) | Position detecting method for register mark | |
| JPH0290283A (en) | Codable hand-written numeral and information processor applying the numeral | |
| JPH03146378A (en) | Correction on deviation in printing of passbook printer |