JP2019061424A - Classification device for referendum ballot paper - Google Patents
Classification device for referendum ballot paper Download PDFInfo
- Publication number
- JP2019061424A JP2019061424A JP2017184633A JP2017184633A JP2019061424A JP 2019061424 A JP2019061424 A JP 2019061424A JP 2017184633 A JP2017184633 A JP 2017184633A JP 2017184633 A JP2017184633 A JP 2017184633A JP 2019061424 A JP2019061424 A JP 2019061424A
- Authority
- JP
- Japan
- Prior art keywords
- voting
- referendum
- theme
- determination unit
- voting theme
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
この発明は、国民投票用紙の分類装置に関する。 The present invention relates to a sorting apparatus for a referendum ballot.
選挙の投票用紙に記入された候補者名等を読み取って投票用紙を分類する装置が知られている(例えば、特許文献1)。このような投票用紙の分類装置では、投票用紙の記入面(投票人が候補者名等を記入する面)をスキャナ等によって撮像して画像情報を生成し、この画像情報から候補者名等の記入内容を画像認識によって読み取り、読み取り結果に基づいて投票用紙を分類する。 There is known an apparatus for reading a candidate name and the like entered on an election ballot and classifying the ballot (for example, Patent Document 1). Such a ballot paper classification apparatus picks up an image information by imaging the writing surface of the ballot paper (the surface on which the voters fill in the names of candidates etc.) with a scanner etc., and generates image information from this image information. The contents of the entry are read by image recognition, and the ballot paper is classified based on the read result.
近年、日本国憲法の改正の可能性が現実のものとなりつつある。日本国憲法の改正手続に関する法律(平成19年5月18日法律第51)によれば、国民投票の投票用紙(「国民投票用紙」)の記載欄には予め「賛成」、「反対」の文字が印刷されており、投票人が憲法改正案に賛成する場合には、「賛成」の文字を○で囲み、反対する場合には、「反対」の文字を○で囲むように定められている。 In recent years, the possibility of revising the Constitution of Japan has become a reality. According to the Act on the Amendment Procedure of the Constitution of Japan (Law 51 of May 18, 2007), the entry column of the ballot paper for the referendum (“National ballot paper”) has “Agreed” and “Disagree” in advance. The letter is printed, and if the voter agrees to the constitutional amendment, the letter "Agree" is enclosed by ○, and if the voter disagrees, the letter "Averse" is circled. There is.
また、「● □□の廃止について」、「● △△△の明記について」等の複数の投票テーマに関する投票を同一の日程で行うことも考えられており、その場合には各投票テーマについて専用の国民投票用紙が用意され、投票人は複数の国民投票用紙への記入を行うことになる。このように同一の日程で複数の投票テーマの国民投票が行われる場合には、異なる投票テーマの国民投票用紙を一括して分類装置にかけることができれば便利である。 In addition, it is also conceivable to vote on multiple voting themes such as "with regard to abolition of ● □ □" and "about the specification of ● ● △" on the same schedule, in which case dedicated for each voting theme The ballots will be able to complete multiple referendums. As described above, in the case where referendums of a plurality of voting themes are performed on the same schedule, it is convenient if the referendum papers of different voting themes can be collectively applied to the classification device.
この発明はこのような課題を解決するためになされたものであり、複数の投票テーマが混在している場合でも、複数の国民投票用紙を一括して分類することができる、国民投票用紙の分類装置を提供することを目的とする。 This invention was made to solve such problems, and it is possible to classify a plurality of referendum papers collectively even if there are a plurality of voting themes, and the classification of the referendum ballot It aims at providing an apparatus.
上記の課題を解決するために、この発明に係る国民投票用紙の分類装置は、国民投票用紙の色情報に基いて、当該国民投票用紙の投票テーマを判別する第1の判別部と、国民投票用紙の画像情報に基いて、当該国民投票用紙の投票テーマを判別する第2の判別部と、国民投票用紙の画像情報に基いて、当該国民投票用紙の記載内容を判別する第3の判別部と、第1の判別部によって判別された投票テーマ、および、第2の判別部によって判別された投票テーマ、並びに、第3の判別部によって判別された記載内容に基いて、国民投票用紙を各投票テーマについて記載内容別に分類する分類部とを備える。 In order to solve the above-mentioned problems, a classification device of a referendum according to the present invention comprises: a first determination unit which determines a voting theme of the referendum on the basis of color information of the referendum; A second determination unit that determines a voting theme of the referendum sheet based on image information of the sheet, and a third determination unit that determines the described contents of the referendum sheet based on image information of the referendum sheet And the voting theme determined by the first determination unit, the voting theme determined by the second determination unit, and the description content determined by the third determination unit. And a classification unit that classifies the voting theme according to the description content.
国民投票用紙に異なる色の光を複数照射して複数の反射光を受光し、当該複数の反射光の各受光量を測定すると共に画像情報を生成するイメージセンサをさらに備え、第1の判別部は、複数の反射光の各受光量に基いて色情報を生成し、当該色情報に基いて投票テーマを判別してもよい。 The image forming apparatus further comprises an image sensor that irradiates a plurality of light of different colors onto the referendum paper, receives a plurality of reflected lights, measures each light reception amount of the plurality of reflected lights, and generates image information. Alternatively, color information may be generated based on the amount of light received by the plurality of reflected lights, and the voting theme may be determined based on the color information.
第2の判別部は、画像情報から投票テーマが印刷された投票テーマ領域を抽出し、当該投票テーマ領域から生成される画素情報または文字情報のいずれかまたは両方に基いて、投票テーマを判別し、第3の判別部は、画像情報から投票者によって記入される記載領域を抽出し、当該記載領域から生成される画素情報に基いて、記載領域の記載内容を判別してもよい。 The second determination unit extracts a voting theme area on which a voting theme is printed from the image information, and determines a voting theme based on either or both of pixel information and character information generated from the voting theme area. The third determination unit may extract a description area to be entered by the voter from the image information, and determine the description content of the description area based on pixel information generated from the description area.
この発明に係る国民投票用紙の分類装置によれば、複数の投票テーマが混在している場合でも、複数の国民投票用紙を一括して分類することができる。 According to the classification apparatus for the referendum sheet of the present invention, even when a plurality of voting themes are mixed, it is possible to classify a plurality of referendum sheets collectively.
以下、この発明の実施の形態について添付図面に基づいて説明する。
実施の形態.
国民投票用紙の分類装置は、国民投票用紙の投票テーマおよび投票者による記載内容に基いて、国民投票用紙を分類するものである。図1に示されるように、分類装置は、本体1と拡張スタッカユニット8とから構成されている。分類装置の本体1は、分類対象の複数枚の国民投票用紙2を蓄えるホッパ3と、複数のローラ4aによって構成されて国民投票用紙2を搬送する搬送路4とを備えている。
Hereinafter, an embodiment of the present invention will be described based on the attached drawings.
Embodiment.
The ballot classification device classifies the ballot based on the voting theme of the ballot and the contents written by the voters. As shown in FIG. 1, the classification device is composed of a
また、分類装置の本体1は、国民投票用紙2に異なる色の光を複数照射して複数の反射光を受光し、当該複数の反射光の各受光量を測定すると共に画像情報を生成するイメージセンサ5と、国民投票用紙2を投票テーマおよび記載内容に基づいて分類して収容する5つのスタッカ6a〜6eと、分類結果を表示するモニタ7とを備えている。
Further, the
また、拡張スタッカユニット8は、本体1から分離可能な拡張ユニットであり、複数のローラ9aによって構成される拡張搬送路9と、8つの拡張スタッカ10a〜10hとを備えている。
The extension stacker unit 8 is an extension unit which can be separated from the
分類装置の本体1に備えられているスタッカ6a〜6eおよび拡張スタッカユニット8に備えられている拡張スタッカ10a〜10hには、後述のように分類された国民投票用紙2がそれぞれ収容される。一例として、この実施の形態では、本体1のスタッカ6a〜6dには、第1の投票テーマ(「● □□の廃止について」)における賛成票、反対票、白票、無効票・疑問票がそれぞれ収容され、スタッカ6eには分類不能としてリジェクトされた投票用紙が収容される。また、拡張スタッカユニット8の拡張スタッカ10a〜10dには、第2の投票テーマ(「● △△△の明記について)における賛成票、反対票、白票、無効票・疑問票がそれぞれ収容される。
In the stackers 6a to 6e provided in the
次に、図2に示されるように、イメージセンサ5は本体部11を備えており、本体部11の内部には、3つのLED12a〜12cが設けられている。LED12a〜12cは異なる色の光、具体的にはLED12aが赤色光、LED12bが緑色光、LED12cが青色光を発するようになっている。
Next, as shown in FIG. 2, the
なお、本体部11は、搬送路4に沿って搬送される国民投票用紙2に向かって開放された空間である収容部11aを有しており、LED12a〜12cは、収容部11a内に設けられた導光板13に支持されている。導光板13は透明な材料から形成される部材であり、LED12a〜12cが発する各光は、矢印B1で示されるように導光板12を通って国民投票用紙2に照射される。
The
また、本体部11は、国民投票用紙2に向かって開放された空間である収容部11bを有しており、収容部11bの内部にも透明な材料からなる導光板14が設けられている。収容部11bの奥側に位置する導光板14の端部には、受光センサ15が設けられている。LED12a〜12cによって照射された赤色、緑色、青色の各光は、矢印B2で示されるように国民投票用紙2で反射され、それらの反射光は導光板14を通って受光センサ15に到達する。
Further, the
受光センサ15は、国民投票用紙2からの各反射光を受光して各受光量を測定すると共に画像情報を生成し、測定した各受光量および生成した画像情報を、次に述べる演算処理ユニット20に出力する。なお、各LED12a〜12cは制御部16に電気的に接続されており、制御部16によって光の照射の開始および停止が制御される。
The
(演算処理ユニット20)
図3に模式的に示されるように、分類装置の本体1の内部には、マイクロコンピュータ等によって構成される演算処理ユニット20が設けられている。演算処理ユニット20は、第1投票テーマ判別部30と、第2投票テーマ判別部40と、記載内容判別部50と、分類部60とを備えている。
(Operation processing unit 20)
As schematically shown in FIG. 3, an
第1投票テーマ判別部30は、イメージセンサ5から入力される各受光量から国民投票用紙2の投票テーマを判別する。詳細には、図4に例示されるように、国民投票用紙2は、「● □□の廃止について」、「● △△△の明記について」等の投票テーマごとに専用の投票用紙が用意されており、投票テーマごとに用紙の色が定められている。なお、図4の例では、(A)の「● □□の廃止について」の投票用紙はピンク色であり、(B)の「● △△△の明記について」の投票用紙はウグイス色である。第1投票テーマ判別部30は、イメージセンサ5から入力される各受光量に基いて国民投票用紙2の色情報を生成し、当該色情報に基いて国民投票用紙2の投票テーマを判別する。
The first voting
第2投票テーマ判別部40は、イメージセンサ5によって生成された画像情報から国民投票用紙2における投票テーマが印刷された領域(投票テーマ領域2a)を抽出し、当該投票テーマ領域2aから生成される画素情報および文字情報に基いて、国民投票用紙2の投票テーマを判別する。
The second voting
記載内容判別部50は、イメージセンサ5から入力される画像情報から国民投票用紙2における投票者によって記入される領域(記載領域2b,2c)を抽出し、当該記載領域2b,2cから生成される画素情報に基いて、国民投票用紙2の記載内容を判別する。
The written
分類部60は、第1投票テーマ判別部30によって判別された投票テーマと、第2投票テーマ判別部40によって判別された投票テーマと、記載内容判別部50によって判別された記載内容とに基いて、国民投票用紙2を各投票テーマについて記載内容別に分類する。
The classification unit 60 is based on the voting theme determined by the first voting
次に、第1投票テーマ判別部30、第2投票テーマ判別部40、記載内容判別部50の詳細な構成について順に説明する。
Next, detailed configurations of the first voting
(第1投票テーマ判別部30)
図5に模式的に示されるように、第1投票テーマ判別部30は、色情報生成部31と、記憶部32と、判定部33とから構成されている。
(First voting theme determination unit 30)
As schematically shown in FIG. 5, the first voting
色情報生成部31には、イメージセンサ5によって測定された各受光量、すなわち各LED12a〜12cが照射した赤色、緑色、青色の各光に対する国民投票用紙2からの各反射光の各受光量が入力される。色情報生成部31は、これら赤色、緑色、青色の各受光量に基いて、国民投票用紙2の色情報を生成する。
The color
記憶部32は、各投票テーマに対応する学習用の国民投票用紙2の各色情報を、基準色情報Cr1、Cr2、...として記憶する。
The
判定部33は、生成部31によって生成される分類対象の国民投票用紙2の色情報(評価色情報Ce)と、記憶部32に記憶されている基準色情報Cr1、Cr2、...とを比較して、分類対象の国民投票用紙2の投票テーマを判別する。
The
(第2投票テーマ判別部40)
図6に模式的に示されるように、第2投票テーマ判別部40は、領域抽出部41と、基準情報生成部42と、記憶部43と、評価情報生成部44と、判定部45とから構成されている。
(2nd voting theme determination unit 40)
As schematically shown in FIG. 6, the second voting
領域抽出部41は、イメージセンサ5によって生成される国民投票用紙2の画像情報から、「● □□の廃止について」、「● △△△の明記について」等の投票テーマが印刷された領域(投票テーマ領域2a)を抽出する。
The
基準情報生成部42は、各投票テーマに対応する学習用の国民投票用紙2の各投票テーマ領域2aの画素情報に基いて、基準マスクパターンMr1、Mr2、...を生成する。また、基準情報生成部42は、各投票テーマに対応する学習用の国民投票用紙2の各投票テーマ領域2aに対して文字認識処理を行うことによって、基準文字列Sr1、Sr2、...を生成する。
Based on the pixel information of each voting
記憶部43は、各投票テーマに対応する基準マスクパターンMr1、Mr2...および基準文字列Sr1、Sr2...を記憶する。
The
評価情報生成部44は、分類対象の国民投票用紙2の投票テーマ領域2aの画素情報に基いて、評価画素情報Peを生成する。また、評価情報生成部44は、分類対象の国民投票用紙2の投票テーマ領域2aに対して文字認識処理を行うことによって、評価文字列Seを生成する。
The evaluation
判定部45は、評価情報生成部43によって生成される分類対象の国民投票用紙2の評価画素情報Peに対して、記憶部43に記憶されている各基準マスクパターンMr1、Mr2...を適用した結果残存する画素の数、および評価情報生成部44によって生成される分類対象の国民投票用紙2の評価文字列Seと、記憶部43に記憶されている各基準文字列Sr1、Sr2...との比較結果に基づいて、分類対象の国民投票用紙2の投票テーマを判別する。
The
(記載内容判別部50)
図7に模式的に示されるように、記載内容判別部50は、領域抽出部51と、マスク生成部52と、記憶部53と、判定部54とから構成されている。
(Description determination unit 50)
As schematically shown in FIG. 7, the written
領域抽出部51は、イメージセンサ5によって生成される国民投票用紙2の画像情報から、「賛成」、「反対」という文字列が予め印刷されており投票者による記入が行われる領域(記載領域2b,2c)を抽出する。
From the image information of the
マスク生成部52は、学習用の未記入の国民投票用紙2の記載領域2b,2cの画素情報に基いて、マスクパターンMb,Mcを生成する。
The
記憶部53は、マスク生成部52によって生成されたマスクパターンMb,Mcを記憶する。
The
判定部54は、領域抽出部51によって抽出される分類対象の国民投票用紙2における記載領域2b,2cの画素情報に対して、記憶部53に記憶されているマスクパターンMb,Mcを適用することによって、投票者による記載内容を判定する。
The
次に、この実施の形態に係る国民投票用紙の分類装置によって行われる処理について説明する。 Next, the process performed by the classification device for the referendum according to this embodiment will be described.
国民投票用紙の分類装置は、「学習モード」と「分類モード」という2種類の処理モードを有している。学習モードでは、各投票テーマに対応する学習用の国民投票用紙2を1枚ずつ読み込んで、それらの特徴を基準情報として記憶する。分類モードでは、投票者による記入が行われた複数枚の国民投票用紙2のそれぞれから評価情報を生成し、評価情報と学習モードで記憶した基準情報とに基づいて、各国民投票用紙2を投票テーマおよび記載内容に基いて分類する。以下、学習モードと分類モードの処理の詳細について順に説明する。
The referendum sorting apparatus has two types of processing modes, "learning mode" and "classification mode". In the learning mode, one reading
(学習モード)
学習モードの処理を開始させるために、ユーザは、学習用の国民投票用紙として、各投票テーマに対応する未記入の国民投票用紙2を1枚ずつ取ってホッパ3に配置し、図示しない操作スイッチによって学習モードの開始を指示する。
(Learning mode)
In order to start the processing of the learning mode, the user takes, as a referendum for learning, one
分類装置は、学習モードの開始が指示されると、搬送路4を構成する各ローラ4aを駆動させることによって、学習用の各国民投票用紙2をイメージセンサ5に搬送し、図8のフローチャートに示される処理を行う。
When instructed to start the learning mode, the classification device conveys each of the
まず、イメージセンサ5の制御部16(図2参照)は、学習用の各国民投票用紙2について、各LED12a〜12cによる光の照射の開始と停止を順次行い、イメージセンサ5の受光センサ15は、各LED12a〜12cが順次照射する各色の光に対する国民投票用紙2からの反射光を順次受光して各受光量を測定する(S101)。イメージセンサ5は、測定した各受光量を、演算処理ユニット20の第1投票テーマ判別部30に出力する。
First, the control unit 16 (see FIG. 2) of the
第1投票テーマ判別部30の生成部31は、学習用の各国民投票用紙2の各受光量に基づいて、基準色情報Cr1、Cr2、...を生成し、これらの基準色情報Cr1、Cr2、...を記憶部32に記憶させる(S102)。ここで、Cr1は1枚目の学習用の国民投票用紙2の基準色情報であり、Cr2は2枚目の学習用の国民投票用紙2の基準色情報であり、以下同様である。
The
また、各基準色情報Crは、赤色の反射光の受光量、緑色の反射光の受光量、青色の反射光の受光量の各相対強度として生成される。図4の例では、(A)の国民投票用紙2はピンク色であり、赤色の反射光の受光量の相対強度が最も高くなる。また、(B)の国民投票用紙2はウグイス色であり、緑色の反射光の受光量の相対強度が最も高くなる。
Further, each reference color information Cr is generated as relative intensities of the light reception amount of red reflected light, the light reception amount of green reflected light, and the light reception amount of blue reflected light. In the example of FIG. 4, the
次に、イメージセンサ5は、学習用の各国民投票用紙2の記入面の2値化された画像情報をそれぞれ生成する(S103)。イメージセンサ5は、生成した画像情報を、演算処理ユニット20の第2投票テーマ判別部40および記載内容判別部50に出力する。
Next, the
第2投票テーマ判別部40の領域抽出部41は、学習用の各国民投票用紙2の画像情報から投票テーマ領域2aを抽出する(S104)。図4(A)(B)の例では、「● □□の廃止について」、「● △△△の明記について」という文字列を含む破線で囲まれた矩形領域が投票テーマ領域2aとしてそれぞれ抽出される。
The
また、後の判定モードにおいて使用するために、投票テーマ領域2aの座標を記憶しておく。なお、投票テーマ領域2aの抽出方法としては、画像情報の全体に対して文字認識処理を行うことによって投票テーマを表す文字列が含まれる領域を特定してもよいし、画像情報をモニタ7上に表示してユーザに領域指定させてもよい。また、この実施の形態では、投票テーマ領域2aの座標は、全ての種類の国民投票用紙2において同一であるとする。
Further, the coordinates of the
次に、基準情報生成部42は、ステップS104で抽出された投票テーマ領域2aの画素情報に対して膨張処理と反転処理を施すことによって基準マスクパターンMr1、Mr2、...を生成し、これらの基準マスクパターンを記憶部43に記憶させる(S105)。図4(A)(B)の例では、図9(A)(B)のような基準マスクパターンがそれぞれ生成される。
Next, the reference
また、基準情報生成部42は、ステップS104で抽出された投票テーマ領域2aの画素情報に対して文字認識処理を行うことによって、投票テーマ領域2a内に含まれる文字列を抽出し、これらを基準文字列として記憶部43に記憶させる(S106)。図4(A)(B)の例では、「● □□の廃止について」、「● △△△の明記について」という文字列がそれぞれ抽出され、これらが基準文字列として記憶部43に記憶される。
Further, the reference
次に、記載内容判別部50の領域抽出部51は、1番目の学習用の国民投票用紙2の画像情報から記載領域2b,2cを抽出する(S107)。図4(A)の例では、「賛成」、「反対」という文字列を含む破線で囲まれた矩形領域が記載領域2b,2cとしてそれぞれ抽出される。なお、この実施の形態では、記載領域2b,2cに予め印刷されている文字列(「賛成」、「反対」)は、全ての種類の国民投票用紙2において同一であるとする。
Next, the area extraction unit 51 of the written
また、後述する分類モードにおいて使用するために、記載領域2b,2cの座標を記憶しておく。なお、記載領域2b,2cの抽出方法としては、画像情報の全体に対して文字認識処理を行うことによって、「賛成」、「反対」という文字列が含まれる領域をそれぞれ特定してもよいし、画像情報をモニタ7上に表示してユーザに領域指定させてもよい。また、この実施の形態では、記載領域2b,2cの座標は、全ての種類の国民投票用紙2において同一であるとする。
In addition, the coordinates of the described
次に、生成部52は、ステップS107で抽出された記載領域2b,2cの画素情報に対して膨張処理と反転処理を施すことによって、記載領域用のマスクパターンMb,Mcを生成し、これらのマスクパターンを記憶部53に記憶させる(S108)。図4(A)の例では、図10のようなマスクパターンが生成される。
Next, the
学習モードにおいて行われる以上の処理によって、第1投票テーマ判別部30の記憶部32には、各投票テーマに対応する基準色情報Cr1、Cr2、...が記憶され、第2投票テーマ判別部40の記憶部43には、各投票テーマに対応する基準マクスパターンMr1、Mr2、...および基準文字列Sr1、Sr2、...が記憶され、記載内容判別部50の記憶部53には、記載領域用のマスクパターンMb,Mcが記憶される。
By the above processing performed in the learning mode, the
(分類モード)
学習モードの処理が終了すると、ユーザは投票者による記入が行われた複数枚の国民投票用紙2をホッパ3に配置し、図示しない操作スイッチによって分類モードの開始を指示する。
(Classification mode)
When the processing of the learning mode is completed, the user arranges the plurality of
分類装置は、分類モードの開始が指示されると、搬送路4を構成する各ローラ4aを駆動させることによって、分類対象の国民投票用紙2を1枚ずつイメージセンサ5に搬送し、各国民投票用紙2に対して、図11のフローチャートに示される処理を行う。
When instructed to start the classification mode, the classification device conveys the
まず、イメージセンサ5の制御部16(図2参照)は、分類対象の国民投票用紙2について、各LED12a〜12cによる光の照射の開始と停止を順次行い、イメージセンサ5の受光センサ15は、各LED12a〜12cが順次照射する各色の光に対する国民投票用紙2からの反射光を順次受光して各受光量を測定する(S201)。イメージセンサ5は、測定した各受光量を、演算処理ユニット20の第1投票テーマ判別部30に出力する。
First, the control unit 16 (see FIG. 2) of the
第1投票テーマ判別部30の色情報生成部31は、分類対象の国民投票用紙2の各受光量に基づいて、評価色情報Ceを生成する(S202)。判定部33は、色情報生成部31によって生成された評価色情報Ceと、記憶部32に記憶されている基準色情報Cr1、Cr2、...とを比較し(S203)、評価色情報Ceと一致または近似する基準色情報が存在するか否かを調べる(S204)。
The color
ステップS204において、評価色情報Ceと一致または近似する基準色情報が存在する場合には(S204=YES)、分類対象の国民投票用紙2の投票テーマは、当該一致または近似する基準色情報に対応する投票テーマであると判定する(S205)。一方、評価色情報Ceと一致または近似する基準色情報が存在しない場合には(S204=NO)、分類対象の国民投票用紙2は分類不能な混入票であるとみなして、リジェクトする(S206)。なお、先述したように、リジェクトされた投票用紙は本体1のスタッカ6eに収容される。
In step S204, when there is reference color information that matches or approximates the evaluation color information Ce (S204 = YES), the voting theme of the
次に、イメージセンサ5は、分類対象の国民投票用紙2の記入面の2値化された画像情報を生成する(S207)。イメージセンサ5は、生成した画像情報を、演算処理ユニット20の第2投票テーマ判別部40および記載内容判別部50に出力する。
Next, the
第2投票テーマ判別部40の領域抽出部41は、学習モードにおいて記憶した座標に基づいて、画像情報から投票テーマ領域2aを抽出する(S208)。
The
評価情報生成部44は、投票テーマ領域2aの各画素を抽出して評価画素情報Peを生成する(S209a)。また、評価情報生成部44は、投票テーマ領域2aに対して文字認識処理を行うことによって、投票テーマ領域2a内に含まれる文字列を抽出して評価文字列Seとする(S209b)。
The evaluation
判定部45は、ステップS209aで生成された評価画素情報Peに対して、記憶部43に記憶されている基準マスクパターンMr1、Mr2、...を順次適用し、残存する画素の数を調べる(S210a)。すなわち、評価画素情報Peと基準マスクパターンのそれぞれ対応する画素の論理積(AND)を計算し、値が1の画素の数を調べる。
The
ステップS210aにおいて、分類対象の国民投票用紙2の投票テーマと、基準マスクパターンに対応する投票テーマとが一致する場合には、評価画素情報Peに対して基準マスクパターンを適用した結果、値が1の画素は殆ど残存しない。
In step S210a, when the voting theme of the
これに対して、ステップS210aにおいて、分類対象の国民投票用紙2の投票テーマと、基準マスクパターンに対応する投票テーマとが異なる場合には、評価画素情報Peに対して基準マスクパターンを適用した結果、値が1の画素が数多く残存する。
On the other hand, in step S210a, when the voting theme of the
また、判定部45は、ステップS209bで抽出された評価文字列Seと、記憶部43に記憶されている基準文字列Sr1、Sr2、...とを順次比較し、評価文字列Seと一致する基準文字列が存在するか否かを調べる(S210b)。
The
判定部45は、評価画素情報Peとの論理積をとった結果残像する画素の数が所定値以下である基準マスクパターンが存在し、かつ、評価文字列Seと一致する基準文字列が存在するか否かを調べる(S211)。
The
ステップS211において、そのような条件を満たす基準マスクパターンおよび基準文字列が存在する場合には(S211=YES)、分類対象の国民投票用紙2の投票テーマは、当該条件を満たす基準マスクパターンおよび基準文字列に対応する投票テーマであると判定する(S212)。
In step S211, when there is a reference mask pattern and a reference character string that satisfy such conditions (S211 = YES), the voting theme of the
一方、そのような基準画素情報および基準文字列が存在しない場合には(S211=NO)、分類対象の国民投票用紙2は分類不能の混入票であるとみなして、リジェクトする(S213)。
On the other hand, when such reference pixel information and reference character string do not exist (S211 = NO), the
なお、上記のステップS209〜S213の処理では、ステップS209a〜210aにおける画素情報に基づく投票テーマの判別と、ステップS209b〜S210bにおける文字情報に基づく投票テーマの判別とを行うことによって判別精度の向上を図っているが、処理速度の短縮や計算リソースの節約のために、画素情報に基づく判別と文字情報に基づく判別のいずれかのみを行うようにしてもよい。 In the processing of steps S209 to S213, the discrimination accuracy is improved by discriminating the voting theme based on the pixel information in steps S209a to 210a and the discrimination of the voting theme based on the character information in steps S209b to S210b. Although this is intended, in order to shorten the processing speed and save computational resources, either discrimination based on pixel information or discrimination based on text information may be performed.
次に、記載内容判別部50の領域抽出部51は、学習モードにおいて記憶した座標に基づいて、画像情報から記載領域2b,2cを抽出する(S214)。
Next, the area extraction unit 51 of the written
判定部54は、記載領域2b,2cの各画素を抽出して画素情報を生成し、当該画素情報に対して記憶部53に記憶されているマスクパターンMb,Mcを適用する(S215)。
The
例えば、記載領域2b,2cが図12(A)に示されるようなものである場合、ステップS215でマスクパターンMb,Mcを適用すると、図12(B)に示されるような画素情報が得られる。すなわち、投票者による記入が行われた記載領域2b,2cに対してマスクパターンMb,Mcを適用することにより、記載領域2b,2cに予め印刷されていた文字列が取り除かれ、投票者によって記入された部分のみが残る。ただし、マスクパターンMb,Mcを適用した結果、投票者によって記入された丸印の一部が欠けた状態になっている。
For example, in the case where the
次に、判定部54は、ステップS215でマスクパターンMb,Mcを適用した後の画素情報に対して膨張処理を施して、図12(C)に示されるような画素情報を生成する(S216)。図12(C)では、投票者によって記入された丸印が復元されている。
Next, the
続いて、判定部54は、ステップS216で生成された画素情報において、画素値が1の画素の数が所定数以上存在するか否かを調べる(S217)。ここで、画素値が1の画素の数が所定数以上存在しない場合(S217=NO)には、図13に示されるような白票であると判定する(S218)。
Subsequently, the
一方、画素値が1の画素の数が所定数以上存在する場合(S217=YES)には、判定部54は、ステップS216で生成された画素情報において、「賛成」と「反対」にそれぞれ対応する領域2b,2cにおいて、画素値が1の画素の数が所定数以上存在するか否かを調べる(S219)。ここで、領域2b,2cの両方において画素値が1の画素の数が所定数以上存在する場合(S219=YES)には、図14〜16に示されるように、「賛成」と「反対」の両方の欄に記入が行われている無効票であると判定する(S220)。
On the other hand, when the number of pixels having a pixel value of 1 is greater than or equal to a predetermined number (S217 = YES), the
一方、領域2b,2cの両方において画素数が1の画素の数が所定数以上存在しない場合(S219=NO)には、判定部54は、「賛成」と「反対」にそれぞれ対応する左右いずれかの領域内に閉じた丸印が存在するか否かを調べる(S221)。ここで、いずれの領域内にも閉じた丸印が存在しない場合(S221=NO)には、図17〜18に示されるように、「賛成」と「反対」のいずれにも閉じた丸印が記入されていない疑問票であると判定する(S222)。
On the other hand, when the number of pixels having a pixel number of 1 does not exist in a predetermined number or more in both of the
一方、「賛成」と「反対」のいずれかの領域内に閉じた丸印が記入されている場合(S221=YES)には、賛成票または反対票であると判定する(S223)。すなわち、「賛成」に対応する領域2b内に閉じた丸印が記入されていれば賛成票であると判定し、「反対」に対応する領域2c内に閉じた丸印が記入されていれば反対票であると判定する。
On the other hand, when a closed circle is entered in the area of either "Agree" or "Disagree" (S221 = YES), it is determined that the vote is affirmative or negative (S223). That is, if a closed circle is filled in the
最後に、分類部60は、ステップS205において第1テーマ判別部30によって判別された投票テーマと、ステップS212において第2テーマ判別部40によって判別された投票テーマと、ステップS217〜S223において記載内容判別部50によって判別された記載内容とに基いて、分類対象の国民投票用紙2を、各投票テーマについて、白票、無効票、疑問票、賛成票または反対票のいずれかに分類する(S224)。
Finally, the classification unit 60 determines the voting theme determined by the first
なお、ステップS224において、第1テーマ判別部30によって判別された投票テーマと、第2テーマ判別部40によって判別された投票テーマとが異なる場合には、当該分類対象の国民投票用紙2は、分類不能な混入票であるとみなしてリジェクトする。
If the voting theme determined by the first
分類モードにおいて行われる以上の処理によって、分類対象の国民投票用紙2を、各投票テーマについて、白票、無効票、疑問票、賛成票または反対票のいずれかに分類することができる。そして、先述したように、この実施の形態では、第1の投票テーマ(「● □□の廃止について」)における賛成票、反対票、白票、無効票・疑問票は、本体1のスタッカ6a〜6dにそれぞれ収容され、第2の投票テーマ(「● △△△の明記について)における賛成票、反対票、白票、無効票・疑問票は、拡張スタッカユニット8の拡張スタッカ10a〜10dにそれぞれ収容される。
By the above processing performed in the classification mode, it is possible to classify the
以上説明したように、この発明の実施の形態に係る分類装置は、第1投票テーマ判別部30と、第2投票テーマ40と、記載内容判別部50と、分類部60とを備えている。
As described above, the classification device according to the embodiment of the present invention includes the first voting
第1投票テーマ判別部30は、国民投票用紙2の色情報に基いて、当該国民投票用紙2の投票テーマを判別する。第2投票テーマ判別部40は、国民投票用紙2の記入面の画像情報に基いて、当該国民投票用紙2の投票テーマを判別する。記載内容判別部50は、国民投票用紙2の記入面の画像情報に基いて、当該国民投票用紙2の記載内容を判別する。
The first voting
分類部60は、第1投票テーマ判別部30によって判別された投票テーマ、および、第2投票テーマ判別部40によって判別された投票テーマ、並びに、記載内容判別部50によって判別された記載内容に基いて、国民投票用紙2を各投票テーマについて記載内容別に分類する。
The classification unit 60 is based on the voting theme determined by the first voting
上記の特徴により、この発明の実施の形態に係る国民投票用紙の分類装置では、複数の投票テーマが混在している場合でも、複数の国民投票用紙2を一括して分類することができる。また、上記の実施の形態では、1つの拡張スタッカユニット8が本体1に接続されている例を示しているが、複数の拡張スタッカユニット8を本体1に接続することもできる。そのため、接続する拡張スタッカユニット8の数を増やすことによって、多数の投票テーマに対応することができる。
According to the above-mentioned feature, in the classification apparatus of the referendum paper according to the embodiment of the present invention, even when plural voting themes are mixed,
2 国民投票用紙、5 イメージセンサ、30 第1投票テーマ判別部(第1の判別部)、40 第2投票テーマ判別部(第2の判別部)、50 記載内容判別部(第3の判別部)、60 分類部。 2 national ballot paper, 5 image sensor, 30 first voting theme determination unit (first determination unit) 40 second voting theme determination unit (second determination unit) 50 description content determination unit (third determination unit ), 60 classification department.
Claims (3)
前記国民投票用紙の色情報に基いて、該国民投票用紙の投票テーマを判別する第1の判別部と、
前記国民投票用紙の画像情報に基いて、該国民投票用紙の投票テーマを判別する第2の判別部と、
前記国民投票用紙の前記画像情報に基いて、該国民投票用紙の記載内容を判別する第3の判別部と、
前記第1の判別部によって判別された前記投票テーマ、および、前記第2の判別部によって判別された前記投票テーマ、並びに、前記第3の判別部によって判別された前記記載内容に基いて、前記国民投票用紙を各投票テーマについて記載内容別に分類する分類部と
を備える、国民投票用紙の分類装置。 Classification machine for referendum ballot,
A first determination unit that determines a voting theme of the referendum based on color information of the referendum;
A second determination unit that determines a voting theme of the referendum sheet based on image information of the referendum sheet;
A third determination unit that determines the described content of the referendum sheet based on the image information of the referendum sheet;
The voting theme determined by the first determination unit, the voting theme determined by the second determination unit, and the description described based on the third determination unit. A classification device for a referendum paper, comprising: a classification unit that classifies the referendum paper according to the contents for each voting theme.
前記第1の判別部は、前記複数の反射光の各受光量に基いて色情報を生成し、該色情報に基いて前記投票テーマを判別する、請求項1に記載の国民投票用紙の分類装置。 The national voting paper is further provided with an image sensor that emits a plurality of light of different colors to receive a plurality of reflected lights, measures each light reception amount of the plurality of reflected lights, and generates image information.
The classification of a national voting paper according to claim 1, wherein the first discrimination unit generates color information based on each light reception amount of the plurality of reflected lights, and discriminates the voting theme based on the color information. apparatus.
前記第3の判別部は、前記画像情報から投票者によって記入される記載領域を抽出し、該記載領域から生成される画素情報に基いて、前記記載領域の記載内容を判別する、請求項2に記載の国民投票用紙の分類装置。 The second determination unit extracts a voting theme area on which a voting theme is printed from the image information, and the voting theme is extracted based on either or both of pixel information and character information generated from the voting theme area. To determine
The third determination unit extracts a description area to be entered by a voter from the image information, and determines the description content of the description area based on pixel information generated from the description area. National ballot classification device described in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017184633A JP6568561B2 (en) | 2017-09-26 | 2017-09-26 | Referendum classification device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017184633A JP6568561B2 (en) | 2017-09-26 | 2017-09-26 | Referendum classification device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019061424A true JP2019061424A (en) | 2019-04-18 |
JP6568561B2 JP6568561B2 (en) | 2019-08-28 |
Family
ID=66177444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017184633A Active JP6568561B2 (en) | 2017-09-26 | 2017-09-26 | Referendum classification device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6568561B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102205378B1 (en) * | 2020-11-19 | 2021-01-20 | 주식회사 미루시스템즈 | A counting device that enables continuous feeding of ballot paper |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110017822A1 (en) * | 2009-07-27 | 2011-01-27 | Mike Dvorak | Ballot Processing System |
JP2012027877A (en) * | 2010-07-28 | 2012-02-09 | Musashi Eng Co Ltd | Ballot reading device and reading method |
JP2012033124A (en) * | 2010-08-03 | 2012-02-16 | Musashi Eng Co Ltd | Ballot paper sorting device |
JP2012043367A (en) * | 2010-08-23 | 2012-03-01 | Musashi Eng Co Ltd | Ballot paper classification device |
JP2014154093A (en) * | 2013-02-13 | 2014-08-25 | Glory Ltd | Ballot sorter, sorting method of ballot, and allocation method of ballot to storage destination |
US20140263638A1 (en) * | 2013-03-15 | 2014-09-18 | Election Systems & Software, Llc | System and Method for Monitoring Precinct-Based Ballot Tabulation Devices |
JP2017168153A (en) * | 2017-07-03 | 2017-09-21 | グローリー株式会社 | Voting slip sorter, sorting method of voting slip, and sorting system of voting slip |
-
2017
- 2017-09-26 JP JP2017184633A patent/JP6568561B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110017822A1 (en) * | 2009-07-27 | 2011-01-27 | Mike Dvorak | Ballot Processing System |
JP2012027877A (en) * | 2010-07-28 | 2012-02-09 | Musashi Eng Co Ltd | Ballot reading device and reading method |
JP2012033124A (en) * | 2010-08-03 | 2012-02-16 | Musashi Eng Co Ltd | Ballot paper sorting device |
JP2012043367A (en) * | 2010-08-23 | 2012-03-01 | Musashi Eng Co Ltd | Ballot paper classification device |
JP2014154093A (en) * | 2013-02-13 | 2014-08-25 | Glory Ltd | Ballot sorter, sorting method of ballot, and allocation method of ballot to storage destination |
US20140263638A1 (en) * | 2013-03-15 | 2014-09-18 | Election Systems & Software, Llc | System and Method for Monitoring Precinct-Based Ballot Tabulation Devices |
JP2017168153A (en) * | 2017-07-03 | 2017-09-21 | グローリー株式会社 | Voting slip sorter, sorting method of voting slip, and sorting system of voting slip |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102205378B1 (en) * | 2020-11-19 | 2021-01-20 | 주식회사 미루시스템즈 | A counting device that enables continuous feeding of ballot paper |
Also Published As
Publication number | Publication date |
---|---|
JP6568561B2 (en) | 2019-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115761978A (en) | Inspection system, inspection device, and token | |
CN115841721A (en) | Inspection system and inspection apparatus | |
US20090289115A1 (en) | Optically readable marking sheet and reading apparatus and method therefor | |
US9690841B2 (en) | Method and apparatus for determining a class reference data record for the classification of value documents | |
US8275167B2 (en) | Image processing apparatus and verification system | |
WO2014064776A1 (en) | Sheet sorting device and sheet management system | |
JP2012043367A (en) | Ballot paper classification device | |
JP5292643B2 (en) | Voting paper reader and reading method | |
JP6568561B2 (en) | Referendum classification device | |
JP2012033124A (en) | Ballot paper sorting device | |
KR101031335B1 (en) | Electronic ticketing device | |
Lamsal | COUNTERFIET PAPER BANKNOTE IDENTIFICATION BASED ON COLOR AND TEXTURE | |
JP2019144991A (en) | Classification device for national referendum ballot | |
US20160232732A1 (en) | Method for Verifying a Valuable Document Having a Polymer Substrate and a Transparent Window and Means for Carrying Out Said Method | |
JP2016164743A (en) | Classification device of voting paper | |
JP6366788B2 (en) | Ballot classification machine, ballot classification method and ballot classification system | |
JP6170688B2 (en) | Voting paper sorting machine and voting paper sorting method | |
JP6516527B2 (en) | Ballot classification device | |
JP6002535B2 (en) | Ballot paper reading method, ballot paper reader, and ballot paper sorter | |
KR101474993B1 (en) | Electro-Vote Apparatus Having Printing Part for Serial Number | |
JP5292641B2 (en) | Voting paper reader and reading method | |
JPH0635939A (en) | Election terminal equipment | |
JP2011095795A (en) | Device and method for reading voting sheet | |
KR101584969B1 (en) | Electro-Vote Apparatus Having Discharge Function by Detecting Double Paper Feeding, and Controlling Method thereof | |
TW202405411A (en) | Defect occurrence trend analysis method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180521 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190417 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190514 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190627 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190730 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190802 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6568561 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |