JP2015011459A - Reader, read threshold setting method, and read threshold setting program - Google Patents

Reader, read threshold setting method, and read threshold setting program Download PDF

Info

Publication number
JP2015011459A
JP2015011459A JP2013135321A JP2013135321A JP2015011459A JP 2015011459 A JP2015011459 A JP 2015011459A JP 2013135321 A JP2013135321 A JP 2013135321A JP 2013135321 A JP2013135321 A JP 2013135321A JP 2015011459 A JP2015011459 A JP 2015011459A
Authority
JP
Japan
Prior art keywords
reading
reading threshold
entry
mark
voting
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.)
Pending
Application number
JP2013135321A
Other languages
Japanese (ja)
Inventor
吉田 明弘
Akihiro Yoshida
明弘 吉田
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 Frontech Ltd
Original Assignee
Fujitsu Frontech 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 Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2013135321A priority Critical patent/JP2015011459A/en
Publication of JP2015011459A publication Critical patent/JP2015011459A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To optimally set a mark card read threshold.SOLUTION: A reader for a mark card including an entry column for entering a mark as one of a plurality of entry columns printed in dropout color, comprises: a multivalued image data acquisition unit dividing a plurality of entry frames in the entry column into a plurality of groups, and acquiring multivalued image data on the plurality of entry frames for every group; a read threshold acquisition unit binarizing the multivalued image data on each group a plurality of times while changing values of a binarization threshold, and acquiring read thresholds of the respective groups; and a setting unit setting a read threshold of the mark card on the basis of the read thresholds of the plurality of groups.

Description

本発明は、ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカードの読取装置に関する。   The present invention relates to a mark card reader having an entry field in which a mark is entered in one of a plurality of entry frames printed by a dropout color.

従来、競馬、競輪、競艇、オートレース等の公営競技などでは、ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカード(マークシートともいう)の読取装置が使用されている。   Conventionally, in public competitions such as horse racing, bicycle racing, boat racing, auto racing, etc., a mark card (also referred to as a mark sheet) having an entry field in which a mark is entered in one of a plurality of entry frames printed in dropout color. Readers are used.

このような読取装置では、マークカードの多値画像データが取得され、その多値画像データが所定の読取閾値(二値化閾値)を用いて二値化されることにより、ドロップアウトカラーにより印刷された各記入枠におけるマークの有無が検出される。例えば、マークが記入されていない記入枠の部分が二値化により「0」とされた場合には、その記入枠にマーク無しが検出され、マークが記入されている記入枠の部分が二値化により「1」とされた場合には、その記入枠にマーク有りが検出される。   In such a reading apparatus, multi-value image data of a mark card is acquired, and the multi-value image data is binarized using a predetermined reading threshold (binarization threshold), thereby printing in dropout color. The presence / absence of a mark in each written entry frame is detected. For example, if the part of the entry frame where the mark is not entered is set to “0” by binarization, no mark is detected in the entry frame, and the part of the entry frame where the mark is entered is binary. If the value is set to “1”, the presence of a mark is detected in the entry frame.

このような読取装置では、ユーザの使い勝手向上等を考慮して、ドロップアウトカラーにより印刷された記入枠の濃度としては極力高い(濃い)ものまでを取り扱うことができ、且つ、記入されたマークの濃度としては極力低い(薄い)ものまでを読み取ることができる、といったことが要求されている。   In such a reader, in consideration of user convenience, etc., the density of the entry frame printed by the dropout color can be handled as high as possible (dense), and the mark of the entered mark can be handled. It is required that the density can be read as low as possible (thin).

なお、マークカードの読取装置に関し、次のような装置が知られている。
例えば、マークカードに印刷されているドロップアウトカラーを識別するための識別コードからマークカードのドロップアウトカラーを識別することで、さまざまなドロップアウトカラーで印刷されたマークカードを高速に処理する読取装置が知られている(特許文献1等参照)。
The following devices are known with respect to mark card readers.
For example, a reader that processes mark cards printed in various drop-out colors at high speed by identifying the drop-out color of the mark card from an identification code for identifying the drop-out color printed on the mark card Is known (see Patent Document 1).

特開2012−133680号公報JP 2012-133680 A

ところで、読取装置が取り扱うマークカードは複数の種類が存在し、且つ、同じ種類であっても製造ロット毎にドロップアウトカラーの印刷濃度がばらつくことが知られている。そのため、読取装置におけるマークカードの読取閾値は、取り扱うマークカードの全種類のばらつきを考慮しつつ上述の要求も考慮して、ドロップアウトカラーの印刷濃度が最も高いものを基準に設定されている。そして、このようにして読取閾値が設定されると、以後は、原則として、取り扱う全種類の全製造ロットのマークカードに対して、一律に、その読取閾値を用いて、マークカードの読み取りが行われている。   By the way, it is known that there are a plurality of types of mark cards handled by the reading apparatus, and even if they are the same type, the print density of the dropout color varies for each production lot. For this reason, the reading threshold of the mark card in the reading apparatus is set based on the one having the highest dropout color print density in consideration of the above-mentioned requirements in consideration of variations in all kinds of mark cards to be handled. When the reading threshold is set in this way, thereafter, as a general rule, the reading of the mark card is performed using the reading threshold uniformly with respect to the mark cards of all types of all handling lots handled. It has been broken.

しなしながら、これでは、特定の種類の特定の製造ロットのマークカードに対しては最適な読取閾値になるとしても、他の種類や他の製造ロットのマークカードに対しては最適な読取閾値になっていない、という問題があった。   However, this may be the optimum reading threshold for a specific type of production card of a certain type, but it may be the optimum reading threshold for other types or lots of production. There was a problem that it was not.

本発明は、上記実情に鑑み、マークカードの読取閾値を最適に設定することができる読取装置、読取閾値設定方法、及び読取閾値設定プログラムを提供することを目的とする。   In view of the above circumstances, an object of the present invention is to provide a reading apparatus, a reading threshold setting method, and a reading threshold setting program that can optimally set a reading threshold of a mark card.

装置の一観点によれば、ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカードの読取装置であって、前記記入欄における前記複数の記入枠を複数のグループに分割して前記複数の記入枠の多値画像データをグループ毎に取得する多値画像データ取得部と、各グループの多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、各グループの読取閾値を取得する読取閾値取得部と、前記複数のグループの読取閾値に基づいて、前記マークカードの読取閾値を設定する設定部と、を含む。   According to one aspect of the apparatus, there is provided a mark card reader having an entry field in which a mark is entered in one of a plurality of entry frames printed by a dropout color, Dividing the input frame into a plurality of groups and acquiring the multi-value image data of the plurality of input frames for each group, and binarization for the multi-value image data of each group A reading threshold value acquisition unit that acquires the reading threshold value of each group by performing a plurality of times while changing the threshold value, and a setting unit that sets the reading threshold value of the mark card based on the reading threshold value of the plurality of groups, including.

方法の一観点によれば、ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカードの読取閾値を設定する読取閾値設定方法であって、前記記入欄における前記複数の記入枠を複数のグループに分割して前記複数の記入枠の多値画像データをグループ毎に取得し、各グループの多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、各グループの読取閾値を取得し、前記複数のグループの読取閾値に基づいて、前記マークカードの読取閾値を設定する、処理をコンピュータが実行する。   According to one aspect of the method, there is provided a reading threshold value setting method for setting a reading threshold value of a mark card having an entry field in which a mark is entered in one of a plurality of entry frames printed by a dropout color, Dividing the plurality of entry frames in the entry field into a plurality of groups, obtaining multi-value image data of the plurality of entry frames for each group, and binarizing the multi-value image data of each group The computer executes a process of performing a plurality of times while changing the threshold value, obtaining the reading threshold value of each group, and setting the reading threshold value of the mark card based on the reading threshold value of the plurality of groups.

プログラムの一観点によれば、ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカードの読取閾値を設定する読取閾値設定プログラムであって、前記記入欄における前記複数の記入枠を複数のグループに分割して前記複数の記入枠の多値画像データをグループ毎に取得し、各グループの多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、各グループの読取閾値を取得し、前記複数のグループの読取閾値に基づいて、前記マークカードの読取閾値を設定する、処理をコンピュータに実行させる。   According to one aspect of the program, there is provided a reading threshold value setting program for setting a reading threshold value of a mark card having an entry field in which a mark is written in one of a plurality of entry frames printed by a dropout color, Dividing the plurality of entry frames in the entry field into a plurality of groups, obtaining multi-value image data of the plurality of entry frames for each group, and binarizing the multi-value image data of each group The processing is performed a plurality of times while changing the value of the threshold value, the reading threshold value of each group is acquired, and the processing for setting the reading threshold value of the mark card based on the reading threshold value of the plurality of groups is executed by the computer.

開示の装置、方法、及びプログラムは、マークカードの読取閾値を最適に設定することができる、という効果を奏する。   The disclosed apparatus, method, and program have an effect that a mark card reading threshold can be set optimally.

マークカード読取装置を含むトータリゼータシステムの構成例を示す図である。It is a figure which shows the structural example of the totalizer system containing a mark card reader. マークカード読取装置を含む投票券発払装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the voting ticket issuing apparatus containing a mark card reader. マークカード読取装置を含む投票券発払装置の機能ブロックの一例を示す図である。It is a figure which shows an example of the functional block of the voting ticket issue apparatus containing a mark card reader. 投票券発払装置に含まれるマークカード読取装置で行われる読取閾値設定動作を示すフローチャートである。It is a flowchart which shows the reading threshold value setting operation | movement performed with the mark card reader included in a betting ticket issuing device. 投票カードの一例を示す図である。It is a figure which shows an example of a voting card.

以下、図面を参照しながら一実施の形態に係る読取装置を説明する。
本実施形態に係る読取装置は、例えば、トータリゼータシステムに含まれるマークカード読取装置である。なお、トータリゼータシステムとは、競馬、競輪、競艇、又はオートレース等の公営競技における投票券の発券、オッズの表示と集計、配当金の計算、投票券の払戻等を管理するシステムである。
Hereinafter, a reading apparatus according to an embodiment will be described with reference to the drawings.
The reader according to the present embodiment is, for example, a mark card reader included in a totalizer system. The totalizer system is a system that manages the issuance of voting tickets, the display and counting of odds, the calculation of dividends, the refund of voting tickets, etc. in public competitions such as horse racing, bicycle racing, boat racing, or auto racing.

図1は、本実施形態に係るマークカード読取装置を含むトータリゼータシステムの構成例を示す図である。   FIG. 1 is a diagram illustrating a configuration example of a totalizer system including a mark card reader according to the present embodiment.

図1に示すように、トータリゼータシステム1000は、本実施形態に係るマークカード読取装置を含む投票券発払装置100、管理装置(ホストコンピュータ)200、ネットワーク300を備えている。   As shown in FIG. 1, the totalizer system 1000 includes a voting ticket issuing device 100 including a mark card reading device according to the present embodiment, a management device (host computer) 200, and a network 300.

投票券発払装置100は、運用状況表示窓101、投票券投入口102、投票券排出口103、投票カード投入排出口104、紙幣投入排出口105、硬貨投入口106、硬貨排出口107、ディスプレイ108、タッチパネル109を備えている。   The voting ticket issuing device 100 includes an operation status display window 101, a voting ticket slot 102, a voting ticket slot 103, a voting card slot 104, a bill slot 105, a coin slot 106, a coin slot 107, and a display. 108 and a touch panel 109 are provided.

運用状況表示窓101は、投票券発払装置100において、投票券の発券受付中であるか発券停止中であるか、及び、投票券の払戻受付中であるか払戻停止中であるかを表示する。   The operation status display window 101 displays in the voting ticket issuing device 100 whether voting ticket issuance is being accepted or issuance is stopped, and whether voting ticket withdrawal is being accepted or issuance is being suspended. To do.

投票券投入口102は、払い戻しをする投票券の投入口である。投票券排出口103は、発券された投票券の排出口である。投票カード投入排出口104は、投票申し込みマークカード(以降、投票カードと記す。)の投入口であり、また、返却する投票カードの排出口でもある。なお、投票カードは、ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカードである。   The voting ticket slot 102 is a slot for voting tickets to be refunded. The voting ticket discharge port 103 is a discharge port for the issued voting ticket. The voting card insertion / extraction port 104 is an insertion port for a voting application mark card (hereinafter referred to as a voting card), and is also an outlet for a voting card to be returned. The voting card is a mark card having an entry field in which a mark is entered in one of a plurality of entry frames printed in dropout color.

紙幣投入排出口105は、紙幣の投入口であり、また、返却する紙幣又は釣札とする紙幣の排出口でもある。硬貨投入口106は、硬貨の投入口である。硬貨排出口107は、返却する硬貨又は釣銭とする硬貨の排出口である。   The bill insertion / discharge port 105 is a bill input port, and is also a discharge port for a bill to be returned or a bill. The coin slot 106 is a coin slot. The coin outlet 107 is an outlet for coins to be returned or changed.

ディスプレイ108は、タッチパネル109の下層に配置されており、操作案内、レース案内、投票カードの投票内容等の情報を表示する。ディスプレイ108は、例えば液晶ディスプレイである。   The display 108 is disposed below the touch panel 109 and displays information such as operation guidance, race guidance, and voting contents of a voting card. The display 108 is a liquid crystal display, for example.

タッチパネル109は、透過型のタッチパネルであり、各種の入力や投票内容の修正等の際に操作される。ディスプレイ108により表示された情報は、タッチパネル109を透過して、投票者から視認可能である。投票者は、ディスプレイ108により表示された情報を見ながら、タッチパネル109に対するタッチ操作を行うことができる。   The touch panel 109 is a transmissive touch panel, and is operated when various inputs and voting contents are corrected. Information displayed on the display 108 can be seen by a voter through the touch panel 109. The voter can perform a touch operation on the touch panel 109 while viewing the information displayed on the display 108.

なお、投票券発払装置100において、投票券投入口102と投票券排出口103を一体構成としてもよい。また、硬貨投入口106と硬貨排出口107を一体構成としてもよい。また、投票カード投入排出口104を、投票カード投入口と投票カード排出口のように、別体構成としてもよい。また、紙幣投入排出口105を、紙幣投入口と紙幣排出口のように、別体構成としてもよい。   In the voting ticket issuing device 100, the voting ticket slot 102 and the voting ticket outlet 103 may be integrated. Further, the coin insertion port 106 and the coin discharge port 107 may be integrated. Also, the voting card insertion / extraction port 104 may be configured separately, such as a voting card insertion port and a voting card discharge port. Moreover, it is good also considering the banknote insertion discharge port 105 as a different body structure like a banknote insertion port and a banknote discharge port.

管理装置200は、投票券発払装置100とネットワーク300を介して通信を行い、投票券発払装置100が行う投票券の発券や投票券の払戻等を管理するホストコンピュータである。また、管理装置200は、オッズの計算、配当金の計算等を行う。   The management device 200 is a host computer that communicates with the voting ticket issuing device 100 via the network 300 and manages voting ticket issuance, voting ticket refund, and the like performed by the voting ticket issuing device 100. In addition, the management apparatus 200 performs odds calculation, dividend calculation, and the like.

