JP2019061424A - Classification device for referendum ballot paper - Google Patents

Classification device for referendum ballot paper Download PDF

Info

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
Application number
JP2017184633A
Other languages
Japanese (ja)
Other versions
JP6568561B2 (en
Inventor
順二 岡野
Junji Okano
順二 岡野
松本 啓
Kei Matsumoto
啓 松本
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.)
Musashi Engineering Co Ltd
Original Assignee
Musashi Engineering Co 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 Musashi Engineering Co Ltd filed Critical Musashi Engineering Co Ltd
Priority to JP2017184633A priority Critical patent/JP6568561B2/en
Publication of JP2019061424A publication Critical patent/JP2019061424A/en
Application granted granted Critical
Publication of JP6568561B2 publication Critical patent/JP6568561B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a classification device for referendum ballot paper capable of classifying a plurality of referendum ballot papers 2 collectively even when a plurality of voting themes coexist.SOLUTION: A classification device for referendum ballot paper includes a first voting theme determination part 30, a second voting theme 40, a written content determination part 50, and a classification part 60. The first voting theme determination part 30 determines a voting theme on the basis of color information of a ballot paper 2. The second voting theme determination part 40 determines a voting theme on the basis of image information of an entry face of the ballot paper 2. The written content determination part 50 determines written contents on the basis of the image information of the entry face of the ballot paper 2. The classification part 60 classifies the referendum ballot paper 2 according to the contents of each voting theme, on the basis of the voting theme determined by the first voting theme determination part 30, the voting theme determined by the second voting theme determination part 40, and the written contents determined by the written content determination part 50.SELECTED DRAWING: Figure 3

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.

特開2004−5022号公報Unexamined-Japanese-Patent No. 2004-5022

