JP2680449B2 - Optically-readable automatic ticket gate - Google Patents
Optically-readable automatic ticket gateInfo
- Publication number
- JP2680449B2 JP2680449B2 JP1299273A JP29927389A JP2680449B2 JP 2680449 B2 JP2680449 B2 JP 2680449B2 JP 1299273 A JP1299273 A JP 1299273A JP 29927389 A JP29927389 A JP 29927389A JP 2680449 B2 JP2680449 B2 JP 2680449B2
- Authority
- JP
- Japan
- Prior art keywords
- ticket
- ticket gate
- format
- image
- reading
- 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 - Lifetime
Links
- 238000000034 method Methods 0.000 claims description 14
- 238000000605 extraction Methods 0.000 claims description 9
- 230000003287 optical effect Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 description 18
- 238000005520 cutting process Methods 0.000 description 8
- 230000007723 transport mechanism Effects 0.000 description 8
- 238000003780 insertion Methods 0.000 description 7
- 230000037431 insertion Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000004080 punching Methods 0.000 description 5
- 239000000284 extract Substances 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Description
本発明は、自動改札機本体に挿入された乗車券や入場
券を光学的に読取り、その結果に基づいてドアを開閉制
御するようにした自動改札機に関する。The present invention relates to an automatic ticket gate that optically reads a ticket or an admission ticket inserted into an automatic ticket gate body and controls the opening and closing of a door based on the result.
従来、自動改札機としては磁気読取式のものが知られ
ている。この従来の磁気読取式自動改札機は、自動改札
機本体(以下、本体という)の挿入口に挿入された乗車
券や入場券など(以下、代表的に乗車券という)を搬送
機構で排出口まで搬送する間に、その乗車券に記録され
ている磁気データを磁気ヘッドで読取り、その読取った
データをマイクロコンピュータを中心に構築された制御
器で演算処理し、その演算結果により、ドアまたはバー
を開閉制御するように構成されている。Conventionally, a magnetic reading type ticket is known as an automatic ticket gate. This conventional magnetic-reading automatic ticket gate uses a transport mechanism to eject a ticket or admission ticket (typically called a ticket) that is inserted into the automatic ticket gate body (hereinafter referred to as the body) While it is being transported to, the magnetic data recorded on the ticket is read by a magnetic head, and the read data is processed by a controller built around a microcomputer. Is configured to be controlled to be opened and closed.
しかしながら、上記従来の自動改札機は、乗車券に記
録されている磁気データに基づいて制御されるように構
成されているため、自動改札機で使用される乗車券は、
磁気記録のできるものである。 したがって、従来の自動改札機は、磁気記録式の自動
券売機と対となって、初めて自動改札の機能を果すこと
ができるように構成されているため、自動改札システム
設備費が嵩む欠点があった。 このような欠点を解決するために、磁気記録面を持た
ない普通の乗車券を光学的に読取り、この読取った情報
の演算処理結果に基づいて自動改札機を制御することが
提案されている。 しかし、光学読取式自動改札機においては、券面に印
字される内容の種類が多く、かつ印字形式も一定でない
ので、これらに対応し得るための多くの解決しなければ
ならない課題があり、未だ実用化されていない。 そこで、本発明は、上記課題を解決するためになされ
たものであって、その目的は、乗車券の券面を撮像した
画像を効果的に切出し、かつ効果的に判読処理して読取
処理速度を高め、実用可能な光学読取式自動改札機の提
供にある。However, since the above-mentioned conventional automatic ticket gate is configured to be controlled based on the magnetic data recorded in the ticket, the ticket used in the automatic ticket gate is
It can be magnetically recorded. Therefore, the conventional automatic ticket gate is paired with the magnetic recording type automatic ticket vending machine so that the automatic ticket gate function cannot be achieved until the automatic ticket gate system equipment cost increases. It was In order to solve such a drawback, it has been proposed to optically read an ordinary ticket having no magnetic recording surface and control the automatic ticket gate based on the result of the arithmetic processing of the read information. However, in the optical reading type automatic ticket gate, since there are many kinds of contents printed on the face of the ticket and the printing format is not constant, there are many problems to be solved in order to cope with these, and it is still in practical use. It has not been converted. Therefore, the present invention has been made to solve the above problems, and an object thereof is to effectively cut out an image obtained by picking up a ticket face of a ticket, and to effectively perform a reading process to improve the reading processing speed. The purpose is to provide an optically readable automatic ticket gate that is high and practical.
上記目的を達成するために、本発明に係る光学読取式
自動改札機は第1図のようにa,b〜gで構成されてい
る。 撮像手段aは、自動改札機本体に挿入された乗車券あ
るいは入場券の券面を撮像するものである。 照合線抽出手段bは、予め照合線記憶部に格納されて
いる、券面に印字されている乗車駅や乗車料金等の券面
パターンに対応した照合線から、撮像された画像に対応
する照合線を抽出するものである。 切出しフォーマット抽出手段cは、予め切出しフォー
マット記憶部に格納されている切出しフォーマットか
ら、抽出された照合線に対応する切出しフォーマットを
抽出するものである。 切出し手段dは、撮像された画像を抽出された切出し
フォーマットに従って切出すものである。 判読手段eは、予め文字パターン記憶部に格納されて
いる文字,数字または記号のパターンから、各切出し画
像毎に判読するものである。 判定手段fは、判読されたデータを基に、その乗車券
で改札通路の通過を許可するか否かを判定するものであ
る。 ドア制御手段gは、判定結果に基づいてドアを開閉制
御するものである。 また、判読順位決定手段hは、切出された画像毎の判
読順序を、改札または集札の判断の優先順位に従って決
定するものである。In order to achieve the above object, the optical reading type automatic ticket gate according to the present invention is constituted by a, b to g as shown in FIG. The image pickup means a picks up an image of a ticket or an entrance ticket inserted in the main body of the automatic ticket gate. The matching line extraction means b extracts a matching line corresponding to the captured image from the matching lines stored in the matching line storage unit in advance and corresponding to the ticket surface patterns such as the boarding station and the boarding fare printed on the ticket. To extract. The cutout format extraction means c extracts the cutout format corresponding to the extracted matching line from the cutout formats stored in advance in the cutout format storage unit. The cutting-out means d cuts out the captured image according to the extracted cutting-out format. The reading means e is for reading each cut-out image from a pattern of characters, numbers or symbols stored in advance in the character pattern storage unit. The judging means f judges, based on the read data, whether or not the ticket allows passage through the ticket gate passage. The door control means g controls the opening and closing of the door based on the determination result. The reading order determining means h determines the reading order of each cut-out image according to the priority order of the determination of the ticket gate or the ticket collection.
本発明に係る光学読取式自動改札機は、撮像された画
像が照合線を用いて所定の区画に切出され、その切出さ
れた画像毎に判読される。そして、その判読結果が判定
されてドアが開閉制御されるように作用する。 また、切出された画像毎の判読順序は、改札または集
札時の判断の優先順位に従って行なわれるように作用す
る。In the optical reading type automatic ticket gate according to the present invention, a picked-up image is cut out into a predetermined section by using a collation line, and each cut-out image is read. Then, the reading result is determined, and the door is opened and closed. Further, the reading order of each cut-out image works according to the priority order of the judgment at the time of ticket examination or ticket collection.
以下、図面に基づいて本発明の一実施例に係る光学読
取式自動改札機を説明する。 第2図は、実施例に係る自動改札機Aの概略構成を示
した正面図であって、本体1の挿入口2と排出口3との
間には、挿入口2から挿入された乗車券イを排出口3ま
で搬送するための搬送機構4が設けられている。 この搬送機構4は、従来の磁気読取式自動改札機の搬
送機構と同じく、モータMによって回転駆動されるエン
ドレスベルトから構成されている。そして、そのうちの
挿入口2に近い部分は、挿入された乗車券イを整列させ
る整列搬送路4aを、また、整列搬送路の下流側の部分
は、搬送中の乗車券イを光学的に読取り、さらに必要に
応じてパンチング処理するための主搬送路4bを構成して
いる。したがって、主搬送路4b上には、搬送中の乗車券
イを光学的に読取るためのCCDカメラからなる撮像器5
と、この撮像器よりも下流側に乗車券イにパンチングす
るためのパンチングユニット6が設けられている。 図中、Dはドアであって、従来の自動改札機と同様
に、利用客の通過を許可するとき開かれるもので、後述
の制御器の指令により開閉駆動される。また、Wは挿入
された乗車券イが回収券か返却券かにより、制御器の指
令により上,下動するウイングである。 制御器Cは、第3図のブロック図に示されるように構
成されている。すなわち、システムプログラムの格納さ
れているROM10aと、ワーキングプログラムの格納されて
いるRAM10bにより演算処理する中央処理部(CPU)10と
からなる、いわゆるマイクロコンピュータを中心に構成
されている。 CPU10には、挿入された乗車券イの券面を撮像した画
面を所定の区画毎に切出すための照合線のテーブルが格
納されている照合線記憶部11と、照合線に対応した切出
しフオーマットのテーブルが格納されている切出しフォ
ーマット記憶部12と、判読時に基準となる文字,数字,
記号またはこれらの組合せのパターンが格納されている
文字パターン記憶部13とが接続されている。 なお、これらの記憶部11〜13は、RAM10bの記憶容量を
大きくしてRAMで兼ねることも可能である。 また、CPU10には、I/Oユニット14を介して撮像器5の
画像処理回路15と、パンチングユニット6の駆動回路16
と、ドアDの駆動回路17とが接続されている。なお、図
示しないが、CPU10にはI/Oユニット14を介して駆動モー
タMの駆動回路や乗車券イの搬送位置を検出するセンサ
の回路等が接続されている。 以上の構成に基づく本実施例の自動改札機Aの基本的
動作は、第4図のゼネラルフローチャートに従って行な
われる。 先ず、乗車券イが本体1の挿入口2に挿入されると動
作が開始される(ステップ100肯定)。挿入された乗車
券イは搬送機構4により搬送される間に、撮像器5によ
り撮像処理される(ステップ102)。すなわち、乗車券
イが長尺方向に搬送される間、撮像器5は乗車券イの短
尺方向に間欠的にスキャンする。スキャンによって得ら
れた信号は画像処理回路15で2値化に変換されて順次RA
M10bに記憶される。 その後、後述するフォーマットサーチ(ステップ10
4)及び切出し処理(ステップ106)からなるフォーマッ
ト処理により乗車券イの印字されている券面のフォーマ
ットが検出され、次いで後に詳述する前処理(ステップ
108)及び判読処理(ステップ110)からなる認識処理に
より券面の文字(乗車駅名,乗換え駅名等)あるいは数
字(料金,日付等)が照合されて判読される。 認識処理後、その挿入された乗車券イは改札通路の通
過を許可してもよいと判定されたとき(ステップ112,11
4肯定)、従来の磁気読取式自動改札機と同様に、ノー
マルクローズ型の場合は、ドア駆動回路17が駆動されて
ドアDが開かれる(ステップ116)。なお、ノーマルオ
ープン型の場合は、ドアが開かれたままに保たれる。 これに対して、通過を許可しないと判定されたときは
(ステップ114否定)、その挿入された乗車券イは、排
出口へ返却されるとともに、ノーマルクローズ型の場合
はドア駆動回路17はドアDを閉状態に維持し、また、ノ
ーマルオープン型の場合はドアDを閉じ、さらに、その
乗車券イでは自動改札できない旨のエラー処理がなされ
る(ステップ118)。 上記ステップ104におけるフォーマットサーチは、挿
入された乗車券イの券面の切出しフォーマットを確定す
るために行なわれる。 例えば、今、挿入された乗車券イが第5図(a)に示
されるように、新宿駅からA社線(自社線)で東京駅ま
で乗車し、東京駅からB社線(他社線)で120円区間ま
で乗車する額面240円の乗車券であるとする。 そして、その券面の撮像画像(画像データというとき
もある。)から切出し線を求める。切出し線は、撮像画
像の空白部分(印字ドットが存在しない部分)に仮空線
(第5図(a)の点線)を引き、その仮空線が照合線記
憶部11に予め記憶されている照合線テーブルのいずれの
照合線に符合するのかが判断される。なお、照合線記憶
部11には、その本体1の設置されている駅にとって有効
な全ての乗車券の乗車駅や乗車料金等の印字内容の券面
パターンに対応した照合線が予め記憶されている。 したがって、第5図(a)の券面の場合は、同図
(b)に示されるフォーマット照合線が抽出される。な
お、このフォーマット照合線の抽出は、完全一致の場合
のみ抽出するようにしてもよいが、本発明者らの実験結
果によれば、ある程度の幅を持たせて抽出しても、後述
の切出し処理には十分対応できることが判明している。
したがって、ある程度の幅を持って照合線抽出を行なっ
た方が券面に多少の汚れがあっても、また多少のノイズ
があっても対処することができる利点がある。 切出しフォーム記憶部12には、第5図(c)に示され
るような各照合線に対応した切出しフォーマット(以
下、FTCフォーマットという)が記憶されている(同図
(c)は同図(b)に対応したFTCフォーマットであ
る)。このため、フォーマット照合線が抽出されると、
これに対応したFTCフォーマットが抽出される。 FTCフォーマットが抽出されると、第4図のステップ1
06の切出し処理が行なわれる。この切出し処理は、後述
の判読処理の際、画像データを複数のブロックに区分し
て、そのブロック毎に基準文字のパターンと照合するた
めに行なわれる。 もし、この切出し処理を行なわずに、券面に印字され
ている文字を個別に判読しようとすると、文字の偏や旁
を分解して判読してしまい、誤った判読が多発し、結
局、自動改札機の機能を果すことができなくなる。そこ
で、本実施例に係る自動改札機Aは、判読処理をする前
に切出し処理を行なうようにしている。 第5図(d)は、同図(c)のFTCフォーマットに従
って、同図(a)に示された乗車券の画像が切出された
もので、「新宿から」,「240」,「円」,「東京」,
方向記号 ,「120」及び「円」に区画されて切出されたことを示
している。 この切出し処理に際しては、画像ずれの補正が行なわ
れる。これは、乗車券イが搬送機構4で搬送される際に
生ずる画像ずれや印刷ムラを補正するものである。例え
ば、搬送機構と印刷機構が精密であれば、同一の乗車券
を繰返し挿入して搬送させた場合、撮像器5によって得
られる画像データは同一になるが、そのような精密な搬
送機構と印刷機構はコスト高になり現実的でない。 そこで、切出し処理に際しては券面の特定部分を基準
として、例えば券面中央の方向記号を検出し、この方向
記号を中心にずれ量を検出し、そのずれ量を補正して正
確に切出しができるように工夫されている。 以上のように、FTCフォーマットが求められると、画
像の中から上記ステップ112の判読に必要なデータが抽
出される。 第5図(e)は第5図(d)のFTCフォーマットで切
出されたデータのうち、判定に必要なデータが抽出され
て示されている。この抽出された画像データは、第6図
に示されるように、その内容(駅名,金額),その内容
の切出しサイズ及びその内容のアドレスが付されてRAM1
0b内に記憶される。 判読に必要なデータが抽出されると、第4図のステッ
プ110により判読処理される。なお、この判読に先立っ
て、判読精度を高めるための前処理(第4図ステップ10
8)が行なわれる。この前処理は上述の切出し処理時の
ずれ補正と同様なずれ補正を一文字毎あるいは一数字毎
に行なわれる。 判読処理は文字記憶部13に記憶されている基準となる
文字,数字または記号のパターンを用いて行なわれる。
第7図(a)は判読対象となる一つの切出しデータで、
駅名が「東京」の画像データであり、また同図(b)は
これに対応する基準文字の照合テーブルパターンが例示
されている。この両図から明らかなように、照合テーブ
ルの方は、数ドット(例えば2ドット)分広げたテーブ
ルとなっている。このように、照合テーブルに幅を持た
せるのは、画像データに多少のズレがあっても判読可能
とするためである。 判読は、画像データと照合テーブルの照合度合によっ
て行なわれる。つまり、実験的に求められたある一定の
照合度合以上であれば、対象とされる文字または数値が
照合テーブルの文字または数値と判読される。 判読は、全ての切出されたブロックに優先順位を付け
て判読される。なぜならば、例えば、日付の切出しブロ
ックの判読において、有効期間以外のものと判読されれ
ば、その他の切出しブロックを判読するまでもなく、そ
の投入された乗車券をエラーとして処理することがで
き、自動改札機aの処理速度を高めることができるから
である。 第8図は判読順序の例を示すものであって、同図
(a)は入場(改札)時の場合であり、同図(b)は出
場(集札)時の場合である。 そして、今、同図(c)の〜に示される乗車券の
うち、いずれか1つの乗車券が本体1に挿入されたとす
る。 入場時(同図(c)における入場駅は「東京」)にお
いては、先ず日付が最初に判読される(ステップ20
0)。次いで小児マークの有無が判読される(ステップ2
02)。なお、小児マークがあるときは、図示しない人セ
ンサとの整合性が判定される。つまり、大人が小児用乗
車券で入場しようとするとエラー処理されてドアDは開
かれない。 自社券で、かつ連絡券でない場合は(,ステップ20
4肯定,206否定)、駅名I(東京)が判読される。一
方、自社券でなく、他社券の場合、つまり自駅が乗継駅
の場合(,ステップ204否定)、駅名Iが判読され
る。 さらに、自社の連絡券の場合は(,ステップ206肯
定)、駅名IIが判読される。 出場時においては、上記駅名I(第8図(a)のステ
ップ208)の判読の前に金額が判読され(ステップ30
8)、自社の連絡券の場合は(,ステップ306肯定)、
駅名Iが判読される他は、上記した第8図(a)のステ
ップと同様の順序で判読される。 以上のように、本実施例に係る光学読取式自動改札機
Aは、撮像器5で撮像した画像から対応する照合線を抽
出し、その抽出された照合線に対応するFTCフォーマッ
トにより画像データを切出し、切出された画像毎に判読
するようにしたので、切出しが正確に、かつ精度よく行
なうことができる。 また、切出された画像の判読順序を改札または集札時
の判断の優先順位に従って行なうので、全ての切出し画
像の判読を待たずにエラー処理ができるから、改札処理
能力を一層高めることができる。 なお、上述の実施例では、ドアDを開閉制御するよう
にしたが、このドアDの代りに回転するバーを駆動制御
するようにしてもよい。したがって、本発明でドア開閉
制御手段というときは、このようなバーも含むと理解し
なければならない。 また、撮像器5は、単一で券面の一方の面のみを撮像
するようにしてあるが、これを一対とし、両面を撮像で
きるようにして、挿入口2から挿入される乗車券イの挿
入方向が限定されないようにしてもよい。An optical reading type automatic ticket gate according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a front view showing a schematic configuration of the automatic ticket gate A according to the embodiment, and a ticket inserted from the insertion slot 2 between the insertion slot 2 and the discharge slot 3 of the main body 1. A transport mechanism 4 is provided for transporting B to the discharge port 3. The transport mechanism 4 is composed of an endless belt which is rotationally driven by a motor M, like the transport mechanism of a conventional magnetic reading type automatic ticket gate. Then, the portion near the insertion slot 2 optically reads the aligned transport path 4a for aligning the inserted ticket a, and the downstream portion of the aligned transport path optically reads the ticket a being transported. Further, a main transport path 4b for performing punching processing as necessary is configured. Therefore, on the main conveyance path 4b, the image pickup device 5 including a CCD camera for optically reading the ticket B being conveyed
Further, a punching unit 6 for punching a ticket B is provided on the downstream side of the image pickup device. In the figure, D is a door, which is opened when the passage of a passenger is permitted, like a conventional automatic ticket gate, and is opened and closed by a command from a controller described later. W is a wing that moves up and down according to a command from the controller depending on whether the inserted ticket a is a collection ticket or a return ticket. The controller C is configured as shown in the block diagram of FIG. That is, the so-called microcomputer mainly includes a ROM 10a in which a system program is stored and a central processing unit (CPU) 10 that performs arithmetic processing by a RAM 10b in which a working program is stored. In the CPU 10, a matching line storage unit 11 that stores a table of matching lines for cutting out a screen capturing the face of the inserted ticket a for each predetermined section, and a cutout format corresponding to the matching lines. The cutout format storage unit 12 in which the table is stored, and the characters, numbers, and
It is connected to a character pattern storage unit 13 in which patterns of symbols or combinations thereof are stored. Note that these storage units 11 to 13 can also be used as RAM by increasing the storage capacity of the RAM 10b. Further, the CPU 10 has an image processing circuit 15 of the image pickup device 5 and a drive circuit 16 of the punching unit 6 via the I / O unit 14.
And the drive circuit 17 of the door D are connected. Although not shown, the CPU 10 is connected to a drive circuit of the drive motor M and a circuit of a sensor for detecting the transport position of the ticket A through the I / O unit 14. The basic operation of the automatic ticket gate A of the present embodiment based on the above configuration is performed according to the general flow chart of FIG. First, when the ticket a is inserted into the insertion slot 2 of the main body 1, the operation is started (Yes at step 100). The inserted ticket B is imaged by the image pickup device 5 while being conveyed by the conveying mechanism 4 (step 102). That is, while the ticket a is being conveyed in the long direction, the imaging device 5 intermittently scans the ticket a in the short direction. The signal obtained by the scan is converted into a binary signal by the image processing circuit 15 and sequentially RA
It is stored in M10b. After that, the format search (step 10
The format of the printed ticket face of the boarding ticket a is detected by the format process consisting of 4) and the cutting process (step 106), and then the pre-process (step described in detail later).
108) and a recognition process consisting of a reading process (step 110), characters on the face of the ticket (boarding station name, transfer station name, etc.) or numbers (fare, date, etc.) are collated and read. After the recognition processing, when it is determined that the inserted ticket B may be permitted to pass through the ticket gate passage (steps 112, 11).
4) Yes, as in the case of the conventional magnetic reading type automatic ticket gate, in the case of the normally closed type, the door drive circuit 17 is driven to open the door D (step 116). In the case of the normally open type, the door is kept open. On the other hand, when it is determined that the passage is not permitted (No at step 114), the inserted ticket a is returned to the outlet, and in the case of the normally closed type, the door drive circuit 17 causes the door drive circuit 17 to move to the door. D is maintained in the closed state, the door D is closed in the case of the normally open type, and error processing is performed to the effect that the ticket can not be automatically ticketed (step 118). The format search in step 104 is performed to determine the cut-out format of the face of the inserted ticket A. For example, as shown in Fig. 5 (a), the inserted ticket a is now taken from Shinjuku station to Tokyo station on Company A line (own line) and from Tokyo station to Company B line (other company line). It is assumed that it is a ticket with a face value of 240 yen that rides on the 120 yen section. Then, a cutout line is obtained from the captured image (sometimes referred to as image data) of the bill surface. As for the cutout line, a temporary sky line (dotted line in FIG. 5A) is drawn on a blank portion (a portion where print dots do not exist) of the captured image, and the temporary skyline is stored in the matching line storage unit 11 in advance. It is determined which matching line in the matching line table is matched. It should be noted that the matching line storage unit 11 stores in advance matching lines corresponding to the ticket surface pattern of the printed contents such as the boarding station and the boarding fare of all tickets that are valid for the station where the main body 1 is installed. . Therefore, in the case of the face of FIG. 5 (a), the format matching line shown in FIG. 5 (b) is extracted. It should be noted that this format matching line may be extracted only in the case of a perfect match, but according to the experimental results of the present inventors, even if it is extracted with a certain width, it will be described later. It has been found that the processing can be handled sufficiently.
Therefore, if the matching line is extracted with a certain width, there is an advantage that it is possible to deal with even a slight stain on the bill surface or a little noise. The cutout form storage unit 12 stores a cutout format (hereinafter, referred to as an FTC format) corresponding to each matching line as shown in FIG. 5C (FIG. 5C is shown in FIG. ) Is in the FTC format). Therefore, when the format matching line is extracted,
The FTC format corresponding to this is extracted. Once the FTC format is extracted, step 1 in Figure 4
The cutting process of 06 is performed. This cutout process is performed in order to divide the image data into a plurality of blocks and collate the blocks with the pattern of the reference character at the time of the interpretation process described later. If you try to read the characters printed on the face individually without performing this cut-out process, the characters will be distorted and the characters will be read, and incorrect readings will often occur, eventually resulting in automatic ticket gates. The function of the machine cannot be fulfilled. Therefore, the automatic ticket gate A according to the present embodiment performs the cutting process before the reading process. Fig. 5 (d) is an image of the ticket shown in Fig. 5 (a) cut out according to the FTC format in Fig. 5 (c). From "Shinjuku", "240", "yen"","Tokyo",
Direction sign , "120" and "circle" are divided and cut out. At the time of this clipping processing, the image shift is corrected. This is to correct image shift and printing unevenness that occur when the ticket B is transported by the transport mechanism 4. For example, if the transport mechanism and the printing mechanism are precise, when the same ticket is repeatedly inserted and transported, the image data obtained by the image pickup device 5 will be the same, but such a precise transport mechanism and printing will be performed. The mechanism becomes expensive and unrealistic. Therefore, in the cutting process, for example, a directional symbol at the center of the face is detected with reference to a specific portion of the face, the deviation amount is detected around this direction symbol, and the deviation amount is corrected so that accurate cutting can be performed. It is devised. As described above, when the FTC format is required, the data necessary for the interpretation in step 112 is extracted from the image. FIG. 5 (e) shows the data necessary for the determination extracted from the data cut out in the FTC format of FIG. 5 (d). As shown in FIG. 6, the extracted image data is provided with the contents (station name, amount of money), the cutout size of the contents and the address of the contents, and the RAM 1
It is stored in 0b. When the data necessary for interpretation is extracted, the interpretation processing is performed in step 110 of FIG. Prior to this reading, preprocessing (step 10 in FIG. 4) for improving the reading accuracy is performed.
8) is performed. In this pre-processing, the same misalignment correction as the misalignment correction at the time of the above-described clipping process is performed for each character or for each number. The reading process is performed using a pattern of reference characters, numbers or symbols stored in the character storage unit 13.
FIG. 7 (a) shows one piece of cut data to be read,
The station name is image data of "Tokyo", and FIG. 9B illustrates a matching table pattern of the corresponding reference characters. As is clear from these figures, the collation table is a table expanded by several dots (for example, 2 dots). The reason why the collation table has a width in this way is that the collation table can be read even if the image data has some deviation. Interpretation is performed based on the degree of matching between the image data and the matching table. That is, if the degree of collation is equal to or higher than a certain degree obtained experimentally, the target character or number is read as the character or number in the collation table. The reading is performed by prioritizing all the cut blocks. Because, for example, in reading the cut-out block of the date, if it is read as something other than the valid period, it is possible to process the inserted ticket as an error without reading the other cut-out block. This is because the processing speed of the automatic ticket gate a can be increased. Fig. 8 shows an example of the reading order. Fig. 8 (a) shows the case at the time of entry (gates) and Fig. 8 (b) shows the case at the time of exits (ticket collection). Then, it is assumed that any one of the tickets shown in (c) to (c) is inserted into the main body 1. At the time of entry (the entry station in the figure (c) is "Tokyo"), the date is first read (step 20).
0). Next, the presence or absence of the child mark is read (step 2).
02). If there is a child mark, the matching with a human sensor (not shown) is determined. In other words, when an adult tries to enter with a child ticket, an error is processed and the door D is not opened. If it is a company ticket and it is not a contact ticket (, Step 20
4 positive, 206 negative), station name I (Tokyo) is read. On the other hand, if the ticket is not the own ticket but another company's ticket, that is, if the own station is a transit station (No at step 204), the station name I is read. Furthermore, in the case of the company's contact ticket (Yes at step 206), the station name II is read. At the time of participation, the amount of money is read before reading the station name I (step 208 in FIG. 8 (a)) (step 30).
8) In the case of your own contact ticket (Yes at step 306),
Other than the station name I being read, the station name I is read in the same order as in the step of FIG. As described above, the optical reading type automatic ticket gate A according to the present embodiment extracts the corresponding matching line from the image picked up by the image pickup device 5, and outputs the image data in the FTC format corresponding to the extracted matching line. Since the image is cut out and read for each cut-out image, the cut-out can be performed accurately and accurately. Further, since the read order of the cut-out images is determined according to the priority order of the judgment at the time of ticket examination or ticket collection, error processing can be performed without waiting for the reading of all cut-out images, so that the ticket examination processing capability can be further enhanced. . Although the door D is controlled to be opened and closed in the above-described embodiment, the rotating bar may be drive-controlled instead of the door D. Therefore, it should be understood that the door opening / closing control means in the present invention includes such a bar. Further, the imager 5 is adapted to image only one side of the ticket face by itself, but it is made a pair and is capable of imaging both sides, and the insertion of the ticket a to be inserted from the insertion slot 2 The direction may not be limited.
本発明に係る自動改札機は、撮像手段で撮像した画像
から、予め照合線記憶部に格納されている券面に印字さ
れている乗車駅や乗車料金等の券面パターンに対応する
照合線を抽出し、その抽出された照合線に対応するFTC
フォーマットにより撮像した画像を切出し、切出された
画像毎に判読して、その判読結果を判定し、その判定結
果によりドアを開閉制御するようにしたので、切出しが
正確に、かつ精度よく行なうことができ、改札処理効率
を高めることができる。 また、切出された画像の判読順序を決定する判読順位
決定手段を設けたときは、改札または集札時の判断の優
先順位に従って判読されるようにしたので、全ての切出
し画像の判読を待たずにエラー処理ができるので、改札
処理能力をより高めることができる。An automatic ticket gate according to the present invention extracts a matching line corresponding to a ticket surface pattern such as a boarding station or a boarding fare, which is printed on a ticket face stored in advance in the matching line storage unit, from an image captured by the image capturing means. , The FTC corresponding to the extracted matching line
The image taken by the format is cut out, read out for each cut out image, the reading result is judged, and the opening and closing of the door is controlled based on the judgment result, so cutting out can be performed accurately and accurately. The ticket gate processing efficiency can be improved. Further, when the reading order determining means for determining the reading order of the cut out images is provided, the reading order is determined according to the priority order of the judgment at the time of the ticket gate or the collection of the ticket, so that the reading of all cut out images is waited for. Since error processing can be performed without doing so, the ticket gate processing capability can be further enhanced.
【図面の簡単な説明】 第1図は本発明に係る光学読取式自動改札機の構成上の
特徴を表わした全体構成図、第2図は本発明の一実施例
に係る自動改札機の概略構成図、第3図は制御器の概略
構成を示すブロック図、第4図は制御器の制御プログラ
ムの概略を示すフローチャート、第5図は切出し手順を
説明する説明図、第6図は読取データの説明図、第7図
は画像データと照合テーブルの説明図、第8図は判読順
位を示すフローチャート及び乗車券の説明図である。 1……本体(自動改札機本体)、 2……挿入口、 3……排出口、 4……搬送機構、 5……撮像器、 6……パンチングユニット、A……光学読取式自動改札
機、 10……CPU、 11……照合線記憶部、 12……切出しフォーマット記憶部、 13……文字記憶部。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an overall configuration diagram showing the structural features of an optical reading type automatic ticket gate according to the present invention, and FIG. 2 is an outline of an automatic ticket gate according to one embodiment of the present invention. Configuration diagram, FIG. 3 is a block diagram showing a schematic configuration of the controller, FIG. 4 is a flowchart showing an outline of a control program of the controller, FIG. 5 is an explanatory diagram for explaining a cutting procedure, and FIG. 6 is read data. FIG. 7 is an explanatory view of image data and a matching table, and FIG. 8 is a flowchart showing the reading order and an explanatory view of a ticket. 1 …… Main body (main body of automatic ticket gate), 2 …… Insertion port, 3 …… Ejection port, 4 …… Transport mechanism, 5 …… Imaging device, 6 …… Punching unit, A …… Optical reading type automatic ticket gate , 10 ... CPU, 11 ... collation line storage section, 12 ... clipping format storage section, 13 ... character storage section.
Claims (2)
は入場券の券面を撮像する撮像手段と、 予め照合線記憶部に格納されている、前記券面に印字さ
れている乗車駅や乗車料金等の券面パターンに対応した
照合線から、撮像された画像に対応する照合線を抽出す
る照合線抽出手段と、 予め切出しフォーマット記憶部に格納されている切出し
フォーマットから、抽出された照合線に対応する切出し
フォーマットを抽出する切出しフォーマット抽出手段
と、 撮像された画像を抽出された切出しフォーマットに従っ
て切出す切出し手段と、 予め文字パターン記憶部に格納されている文字,数字ま
たは記号のパターンから、各切出し画像毎に判読する判
読手段と、 判読されたデータを基に、その乗車券で改札通路の通過
を許可するか否かを判定する判定手段と、 判定結果に基づいてドアを開閉制御するドア制御手段
と、 からなることを特徴とする光学読取式自動改札機。1. An image pickup means for picking up an image of a ticket or an entrance ticket inserted in the main body of an automatic ticket gate, and a boarding station or a boarding fare stored in the matching line storage unit in advance and printed on the ticket. Matching line extraction means for extracting the matching line corresponding to the captured image from the matching line corresponding to the bill face pattern, and the matching line extracted from the cutout format stored in the cutout format storage unit in advance Extraction format extraction means for extracting the extraction format, extraction means for extracting the captured image in accordance with the extracted extraction format, and each extraction from the character, number or symbol pattern stored in the character pattern storage unit in advance. Judgment method to read each image and based on the read data, determine whether or not to allow the ticket to pass through the ticket gate passage That determination means and a door control means for controlling opening and closing the door based on the determination result, the optical reading type automatic ticket gate, characterized by comprising.
いて、 切出された画像毎の判読順序は、改札または集札の判断
の優先順位を決定する判読順位決定手段に従って行なわ
れることを特徴とする光学読取式自動改札機。2. The optical-reading automatic ticket gate according to claim 1, wherein the reading order for each of the cut-out images is performed according to the reading order determining means for determining the priority order of the determination of the ticket gate or the ticket collection. Characteristic optical reading type automatic ticket gate.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1299273A JP2680449B2 (en) | 1989-11-16 | 1989-11-16 | Optically-readable automatic ticket gate |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1299273A JP2680449B2 (en) | 1989-11-16 | 1989-11-16 | Optically-readable automatic ticket gate |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03157788A JPH03157788A (en) | 1991-07-05 |
| JP2680449B2 true JP2680449B2 (en) | 1997-11-19 |
Family
ID=17870412
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1299273A Expired - Lifetime JP2680449B2 (en) | 1989-11-16 | 1989-11-16 | Optically-readable automatic ticket gate |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2680449B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63225888A (en) * | 1987-03-13 | 1988-09-20 | オムロン株式会社 | Automatic ticket checking system |
-
1989
- 1989-11-16 JP JP1299273A patent/JP2680449B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03157788A (en) | 1991-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5204811A (en) | Document processor with transport buffer | |
| EP1041806A2 (en) | Printer and control method for the same | |
| JP2000344428A (en) | Printing apparatus and control method thereof | |
| EP0997838A2 (en) | Method of processing misoriented items in an image-based item processing system and an apparatus therefor | |
| JP2680449B2 (en) | Optically-readable automatic ticket gate | |
| US6481624B1 (en) | Method and apparatus for processing documents to distinguish various types of documents | |
| JP2005322139A (en) | Paper sheet identification apparatus and method | |
| JP2680450B2 (en) | Optically-readable automatic ticket gate | |
| JPH0733307A (en) | Check processor | |
| JP7223664B2 (en) | Counterfeit determination device, counterfeit determination method, and program | |
| JP2011076496A (en) | Ticket issuing device for passing vehicle and ticket issuing system for passing vehicle | |
| JP3088841B2 (en) | Ticket reader | |
| JPH089798Y2 (en) | Automatic ticket gate | |
| JP2000259764A (en) | Media processing device | |
| JP2002032711A (en) | Form recognition device and form recognition method | |
| JP2000155860A (en) | Automatic ticket gate corresponding to wireless card and control method thereof | |
| JP2001325623A (en) | Automatic ticket checker | |
| JP3073027U (en) | Barcode form classification device | |
| JP2577491B2 (en) | Card handling equipment for cash handling equipment | |
| JP2004021518A (en) | Slip window processing system | |
| JP2000322633A (en) | Card processing device and card processing system | |
| JP3502663B2 (en) | Optical mark reader | |
| JPH0887646A (en) | Passbook processing device | |
| JP2814693B2 (en) | Card device | |
| JP2005316727A (en) | Paper sheet identification apparatus and method |