ネットワーク300は、例えば、LAN(Local Area Network)、WAN(Wide Area Network)、インターネット等のネットワーク、或いは、それらが混在するネットワークである。   The network 300 is, for example, a network such as a LAN (Local Area Network), a WAN (Wide Area Network), and the Internet, or a network in which they are mixed.

図2は、本実施形態に係るマークカード読取装置を含む投票券発払装置100のハードウェア構成例を示す図である。   FIG. 2 is a diagram illustrating a hardware configuration example of the voting ticket issuing apparatus 100 including the mark card reading apparatus according to the present embodiment.

図2に示すように、投票券発払装置100は、制御部111、ディスプレイ108、管理者用ディスプレイ112、タッチパネル109、管理者用タッチパネル113、投票カード読取ユニット114、紙幣還流ユニット115、硬貨還流ユニット116、投票券印刷ユニット117、払戻投票券読取ユニット118を備えている。なお、本実施形態に係るマークカード読取装置は、制御部111と投票カード読取ユニット114を含む。   As shown in FIG. 2, the voting ticket issuing apparatus 100 includes a control unit 111, a display 108, a manager display 112, a touch panel 109, a manager touch panel 113, a voting card reading unit 114, a bill circulation unit 115, and a coin circulation. A unit 116, a voting ticket printing unit 117, and a withdrawal voting ticket reading unit 118 are provided. Note that the mark card reading device according to the present embodiment includes a control unit 111 and a voting card reading unit 114.

制御部111は、CPU(Central Processing Unit)120、RAM(Random Access Memory)121、HDD(Hard Disk Drive)122、通信インタフェース123、グラフィック処理ユニット124、入出力インタフェース125を含み、各々がバス126を介して接続されている。なお、制御部111は、コンピュータの一例でもある。   The control unit 111 includes a central processing unit (CPU) 120, a random access memory (RAM) 121, a hard disk drive (HDD) 122, a communication interface 123, a graphic processing unit 124, and an input / output interface 125. Connected through. The control unit 111 is also an example of a computer.

CPU120は、投票券発払装置100の全体動作を制御する。RAM121は、CPU120によって実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部を一時的に格納する。また、RAM121は、CPU120による処理に必要な各種データ(例えば投票内容のデータ等)を格納する。HDD122は、OSやアプリケーションプログラムを格納する。   The CPU 120 controls the overall operation of the voting ticket issuing device 100. The RAM 121 temporarily stores at least part of an OS (Operating System) program and application programs executed by the CPU 120. The RAM 121 stores various data necessary for processing by the CPU 120 (for example, voting data). The HDD 122 stores the OS and application programs.

通信インタフェース123は、ネットワーク300に接続され、例えば、管理装置200との間でデータ(各種の情報、電文、通知等)の送受信を行う。   The communication interface 123 is connected to the network 300, and transmits and receives data (various information, messages, notifications, etc.) to and from the management device 200, for example.

なお、CPU120によって実行されるOSのプログラムやアプリケーションプログラムは、図示しない外部装置から、ネットワーク300及び通信インタフェース123を介して、例えばRAM121に格納されて、CPU120によって実行されてもよい。また、これらのプログラム等は、後述の可搬型記録媒体119に格納され、後述の可搬型記録媒体インタフェース及び入出力インタフェース125を介して、例えばRAM121に格納されて、CPU120によって実行されてもよい。   The OS program and application program executed by the CPU 120 may be stored in, for example, the RAM 121 and executed by the CPU 120 from an external device (not shown) via the network 300 and the communication interface 123. In addition, these programs and the like may be stored in a portable recording medium 119 described later, and stored in, for example, the RAM 121 via the portable recording medium interface and input / output interface 125 described later, and executed by the CPU 120.

グラフィック処理ユニット124は、ディスプレイ108、管理者用ディスプレイ112が接続されている。グラフィック処理ユニット124は、CPU120の制御の下に、各種の情報をディスプレイ108、管理者用ディスプレイ112の画面に表示させる。なお、管理者用ディスプレイ112は、投票券発払装置100の裏面側に設けられる管理者向けのディスプレイであり、管理者用タッチパネル113の下層に配置されている。管理者用ディスプレイ112は、例えば液晶ディスプレイである。   The graphic processing unit 124 is connected to a display 108 and an administrator display 112. The graphic processing unit 124 displays various information on the screen of the display 108 and the manager display 112 under the control of the CPU 120. The manager display 112 is a display for managers provided on the back side of the voting ticket issuing apparatus 100, and is disposed below the manager touch panel 113. The manager display 112 is, for example, a liquid crystal display.

入出力インタフェース125には、タッチパネル109、管理者用タッチパネル113、投票カード読取ユニット114、紙幣還流ユニット115、硬貨還流ユニット116、投票券印刷ユニット117、払戻投票券読取ユニット118が接続されている。また、入出力インタフェース125は、可搬型記録媒体119に対する情報の書込み及び読出しが可能な図示しない可搬型記録媒体インタフェースと接続可能になっている。   Connected to the input / output interface 125 are a touch panel 109, an administrator touch panel 113, a voting card reading unit 114, a bill circulation unit 115, a coin circulation unit 116, a voting ticket printing unit 117, and a refund voting ticket reading unit 118. The input / output interface 125 can be connected to a portable recording medium interface (not shown) that can write and read information to and from the portable recording medium 119.

入出力インタフェース125は、タッチパネル109、管理者用タッチパネル113、投票カード読取ユニット114、紙幣還流ユニット115、硬貨還流ユニット116、投票券印刷ユニット117、払戻投票券読取ユニット118、可搬型記録媒体インタフェースから送られてくる信号を、バス126を介してCPU120に送信する。また、入出力インタフェース125は、CPU120から送られてくる制御信号を、バス126を介して対応するユニット(タッチパネル109、管理者用タッチパネル113、投票カード読取ユニット114、紙幣還流ユニット115、硬貨還流ユニット116、投票券印刷ユニット117、払戻投票券読取ユニット118、又は可搬型記録媒体インタフェース)へ送信する。   The input / output interface 125 includes a touch panel 109, an administrator touch panel 113, a voting card reading unit 114, a bill circulation unit 115, a coin circulation unit 116, a voting ticket printing unit 117, a refund voting ticket reading unit 118, and a portable recording medium interface. The transmitted signal is transmitted to the CPU 120 via the bus 126. In addition, the input / output interface 125 sends control signals sent from the CPU 120 to the corresponding units via the bus 126 (touch panel 109, administrator touch panel 113, voting card reading unit 114, bill return unit 115, coin return unit. 116, voting ticket printing unit 117, withdrawal voting ticket reading unit 118, or portable recording medium interface).

管理者用タッチパネル113は、管理者向けのタッチパネルである。管理者用タッチパネル113は、透過型のタッチパネルであり、管理者による各種の入力等の際に操作される。管理者用ディスプレイ112により表示された情報は、管理者用タッチパネル113を透過して、管理者から視認可能である。管理者は、管理者用ディスプレイ112により表示された情報を見ながら、管理者用タッチパネル113に対するタッチ操作を行うことができる。   The administrator touch panel 113 is a touch panel for administrators. The administrator touch panel 113 is a transmissive touch panel, and is operated when various inputs are made by the administrator. Information displayed on the manager display 112 is visible through the manager touch panel 113 and visible to the manager. The administrator can perform a touch operation on the administrator touch panel 113 while viewing the information displayed on the administrator display 112.