近年、日本国憲法の改正の可能性が現実のものとなりつつある。日本国憲法の改正手続に関する法律(平成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.

この発明の実施の形態に係る国民投票用紙の分類装置の外観の構成を示す図である。It is a figure showing the composition of the appearance of the classification device of the referendum paper according to the embodiment of the present invention. この発明の実施の形態に係る分類装置の内部構成を示す模式図である。It is a schematic diagram which shows the internal structure of the classification device which concerns on embodiment of this invention. この発明の実施の形態に係る分類装置における、演算処理ユニットの構成を示す模式図である。It is a schematic diagram which shows the structure of the arithmetic processing unit in the classification apparatus which concerns on embodiment of this invention. 国民投票用紙の書式を例示する図である。It is a figure which illustrates the format of a national ballot. この発明の実施の形態に係る分類装置における、第1投票テーマ判別部の構成を示す模式図である。It is a schematic diagram which shows the structure of a 1st voting theme discrimination | determination part in the classification apparatus which concerns on embodiment of this invention. この発明の実施の形態に係る分類装置における、第2投票テーマ判別部の構成を示す模式図である。It is a schematic diagram which shows the structure of the 2nd voting theme discrimination | determination part in the classification apparatus which concerns on embodiment of this invention. この発明の実施の形態に係る分類装置における、記載内容判別部の構成を示す模式図である。It is a schematic diagram which shows the structure of the description content discrimination | determination part in the classification device which concerns on embodiment of this invention. この発明の実施の形態に係る分類装置における、学習モードの処理を示すフローチャートである。It is a flow chart which shows processing of learning mode in a classification device concerning an embodiment of this invention. この発明の実施の形態に係る分類装置によって生成される、基準マスクパターンを例示する図である。It is a figure which illustrates the reference | standard mask pattern produced | generated by the classification | category apparatus which concerns on embodiment of this invention. この発明の実施の形態に係る分類装置によって生成される、記載領域用のマスクパターンを例示する図である。It is a figure which illustrates the mask pattern for writing areas which is generated by the classification device according to the embodiment of the present invention. この発明の実施の形態に係る分類装置における、分類モードの処理を示すフローチャートである。It is a flow chart which shows processing of classification mode in a classification device concerning an embodiment of this invention. この発明の実施の形態に係る分類装置における、分類モードの処理を示すフローチャートである。It is a flow chart which shows processing of classification mode in a classification device concerning an embodiment of this invention. この発明の実施の形態に係る分類装置における、分類モードの処理を示すフローチャートである。It is a flow chart which shows processing of classification mode in a classification device concerning an embodiment of this invention. この発明の実施の形態に係る分類装置における、国民投票用紙の記載内容の判別処理を例示する図である。It is a figure which illustrates the discrimination | determination process of the description content of the national ballot paper in the classification apparatus which concerns on embodiment of this invention. 国民投票用紙における投票者による記載内容の一例を示す図である。It is a figure which shows an example of the entry content by the voter in a referendum paper. 国民投票用紙における投票者による記載内容の一例を示す図である。It is a figure which shows an example of the entry content by the voter in a referendum paper. 国民投票用紙における投票者による記載内容の一例を示す図である。It is a figure which shows an example of the entry content by the voter in a referendum paper. 国民投票用紙における投票者による記載内容の一例を示す図である。It is a figure which shows an example of the entry content by the voter in a referendum paper. 国民投票用紙における投票者による記載内容の一例を示す図である。It is a figure which shows an example of the entry content by the voter in a referendum paper. 国民投票用紙における投票者による記載内容の一例を示す図である。It is a figure which shows an example of the entry content by the voter in a referendum paper.

以下、この発明の実施の形態について添付図面に基づいて説明する。
実施の形態.
国民投票用紙の分類装置は、国民投票用紙の投票テーマおよび投票者による記載内容に基いて、国民投票用紙を分類するものである。図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 main body 1 and an extended stacker unit 8. The main body 1 of the classification device is provided with a hopper 3 for storing a plurality of national voting papers 2 to be classified, and a transport path 4 composed of a plurality of rollers 4 a for transporting the national voting papers 2.

また、分類装置の本体1は、国民投票用紙2に異なる色の光を複数照射して複数の反射光を受光し、当該複数の反射光の各受光量を測定すると共に画像情報を生成するイメージセンサ5と、国民投票用紙2を投票テーマおよび記載内容に基づいて分類して収容する5つのスタッカ6a〜6eと、分類結果を表示するモニタ7とを備えている。   Further, the main body 1 of the classification device irradiates a plurality of lights of different colors onto the national voting paper 2 to receive a plurality of reflected lights, measures each light reception amount of the plurality of reflected lights, and generates image information. A sensor 5, five stackers 6 a to 6 e for classifying and storing the national voting paper 2 based on the voting theme and the described contents, and a monitor 7 for displaying the classification result.

また、拡張スタッカユニット8は、本体1から分離可能な拡張ユニットであり、複数のローラ9aによって構成される拡張搬送路9と、8つの拡張スタッカ10a〜10hとを備えている。   The extension stacker unit 8 is an extension unit which can be separated from the main body 1, and includes an extension conveyance path 9 constituted by a plurality of rollers 9a and eight extension stackers 10a to 10h.

分類装置の本体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 main body 1 of the sorting apparatus and the extended stackers 10a to 10h provided in the extended stacker unit 8, national voting papers 2 classified as described later are accommodated. As an example, in this embodiment, in the stackers 6a to 6d of the main body 1, the affirmative vote, the negative vote, the white vote, the invalid vote and the question vote in the first voting theme (“About abolition of ● □□”) The ballot paper accommodated therein and rejected as being unclassifiable is accommodated in the stacker 6e. In addition, the expansion stackers 10a to 10d of the expansion stacker unit 8 accommodate a positive vote, a negative vote, a white vote, an invalid vote, and a questionnaire on the second voting theme (for the specification of “● ΔΔ”).

次に、図2に示されるように、イメージセンサ5は本体部11を備えており、本体部11の内部には、3つのLED12a〜12cが設けられている。LED12a〜12cは異なる色の光、具体的にはLED12aが赤色光、LED12bが緑色光、LED12cが青色光を発するようになっている。   Next, as shown in FIG. 2, the image sensor 5 includes a main body 11, and three LEDs 12 a to 12 c are provided inside the main body 11. The LEDs 12 a to 12 c emit light of different colors, specifically, the LED 12 a emits red light, the LED 12 b emits green light, and the LED 12 c emits blue light.

なお、本体部11は、搬送路4に沿って搬送される国民投票用紙2に向かって開放された空間である収容部11aを有しており、LED12a〜12cは、収容部11a内に設けられた導光板13に支持されている。導光板13は透明な材料から形成される部材であり、LED12a〜12cが発する各光は、矢印B1で示されるように導光板12を通って国民投票用紙2に照射される。   The main body portion 11 has a housing portion 11a which is a space opened toward the national ballot paper 2 conveyed along the conveyance path 4, and the LEDs 12a to 12c are provided in the housing portion 11a. It is supported by the light guide plate 13. The light guide plate 13 is a member formed of a transparent material, and each light emitted from the LEDs 12a to 12c is irradiated to the national voting paper 2 through the light guide plate 12 as shown by the arrow B1.

また、本体部11は、国民投票用紙2に向かって開放された空間である収容部11bを有しており、収容部11bの内部にも透明な材料からなる導光板14が設けられている。収容部11bの奥側に位置する導光板14の端部には、受光センサ15が設けられている。LED12a〜12cによって照射された赤色、緑色、青色の各光は、矢印B2で示されるように国民投票用紙2で反射され、それらの反射光は導光板14を通って受光センサ15に到達する。   Further, the main body 11 has a housing 11b which is a space opened toward the national ballot paper 2. A light guide plate 14 made of a transparent material is provided also in the housing 11b. A light receiving sensor 15 is provided at an end of the light guide plate 14 located on the back side of the housing portion 11 b. The red, green and blue lights emitted by the LEDs 12a to 12c are reflected by the national ballot paper 2 as indicated by the arrow B2, and the reflected lights reach the light receiving sensor 15 through the light guide plate 14.

受光センサ15は、国民投票用紙2からの各反射光を受光して各受光量を測定すると共に画像情報を生成し、測定した各受光量および生成した画像情報を、次に述べる演算処理ユニット20に出力する。なお、各LED12a〜12cは制御部16に電気的に接続されており、制御部16によって光の照射の開始および停止が制御される。   The light receiving sensor 15 receives each reflected light from the national voting paper 2 to measure each light receiving amount and generates image information, and the measured light receiving amount and the generated image information are described in the arithmetic processing unit 20 described next. Output to Each of the LEDs 12 a to 12 c is electrically connected to the control unit 16, and the control unit 16 controls start and stop of light irradiation.

(演算処理ユニット20)
図3に模式的に示されるように、分類装置の本体1の内部には、マイクロコンピュータ等によって構成される演算処理ユニット20が設けられている。演算処理ユニット20は、第1投票テーマ判別部30と、第2投票テーマ判別部40と、記載内容判別部50と、分類部60とを備えている。
(Operation processing unit 20)
As schematically shown in FIG. 3, an arithmetic processing unit 20 constituted by a microcomputer or the like is provided in the main body 1 of the classification device. The arithmetic processing unit 20 includes a first voting theme determination unit 30, a second voting theme determination unit 40, a written content determination unit 50, and a classification unit 60.

第1投票テーマ判別部30は、イメージセンサ5から入力される各受光量から国民投票用紙2の投票テーマを判別する。詳細には、図4に例示されるように、国民投票用紙2は、「● □□の廃止について」、「● △△△の明記について」等の投票テーマごとに専用の投票用紙が用意されており、投票テーマごとに用紙の色が定められている。なお、図4の例では、(A)の「● □□の廃止について」の投票用紙はピンク色であり、(B)の「● △△△の明記について」の投票用紙はウグイス色である。第1投票テーマ判別部30は、イメージセンサ5から入力される各受光量に基いて国民投票用紙2の色情報を生成し、当該色情報に基いて国民投票用紙2の投票テーマを判別する。   The first voting theme determination unit 30 determines the voting theme of the national voting paper 2 from each light reception amount input from the image sensor 5. In detail, as illustrated in FIG. 4, the referendum ballot 2 is prepared with a dedicated ballot for each voting theme such as “with regard to abolition of ● □□” and “with regard to the specification of ●● ΔΔ” The color of the paper is set for each voting theme. In the example of FIG. 4, the ballot paper of “abolition of ● □□” in (A) is pink, and the ballot paper of “indication of ●● ΔΔ” in (B) is yellowish . The first voting theme determination unit 30 generates color information of the national voting paper 2 based on each light receiving amount input from the image sensor 5, and determines a voting theme of the national voting paper 2 based on the color information.

第2投票テーマ判別部40は、イメージセンサ5によって生成された画像情報から国民投票用紙2における投票テーマが印刷された領域(投票テーマ領域2a)を抽出し、当該投票テーマ領域2aから生成される画素情報および文字情報に基いて、国民投票用紙2の投票テーマを判別する。   The second voting theme determination unit 40 extracts, from the image information generated by the image sensor 5, an area (voting theme area 2a) on which the voting theme in the national voting paper 2 is printed, and generates the voting theme area 2a. Based on the pixel information and the character information, the voting theme of the national voting paper 2 is determined.

記載内容判別部50は、イメージセンサ5から入力される画像情報から国民投票用紙2における投票者によって記入される領域(記載領域2b,2c)を抽出し、当該記載領域2b,2cから生成される画素情報に基いて、国民投票用紙2の記載内容を判別する。   The written content determination unit 50 extracts areas (written areas 2 b and 2 c) to be filled in by the voter in the national ballot paper 2 from the image information input from the image sensor 5 and generates the areas from the written areas 2 b and 2 c. Based on the pixel information, the described contents of the referendum ballot 2 are determined.

分類部60は、第1投票テーマ判別部30によって判別された投票テーマと、第2投票テーマ判別部40によって判別された投票テーマと、記載内容判別部50によって判別された記載内容とに基いて、国民投票用紙2を各投票テーマについて記載内容別に分類する。   The classification unit 60 is based on the voting theme determined by the first voting theme determination unit 30, the voting theme determined by the second voting theme determination unit 40, and the description content determined by the description content determination unit 50. Classify the referendum ballot 2 according to the contents described for each voting theme.

次に、第1投票テーマ判別部30、第2投票テーマ判別部40、記載内容判別部50の詳細な構成について順に説明する。   Next, detailed configurations of the first voting theme determination unit 30, the second voting theme determination unit 40, and the description content determination unit 50 will be described in order.

(第1投票テーマ判別部30)
図5に模式的に示されるように、第1投票テーマ判別部30は、色情報生成部31と、記憶部32と、判定部33とから構成されている。
(First voting theme determination unit 30)
As schematically shown in FIG. 5, the first voting theme determination unit 30 includes a color information generation unit 31, a storage unit 32, and a determination unit 33.

色情報生成部31には、イメージセンサ5によって測定された各受光量、すなわち各LED12a〜12cが照射した赤色、緑色、青色の各光に対する国民投票用紙2からの各反射光の各受光量が入力される。色情報生成部31は、これら赤色、緑色、青色の各受光量に基いて、国民投票用紙2の色情報を生成する。   The color information generation unit 31 receives each light reception amount measured by the image sensor 5, that is, each light reception amount of each reflected light from the national voting paper 2 for each of the red, green, and blue lights irradiated by the LEDs 12a to 12c. It is input. The color information generation unit 31 generates color information of the national voting paper 2 based on the red, green and blue light reception amounts.

記憶部32は、各投票テーマに対応する学習用の国民投票用紙2の各色情報を、基準色情報Cr1、Cr2、...として記憶する。   The storage unit 32 stores each color information of the referendum ballot 2 for learning corresponding to each voting theme as reference color information Cr1, Cr2,. . . Remember as.

判定部33は、生成部31によって生成される分類対象の国民投票用紙2の色情報(評価色情報Ce)と、記憶部32に記憶されている基準色情報Cr1、Cr2、...とを比較して、分類対象の国民投票用紙2の投票テーマを判別する。   The determination unit 33 determines the color information (evaluation color information Ce) of the national ballot paper 2 of the classification target generated by the generation unit 31 and the reference color information Cr1, Cr2,. . . And determine the voting theme of the referendum ballot 2 to be classified.

(第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 theme determination unit 40 includes an area extraction unit 41, a reference information generation unit 42, a storage unit 43, an evaluation information generation unit 44, and a determination unit 45. It is configured.

領域抽出部41は、イメージセンサ5によって生成される国民投票用紙2の画像情報から、「● □□の廃止について」、「● △△△の明記について」等の投票テーマが印刷された領域(投票テーマ領域2a)を抽出する。   The area extracting unit 41 is an area on which voting themes such as “About abolition of ● □□” and “About specifying Δ ●” are printed from the image information of the national voting paper 2 generated by the image sensor 5 ( Extract the voting theme area 2a).

基準情報生成部42は、各投票テーマに対応する学習用の国民投票用紙2の各投票テーマ領域2aの画素情報に基いて、基準マスクパターンMr1、Mr2、...を生成する。また、基準情報生成部42は、各投票テーマに対応する学習用の国民投票用紙2の各投票テーマ領域2aに対して文字認識処理を行うことによって、基準文字列Sr1、Sr2、...を生成する。   Based on the pixel information of each voting theme area 2a of the referendum sheet 2 for learning corresponding to each voting theme, the reference information generating unit 42 generates reference mask patterns Mr1, Mr2,. . . Generate In addition, the reference information generation unit 42 performs character recognition processing on each voting theme area 2a of the referendum sheet 2 for learning corresponding to each voting theme, whereby reference character strings Sr1, Sr2,. . . Generate

記憶部43は、各投票テーマに対応する基準マスクパターンMr1、Mr2...および基準文字列Sr1、Sr2...を記憶する。   The storage unit 43 stores reference mask patterns Mr1, Mr2,. . . And reference strings Sr1, Sr2. . . Remember.

評価情報生成部44は、分類対象の国民投票用紙2の投票テーマ領域2aの画素情報に基いて、評価画素情報Peを生成する。また、評価情報生成部44は、分類対象の国民投票用紙2の投票テーマ領域2aに対して文字認識処理を行うことによって、評価文字列Seを生成する。   The evaluation information generation unit 44 generates evaluation pixel information Pe based on the pixel information of the voting theme area 2a of the national ballot paper 2 to be classified. Further, the evaluation information generation unit 44 generates an evaluation character string Se by performing character recognition processing on the voting theme area 2a of the national ballot paper 2 to be classified.

判定部45は、評価情報生成部43によって生成される分類対象の国民投票用紙2の評価画素情報Peに対して、記憶部43に記憶されている各基準マスクパターンMr1、Mr2...を適用した結果残存する画素の数、および評価情報生成部44によって生成される分類対象の国民投票用紙2の評価文字列Seと、記憶部43に記憶されている各基準文字列Sr1、Sr2...との比較結果に基づいて、分類対象の国民投票用紙2の投票テーマを判別する。   The determination unit 45 compares the evaluation pixel information Pe of the classification target national ballot paper 2 generated by the evaluation information generation unit 43 with the reference mask patterns Mr1 and Mr2.m stored in the storage unit 43. . . The evaluation character string Se of the classification target national ballot paper 2 generated by the evaluation information generation unit 44, and the reference character strings Sr1, Sr2,. . . On the basis of the comparison result with the above, the voting theme of the national ballot paper 2 to be classified is determined.

(記載内容判別部50)
図7に模式的に示されるように、記載内容判別部50は、領域抽出部51と、マスク生成部52と、記憶部53と、判定部54とから構成されている。
(Description determination unit 50)
As schematically shown in FIG. 7, the written content determination unit 50 includes an area extraction unit 51, a mask generation unit 52, a storage unit 53, and a determination unit 54.

領域抽出部51は、イメージセンサ5によって生成される国民投票用紙2の画像情報から、「賛成」、「反対」という文字列が予め印刷されており投票者による記入が行われる領域(記載領域2b,2c)を抽出する。   From the image information of the national ballot paper 2 generated by the image sensor 5, the area extraction unit 51 is an area where the character strings “Agreement” and “Disagreement” are printed in advance and an entry is made by the voter , 2c).

マスク生成部52は、学習用の未記入の国民投票用紙2の記載領域2b,2cの画素情報に基いて、マスクパターンMb,Mcを生成する。   The mask generation unit 52 generates mask patterns Mb and Mc based on pixel information of the writing areas 2b and 2c of the unwritten national ballot paper 2 for learning.

記憶部53は、マスク生成部52によって生成されたマスクパターンMb,Mcを記憶する。   The storage unit 53 stores the mask patterns Mb and Mc generated by the mask generation unit 52.

判定部54は、領域抽出部51によって抽出される分類対象の国民投票用紙2における記載領域2b,2cの画素情報に対して、記憶部53に記憶されているマスクパターンMb,Mcを適用することによって、投票者による記載内容を判定する。   The determination unit 54 applies the mask patterns Mb and Mc stored in the storage unit 53 to the pixel information of the described areas 2 b and 2 c in the national voting paper 2 to be classified and extracted by the area extraction unit 51. To determine the content written by the voter.

次に、この実施の形態に係る国民投票用紙の分類装置によって行われる処理について説明する。   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 national ballot paper 2 for learning corresponding to each voting theme is read one by one, and those features are stored as reference information. In the classification mode, evaluation information is generated from each of a plurality of referendums 2 filled by the voter, and each referendum 2 is voted based on the evaluation information and the reference information stored in the learning mode. Classify based on the theme and description content. The details of the processing in the learning mode and the classification mode will be sequentially described below.

(学習モード)
学習モードの処理を開始させるために、ユーザは、学習用の国民投票用紙として、各投票テーマに対応する未記入の国民投票用紙2を1枚ずつ取ってホッパ3に配置し、図示しない操作スイッチによって学習モードの開始を指示する。
(Learning mode)
In order to start the processing of the learning mode, the user takes, as a referendum for learning, one uncompleted reference ballot 2 corresponding to each voting theme and places it on the hopper 3 and operates the switch not shown. Instructs the start of the learning mode.

分類装置は、学習モードの開始が指示されると、搬送路4を構成する各ローラ4aを駆動させることによって、学習用の各国民投票用紙2をイメージセンサ5に搬送し、図8のフローチャートに示される処理を行う。   When instructed to start the learning mode, the classification device conveys each of the national voting papers 2 for learning to the image sensor 5 by driving the rollers 4a constituting the conveyance path 4 to the flowchart of FIG. Do the processing shown.

まず、イメージセンサ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 image sensor 5 sequentially starts and stops the irradiation of light by each of the LEDs 12a to 12c for each of the national voting papers 2 for learning, and the light receiving sensor 15 of the image sensor 5 The reflected light from the national voting paper 2 to the light of each color sequentially emitted by each of the LEDs 12a to 12c is sequentially received to measure each received light amount (S101). The image sensor 5 outputs the measured amounts of light reception to the first voting theme determination unit 30 of the arithmetic processing unit 20.

第1投票テーマ判別部30の生成部31は、学習用の各国民投票用紙2の各受光量に基づいて、基準色情報Cr1、Cr2、...を生成し、これらの基準色情報Cr1、Cr2、...を記憶部32に記憶させる(S102)。ここで、Cr1は1枚目の学習用の国民投票用紙2の基準色情報であり、Cr2は2枚目の学習用の国民投票用紙2の基準色情報であり、以下同様である。   The generation unit 31 of the first voting theme determination unit 30 generates reference color information Cr1, Cr2,. . . To generate these reference color information Cr1, Cr2,. . . Are stored in the storage unit 32 (S102). Here, Cr1 is reference color information of the first learning national ballot 2 for learning, Cr2 is reference color information of the second learning national ballot 2 for learning, and so forth.

また、各基準色情報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 national ballot paper 2 of (A) is pink, and the relative intensity of the amount of received light of the reflected light of red is the highest. In addition, the national ballot paper 2 of (B) is a yellowish color, and the relative intensity of the amount of received green reflected light is the highest.

次に、イメージセンサ5は、学習用の各国民投票用紙2の記入面の2値化された画像情報をそれぞれ生成する(S103)。イメージセンサ5は、生成した画像情報を、演算処理ユニット20の第2投票テーマ判別部40および記載内容判別部50に出力する。   Next, the image sensor 5 generates the binarized image information of the entry surface of each of the national voting papers 2 for learning (S103). The image sensor 5 outputs the generated image information to the second voting theme determination unit 40 and the written content determination unit 50 of the arithmetic processing unit 20.

第2投票テーマ判別部40の領域抽出部41は、学習用の各国民投票用紙2の画像情報から投票テーマ領域2aを抽出する(S104)。図4(A)(B)の例では、「● □□の廃止について」、「● △△△の明記について」という文字列を含む破線で囲まれた矩形領域が投票テーマ領域2aとしてそれぞれ抽出される。   The area extraction unit 41 of the second voting theme determination unit 40 extracts the voting theme area 2a from the image information of each of the national voting papers 2 for learning (S104). In the example of FIGS. 4 (A) and 4 (B), a rectangular area surrounded by a broken line including a character string “For elimination of ● □□” and “About specification of ●● ΔΔ” is extracted as the voting theme area 2a. Be done.

また、後の判定モードにおいて使用するために、投票テーマ領域2aの座標を記憶しておく。なお、投票テーマ領域2aの抽出方法としては、画像情報の全体に対して文字認識処理を行うことによって投票テーマを表す文字列が含まれる領域を特定してもよいし、画像情報をモニタ7上に表示してユーザに領域指定させてもよい。また、この実施の形態では、投票テーマ領域2aの座標は、全ての種類の国民投票用紙2において同一であるとする。   Further, the coordinates of the voting theme area 2a are stored for use in the later determination mode. As a method of extracting the voting theme area 2a, an area including a character string representing a voting theme may be specified by performing character recognition processing on the entire image information. May be displayed on the screen to allow the user to specify an area. Moreover, in this embodiment, the coordinates of the voting theme area 2a are assumed to be the same in all kinds of national voting papers 2.

次に、基準情報生成部42は、ステップS104で抽出された投票テーマ領域2aの画素情報に対して膨張処理と反転処理を施すことによって基準マスクパターンMr1、Mr2、...を生成し、これらの基準マスクパターンを記憶部43に記憶させる(S105)。図4(A)(B)の例では、図9(A)(B)のような基準マスクパターンがそれぞれ生成される。   Next, the reference information generation unit 42 performs expansion processing and inversion processing on the pixel information of the voting theme area 2a extracted in step S104, so that the reference mask patterns Mr1, Mr2,. . . Are generated and these reference mask patterns are stored in the storage unit 43 (S105). In the examples of FIGS. 4A and 4B, reference mask patterns as shown in FIGS. 9A and 9B are generated.

また、基準情報生成部42は、ステップS104で抽出された投票テーマ領域2aの画素情報に対して文字認識処理を行うことによって、投票テーマ領域2a内に含まれる文字列を抽出し、これらを基準文字列として記憶部43に記憶させる(S106)。図4(A)(B)の例では、「● □□の廃止について」、「● △△△の明記について」という文字列がそれぞれ抽出され、これらが基準文字列として記憶部43に記憶される。   Further, the reference information generation unit 42 performs character recognition processing on the pixel information of the voting theme area 2a extracted in step S104, thereby extracting character strings included in the voting theme area 2a, and referring to these The character string is stored in the storage unit 43 (S106). In the example of FIG. 4 (A) (B), the character strings “for the abolition of ● □□” and “for the specification of ●● ΔΔ” are respectively extracted, and these are stored in the storage unit 43 as a reference character string. Ru.

次に、記載内容判別部50の領域抽出部51は、1番目の学習用の国民投票用紙2の画像情報から記載領域2b,2cを抽出する(S107)。図4(A)の例では、「賛成」、「反対」という文字列を含む破線で囲まれた矩形領域が記載領域2b,2cとしてそれぞれ抽出される。なお、この実施の形態では、記載領域2b,2cに予め印刷されている文字列(「賛成」、「反対」)は、全ての種類の国民投票用紙2において同一であるとする。   Next, the area extraction unit 51 of the written content determination unit 50 extracts the written areas 2b and 2c from the image information of the first learning national ballot paper 2 (S107). In the example of FIG. 4A, rectangular regions surrounded by broken lines including character strings “agree” and “opposite” are extracted as the description regions 2b and 2c, respectively. In this embodiment, it is assumed that the character strings ("Yes" and "No") printed in advance in the entry areas 2b and 2c are the same in all types of the referendum papers 2.

また、後述する分類モードにおいて使用するために、記載領域2b,2cの座標を記憶しておく。なお、記載領域2b,2cの抽出方法としては、画像情報の全体に対して文字認識処理を行うことによって、「賛成」、「反対」という文字列が含まれる領域をそれぞれ特定してもよいし、画像情報をモニタ7上に表示してユーザに領域指定させてもよい。また、この実施の形態では、記載領域2b,2cの座標は、全ての種類の国民投票用紙2において同一であるとする。   In addition, the coordinates of the described areas 2b and 2c are stored for use in the classification mode described later. In addition, as a method of extracting the description areas 2b and 2c, by performing character recognition processing on the entire image information, it is possible to respectively specify areas including character strings of "yes" and "opposite". Image information may be displayed on the monitor 7 to allow the user to designate an area. Moreover, in this embodiment, the coordinates of the description areas 2b and 2c are assumed to be the same in all types of the referendum papers 2.

次に、生成部52は、ステップS107で抽出された記載領域2b,2cの画素情報に対して膨張処理と反転処理を施すことによって、記載領域用のマスクパターンMb,Mcを生成し、これらのマスクパターンを記憶部53に記憶させる(S108)。図4(A)の例では、図10のようなマスクパターンが生成される。   Next, the generation unit 52 performs expansion processing and inversion processing on the pixel information of the writing regions 2 b and 2 c extracted in step S 107 to generate mask patterns Mb and Mc for writing regions, The mask pattern is stored in the storage unit 53 (S108). In the example of FIG. 4A, a mask pattern as shown in FIG. 10 is generated.

学習モードにおいて行われる以上の処理によって、第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 storage unit 32 of the first voting theme determination unit 30 stores reference color information Cr1, Cr2,. . . Are stored, and the storage unit 43 of the second voting theme determination unit 40 stores reference max patterns Mr1, Mr2,. . . And reference strings Sr1, Sr2,. . . Are stored, and in the storage unit 53 of the written content determination unit 50, mask patterns Mb and Mc for the writing area are stored.

(分類モード)
学習モードの処理が終了すると、ユーザは投票者による記入が行われた複数枚の国民投票用紙2をホッパ3に配置し、図示しない操作スイッチによって分類モードの開始を指示する。
(Classification mode)
When the processing of the learning mode is completed, the user arranges the plurality of referendums 2 filled by the voter in the hopper 3 and instructs the start of the classification mode by an operation switch (not shown).

分類装置は、分類モードの開始が指示されると、搬送路4を構成する各ローラ4aを駆動させることによって、分類対象の国民投票用紙2を1枚ずつイメージセンサ5に搬送し、各国民投票用紙2に対して、図11のフローチャートに示される処理を行う。   When instructed to start the classification mode, the classification device conveys the national voting papers 2 to be classified to the image sensor 5 one sheet at a time by driving the rollers 4a constituting the conveyance path 4, and the respective national votes The process shown in the flowchart of FIG. 11 is performed on the sheet 2.

まず、イメージセンサ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 image sensor 5 sequentially starts and stops the irradiation of light by the LEDs 12a to 12c for the national voting paper 2 to be classified, and the light receiving sensor 15 of the image sensor 5 Reflected light from the national ballot paper 2 to the light of each color sequentially emitted by each of the LEDs 12a to 12c is sequentially received to measure each received light amount (S201). The image sensor 5 outputs the measured amounts of light reception to the first voting theme determination unit 30 of the arithmetic processing unit 20.

第1投票テーマ判別部30の色情報生成部31は、分類対象の国民投票用紙2の各受光量に基づいて、評価色情報Ceを生成する(S202)。判定部33は、色情報生成部31によって生成された評価色情報Ceと、記憶部32に記憶されている基準色情報Cr1、Cr2、...とを比較し(S203)、評価色情報Ceと一致または近似する基準色情報が存在するか否かを調べる(S204)。   The color information generation unit 31 of the first voting theme determination unit 30 generates evaluation color information Ce based on each light receiving amount of the national ballot paper 2 to be classified (S202). The determination unit 33 determines the evaluation color information Ce generated by the color information generation unit 31, the reference color information Cr1, Cr2,. . . (S203), and it is checked whether there is reference color information that matches or approximates the evaluation color information Ce (S204).

ステップ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 national voting paper 2 to be classified corresponds to the reference or matching reference color information. It is determined that it is a voting theme to be played (S205). On the other hand, if there is no reference color information that matches or approximates the evaluation color information Ce (S 204 = NO), the referendum ballot 2 to be classified is rejected as an unclassifiable mixed vote (S 206) . As described above, the rejected ballot paper is stored in the stacker 6 e of the main body 1.

次に、イメージセンサ5は、分類対象の国民投票用紙2の記入面の2値化された画像情報を生成する(S207)。イメージセンサ5は、生成した画像情報を、演算処理ユニット20の第2投票テーマ判別部40および記載内容判別部50に出力する。   Next, the image sensor 5 generates binarized image information of the entry surface of the national voting paper 2 to be classified (S207). The image sensor 5 outputs the generated image information to the second voting theme determination unit 40 and the written content determination unit 50 of the arithmetic processing unit 20.

第2投票テーマ判別部40の領域抽出部41は、学習モードにおいて記憶した座標に基づいて、画像情報から投票テーマ領域2aを抽出する(S208)。   The area extraction unit 41 of the second voting theme determination unit 40 extracts the voting theme area 2a from the image information based on the coordinates stored in the learning mode (S208).

評価情報生成部44は、投票テーマ領域2aの各画素を抽出して評価画素情報Peを生成する(S209a)。また、評価情報生成部44は、投票テーマ領域2aに対して文字認識処理を行うことによって、投票テーマ領域2a内に含まれる文字列を抽出して評価文字列Seとする(S209b)。   The evaluation information generation unit 44 extracts each pixel of the voting theme area 2a to generate evaluation pixel information Pe (S209a). Further, the evaluation information generation unit 44 performs character recognition processing on the voting theme area 2a, thereby extracting a character string included in the voting theme area 2a and setting it as an evaluation character string Se (S209b).

判定部45は、ステップS209aで生成された評価画素情報Peに対して、記憶部43に記憶されている基準マスクパターンMr1、Mr2、...を順次適用し、残存する画素の数を調べる(S210a)。すなわち、評価画素情報Peと基準マスクパターンのそれぞれ対応する画素の論理積(AND)を計算し、値が1の画素の数を調べる。   The determination unit 45 compares the evaluation pixel information Pe generated at step S209a with the reference mask patterns Mr1, Mr2,. . . Are sequentially applied, and the number of remaining pixels is checked (S210a). That is, the logical product (AND) of the corresponding pixels of the evaluation pixel information Pe and the reference mask pattern is calculated, and the number of pixels having a value of 1 is checked.

ステップS210aにおいて、分類対象の国民投票用紙2の投票テーマと、基準マスクパターンに対応する投票テーマとが一致する場合には、評価画素情報Peに対して基準マスクパターンを適用した結果、値が1の画素は殆ど残存しない。   In step S210a, when the voting theme of the national voting paper 2 to be classified matches the voting theme corresponding to the reference mask pattern, as a result of applying the reference mask pattern to the evaluation pixel information Pe, the value is 1 Of the pixels hardly remain.

これに対して、ステップS210aにおいて、分類対象の国民投票用紙2の投票テーマと、基準マスクパターンに対応する投票テーマとが異なる場合には、評価画素情報Peに対して基準マスクパターンを適用した結果、値が1の画素が数多く残存する。   On the other hand, in step S210a, when the voting theme of the national voting paper 2 to be classified is different from the voting theme corresponding to the reference mask pattern, the result of applying the reference mask pattern to the evaluation pixel information Pe A large number of pixels with a value of 1 remain.

また、判定部45は、ステップS209bで抽出された評価文字列Seと、記憶部43に記憶されている基準文字列Sr1、Sr2、...とを順次比較し、評価文字列Seと一致する基準文字列が存在するか否かを調べる(S210b)。   The determination unit 45 further evaluates the evaluation character string Se extracted in step S 209 b and the reference character strings Sr 1, Sr 2,. . . Are sequentially compared, and it is checked whether there is a reference character string that matches the evaluation character string Se (S210b).

判定部45は、評価画素情報Peとの論理積をとった結果残像する画素の数が所定値以下である基準マスクパターンが存在し、かつ、評価文字列Seと一致する基準文字列が存在するか否かを調べる(S211)。   The determination unit 45 determines that there is a reference mask pattern in which the number of remaining pixels as a result of ANDing the evaluation pixel information Pe is equal to or less than a predetermined value, and a reference character string that matches the evaluation character string Se. It is checked whether or not it is (S211).

ステップ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 national voting paper 2 to be classified is the reference mask pattern and the reference that satisfies the condition. It is determined that it is a voting theme corresponding to the character string (S212).

一方、そのような基準画素情報および基準文字列が存在しない場合には(S211=NO)、分類対象の国民投票用紙2は分類不能の混入票であるとみなして、リジェクトする(S213)。   On the other hand, when such reference pixel information and reference character string do not exist (S211 = NO), the national ballot paper 2 to be classified is regarded as an unclassifiable mixed vote and rejected (S213).

なお、上記のステップ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 content determination unit 50 extracts the written areas 2b and 2c from the image information based on the coordinates stored in the learning mode (S214).

判定部54は、記載領域2b,2cの各画素を抽出して画素情報を生成し、当該画素情報に対して記憶部53に記憶されているマスクパターンMb,Mcを適用する(S215)。   The determination unit 54 extracts each pixel of the description areas 2b and 2c to generate pixel information, and applies the mask patterns Mb and Mc stored in the storage unit 53 to the pixel information (S215).

例えば、記載領域2b,2cが図12(A)に示されるようなものである場合、ステップS215でマスクパターンMb,Mcを適用すると、図12(B)に示されるような画素情報が得られる。すなわち、投票者による記入が行われた記載領域2b,2cに対してマスクパターンMb,Mcを適用することにより、記載領域2b,2cに予め印刷されていた文字列が取り除かれ、投票者によって記入された部分のみが残る。ただし、マスクパターンMb,Mcを適用した結果、投票者によって記入された丸印の一部が欠けた状態になっている。   For example, in the case where the description regions 2b and 2c are as shown in FIG. 12A, applying the mask patterns Mb and Mc in step S215 provides pixel information as shown in FIG. 12B. . That is, by applying the mask patterns Mb and Mc to the entry areas 2b and 2c in which entry is made by the voter, the character string printed in advance in the entry areas 2b and 2c is removed, and the entry is made by the voter Only the part that has been However, as a result of applying the mask patterns Mb and Mc, a part of the circle drawn by the voter is missing.

次に、判定部54は、ステップS215でマスクパターンMb,Mcを適用した後の画素情報に対して膨張処理を施して、図12(C)に示されるような画素情報を生成する(S216)。図12(C)では、投票者によって記入された丸印が復元されている。   Next, the determination unit 54 performs expansion processing on the pixel information after applying the mask patterns Mb and Mc in step S215 to generate pixel information as shown in FIG. 12C (S216). . In FIG. 12 (C), the circle drawn by the voter is restored.

続いて、判定部54は、ステップS216で生成された画素情報において、画素値が1の画素の数が所定数以上存在するか否かを調べる(S217)。ここで、画素値が1の画素の数が所定数以上存在しない場合(S217=NO)には、図13に示されるような白票であると判定する(S218)。   Subsequently, the determination unit 54 checks whether or not a predetermined number or more of pixels having a pixel value of 1 exist in the pixel information generated in step S216 (S217). Here, when the number of pixels having a pixel value of 1 does not exist a predetermined number or more (S217 = NO), it is determined that the white sheet is as shown in FIG. 13 (S218).

一方、画素値が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 determination unit 54 corresponds to “Yes” and “No” in the pixel information generated in step S216. In the areas 2b and 2c, it is checked whether a predetermined number or more of pixels having a pixel value of 1 exist (S219). Here, when the number of pixels having a pixel value of 1 is greater than or equal to a predetermined number in both of the regions 2b and 2c (S219 = YES), as shown in FIGS. It determines that it is an invalid vote in which the entry is made in both of the fields (S220).

一方、領域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 regions 2b and 2c (S219 = NO), the determination unit 54 determines whether the left or right corresponds to It is checked whether there is a closed circle in the area (S221). Here, if there is no closed circle in any of the regions (S221 = NO), as shown in FIGS. It is determined that the question is not filled in (S222).

一方、「賛成」と「反対」のいずれかの領域内に閉じた丸印が記入されている場合(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 area 2b corresponding to "yes", it is judged as an affirmative vote, and if a closed circle is filled in the area 2c corresponding to "opposite" It is determined that the vote is negative.

最後に、分類部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 theme determination unit 30 in step S205, the voting theme determined by the second theme determination unit 40 in step S212, and the described content determination in steps S217 to S223. Based on the description content determined by the section 50, the classified voter's ballot paper 2 is classified as a white vote, an invalid vote, a question vote, a positive vote or an negative vote for each voting theme (S224).

なお、ステップS224において、第1テーマ判別部30によって判別された投票テーマと、第2テーマ判別部40によって判別された投票テーマとが異なる場合には、当該分類対象の国民投票用紙2は、分類不能な混入票であるとみなしてリジェクトする。   If the voting theme determined by the first theme determination unit 30 is different from the voting theme determined by the second theme determination unit 40 in step S224, the national voting paper 2 of the classification target is classified Reject it as an impossible mixed vote.

分類モードにおいて行われる以上の処理によって、分類対象の国民投票用紙2を、各投票テーマについて、白票、無効票、疑問票、賛成票または反対票のいずれかに分類することができる。そして、先述したように、この実施の形態では、第1の投票テーマ(「● □□の廃止について」)における賛成票、反対票、白票、無効票・疑問票は、本体1のスタッカ6a〜6dにそれぞれ収容され、第2の投票テーマ(「● △△△の明記について)における賛成票、反対票、白票、無効票・疑問票は、拡張スタッカユニット8の拡張スタッカ10a〜10dにそれぞれ収容される。   By the above processing performed in the classification mode, it is possible to classify the national ballot paper 2 to be classified into any of white votes, invalid votes, question votes, and positive or negative votes for each voting theme. And, as mentioned above, in this embodiment, the affirmative vote, the negative vote, the white vote, the invalid vote and the question vote in the first voting theme (“About the abolition of ● □□”) 6d, and in the second voting theme (for the description of “● 明 記”), the affirmative vote, the negative vote, the white vote, the invalid votes and the questionnaires are respectively received in the extended stackers 10a to 10d of the extended stacker unit 8 Be done.

以上説明したように、この発明の実施の形態に係る分類装置は、第1投票テーマ判別部30と、第2投票テーマ40と、記載内容判別部50と、分類部60とを備えている。   As described above, the classification device according to the embodiment of the present invention includes the first voting theme determination unit 30, the second voting theme 40, the written content determination unit 50, and the classification unit 60.

第1投票テーマ判別部30は、国民投票用紙2の色情報に基いて、当該国民投票用紙2の投票テーマを判別する。第2投票テーマ判別部40は、国民投票用紙2の記入面の画像情報に基いて、当該国民投票用紙2の投票テーマを判別する。記載内容判別部50は、国民投票用紙2の記入面の画像情報に基いて、当該国民投票用紙2の記載内容を判別する。   The first voting theme determination unit 30 determines a voting theme of the referendum sheet 2 based on color information of the referendum sheet 2. The second voting theme determination unit 40 determines the voting theme of the referendum sheet 2 based on the image information of the entry surface of the referendum sheet 2. The written content determination unit 50 determines the written content of the referendum sheet 2 based on the image information of the entry surface of the referendum sheet 2.

分類部60は、第1投票テーマ判別部30によって判別された投票テーマ、および、第2投票テーマ判別部40によって判別された投票テーマ、並びに、記載内容判別部50によって判別された記載内容に基いて、国民投票用紙2を各投票テーマについて記載内容別に分類する。   The classification unit 60 is based on the voting theme determined by the first voting theme determination unit 30, the voting theme determined by the second voting theme determination unit 40, and the description content determined by the description content determination unit 50. The referendum ballot 2 is classified according to the content of each voting theme.

上記の特徴により、この発明の実施の形態に係る国民投票用紙の分類装置では、複数の投票テーマが混在している場合でも、複数の国民投票用紙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, plural referendum papers 2 can be classified at one time. In the above embodiment, an example is shown in which one expansion stacker unit 8 is connected to the main body 1, but a plurality of expansion stacker units 8 can also be connected to the main body 1. Therefore, it is possible to cope with a large number of voting themes by increasing the number of the extended stacker units 8 to be connected.

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.
前記第2の判別部は、前記画像情報から投票テーマが印刷された投票テーマ領域を抽出し、該投票テーマ領域から生成される画素情報または文字情報のいずれかまたは両方に基いて、前記投票テーマを判別し、
前記第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.
JP2017184633A 2017-09-26 2017-09-26 Referendum classification device Active JP6568561B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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