投票カード読取ユニット114は、投票カードから投票内容を読み取るユニットである。例えば、ドロップアウトカラーにより印刷された各記入枠におけるマークの有無を検出する。また、投票カード読取ユニット114は、詳しくは後述するように、投票カードの読取閾値を設定する際に使用されるユニットでもある。   The voting card reading unit 114 is a unit that reads voting contents from a voting card. For example, the presence / absence of a mark in each entry frame printed in dropout color is detected. The voting card reading unit 114 is also a unit used when setting a voting card reading threshold, as will be described in detail later.

紙幣還流ユニット115は、紙幣の受け入れ、紙幣の真贋の鑑別、紙幣の収納、紙幣の返却、釣札の排出を行う。硬貨還流ユニット116は、硬貨の受け入れ、硬貨の真贋の鑑別、硬貨の収納、硬貨の返却、釣銭の排出を行う。投票券印刷ユニット117は、投票内容を印刷して投票券を発券する。払戻投票券読取ユニット118は、投票券を受け入れて投票内容を読み取る。   The banknote reflux unit 115 receives banknotes, discriminates the authenticity of banknotes, stores banknotes, returns banknotes, and discharges bills. The coin recirculation unit 116 receives a coin, discriminates the authenticity of the coin, stores the coin, returns the coin, and discharges the change. The voting ticket printing unit 117 prints the voting contents and issues a voting ticket. The withdrawal voting ticket reading unit 118 accepts the voting ticket and reads the contents of the vote.

なお、投票券発払装置100において、制御部111は、例えば、FPGA(Field Programmable Gate Array)やDSP(Digital Signal Processor)等のモジュールを含む構成とすることもできる。この場合、制御部111は、不揮発性メモリ(例えば、EEPROM(Electrically Erasable and Programmable Read Only Memory)、フラッシュメモリ、フラッシュメモリ型メモリカード等)を含み、モジュールのファームウェアを記憶する。不揮発性メモリには、可搬型記録媒体119、或いは通信インタフェース123を介してファームウェアを書き込むことができる。このように制御部111は、不揮発性メモリに記憶されているファームウェアを書き換えることにより、ファームウェアの更新をすることもできる。   In the betting ticket issuing apparatus 100, the control unit 111 may include a module such as an FPGA (Field Programmable Gate Array) or a DSP (Digital Signal Processor). In this case, the control unit 111 includes nonvolatile memory (for example, EEPROM (Electrically Erasable and Programmable Read Only Memory), flash memory, flash memory type memory card, etc.) and stores module firmware. Firmware can be written in the nonvolatile memory via the portable recording medium 119 or the communication interface 123. As described above, the control unit 111 can update the firmware by rewriting the firmware stored in the nonvolatile memory.

図3は、本実施形態に係るマークカード読取装置を含む投票券発払装置100の機能ブロックの一例を示す図である。   FIG. 3 is a diagram illustrating an example of functional blocks of the voting ticket issuing apparatus 100 including the mark card reading apparatus according to the present embodiment.

図3に示すように、投票券発払装置100は、機能ブロックとして、制御部131、紙幣鑑定部132、硬貨鑑定部133、投票券発券部134、投票券読取部135、管理者側画面部136、ユーザ側画面部137、投票カード読取部138を備えている。   As shown in FIG. 3, the voting ticket issuing device 100 includes a control unit 131, a bill appraisal unit 132, a coin appraisal unit 133, a voting ticket issuing unit 134, a voting ticket reading unit 135, and an administrator side screen unit as functional blocks. 136, a user-side screen unit 137, and a voting card reading unit 138.

これらの機能ブロックは、次のように、図2に示した投票券発払装置100のハードウェア構成と対応する。制御部131は、制御部111に対応する。紙幣鑑定部132は、紙幣還流ユニット115に対応する。硬貨鑑定部133は、硬貨還流ユニット116に対応する。投票券発券部134は、投票券印刷ユニット117に対応する。投票券読取部135は、払戻投票券読取ユニット118に対応する。管理者側画面部136は、管理者用ディスプレイ112、管理者用タッチパネル113に対応する。ユーザ側画面部137は、ディスプレイ108、タッチパネル109に対応する。投票カード読取部138は、投票カード読取ユニット114に対応する。   These functional blocks correspond to the hardware configuration of the voting ticket issuing apparatus 100 shown in FIG. 2 as follows. The control unit 131 corresponds to the control unit 111. The bill validating unit 132 corresponds to the bill reflux unit 115. The coin appraisal unit 133 corresponds to the coin recirculation unit 116. The betting ticket issuing unit 134 corresponds to the betting ticket printing unit 117. The voting ticket reading unit 135 corresponds to the payout voting ticket reading unit 118. The administrator-side screen unit 136 corresponds to the administrator display 112 and the administrator touch panel 113. The user side screen unit 137 corresponds to the display 108 and the touch panel 109. The voting card reading unit 138 corresponds to the voting card reading unit 114.

ここで、投票カード読取部138について、更に詳細に説明する。
投票カード読取部138は、カードスキャン部141、二値化処理部142、比較判定部143、閾値設定部144を備えている。
Here, the voting card reading unit 138 will be described in more detail.
The voting card reading unit 138 includes a card scanning unit 141, a binarization processing unit 142, a comparison determination unit 143, and a threshold setting unit 144.

カードスキャン部141は、例えばイメージスキャナを含み、投票カード投入排出口104に投入された投票カードの多値画像データ(例えば所定の階調のグレースケールデータ)を取得する。また、後述の読取閾値設定動作時には、投票カード投入排出口104に投入された投票カードの特定の記入欄における複数の記入枠を複数のグループに分割し、その複数の記入枠の多値画像データをグループ毎に取得する。ここで、特定の記入欄は、ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄であれば、何れであってもよい。   The card scanning unit 141 includes, for example, an image scanner, and acquires multi-value image data (for example, grayscale data of a predetermined gradation) of a voting card inserted into the voting card insertion / exit port 104. Further, at the time of the reading threshold setting operation described later, a plurality of entry frames in a specific entry field of the voting card inserted into the voting card insertion / exit port 104 are divided into a plurality of groups, and the multi-value image data of the plurality of entry frames is divided. For each group. Here, the specific entry field may be any entry field as long as a mark is entered in one of a plurality of entry frames printed by the dropout color.

二値化処理部142は、多値画像データを二値化する。また、後述の読取閾値設定動作時には、カードスキャン部141により得られた各グループの多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、各グループの読取閾値を取得する。   The binarization processing unit 142 binarizes the multi-value image data. In addition, during the reading threshold setting operation described later, binarization of the multi-valued image data of each group obtained by the card scanning unit 141 is performed a plurality of times while changing the value of the binarization threshold to read each group. Get the threshold.

比較判定部143は、後述の読取閾値設定動作時において、二値化処理部142により得られた2つのグループの読取閾値の差が所定値を超えるか否かを判定する。   The comparison determination unit 143 determines whether or not the difference between the reading threshold values of the two groups obtained by the binarization processing unit 142 exceeds a predetermined value during a reading threshold value setting operation described later.

閾値設定部144は、後述の読取閾値設定動作時において、二値化処理部142により得られた複数のグループの読取閾値に基づいて、投票カードの読取閾値を設定する。例えば、2つのグループの読取閾値の差が所定値を超えると閾値設定部144により判定された場合に、その2つのグループの読取閾値のうちの濃度が低い方の読取閾値を、投票カードの読取閾値として設定する。   The threshold value setting unit 144 sets the reading threshold value of the voting card based on the reading threshold values of a plurality of groups obtained by the binarization processing unit 142 during the reading threshold value setting operation described later. For example, when the threshold setting unit 144 determines that the difference between the reading threshold values of two groups exceeds a predetermined value, the reading threshold value having the lower density of the reading threshold values of the two groups is read by the voting card. Set as threshold.

次に、投票券発払装置100に含まれる本実施形態に係るマークカード読取装置で行われる読取閾値設定動作について説明する。   Next, the reading threshold value setting operation performed by the mark card reading device according to the present embodiment included in the voting ticket issuing device 100 will be described.

なお、本動作は、対象とする投票カードに対して最適な読取閾値を設定する動作であり、CPU120がHDD122に記憶されているアプリケーションプログラム(読取閾値設定プログラムを含む)を読み出し実行することによって、行われる。   This operation is an operation for setting an optimum reading threshold for the target voting card, and the CPU 120 reads and executes an application program (including a reading threshold setting program) stored in the HDD 122. Done.

また、本動作は、例えば、投票券発払装置100を初めて運用する場合に、投票券発払装置100が取り扱う投票カードの種類毎に行われる。例えば、4種類の投票カードを取り扱う場合には、各種類の投票カード毎に行われる。その後は、例えば、運用中の投票券発払装置100において、これまでとは異なる製造ロットの投票カードの取り扱いを始める場合に、その投票カードに対して行われる。また、例えば、投票券発払装置100が取り扱う投票カードの種類を増やす場合(又は変更する場合)に、その増やす分(又は変更する分)の種類毎に行われる。   Moreover, this operation | movement is performed for every kind of voting card which the voting ticket issuing apparatus 100 handles, for example, when operating the voting ticket issuing apparatus 100 for the first time. For example, when handling four types of voting cards, it is performed for each type of voting card. After that, for example, when the voting ticket issuing apparatus 100 in operation starts handling voting cards of different production lots, the voting card is issued to the voting cards. Further, for example, when the number of types of voting cards handled by the voting ticket issuing apparatus 100 is increased (or changed), it is performed for each type of the increased (or changed) type.

図4は、その読取閾値設定動作を示すフローチャートである。図5は、投票カードの一例を示す図である。ここでは、一例として、対象とする投票カードを図5に示した投票カード400として、説明する。   FIG. 4 is a flowchart showing the reading threshold setting operation. FIG. 5 is a diagram illustrating an example of a voting card. Here, as an example, the target voting card will be described as the voting card 400 shown in FIG.

本動作は、例えば、管理者が、管理者側画面部136を介して、読取閾値設定動作の開始指示を行い、そして、特定の記入欄における一つの記入枠にマークを記入した投票カード400を投票カード投入排出口104に投入すると、開始する。なお、ここでは、一例として、特定の記入欄を「レース番号」の記入欄401とし、マークが記入された記入枠を「8」の記入枠とする。   In this operation, for example, the administrator gives an instruction to start the reading threshold setting operation via the administrator-side screen unit 136, and the voting card 400 in which a mark is entered in one entry frame in a specific entry field is displayed. When it is inserted into the voting card insertion / exit port 104, it starts. Here, as an example, the specific entry field is the “race number” entry field 401, and the entry frame in which the mark is entered is the “8” entry frame.

本動作が開始すると、まず、カードスキャン部141は、投票カード400の特定の記入欄(「レース番号」の記入欄401)における複数の記入枠を複数のグループに分割し、そのうちの一つのグループにおける記入枠の多値画像データを取得する(S102)。なお、ここでは、「レース番号」の記入欄401における複数の記入枠は、「1」〜「12」の12個の記入枠となる。また、ここでは、一例として、その複数(12個)の記入枠を2つのグループ402、403に分割するとし、そのうちの一つのグループをグループ402とする。従って、ここでは、投票カード400の「レース番号」の記入欄401における12個の記入枠を2つのグループ402、403に分割し、そのうちの一つのグループ402における記入枠(「1」〜「3」及び「7」〜「9」の記入枠)の多値画像データが取得される。   When this operation starts, first, the card scanning unit 141 divides a plurality of entry boxes in a specific entry field (“race number” entry field 401) of the voting card 400 into a plurality of groups, and one of the groups is divided. The multi-value image data of the entry frame at is acquired (S102). Here, the plurality of entry frames in the “race number” entry field 401 are twelve entry frames “1” to “12”. In addition, here, as an example, it is assumed that the plurality (12) of entry boxes are divided into two groups 402 and 403, and one of these groups is referred to as a group 402. Accordingly, here, the 12 entry frames in the “race number” entry field 401 of the voting card 400 are divided into two groups 402 and 403, and the entry frames (“1” to “3” in one group 402) are divided. ”And“ 7 ”to“ 9 ”) are obtained.

S102の後、二値化処理部142は、S102で得られたグループ402の多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、読取閾値を取得する(S104、S106、S108)。より具体的には、まず、予め用意されている複数の二値化閾値の中で最も低い濃度に対応する二値化閾値を可変閾値の値とし、S104を行う。すなわち、その可変閾値を用いて、S102で得られたグループ402における記入枠の多値画像データに対する二値化を行う(S104)。続いて、グループ402における記入枠又は記入枠に記入されたマークの何れかが読み取れるか否かを判定する(S106)。ここで、その判定結果がYesの場合(グループ402における記入枠又は記入枠に記入されたマークの何れか又はその両方を読み取れる場合)には、可変閾値の値を、上記の複数の二値化閾値の中の、現在の可変閾値の値の次に高い濃度に対応する二値化閾値の値へ変更して、S104へ戻る。一方、S106の判定結果がNoの場合(グループ402における記入枠又は記入枠に記入されたマークの何れも読み取れない場合)には、現在の可変閾値の値を、グループ402の読取閾値(A)として、確定する(S108)。   After S102, the binarization processing unit 142 performs binarization on the multivalued image data of the group 402 obtained in S102 a plurality of times while changing the value of the binarization threshold, and acquires the reading threshold. (S104, S106, S108). More specifically, first, a binarization threshold value corresponding to the lowest density among a plurality of binarization threshold values prepared in advance is set as a variable threshold value, and S104 is performed. That is, using the variable threshold value, binarization is performed on the multivalued image data of the entry frame in the group 402 obtained in S102 (S104). Subsequently, it is determined whether or not either the entry frame in the group 402 or the mark entered in the entry frame can be read (S106). Here, when the determination result is Yes (when either or both of the entry frame in the group 402 and / or the mark entered in the entry frame can be read), the variable threshold value is converted into a plurality of binaries as described above. The threshold value is changed to the binarization threshold value corresponding to the next highest density of the current variable threshold value, and the process returns to S104. On the other hand, when the determination result of S106 is No (when neither the entry frame in the group 402 or the mark entered in the entry frame can be read), the current variable threshold value is set to the reading threshold value (A) of the group 402. Is determined (S108).

続いて、カードスキャン部141は、残りのグループ403における記入枠(「4」〜「6」及び「10」〜「12」の記入枠)の多値画像データを取得する(S110)。   Subsequently, the card scanning unit 141 acquires multi-value image data of entry frames (entry frames of “4” to “6” and “10” to “12”) in the remaining group 403 (S110).

S110の後、二値化処理部142は、上述のS104、S106、S108と同様に、S110で得られたグループ403の多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、読取閾値を取得する(S112、S114、S116)。より具体的には、まず、上述の予め用意されている複数の二値化閾値の中で最も低い濃度に対応する二値化閾値を可変閾値の値とし、S112を行う。すなわち、その可変閾値を用いて、S110で得られたグループ403における記入枠の多値画像データに対する二値化を行う(S112)。続いて、グループ403における記入枠又は記入枠に記入されたマークの何れかが読み取れるか否かを判定する(S114)。ここで、その判定結果がYesの場合(グループ403における記入枠又は記入枠に記入されたマークの何れか又はその両方を読み取れる場合)には、可変閾値の値を、上記の複数の二値化閾値の中の、現在の可変閾値の値の次に高い濃度に対応する二値化閾値の値へ変更して、S112へ戻る。一方、S114の判定結果がNoの場合(グループ403における記入枠又は記入枠に記入されたマークの何れも読み取れない場合)には、現在の可変閾値の値を、グループ403の読取閾値(B)として、確定する(S116)。   After S110, the binarization processing unit 142 performs binarization on the multi-valued image data of the group 403 obtained in S110 in the same manner as S104, S106, and S108 described above, and changes the value of the binarization threshold. The reading threshold value is acquired a plurality of times (S112, S114, S116). More specifically, first, the binarization threshold value corresponding to the lowest density among the plurality of binarization threshold values prepared in advance is set as the variable threshold value, and S112 is performed. That is, using the variable threshold value, binarization is performed on the multivalued image data of the entry frame in the group 403 obtained in S110 (S112). Subsequently, it is determined whether or not either the entry frame in the group 403 or the mark entered in the entry frame can be read (S114). Here, when the determination result is Yes (when either or both of the entry frame in the group 403 and the mark entered in the entry frame can be read), the variable threshold value is converted into a plurality of binaries as described above. The threshold value is changed to the binarization threshold value corresponding to the next highest density of the current variable threshold value, and the process returns to S112. On the other hand, when the determination result of S114 is No (when neither the entry frame in the group 403 nor the mark entered in the entry frame can be read), the current variable threshold value is set to the reading threshold value (B) of the group 403. Is determined (S116).

続いて、比較判定部143は、S108で確定された読取閾値(A)とS116で確定された読取閾値(B)との差分が、所定値(C)を超えるか否かを判定する(S118)。   Subsequently, the comparison determination unit 143 determines whether or not the difference between the reading threshold (A) determined in S108 and the reading threshold (B) determined in S116 exceeds a predetermined value (C) (S118). ).

ここで、その判定結果がNoの場合には、投票カード400の読取閾値設定不可として、投票カード400を投票カード投入排出口104に返却する(S120)。なお、S118の判定結果がNoになる場合とは、例えば、投票カード400の「レース番号」の記入欄401に記入されたマークの濃度が低い場合や、そもそも、その「レース番号」の記入欄401にマークが記入されていない場合等が考えられる。あるいは、例えば、投票カード400の「レース番号」の記入欄401におけるグループ402、403の何れにもマークが記入されていた場合等も考えられる。   Here, when the determination result is No, the voting card 400 is returned to the voting card insertion / ejection port 104 as the reading threshold value of the voting card 400 cannot be set (S120). The case where the determination result in S118 is “No” is, for example, when the density of the mark entered in the “race number” entry column 401 of the voting card 400 is low, or in the first place the “race number” entry column. A case where a mark is not entered in 401 is considered. Alternatively, for example, a case where a mark is entered in any of the groups 402 and 403 in the “race number” entry field 401 of the voting card 400 may be considered.

一方、S118がYesの場合、閾値設定部144は、S108で確定された読取閾値(A)に対応する濃度が、S116で確定された読取閾値(B)に対応する濃度よりも高いかを判定する(S122)。ここで、その判定結果がYesの場合、閾値設定部144は、S116で確定された読取閾値(B)を、投票カード400の読取閾値として、設定する(S124)。一方、S122の判定結果がNoの場合、閾値設定部144は、S108で確定された読取閾値(A)を、投票カード400の読取閾値として、設定する(S126)。このように、読取閾値(A)と読取閾値(B)のうちの濃度が低い方の読取閾値が、投票カードの読取閾値として設定される。これにより、投票カード400(投票カード400と同種の投票カード)に対して、最適な読取閾値が設定される。   On the other hand, if S118 is Yes, the threshold setting unit 144 determines whether the density corresponding to the reading threshold (A) determined in S108 is higher than the density corresponding to the reading threshold (B) determined in S116. (S122). Here, when the determination result is Yes, the threshold setting unit 144 sets the reading threshold (B) determined in S116 as the reading threshold of the voting card 400 (S124). On the other hand, if the determination result in S122 is No, the threshold setting unit 144 sets the reading threshold (A) determined in S108 as the reading threshold for the voting card 400 (S126). Thus, the reading threshold value with the lower density of the reading threshold value (A) and the reading threshold value (B) is set as the reading threshold value of the voting card. As a result, an optimal reading threshold is set for the voting card 400 (a voting card of the same type as the voting card 400).

ここでは、投票カード400の「レース番号」の記入欄401のグループ402における「8」の記入枠にマークが記入されている(適切な濃度のマークが記入されているとする)としたことから、S118の判定結果がYesとなり、更に、S120の判定結果もYesとなって、S116で確定された読取閾値(B)が、投票カード400の読取閾値として、設定される。   Here, it is assumed that a mark is entered in the entry box of “8” in the group 402 of the entry field 401 of the “race number” of the voting card 400 (assuming that a mark of appropriate density is entered). The determination result in S118 is Yes, and the determination result in S120 is also Yes, and the reading threshold value (B) determined in S116 is set as the reading threshold value of the voting card 400.

このようにして読取閾値が設定されると、以後は、その読取閾値を用いて、投票カード400と同種の投票カードからのマークの読み取りが行われる。具体的には、まず、その投票カードの多値画像データが取得され、その多値画像データが、その読取閾値を用いて二値化され、その結果、例えば、記入枠の部分が「1」とされた場合には、その記入枠にマーク有りが検出され、記入枠の部分が「0」とされた場合には、その記入枠にマーク無しが検出される。ここで、記入枠の部分が「1」とされる場合とは、記入枠の部分の濃度が、読取閾値に対応する濃度に対して等しいか又は高い場合であり、記入枠の部分が「0」とされる場合とは、記入枠の部分の濃度が、読取閾値に対応する濃度よりも低い場合である。   When the reading threshold is set in this way, thereafter, the mark is read from the same type of voting card as the voting card 400 using the reading threshold. Specifically, first, multi-value image data of the voting card is acquired, and the multi-value image data is binarized using the reading threshold value. As a result, for example, the entry frame portion is “1”. If there is a mark, the presence of a mark in the entry frame is detected. If the portion of the entry frame is set to “0”, it is detected that there is no mark in the entry frame. Here, the case where the portion of the entry frame is set to “1” is a case where the density of the entry frame portion is equal to or higher than the density corresponding to the reading threshold value. "Is a case where the density of the portion of the entry frame is lower than the density corresponding to the reading threshold.

なお、投票券発払装置100を初めて運用する場合に、上記の読取閾値設定動作が、投票券発払装置100が取り扱う投票カードの種類毎に行われると、その種類毎に読取閾値が設定される。この場合、その後にユーザ(投票者)により投票カード投入排出口104に投票カードが投入されると、その投票カードからのマークの読み取りが、その投票カードの種類に対応する読取閾値を用いて行われる。ここで、投票カードの種類の識別は、例えば、投票カードに予め印刷されている識別コードを投票カード読取部138が読み取ることによって行われる。また、投票券発払装置100の運用中において、これまでとは種類が同じであるが製造ロットが異なる投票カードの取り扱いを始める場合に、上記の読取閾値設定動作が、その投票カードに対して行われると、その投票カードと同種の投票カードに対する読取閾値が再設定(更新)される。また、投票券発払装置100の運用中において、取り扱う投票カードの種類を増やす場合(又は変更する場合)に、上記の読取閾値設定動作が、その増やす分(又は変更する分)の種類毎に行われると、その種類毎の読取閾値が追加設定される。   When the voting ticket issuing apparatus 100 is operated for the first time, if the above-described reading threshold setting operation is performed for each type of voting card handled by the voting ticket issuing apparatus 100, a reading threshold is set for each type. The In this case, when a user (voter) subsequently inserts a voting card into the voting card insertion / exit port 104, the mark is read from the voting card using a reading threshold value corresponding to the type of the voting card. Is called. Here, the voting card type is identified by, for example, the voting card reading unit 138 reading an identification code printed in advance on the voting card. In addition, when the voting ticket issuing apparatus 100 is in operation, when the handling of a voting card of the same type as before but with a different production lot is started, the above-described reading threshold value setting operation is performed on the voting card. When this is done, the reading threshold for the same type of voting card as that voting card is reset (updated). In addition, when the number of types of voting cards to be handled is increased (or changed) during the operation of the voting ticket issuing apparatus 100, the above-described reading threshold value setting operation is performed for each type of increase (or change). When this is done, a reading threshold for each type is additionally set.

以上、本実施形態に係るマークカード読取装置によれば、投票券発払装置100が取り扱う投票カードの読取閾値を最適に設定することができる。   As described above, according to the mark card reader according to the present embodiment, it is possible to optimally set the voting card reading threshold handled by the voting ticket issuing apparatus 100.

また、ファームウェアとプログラムの変更により、既存装置をそのまま流用し、容易に本発明の適用を可能とすることができる。   Further, by changing the firmware and the program, the existing apparatus can be used as it is, and the present invention can be easily applied.

なお、本実施形態において、上述の図4、図5を用いて説明した読取閾値設定動作では、投票カード400における特定の記入欄を「レース番号」の記入欄401としたが、例えば、「式別」の記入欄や「開催場」の記入欄など、ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄であれば何れであってもよい。   In the present embodiment, in the reading threshold value setting operation described with reference to FIGS. 4 and 5 described above, the specific entry field in the voting card 400 is the entry field 401 for the “race number”. Any of the entry fields in which a mark is entered in one of a plurality of entry frames printed in a dropout color, such as a “separate” entry field or a “venue” entry field, may be used.

また、上述の図4、図5を用いて説明した読取閾値設定動作では、「レース番号」の記入欄401における12個の記入枠を2つのグループ402、403に分割したが、例えば、3つ以上のグループに分割してもよい。この場合は、グループ毎に、S102、S104、S106、S108(又は、S110、S112、S114、S116)と同様の処理を行って各グループの読取閾値を確定し、そのうちの2つのグループの読取閾値間の差分が所定値(C)を超える場合に、その2つのグループの読取閾値のうちの濃度が低い方の読取閾値を、投票カードの読取閾値として設定するようにしてもよい。   In the reading threshold value setting operation described with reference to FIGS. 4 and 5 described above, the 12 entry frames in the “race number” entry field 401 are divided into two groups 402 and 403. You may divide into the above groups. In this case, for each group, the processing similar to S102, S104, S106, S108 (or S110, S112, S114, S116) is performed to determine the reading threshold value of each group, and the reading threshold values of two groups of them are determined. When the difference between them exceeds a predetermined value (C), the reading threshold value with the lower density of the reading threshold values of the two groups may be set as the reading threshold value for the voting card.

また、上述の図4、図5を用いて説明した読取閾値設定動作は、例えば、ユーザ(投票者)が、投票カードを投票カード投入排出口104に投入する毎に、行われるようにしてもよい。この場合は、投票カード投入排出口104に投票カードが投入されると、まず、読取閾値設定動作が行われて、その投票カードの読取閾値が設定され、続いて、その設定された読取閾値を用いて、その投票カードの読み取り(投票カードからのマークの読み取り)が行われる。   Also, the reading threshold value setting operation described with reference to FIGS. 4 and 5 described above may be performed every time a user (voter) inserts a voting card into the voting card insertion / extraction port 104, for example. Good. In this case, when a voting card is inserted into the voting card insertion / discharge port 104, first, a reading threshold setting operation is performed to set a reading threshold for the voting card, and then the set reading threshold is set. The voting card is read (reading of the mark from the voting card).

本実施形態は、マークカード読取装置を含む公営競技の投票券発払装置を例にして説明を行ったが、投票券発売機でも可能である。また、無人機(自動発売装置、自動発払装置)に限らず、有人機においても、実現が可能である。   Although the present embodiment has been described by taking a voting ticket issuing device for public competitions including a mark card reader as an example, a voting ticket vending machine is also possible. Further, the present invention is not limited to the unmanned aircraft (automatic sale device, automatic payment device), and can be realized in a manned device.

更に、想定する競技には、競馬、競輪、競艇、オートレースなどの公営競技が含まれる。もちろん、公営競技以外であっても良い。例えば、宝くじ(ナンバーズ3、ミニロト、ロト6など)やスポーツくじ等にも実現が可能である。   Further, the assumed competition includes public competitions such as horse racing, bicycle racing, boat racing, and auto racing. Of course, it may be other than public competition. For example, it can be realized for a lottery (Numbers 3, Mini Lotto, Lotto 6, etc.), a sports lottery, and the like.

以上、実施形態を説明したが、本発明は、上述した実施形態に限定されることなく、本発明の要旨を逸脱しない範囲内で種々の改良・変更が可能である。   Although the embodiment has been described above, the present invention is not limited to the above-described embodiment, and various improvements and modifications can be made without departing from the gist of the present invention.

100 投票券発払装置
101 運用状況表示窓
102 投票券投入口
103 投票券排出口
104 投票カード投入排出口
105 紙幣投入排出口
106 硬貨投入口
107 硬貨排出口
108 ディスプレイ
109 タッチパネル
111 制御部
112 管理者用ディスプレイ
113 管理者用タッチパネル
114 投票カード読取ユニット
115 紙幣還流ユニット
116 硬貨還流ユニット
117 投票券印刷ユニット
118 払戻投票券読取ユニット
119 可搬型記録媒体
120 CPU
121 RAM
122 HDD
123 通信インタフェース
124 グラフィック処理ユニット
125 入出力インタフェース
126 バス
131 制御部
132 紙幣鑑定部
133 硬貨鑑定部
134 投票券発券部
135 投票券読取部
136 管理者側画面部
137 ユーザ側画面部
138 投票カード読取部
141 カードスキャン部
142 二値化処理部
143 比較判定部
144 閾値設定部
200 管理装置
300 ネットワーク
400 投票カード
401 記入欄
402、403 グループ
1000 トータリゼータシステム
DESCRIPTION OF SYMBOLS 100 Voting ticket issue apparatus 101 Operation status display window 102 Voting ticket slot 103 Voting ticket slot 104 Voting card slot 105 Banknote slot 106 106 Coin slot 107 Coin slot 108 Display 109 Touch panel 111 Control unit 112 Administrator Display 113 Manager Touch Panel 114 Voting Card Reading Unit 115 Banknote Recirculation Unit 116 Coin Recirculation Unit 117 Voting Ticket Printing Unit 118 Refund Voting Ticket Reading Unit 119 Portable Recording Medium 120 CPU
121 RAM
122 HDD
123 communication interface 124 graphic processing unit 125 input / output interface 126 bus 131 control unit 132 bill appraisal unit 133 coin appraisal unit 134 voting ticket issuing unit 135 voting ticket reading unit 136 administrator side screen unit 137 user side screen unit 138 voting card reading unit 141 Card Scanning Unit 142 Binarization Processing Unit 143 Comparison Judging Unit 144 Threshold Setting Unit 200 Management Device 300 Network 400 Voting Card 401 Entry Box 402, 403 Group 1000 Totalizer System

Claims (4)

ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカードの読取装置であって、
前記記入欄における前記複数の記入枠を複数のグループに分割して前記複数の記入枠の多値画像データをグループ毎に取得する多値画像データ取得部と、
各グループの多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、各グループの読取閾値を取得する読取閾値取得部と、
前記複数のグループの読取閾値に基づいて、前記マークカードの読取閾値を設定する設定部と、
を備えることを特徴とする読取装置。
A mark card reader having an entry field in which a mark is entered in one of a plurality of entry frames printed by a dropout color,
A multi-value image data acquisition unit that divides the plurality of entry frames in the entry field into a plurality of groups and acquires multi-value image data of the plurality of entry frames for each group;
Binarization for multi-value image data of each group is performed a plurality of times while changing the value of the binarization threshold, and a reading threshold value acquisition unit for acquiring the reading threshold value of each group;
A setting unit that sets a reading threshold of the mark card based on the reading thresholds of the plurality of groups;
A reading apparatus comprising:
前記複数のグループの中の2つのグループの読取閾値の差が所定値を超えるか否かを判定する判定部を更に備え、
前記設定部は、前記2つのグループの読取閾値の差が所定値を超えると前記判定部により判定された場合に、前記2つのグループの読取閾値のうちの濃度が低い方の読取閾値を、前記マークカードの読取閾値として設定する、
ことを特徴とする請求項1記載の読取装置。
A determination unit for determining whether or not a difference between reading threshold values of two groups out of the plurality of groups exceeds a predetermined value;
When the determination unit determines that the difference between the reading threshold values of the two groups exceeds a predetermined value, the setting unit determines the reading threshold value with the lower density of the reading threshold values of the two groups as described above. Set as mark card reading threshold,
The reading apparatus according to claim 1.
ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカードの読取閾値を設定する読取閾値設定方法であって、
前記記入欄における前記複数の記入枠を複数のグループに分割して前記複数の記入枠の多値画像データをグループ毎に取得し、
各グループの多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、各グループの読取閾値を取得し、
前記複数のグループの読取閾値に基づいて、前記マークカードの読取閾値を設定する、
処理をコンピュータが実行する、
ことを特徴とする読取閾値設定方法。
A reading threshold value setting method for setting a reading threshold value of a mark card having an entry field in which a mark is written in one of a plurality of entry frames printed by a dropout color,
Dividing the plurality of entry frames in the entry field into a plurality of groups to obtain multi-value image data of the plurality of entry frames for each group;
Binarization for multi-valued image data of each group is performed a plurality of times while changing the value of the binarization threshold to obtain the reading threshold of each group,
Setting a reading threshold of the mark card based on the reading threshold of the plurality of groups;
The computer performs the process,
The reading threshold value setting method characterized by the above-mentioned.
ドロップアウトカラーにより印刷された複数の記入枠の中の一つにマークが記入される記入欄を有するマークカードの読取閾値を設定する読取閾値設定プログラムであって、
前記記入欄における前記複数の記入枠を複数のグループに分割して前記複数の記入枠の多値画像データをグループ毎に取得し、
各グループの多値画像データに対する二値化を、二値化閾値の値を変化させながら複数回行って、各グループの読取閾値を取得し、
前記複数のグループの読取閾値に基づいて、前記マークカードの読取閾値を設定する、
処理をコンピュータに実行させる、
ことを特徴とする読取閾値設定プログラム。
A reading threshold value setting program for setting a reading threshold value of a mark card having an entry field in which a mark is written in one of a plurality of entry frames printed by a dropout color,
Dividing the plurality of entry frames in the entry field into a plurality of groups to obtain multi-value image data of the plurality of entry frames for each group,
Binarization for multi-valued image data of each group is performed a plurality of times while changing the value of the binarization threshold to obtain the reading threshold of each group,
Setting a reading threshold of the mark card based on the reading threshold of the plurality of groups;
Let the computer execute the process,
A reading threshold value setting program.
JP2013135321A 2013-06-27 2013-06-27 Reader, read threshold setting method, and read threshold setting program Pending JP2015011459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013135321A JP2015011459A (en) 2013-06-27 2013-06-27 Reader, read threshold setting method, and read threshold setting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013135321A JP2015011459A (en) 2013-06-27 2013-06-27 Reader, read threshold setting method, and read threshold setting program

Publications (1)

Publication Number Publication Date
JP2015011459A true JP2015011459A (en) 2015-01-19

Family

ID=52304587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013135321A Pending JP2015011459A (en) 2013-06-27 2013-06-27 Reader, read threshold setting method, and read threshold setting program

Country Status (1)

Country Link
JP (1) JP2015011459A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107644240A (en) * 2017-09-27 2018-01-30 武汉天量数据技术有限公司 The matching process and system of a kind of answer card filling lattice and examination question option
JP7448941B2 (en) 2020-03-24 2024-03-13 日本トーター株式会社 Mark card reading device, mark card reading method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107644240A (en) * 2017-09-27 2018-01-30 武汉天量数据技术有限公司 The matching process and system of a kind of answer card filling lattice and examination question option
CN107644240B (en) * 2017-09-27 2020-09-01 武汉天量数据技术有限公司 Method and system for matching answer sheet filling forms with test question options
JP7448941B2 (en) 2020-03-24 2024-03-13 日本トーター株式会社 Mark card reading device, mark card reading method and program

Similar Documents

Publication Publication Date Title
US9646446B2 (en) Game system
EP1736940A1 (en) Player authentication device and player management server
JPH06318220A (en) Match thing terminal
CN104737193A (en) Systems and methods for playing a game of chance with a plurality of prizes
US9224264B2 (en) Multiple currency bill acceptor
EP1849140A1 (en) Casino deposit unit and system
US20170287253A1 (en) Paper sheet processing apparatus and paper sheet processing system
JP2015011459A (en) Reader, read threshold setting method, and read threshold setting program
US9997004B2 (en) Paper sheet processing apparatus and paper sheet processing system
US20170287256A1 (en) Paper sheet processing apparatus and paper sheet processing system
US9990807B2 (en) Method and system for controlling a graphical user interface of a terminal
CN109800745B (en) Bill detection method, device, terminal and computer readable storage medium
JP5996504B2 (en) Voting data storage device, voting data storage system, voting data storage method and program
US20120302308A1 (en) Random Prize Using Dollar Bill Serial Number
JP6817929B2 (en) Public competition voting system, cashless voting terminal and cash voting terminal
JP5947157B2 (en) Voting ticket issuing device and voting ticket issuing method
JP5918721B2 (en) Voting ticketing device
JP2017084171A (en) Voting processor, voting processing method and voting processing program
JP6600613B2 (en) Voting device, voting program and voting method
JP6212478B2 (en) Voting terminal, voting system and voting method
CN106780960B (en) Method and system for identifying currency of Iran paper money
JP2020087254A (en) Voting device and voting system
JP2018072987A (en) Betting ticket issuing device and betting ticket issuing program
US20170263082A1 (en) Gaming machine
US11568699B2 (en) Banknote processing system