JP6493984B2 - Tax-exempt document data generation device using passport information, tax-exempt document creation system, and tax-exempt document creation method. - Google Patents

Tax-exempt document data generation device using passport information, tax-exempt document creation system, and tax-exempt document creation method. Download PDF

Info

Publication number
JP6493984B2
JP6493984B2 JP2016133720A JP2016133720A JP6493984B2 JP 6493984 B2 JP6493984 B2 JP 6493984B2 JP 2016133720 A JP2016133720 A JP 2016133720A JP 2016133720 A JP2016133720 A JP 2016133720A JP 6493984 B2 JP6493984 B2 JP 6493984B2
Authority
JP
Japan
Prior art keywords
data
reading
document
image data
text data
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.)
Active
Application number
JP2016133720A
Other languages
Japanese (ja)
Other versions
JP2018005694A (en
Inventor
喜大 中西
喜大 中西
Original Assignee
株式会社近畿システムサービス
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 株式会社近畿システムサービス filed Critical 株式会社近畿システムサービス
Priority to JP2016133720A priority Critical patent/JP6493984B2/en
Publication of JP2018005694A publication Critical patent/JP2018005694A/en
Application granted granted Critical
Publication of JP6493984B2 publication Critical patent/JP6493984B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、パスポートの記載情報を利用して、輸出免税物品購入記録票や購入者誓約書などの免税書類を作成するためのデータを容易に生成することができる免税書類用データ生成装置、これを用いた免税書類作成システム、および免税書類作成方法に関する。   The present invention relates to a data generation apparatus for tax-exempt documents that can easily generate data for creating tax-exempt documents such as export duty-free article purchase record slips and purchase pledges using the information described in the passport, and The present invention relates to a tax exemption document creation system and a tax exemption document creation method.

事業者が日本国内で商品等を販売する場合には、原則として消費税が課税される。しかし販売が輸出取引に当たる場合には、消費税が免除される。たとえば、海外から日本国に来ている外国人旅行者等の非居住者が、輸出物品販売場(いわゆる免税店)で物品を購入する場合、一定の要件下で消費税が課されない。すなわち、外国人旅行者等が、みやげ品等として国外へ持ち帰る目的で、免税店で購入する一定の物品については、消費税が免除される。また上記の他、海外旅行等で日本国を出国する居住者(海外旅行者)が出国の際に携帯する物品についても、所定の要件を満たす場合には免税(輸出免税)となる。   As a general rule, sales tax is levied when businesses sell products in Japan. However, the sales tax is exempted if the sale is an export transaction. For example, when non-residents such as foreign tourists who come to Japan from overseas purchase goods at an export goods store (so-called duty-free shop), no consumption tax is imposed under certain requirements. In other words, consumption tax is exempted for certain goods purchased at duty-free shops for the purpose of bringing foreign tourists, etc. out of the country as souvenirs. In addition to the above, goods carried by a resident (overseas traveler) who departs from Japan on an overseas trip or the like are also exempted (export tax exemption) if they meet certain requirements.

輸出物品販売場の事業者が非居住者に免税物品を販売する際には、所定の手続きが必要である。すなわち事業者は、購入者(非居住者)から提示されるパスポート等に記載された購入者に関する情報(上陸年月日,パスポート種類,パスポート番号,国籍,購入年月日,購入者氏名及び生年月日)、事業者自身に関する情報(所轄税務署,納税地,販売場所在地及び販売者氏名)、および購入に関する情報(購入の事実および購入物品の品名,数量及び単価等)を記載した輸出免税物品購入記録票を作成し、これをパスポート等に貼り付けて割り印を押さなければならない。
さらに事業者は、購入物品を購入者が後で国外に持ち帰る事を誓約した購入者誓約書を同購入者に作成させて受け取るとともに、受け取った購入者誓約書を、販売した日の属する課税期間の末日の翌日から2か月を経過した日から7年間保存しなくてはならない。
When a business operator in an export goods sales area sells tax-free goods to non-residents, a predetermined procedure is required. In other words, the business operator must provide information on the purchaser (landing date, passport type, passport number, nationality, purchase date, purchaser's name and year of birth) described in the passport presented by the purchaser (non-resident). Export duty-free goods that include information on the company itself (the jurisdiction tax office, tax payment area, sales location and name of the seller), and information on purchases (purchasing facts, product name, quantity, unit price, etc.) You must create a purchase record slip, paste it on your passport, etc. and press the tally.
In addition, the business operator receives the purchase pledge that the purchase pledged that the purchaser will take home abroad later, and receives the purchase pledge received from the date of sale. It must be stored for 7 years from the day after 2 months from the day after the last day.

ところで、上述した輸出免税物品購入記録票及び購入者誓約書を手作業で作成するには手間がかかるので、これらの作成を機械的に行うことが従来提案されている。例えば、特許文献1には、パスポートに貼付された上陸許可証の二次元コードを読み取って、輸出免税物品購入記録票及び購入者誓約書を作成するシステムが記載されている。このシステムは、コンピュータと2次元コードリーダとプリンタとを備え、2次元コードリーダによってパスポートに表示された2次元コードを読み取って個人データを取得し、所轄税務署、納税地、販売者氏名・名称を含む追加データを入力して、輸出免税物品購入記録票及び購入者誓約書を印刷する。
また特許文献2には、パスポートの記載情報を機械的に読み取る手段として、パスポートの機械可読の書式で記載された旅券情報をOCR(光学文字認識)で読み取り、読み取った情報から個人データを取得するハンドヘルドポータブルデバイスが記載されている。
さらに特許文献3には、パスポートではなく免許証を利用する技術であるが、免許証に記載された免許証番号および有効期限についてはOCRで読み取った情報を使用し、氏名および住所については免許証における氏名領域および住所領域の文字画像を利用して、書類を作成するシステムが記載されている。
なお、輸出免税物品購入記録票及び購入者誓約書については、たとえば非特許文献1などに記載されている。
By the way, since it takes time to manually create the above-described export duty-free article purchase record slip and purchase pledge, it has been conventionally proposed to create these mechanically. For example, Patent Document 1 describes a system that reads a two-dimensional code of a landing permit affixed to a passport and creates an export duty-free article purchase record slip and a purchase pledge. This system is equipped with a computer, a 2D code reader, and a printer. The 2D code reader reads the 2D code displayed on the passport to obtain personal data, and the local tax office, tax payment area, seller name and name are specified. Enter additional data including, and print export duty-free article purchase record and purchase pledge.
In Patent Document 2, as a means for mechanically reading passport information, passport information described in a passport machine-readable format is read by OCR (optical character recognition), and personal data is obtained from the read information. A handheld portable device is described.
Furthermore, Patent Document 3 is a technology that uses a license instead of a passport, but uses the information read by OCR for the license number and expiration date written on the license, and the license for the name and address Describes a system for creating a document using character images in the name area and address area.
Note that the export duty-free article purchase record slip and purchase pledge are described in Non-Patent Document 1, for example.

特開2014−32441号公報JP 2014-32441 A 特表2012−528379号公報Special table 2012-528379 gazette 特開2012−73827号公報JP 2012-73827 A

「外国人旅行者等への消費税免税販売制度について」(観光庁・経済産業省発行)<URL:http://www.kanto.meti.go.jp/seisaku/ryutsu/data/20140527menzei_shiryo1.pdf>,[2016年5月5日検索]“Consumption tax exemption sales system for foreign tourists” (issued by the Japan Tourism Agency / Ministry of Economy, Trade and Industry) <URL: http: // www. kanto. meti. go. jp / seisaku / ryutsu / data / 20140527menzei_shiryo. pdf>, [May 5, 2016 search]

パスポートに記載された文字情報を利用して輸出免税物品購入記録票や購入者誓約書などの免税書類を作成する従来のシステムは、パスポートの文字情報を機械的に読み取ることが可能であることを前提としている。しかしながら実際には、悪い印刷品質のために文字の鮮明度が低かったり、パスポートの表面が汚れた状態であったりしたときは、記載されている文字をOCR機能で正しく認識するのが困難な場合がある。   The conventional system that creates tax-exempt documents such as export duty-free article purchase record slips and purchase pledges using the text information written in the passport is able to mechanically read the passport text information. It is assumed. However, in reality, when the character is not clear due to poor print quality or the surface of the passport is dirty, it is difficult to correctly recognize the written characters using the OCR function. There is.

特許文献1のシステムは、上陸許可証の2次元コードを利用するものであり、パスポート自体の記載情報を読み取る技術ではないため、前記従来の課題に対処できない。
特許文献2のデバイスは、パスポートの文字情報をOCRで認識できなかった場合について考慮していない。
特許文献3のシステムは、書類作成の一部に文字画像を利用するが、他の部分についてはOCRで読み取った情報を使用するものであり、やはり文字情報をOCRで認識できなかった場合について考慮していない。
Since the system of Patent Document 1 uses a two-dimensional code of a landing permit and is not a technique for reading description information of a passport itself, it cannot cope with the conventional problem.
The device of Patent Document 2 does not consider the case where passport character information cannot be recognized by OCR.
The system of Patent Document 3 uses character images for part of document creation, but uses information read by OCR for other parts, and also considers the case where character information could not be recognized by OCR. Not done.

本発明は前記従来技術の問題点を解決すべく創案されたものである。本発明の目的は、パスポートに記載の文字情報をOCRなどで機械的に読み取れなかった場合でも、輸出免税物品購入記録票や購入者誓約書等の免税書類を容易に作成することを可能にする手段を提供することである。また本発明の他の目的は、免税店などにおける免税書類作成の効率化を図ることである。   The present invention was devised to solve the problems of the prior art. An object of the present invention is to make it possible to easily create tax-exempt documents such as export duty-free article purchase record slips and purchase pledges even when character information described in a passport cannot be mechanically read by OCR or the like. Is to provide a means. Another object of the present invention is to improve the efficiency of creating tax-free documents in a duty-free shop.

請求項1に係る本発明は、パスポートに記載される少なくとも国情報を含む文字情報を利用して、免税書類を作成するための書類用データを生成する装置であって、
文字情報を光学的に読み取って文字イメージデータを取得する読取手段と、
取得した文字イメージデータを表示する表示手段と、
文字イメージデータを加工して加工イメージデータを作成するイメージデータ加工手段と、
文字イメージデータから文字情報を読み取ってテキストデータを生成するテキストデータ生成手段と、
加工イメージデータおよびテキストデータと、作成する書類のための書類様式データとが保存される第1記憶手段と、
加工イメージデータおよびテキストデータの少なくとも一方と、書類様式データとを用いて、書類用データを生成する書類用データ生成手段と、
読取手段、表示手段、イメージデータ加工手段、テキストデータ生成手段、第1記憶手段および書類用データ生成手段の各動作を制御するための制御プログラム並びに制御用データと、テキストデータの読取成功率に基づいて国情報別に割り当てた国別読取実績値のデータと、テキストデータの平均読取成功率に基づいて設定される読取基準値のデータとが保存される第2記憶手段と、
第2記憶手段の各プログラムおよび各データを用いて前記各手段の動作を制御する制御手段と、
書類作成に必要なデータを入力するための入力手段とを備え、
制御手段は、
読取手段が取得した文字イメージデータから、テキストデータ生成手段によって有効なテキストデータが生成された場合には、このテキストデータを用いて、所要項目が記録された書類用データを書類用データ生成手段によって生成し、
読取手段が取得した文字イメージデータから、テキストデータ生成手段によって有効なテキストデータが生成されない場合には、該テキストデータから読み取れた国情報または入力手段によって入力した国情報に対して割り当てられる国別読取実績値を、読取基準値と比較し、
国別読取実績値が読取基準値以上と判定されたときは、読取手段による文字情報の再読み取りを行うように設定され、
国別読取実績値が読取基準値未満と判定されたときは、表示手段によって文字イメージデータを表示させ、
表示された文字イメージデータの文字表示を使用するときは、イメージデータ加工手段によって文字イメージデータを加工して作成した加工イメージデータを用いて、所要項目が記録された書類用データを書類用データ生成手段によって生成し、
表示された文字イメージデータの文字表示を使用しないときは、所要項目が手書きによって記入される書類の書類用データを、書類用データ生成手段によって生成することを特徴とする、パスポート情報を利用した免税書類用データ生成装置である。
The present invention according to claim 1 is an apparatus for generating document data for creating a tax-exempt document using character information including at least country information described in a passport,
Reading means for optically reading character information to obtain character image data;
Display means for displaying the acquired character image data;
Image data processing means for processing character image data to create processed image data;
Text data generation means for reading text information from text image data and generating text data;
First storage means for storing processed image data and text data, and document format data for a document to be created;
Document data generation means for generating document data using at least one of the processed image data and text data, and document format data;
Based on the control program and control data for controlling the operations of the reading means, display means, image data processing means, text data generation means, first storage means and document data generation means, and the text data reading success rate Second storage means for storing country-specific reading performance value data assigned by country information and reading reference value data set based on an average reading success rate of text data;
Control means for controlling the operation of each means using each program and each data in the second storage means;
And input means for inputting data necessary for document creation,
The control means
When valid text data is generated by the text data generation unit from the character image data acquired by the reading unit, the document data in which the required items are recorded is converted by the document data generation unit using the text data. Generate and
When valid text data is not generated by the text data generation means from the character image data acquired by the reading means, the country-specific reading assigned to the country information read from the text data or the country information input by the input means Compare the actual value with the reading reference value,
When it is determined that the country-specific reading result value is equal to or higher than the reading reference value, the reading information is set to be read again by the reading means,
When it is determined that the country-specific reading result value is less than the reading reference value, the character image data is displayed by the display means,
When using the character display of the displayed character image data, use the processed image data created by processing the character image data with the image data processing means to generate the document data with the required items recorded Generated by means,
Tax exemption using passport information, characterized by generating document data for documents in which required items are written by hand when the character display of displayed character image data is not used. This is a document data generation device.

請求項2に係る本発明は、前記装置において、読取手段が取得した文字イメージデータにおける黒地割合を計測する黒地割合計測手段をさらに備え、制御手段が、上記黒地割合を、あらかじめ定めた基準割合値と比較して、テキストデータの使用可能性を判定する、パスポート情報を利用した免税書類用データ生成装置である。 According to a second aspect of the present invention, the apparatus further comprises black background ratio measuring means for measuring a black background ratio in the character image data acquired by the reading means, and the control means sets the black background ratio to a predetermined reference ratio value. This is a data generation apparatus for tax-exempt documents using passport information, which determines the availability of text data as compared with the above.

請求項3に係る本発明は、前記装置において、読取手段が取得した文字イメージデータにおける文字を構成している線幅を計測する線幅計測手段をさらに備え、制御手段が、上記線幅を、あらかじめ定めた線幅基準値と比較して、テキストデータの使用可能性を判定する、パスポート情報を利用した免税書類用データ生成装置である。 The present invention according to claim 3 further comprises line width measuring means for measuring a line width constituting a character in the character image data acquired by the reading means in the apparatus, wherein the control means This is a tax-exempt document data generation device using passport information that determines the availability of text data in comparison with a predetermined line width reference value.

請求項4に係る本発明は、請求項1−3のいずれか1つに記載の免税書類用データ生成装置と、免税書類用データ生成装置が生成した書類用データに基づいて免税書類を印刷するプリンタとを含むことを特徴とするパスポート情報を利用した免税書類作成システムである。 The present invention according to claim 4 prints the tax-exempt document based on the document data generated by the tax-exempt document data generating device according to any one of claims 1-3 and the tax-exempt document data generating device. A tax-exempt document creation system using passport information characterized by including a printer.

請求項5に係る本発明は、パスポートに記載される文字情報を利用して、免税書類を作成する方法であって、
A)読取手段を用いて、パスポートの文字情報を光学的に読み取って文字イメージデータを取得する工程、
B)テキストデータ生成手段を用いて、取得した文字イメージデータからテキストデータを生成する工程、
C)テキストデータ生成手段によって有効なテキストデータが生成された場合に、書類用データ生成手段を用いて、このテキストデータとあらかじめ準備した書類様式データとに基づき、所要項目が記録された書類用データを生成する工程、
D)テキストデータ生成手段によって有効なテキストデータが生成されない場合に、該テキストデータから読み取れた国情報または入力手段によって入力した国情報に対し、テキストデータの読取成功率に基づいて割り当てられる国別読取実績値を、テキストデータの平均読取成功率に基づいて設定される読取基準値と比較する工程、
E)制御手段によって、国別読取実績値が読取基準値以上と判定されたときは、読取手段による文字情報の再読み取りを行う工程、
F)国別読取実績値が読取基準値未満のときは、表示手段によって文字イメージデータを表示させる工程、
G)イメージデータ加工手段によって文字イメージデータを加工して作成した加工イメージデータを用いて、所要項目が記録された書類用データを書類用データ生成手段によって生成するか。または、
H)所要項目が手書きによって記入される書類の書類用データを、書類用データ生成手段によって生成する工程、
I)プリンタを用いて、生成された書類用データに基づき、免税書類を印刷する工程、
を含むことを特徴とするパスポート情報を利用した免税書類作成方法である。
The present invention according to claim 5 is a method for creating a tax exemption document using character information described in a passport,
A) Step of obtaining character image data by optically reading passport character information using a reading means;
B) generating text data from the acquired character image data using text data generating means;
C) Document data in which necessary items are recorded based on the text data and the document form data prepared in advance using the document data generation means when valid text data is generated by the text data generation means. Generating a process,
D) Country-specific reading assigned to the country information read from the text data or the country information input by the input means based on the reading success rate of the text data when valid text data is not generated by the text data generation means Comparing the actual value with a reading reference value set based on the average reading success rate of the text data;
E) When the control means determines that the country-specific reading result value is equal to or higher than the reading reference value, the step of re-reading the character information by the reading means;
F) a step of displaying character image data by the display means when the country-specific reading result value is less than the reading reference value;
G) Whether document data in which required items are recorded is generated by the document data generation unit using the processed image data created by processing the character image data by the image data processing unit. Or
H) A step of generating document data of a document in which required items are written by hand by the document data generating means;
I) a step of printing a tax-exempt document based on the generated document data using a printer;
This is a tax exemption document creation method using passport information.

請求項6に係る本発明は、前記方法において、テキストデータ生成手段が生成したテキストデータの使用可能性を判定する工程をさらに含み、上記使用可能性の判定は、文字イメージデータにおける黒地割合、または、文字イメージデータにおける文字を構成している線幅の少なくとも一方に基づいてなされる、パスポート情報を利用した免税書類作成方法である。 The present invention according to claim 6 further includes the step of determining the availability of the text data generated by the text data generating means in the method, wherein the determination of the availability is a black background ratio in the character image data, or This is a tax exemption document creation method using passport information, which is made based on at least one of line widths constituting characters in character image data.

請求項1に記載の本発明に係る免税書類用データ生成装置(以下、「本発明装置」という)によれば、読取手段によってパスポートに記載される文字情報を光学的に読み取って取得した文字イメージデータから、テキストデータ生成手段によって有効なテキストデータが生成された場合には、このテキストデータを用いて、所要項目が記録された書類用データを書類用データ生成手段によって生成し、有効なテキストデータが生成されない場合には、国情報に対して割り当てられる国別読取実績値と読取基準値とを比較し、国別読取実績値が読取基準値以上と判定されたときは読取手段による文字情報の再読み取りを行い、国別読取実績値が読取基準値未満と判定されたときは、表示手段によって文字イメージデータを表示させ、表示された文字イメージデータの文字表示が使用可能なときは、加工イメージデータを用いて書類用データを生成し、文字イメージデータの文字表示が使用困難なときは、手書き用の書類用データを生成する。   According to the tax-exempt document data generation device (hereinafter referred to as “the device of the present invention”) according to the first aspect of the present invention, the character image obtained by optically reading the character information described in the passport by the reading means. If valid text data is generated from the data by the text data generating means, the text data is used to generate document data in which the required items are recorded by the document data generating means. Is not generated, the country-specific reading actual value assigned to the country information is compared with the reading reference value. If the country reading actual value is determined to be greater than or equal to the reading reference value, the character information of the reading means is read. When re-reading is performed and it is determined that the country-specific reading record value is less than the reading reference value, the character image data is displayed by the display means. When character display of the character image data is available, using the processing image data to generate document data, character display character image data when it difficult to use generates document data for handwriting.

したがって本発明装置は、パスポートに記載された文字情報からテキストデータの生成に成功したときには、従来と同様に、このテキストデータを用いて書類用データを生成することができる。
有効なテキストデータが生成されない場合、本発明装置は、文字イメージデータを利用して書類用データを生成するが、文字イメージデータの利用に先立ち、表示手段によって文字イメージデータを表示させ、表示された文字イメージデータの文字表示状態を確認する。そして文字表示が使用可能であると判断されたときは、文字イメージデータから所要領域を切り出すなどの加工を施した加工イメージデータを用いて書類用データを生成する。表示させた文字イメージデータの文字表示が使用困難であると判断されたときは、文字イメージデータの使用を中止して、手書き用の書類用データを生成する。
Therefore, when the text data is successfully generated from the character information described in the passport, the device of the present invention can generate the document data using the text data as in the conventional case.
If valid text data is not generated, the device of the present invention generates document data using the character image data. Prior to using the character image data, the display device displays the character image data. Check the character display status of the character image data. When it is determined that the character display can be used, the document data is generated using the processed image data that has been processed such as cutting out a required area from the character image data. When it is determined that the character display of the displayed character image data is difficult to use, the use of the character image data is stopped and handwritten document data is generated.

したがって本発明装置によれば、テキストデータを使用できないときでも、パスポートの情報を正確に反映させた免税書類を容易に作成することが可能であるから、手書きにより免税書類を作成する比率を減少させることができる。 Therefore, according to the apparatus of the present invention, even when text data cannot be used, it is possible to easily create a tax-exempt document that accurately reflects the information of the passport. be able to.

また、本発明装置は、文字イメージデータを利用するにあたり、その文字表示が使用可能であるときのみ文字イメージデータを利用し、文字イメージデータの文字表示が使用に適していないときは、これを使用しない手書き用の書類用データを作成するから、適正な免税書類用データを確実に生成することができ、不鮮明あるいは判読不能な文字表示を含む免税書類が誤って作成されるのを回避することができる。 In addition, when using the character image data, the device of the present invention uses the character image data only when the character display is usable, and uses the character image data when the character display of the character image data is not suitable for use. Since the data for handwritten documents is not created, it is possible to reliably generate proper data for tax-exempt documents, and to avoid accidentally creating tax-exempt documents that contain unclear or unreadable text display. it can.

さらに、あらかじめ国情報に対して割り当てられる国別読取実績値と読取基準値とを比較して、パスポートの文字情報の読取可能性を判定し、読取可能性が高い国であると判定されたきには文字情報の再読み取りを実行して、テキストデータの使用可能性を向上させ、文字情報の読取可能性が低い国と判定されたときには、文字イメージデータを利用する処理を進行させるので、免税書類の作成効率を向上させることができる。   Furthermore, the country-specific reading result value assigned to the country information is compared with the reading reference value to determine the readability of the passport character information, and it is determined that the country has a high readability. Performs re-reading of character information to improve the availability of text data, and if it is determined that the country has low readability of character information, it will proceed with the process of using character image data, so tax-exempt documents The creation efficiency can be improved.

すなわち本発明は、パスポート情報の読取容易性について、発行国により違いがあることに着目し、テキストデータ生成の成功可能性が低いと評価される国については、パスポート情報の文字イメージデータの使用を優先させることで、書類用データ生成の効率化を図ることができる。   That is, the present invention pays attention to the fact that there is a difference in the readability of passport information depending on the issuing country, and the use of the character image data of the passport information is used for a country that is evaluated as having a low possibility of successful text data generation. By giving priority, it is possible to improve the efficiency of document data generation.

要するに本発明装置は、免税書類用データの生成に当たり、パスポートの表示状態に関し、
1)文字情報を読み取って有効なテキストデータを生成できる場合、
2)有効なテキストデータを生成できないが文字イメージデータを使用可能な場合、
3)文字イメージデータの使用が困難な場合、
に分類し、各場合に合わせた適切な手法を採用するので、効率的な免税書類用データの生成が可能である。
In short, the device of the present invention relates to the display state of the passport in generating the tax exemption data.
1) When valid text data can be generated by reading character information,
2) When valid text data cannot be generated but character image data can be used,
3) If character image data is difficult to use,
And adopting an appropriate method according to each case, it is possible to efficiently generate data for tax-exempt documents.

請求項2に係る本発明装置によれば、読取手段が取得した文字イメージデータにおける黒地割合を計測する黒地割合計測手段をさらに備え、この黒地割合を、あらかじめ定めた基準割合値と比較して、テキストデータの使用可能性を判定する。したがって、黒字割合が基準割合値より高くて、誤変換を多く含む蓋然性が高いテキストデータの使用を回避できるから、誤記を含む免税書類用データが生成される可能性を低くすることができる。   According to the second aspect of the present invention, the apparatus further comprises black background ratio measuring means for measuring the black background ratio in the character image data acquired by the reading means, and this black background ratio is compared with a predetermined reference ratio value, Determine the availability of text data. Therefore, since it is possible to avoid the use of text data having a high surplus ratio higher than the reference ratio value and a high probability of including erroneous conversion, it is possible to reduce the possibility of generating data for tax-exempt documents including erroneous entries.

請求項3に係る本発明装置によれば、読取手段が取得した文字イメージデータにおける文字の線幅を計測する線幅計測手段をさらに備え、この線幅を、あらかじめ定めた線幅基準値と比較して、テキストデータの使用可能性を判定する。したがって、線幅計測値が線幅基準値の許容範囲を超えていて、誤変換を多く含む蓋然性が高いテキストデータの使用を回避できるから、誤記を含む免税書類用データが生成される可能性を低くすることができる。   According to the third aspect of the present invention, the apparatus further comprises line width measuring means for measuring the line width of the character in the character image data acquired by the reading means, and compares the line width with a predetermined line width reference value. Then, the availability of the text data is determined. Therefore, it is possible to avoid the use of text data whose line width measurement value exceeds the allowable range of the line width reference value and is likely to contain many erroneous conversions. Can be lowered.

請求項4に記載の本発明に係る免税書類作成システム(以下、「本発明システム」という)によれば、前述の免税書類用データ生成装置が生成した書類用データに基づいて、プリンタによって免税書類を印刷するから、免税書類を容易に作成することができる。 According to the tax exemption document creation system according to the present invention as set forth in claim 4 (hereinafter referred to as “the present invention system”), the tax exemption document is generated by the printer based on the document data generated by the above-described tax exemption document data generation device. Because it is printed, tax-exempt documents can be created easily.

請求項5に記載の本発明に係る免税書類作成方法(以下、「本発明方法」という)は、パスポートの文字情報を利用して免税書類を作成するにあたり、読取手段で読み取った文字イメージデータから有効なテキストデータを生成することができたときには、このテキストデータを用いて、書類用データを生成し、有効なテキストデータが生成されない場合には、国情報に対し割り当てられる国別読取実績値を、テキストデータの平均読取成功率に基づいて設定される読取基準値と比較し、国別読取実績値が読取基準値以上のときは文字情報の再読み取りを行い、国別読取実績値が読取基準値未満のときは、表示手段によって文字イメージデータを表示させ、この文字イメージデータの文字表示が使用可能なときは、これを加工して作成した加工イメージデータを用いて書類用データを生成し、文字イメージデータの文字表示が使用困難なときは、手書き用の書類用データを生成し、これら書類用データに基づき、プリンタで免税書類を印刷する。   The tax exemption document creation method according to the present invention described in claim 5 (hereinafter referred to as “the present invention method”) is based on the character image data read by the reading means when preparing the tax exemption document using the character information of the passport. When valid text data can be generated, document data is generated using this text data. If valid text data is not generated, the country-specific reading actual value assigned to the country information is set. Compared with the reading reference value set based on the average reading success rate of text data, if the country reading actual value is greater than or equal to the reading reference value, the character information is read again, and the country reading actual value is the reading reference When the value is less than the value, the character image data is displayed by the display means, and when the character display of this character image data can be used, it is processed and added. It generates document data using an image data, when the character display of the character image data is difficult to use generates document data for handwriting, on the basis of these documents for data, to print the exemption documents in the printer.

したがって、本発明方法によれば、パスポートの文字情報から有効なテキストデータを生成できない場合でも、文字イメージデータを利用して免税書類用データを生成することが可能であるから、手書きにより免税書類を作成する比率を減少させることができる。 Therefore, according to the method of the present invention, even when valid text data cannot be generated from the character information of the passport, it is possible to generate the data for the tax exemption document using the character image data. The ratio to be created can be reduced.

また本発明方法は、免税書類用データの生成に当たり、パスポートの表示状態に関し、1)文字情報を読み取って有効なテキストデータを生成できる場合、
2)有効なテキストデータを生成できないが文字イメージデータを使用可能な場合、
3)文字イメージデータの使用が困難な場合、に
分類し、各場合に合わせた適切な手法を採用するので、効率的な免税書類用データの生成が可能である。
Further, the method of the present invention relates to the display state of the passport when generating the tax exemption document data. 1) When the text information can be read to generate valid text data,
2) When valid text data cannot be generated but character image data can be used,
3) Since it is classified into cases where it is difficult to use character image data, and an appropriate method is adopted according to each case, it is possible to efficiently generate data for tax-exempt documents.

さらにまた本発明方法は、文字イメージデータを利用するにあたり、その文字表示が使用可能であるときのみ文字イメージデータを利用するから、適正な免税書類用データを確実に生成することができ、不鮮明あるいは判読不能な文字表示を含む免税書類が作成されるのを回避することができる。 Furthermore, since the method of the present invention uses the character image data only when the character display can be used when using the character image data, it is possible to reliably generate appropriate tax-exempt document data, It is possible to avoid the creation of tax-exempt documents that contain unreadable characters.

請求項6に係る本発明方法によれば、テキストデータの使用可能性を、文字イメージデータにおける黒地割合、または、文字を構成している線幅の少なくとも一方に基づいて判定する。したがって、黒字割合または線幅計測値が許容範囲を超えていて、誤変換を多く含む蓋然性が高いテキストデータの使用を回避できるから、誤記を含む免税書類用データが生成される可能性を低くすることができる。 According to the method of the present invention according to claim 6, the availability of the text data is determined based on at least one of the black background ratio in the character image data or the line width constituting the character. Therefore, it is possible to avoid the use of text data that has a high probability of surplus or line width measurement and is likely to contain many erroneous conversions, thus reducing the possibility of generating data for tax-exempt documents that contain errors. be able to.

本発明システム(免税書類作成システム)の一実施形態を示すものであって、図(a)は本発明装置(免税書類用データ生成装置)によってパスポートの文字情報を読み取る状況を示す斜視図、図(b)は本発明装置に追加データを入力する状況を示す斜視図、図(c)は本発明装置からプリンタへ免税書類用データを送信して、免税書類を印刷して作成する状況を示す斜視図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 shows an embodiment of a system of the present invention (tax-free document creation system), and FIG. 1A is a perspective view showing a situation where character information of a passport is read by the apparatus of the present invention (data generation device for tax-exempt documents). (B) is a perspective view showing a situation where additional data is input to the apparatus of the present invention, and FIG. (C) shows a situation where the tax exemption document data is transmitted from the apparatus of the present invention to the printer and the tax exemption document is printed and created. It is a perspective view. 図(a)はパスポートにおける身分事項ページの一例を概略的に示す正面図、図(b)は旅券情報記載欄を取り出して示す図である。FIG. 4A is a front view schematically showing an example of an identification page in a passport, and FIG. 4B is a view showing a passport information description column. 免税書類の一例を概略的に示すものであって、図(a)は輸出免税物品購入記録票の正面図、図(b)は購入者誓約書の正面図である。FIG. 1 schematically shows an example of a tax exemption document, in which FIG. (A) is a front view of an export duty-free article purchase record slip, and FIG. (B) is a front view of a purchase pledge. 本発明システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of this invention system. 本発明方法の一実施形態を説明するフローチャートである。It is a flowchart explaining one Embodiment of the method of this invention. 本発明装置の表示部に表示される、黒字割合に基づく選択画面の一例を示すものであって、図(a)は黒地割合を表す数値と選択項目とが表示された状態、図(b)は推薦される選択項目が表示された状態を示すものである。An example of the selection screen based on the ratio of black characters displayed on the display unit of the device of the present invention is shown, in which FIG. (A) shows a state in which a numerical value indicating a black background ratio and selection items are displayed, FIG. Indicates a state in which recommended selection items are displayed. 発行国ごとの誤変換率データの一例を示す表である。It is a table | surface which shows an example of the error conversion rate data for every issuing country. 本発明装置の表示部に表示される、誤変換率に基づく選択画面の一例を示すものであって、図(a)は誤変換率を表す数値と選択項目とが表示された状態、図(b)は推薦される選択項目が表示された状態を示すものである。The example of the selection screen based on the erroneous conversion rate displayed on the display part of this invention apparatus is shown, Comprising: The figure (a) is the state in which the numerical value and selection item showing an erroneous conversion rate are displayed, figure ( b) shows a state in which recommended selection items are displayed.

以下、本発明の詳細を、実施形態を示す図面に基づいて説明する。はじめに、本発明システム1の構成および動作の概略について説明する。図1に示すように、本発明システム1は、本発明装置(免税書類用データ生成装置)2とプリンタ3とを備える。本発明装置2は、光学的に文字を読み取る読取部2A、データ入力するためのキーボードやタッチパネルなどの入力部2B、画像などを表示させるディスプレイなどの表示部2C、プリンタ3と無線通信するための通信部2E、および、本発明装置1に内蔵され、動作の制御やデータ処理などを行う処理部2D(図4参照)を有している。   Hereinafter, the details of the present invention will be described with reference to the drawings illustrating embodiments. First, an outline of the configuration and operation of the system 1 of the present invention will be described. As shown in FIG. 1, the system 1 of the present invention includes the apparatus (data generating apparatus for tax-exempt documents) 2 of the present invention and a printer 3. The device 2 of the present invention is for wirelessly communicating with a reading unit 2A for optically reading characters, an input unit 2B such as a keyboard or touch panel for inputting data, a display unit 2C such as a display for displaying images, and the printer 3. It has a communication unit 2E and a processing unit 2D (see FIG. 4) that is built in the device 1 of the present invention and controls operation, data processing, and the like.

本発明システム1は、図1(a)に示すように、本発明装置1の読取部2AによってパスポートPに記載された文字情報を読み取り、図1(b)に示すように、必要に応じ入力部2Bから追加データを入力するなどして免税書類用データを生成し、図1(c)に示すように、通信部2Eからプリンタ3へ免税書類用データを送信し、プリンタ3で、この免税書類用データに基づき印刷を行って免税書類4を作成する。 The system 1 of the present invention reads the character information written in the passport P by the reading unit 2A of the apparatus 1 of the present invention as shown in FIG. 1 (a), and inputs it as necessary as shown in FIG. 1 (b). Duty-free document data is generated by inputting additional data from the unit 2B, and the tax-exempt document data is transmitted from the communication unit 2E to the printer 3 as shown in FIG. A tax exemption document 4 is created by printing based on the document data.

図2(a)に示すように、本発明装置2の文字情報読取対象であるパスポートPの身分事項ページには、上段に所定の個人データが記載され、下段に、ICAO(国際民間航空機関)で国際標準化された44桁2行の英数字および記号から成る旅券情報が記載されている。本発明装置2は、OCRで下段の旅券情報記載欄Qを読み取って、テキストデータを生成する。ページ上段の個人データ情報の記載態様については、記載項目、レイアウトおよび使用文字などが、パスポート発行国により多少の相違を有しているのに対し、下段の旅券情報記載欄Qは、規格化されたOCR文字(OCR−B)を用いて記載され、発行国による記載態様の相違が少ない。したがって、下段の旅券情報記載欄Qを読取対象とすることによって読取間違いが起こりにくくなり、パスポートに記載の個人情報が正確に反映された書類用データを確実に生成することが可能になる。   As shown in FIG. 2 (a), the personal information page of the passport P, which is the character information reading target of the device 2 of the present invention, contains predetermined personal data in the upper row and ICAO (International Civil Aviation Organization) in the lower row. Passport information consisting of alphanumeric characters and symbols of 44 digits and two lines that are internationally standardized. The present invention device 2 reads the lower passport information description column Q by OCR, and generates text data. Regarding the description form of personal data information on the upper part of the page, the description items, layout, and characters used have some differences depending on the passport issuing country, whereas the passport information description column Q in the lower part is standardized. OCR characters (OCR-B) are used, and there are few differences in the description mode depending on the country of issue. Therefore, by making the lower passport information description column Q as a reading target, it becomes difficult for reading errors to occur, and it is possible to reliably generate document data in which the personal information described in the passport is accurately reflected.

なお図2(b)に示すように、パスポートPの旅券情報記載欄Qには、上側の行に、パスポート種類/発行国コード/姓/名が、下側の行には、パスポート番号/国籍/生年月日/有効期限がそれぞれ所定の書式で記載されている。 As shown in FIG. 2B, in the passport information entry column Q of the passport P, the upper row shows the passport type / issue country code / last name / first name, and the lower row shows the passport number / nationality. / Birth date / expiration date is described in a predetermined format.

本発明装置1から送信される免税書類用データに基づいて、プリンタ3により印刷される免税書類4は、本例では、図3(a)に示す輸出免税物品購入記録票4Aおよび図3(b)に示す購入者誓約書4Bである。輸出免税物品購入記録票4Aおよび購入者誓約書4Bに記録される事項のうち、パスポートPの旅券情報が用いられるのは、パスポート種類、パスポート番号、国籍、氏名、および生年月日である。なお輸出免税物品購入記録票4Aには外に、所轄税務署、納税地、販売者名、販売者所在地、在留者資格、および上陸年月日が記録され、購入者誓約書4Bには外に、販売者氏名、在留資格、および上陸年月日が記録される。上陸年月日以外の項目はあらかじめ記入しておくことが可能な事項である。上陸年月日については、書類用データ作成時に別途入力するか、または自動入力されるように構成することができる。   In this example, the tax-exempt document 4 printed by the printer 3 based on the data for the tax-exempt document transmitted from the device 1 of the present invention is the export duty-free article purchase record slip 4A shown in FIG. This is the purchase pledge 4B shown in FIG. Of the items recorded on the export duty-free article purchase record slip 4A and purchase pledge 4B, passport P passport information is used for passport type, passport number, nationality, name, and date of birth. In addition, the export duty-free article purchase record sheet 4A records the jurisdiction tax office, tax payment area, merchant name, merchant location, resident status, and landing date. The merchant name, status of residence, and landing date are recorded. Items other than the date of landing are items that can be entered in advance. The landing date can be input separately when the document data is created, or can be configured to be automatically input.

次に、本発明装置2の構成を、図4を参照して、より詳細に説明する。図4に示すように、本発明装置2は、読取手段21を有する読取部2A、入力手段22を有する入力部2B、表示手段23を有する表示部2C、制御手段24を有する処理部2D、および、通信手段32を有する通信部2Eを備えている。上記のほか、図示は省略するが、二次電池などの電源部を備えることが望ましく、さらに、スピーカやブザーなどの音声出力部、ヴァイブレータなどの振動部、外部機器や外部記憶媒体との接続部などを備えてもよい。   Next, the configuration of the inventive device 2 will be described in more detail with reference to FIG. As shown in FIG. 4, the device 2 of the present invention includes a reading unit 2A having a reading unit 21, an input unit 2B having an input unit 22, a display unit 2C having a display unit 23, a processing unit 2D having a control unit 24, and The communication unit 2E having the communication means 32 is provided. In addition to the above, although not shown, it is desirable to have a power supply unit such as a secondary battery, and further, an audio output unit such as a speaker or a buzzer, a vibration unit such as a vibrator, a connection unit with an external device or an external storage medium Etc. may be provided.

読取手段21は、たとえばCCD式またはCIC(CMOS)式のイメージセンサが使用され、文字情報を文字イメージデータとして光学的に取得する機能を有する。入力手段22は、たとえばタッチパネル、キーボード、十字キーなどが使用され、本発明装置2を操作するための動作命令を与えたり、書類用データを作成するにあたりパスポートPから読み取ることができないデータを追加的に入力したり、さらには、文字イメージデータや書類用データを加工するための操作命令を入力するためのものである。表示手段23は、液晶パネル、有機ELパネルなどのディスプレイであり、本発明装置2を操作するための操作用メニューや、生成された文字イメージデータや書類用データなど、操作状況や処理状況に応じて必要な画像を表示させる。なお表示手段が、タッチパネルを兼ねることも可能である。 For example, a CCD type or CIC (CMOS) type image sensor is used as the reading means 21 and has a function of optically acquiring character information as character image data. The input means 22 uses, for example, a touch panel, a keyboard, a cross key, and the like, and gives data that cannot be read from the passport P when giving an operation command for operating the device 2 of the present invention or creating document data. And, further, an operation command for processing character image data and document data. The display means 23 is a display such as a liquid crystal panel, an organic EL panel, and the like according to an operation situation and a processing situation such as an operation menu for operating the device 2 of the present invention, generated character image data, and document data. Display the necessary images. The display means can also serve as a touch panel.

通信部2Eの通信手段32には、たとえば電波や赤外線などの電磁波を用いる無線通信装置が使用される。具体的には、無線LANやBluetooth(登録商標)などの公知の通信規格を採用することができるが、独自の通信規格を採用してもよい。プリンタ3にも、本発明装置2の通信手段32と相互通信可能な通信手段3Aが備えられる。プリンタ3は、本発明装置2から通信手段32を介して送信される印刷命令と書類用データとを受信し、免税書類4の印刷を実行する。なお、本発明装置2とプリンタ3とを有線接続することも可能である。 As the communication means 32 of the communication unit 2E, for example, a wireless communication device using electromagnetic waves such as radio waves and infrared rays is used. Specifically, a known communication standard such as a wireless LAN or Bluetooth (registered trademark) can be adopted, but an original communication standard may be adopted. The printer 3 is also provided with communication means 3A capable of mutual communication with the communication means 32 of the device 2 of the present invention. The printer 3 receives the print command and the document data transmitted from the apparatus 2 of the present invention through the communication unit 32 and executes the printing of the tax exemption document 4. It is also possible to wire-connect the device 2 of the present invention and the printer 3.

処理部2Dは、文字イメージデータを加工して加工イメージデータを作成するイメージデータ加工手段25、文字イメージデータから文字情報を読み取ってテキストデータを生成するテキストデータ生成手段26と、加工イメージデータおよびテキストデータと、作成する書類のための書類様式データとが保存される第1記憶手段30と、加工イメージデータおよびテキストデータの少なくとも一方と、書類様式データとを用いて、書類用データを生成する書類用データ生成手段27と、読取手段21、表示手段23、イメージデータ加工手段25、テキストデータ生成手段26、書類用データ生成手段27及び第1記憶手段30の各動作を制御するための制御プログラム並びに制御用データと、後述する国別読取実績値のデータ及び読取基準値のデータとが保存される第2記憶手段31と、第2記憶手段31の各プログラムおよび各データを用いて前記各手段の動作を制御する制御手段24とを備える。 The processing unit 2D includes an image data processing unit 25 that processes character image data to generate processed image data, a text data generation unit 26 that reads character information from the character image data and generates text data, and processed image data and text. Document for generating document data using first storage means 30 in which data and document format data for a document to be created are stored, at least one of processed image data and text data, and document format data Data generation means 27, a control program for controlling the operations of reading means 21, display means 23, image data processing means 25, text data generation means 26, document data generation means 27, and first storage means 30, and Control data, country-specific reading results data and reading base described later Includes a second storage unit 31 and the value of the data is stored, and a control unit 24 for controlling the operation of said respective means using each program and each data of the second storage means 31.

イメージデータ加工手段25による文字イメージデータの加工とは、読取手段21で取得した文字イメージデータの必要部分を切り出す処理や、切り出した部分を適当な大きさに寸法変更する処理などを指す。
テキストデータ生成手段26によるテキストデータの生成とは、OCR機能を用いて、文字イメージデータに含まれる各文字に対し文字コードを割り当てる処理を指し、割り当てられた文字コード群によってテキストデータが生成される。
The processing of the character image data by the image data processing means 25 refers to a process for cutting out a necessary part of the character image data acquired by the reading means 21 or a process for changing the size of the cut out part to an appropriate size.
The generation of text data by the text data generation means 26 refers to a process of assigning a character code to each character included in the character image data using the OCR function, and the text data is generated by the assigned character code group. .

第1記憶手段30に保存される書類様式データとは、たとえば図3に例示する輸出免税物品購入記録票4Aおよび購入者誓約書4Bの書類様式のデータであり、所轄税務署、納税地、販売者名、販売者所在地、在留者資格など、変更を要しない事項については、あらかじめ記録しておくことが可能である。 The document format data stored in the first storage means 30 is, for example, the document format data of the export duty-free article purchase record slip 4A and purchase pledge 4B illustrated in FIG. 3, and includes the jurisdiction tax office, tax payment place, seller Items that do not need to be changed, such as name, seller location, and resident status, can be recorded in advance.

第2記憶手段31には、テキストデータの生成処理に関する情報が、処理したパスポートの国情報と、ひも付けられて保存され、たとえば、全処理件数、テキストデータ生成の成功件数および不成功件数、ならびに、パスポートの発行国に関する国情報が、処理工程ごとに保存される。これらの情報はデータベース化してもよい。第2記憶手段31には、これらの情報に基づき算出または設定した国別読取実績値、読取基準値、処理判断基準値がさらに保存される。
国別読取実績値とは、文字イメージデータからテキストデータを生成する処理の成功率を、パスポートの発行国別に集計した数値であって、(国別読取実績値)=(特定国の成功件数)÷(特定国の全処理件数)×100として表される。
読取基準値とは、読み取った文字イメージデータが「テキスト生成不可」であるか、または「テキスト生成可能性あり」であるかを区別するために、国別読取実績値に対し設定される基準値である。この基準値は、たとえば(平均読取成功率)=(全成功件数)÷(全処理件数)×100として表される平均読取成功率に基づいて設定される。
処理判断基準値は、テキスト生成可能性ありと判断されたものについて、再度の読取処理を行うか、またはテキスト生成不可であると判定するかの判断を行うための基準値であって、(平均読取不成功率)=(全不成功件数)÷(全処理件数)×100で表される平均読取不成功率に対し設定される。
The second storage means 31 stores information related to the text data generation process in association with the country information of the processed passport, and stores, for example, the total number of processes, the number of successful and unsuccessful text data generations, and Country information regarding the passport issuance country is stored for each processing step. These pieces of information may be made into a database. The second storage unit 31 further stores country-specific reading results, reading reference values, and processing determination reference values calculated or set based on these pieces of information.
The country-reading actual value is a numerical value obtained by compiling the success rate of the process of generating text data from character image data by passport issuing country, (country-reading actual value) = (number of successful cases in a specific country) ÷ (Total number of transactions in a specific country) x 100.
The reading reference value is a reference value set for the actual reading value by country to distinguish whether the scanned character image data is “text cannot be generated” or “text can be generated”. It is. This reference value is set based on an average reading success rate expressed as (average reading success rate) = (total number of successful cases) / (total number of processed cases) × 100, for example.
The process determination reference value is a reference value for determining whether to perform a re-reading process or to determine that text generation is not possible for those determined to be possible to generate text. It is set for the average reading unsuccessful rate expressed by: (unsuccessful reading rate) = (total number of unsuccessful cases) / (total number of processed cases) × 100

なお第1記憶手段30および第2記憶手段31は、単一の記憶装置にこれら2つの手段の機能を備えるように構成することができるが、これらをそれぞれ別々の記憶装置で構成してもよい。   In addition, although the 1st memory | storage means 30 and the 2nd memory | storage means 31 can be comprised so that the function of these two means may be provided in a single memory | storage device, you may comprise these with a respectively separate memory | storage device. .

処理部2Dは、読取手段21が取得した文字イメージデータにおける黒地割合を計測する黒地割合計測手段28、および、文字イメージデータにおける文字を構成している線幅を計測する線幅計測手段29をさらに備え、これら黒地割合または線幅の計測値に基づいて、生成したテキストデータの使用可能性を判定するよう構成することも可能である。上記黒地割合計測手段28および線幅計測手段29については後述する。 The processing unit 2D further includes a black background ratio measuring unit 28 for measuring the black background ratio in the character image data acquired by the reading unit 21, and a line width measuring unit 29 for measuring the line width constituting the character in the character image data. It is also possible to configure such that the availability of the generated text data is determined based on the measurement value of the black background ratio or the line width. The black background ratio measuring means 28 and the line width measuring means 29 will be described later.

一般に、制御手段24はCPU(中央処理装置)で構成される。図4に示すように、制御手段24が、イメージデータ加工手段25、テキストデータ生成手段26、書類用データ生成手段27、黒地割合計測手段28および線幅計測手段29の各機能を備えるように構成することも可能である。 In general, the control means 24 is constituted by a CPU (Central Processing Unit). As shown in FIG. 4, the control unit 24 is configured to have the functions of an image data processing unit 25, a text data generation unit 26, a document data generation unit 27, a black background ratio measurement unit 28, and a line width measurement unit 29. It is also possible to do.

前記の如く構成される本発明装置2は、たとえば、株式会社キーエンス製ハンディターミナルBT−W85Tなどの、携帯可能なスキャナを用いて構成することができる。この種の携帯可能なスキャナは、重量が500g以下であることが好ましい。また、上記製品に対しては、プリンタ3として、特に限定されないが、例えば、東芝テック株式会社製、ポケットプリンタB−EP2DL−GF30−Rなどを用いることができる。   The present invention device 2 configured as described above can be configured by using a portable scanner such as Handy Terminal BT-W85T manufactured by Keyence Corporation. This type of portable scanner preferably has a weight of 500 g or less. Moreover, although it does not specifically limit as the printer 3 with respect to the said product, For example, Toshiba Tec Corporation make and pocket printer B-EP2DL-GF30-R etc. can be used.

続いて、本発明システム1によるパスポートの文字情報を利用した免税書類4の作成手順を、図5に示すフローチャートを参照して説明する。本発明に係る免税書類の作成方法は下記のステップを含む。 Next, the procedure for creating the tax exemption document 4 using the passport character information by the system 1 of the present invention will be described with reference to the flowchart shown in FIG. The tax exemption document creation method according to the present invention includes the following steps.

読取手段21を用いて、パスポートPの旅券情報記載欄Qを光学的に読み取って文字イメージデータを取得するスキャン処理を行う(S1)。文字イメージデータは、第1記憶手段30に保存される。スキャンは、2行の旅券情報を同時に読み取っても、1行ずつ読み取ってもよい。また、1行を1回のスキャンで読み取っても、1行を2回以上のスキャンで読み取るようにしてもよい。複数回のスキャンで読み取る場合には、各スキャンで重なる部分の読取データが重複しないように、制御手段24がデータ処理を行うことが望ましい。 Using the reading means 21, the passport information entry column Q of the passport P is optically read to perform a scanning process for acquiring character image data (S1). The character image data is stored in the first storage unit 30. The scanning may be performed by reading two rows of passport information at the same time or one row at a time. Further, one line may be read by one scan or one line may be read by two or more scans. In the case of reading by a plurality of scans, it is desirable that the control unit 24 performs data processing so that the read data of the overlapping portion in each scan does not overlap.

テキストデータ生成手段26が、OCR機能によって、読取手段21で取得した文字イメージデータからテキストデータを生成するのに成功したかどうかを判定する(S2)。テキストデータには、旅券情報に記録されているパスポート種類・発行国・姓・名・パスポート番号・国籍・生年月日・有効期限の個人データが含まれる。 The text data generation unit 26 determines whether the text data has been successfully generated from the character image data acquired by the reading unit 21 by the OCR function (S2). The text data includes personal data such as passport type, country of issue, surname, first name, passport number, nationality, date of birth, and expiration date recorded in the passport information.

テキストデータ生成手段26によって有効なテキストデータが生成された場合(S3)、テキストデータに含まれる国情報を取得して、このテキストデータおよび元の文字イメージデータにひも付けられた国情報を更新(S4)するとともに、生成されたテキストデータを第1記憶手段30に保存する(S5)。そして、テキストデータの使用可能性について、判定を行う(S6)。 When valid text data is generated by the text data generation means 26 (S3), the country information included in the text data is acquired, and the country information associated with the text data and the original character image data is updated ( At the same time, the generated text data is stored in the first storage means 30 (S5). Then, the possibility of using text data is determined (S6).

テキストデータの使用可能性を判定する処理は、文字イメージデータからテキストデータを生成する際の誤変換率が高いと予測される場合に、テキストデータを使用せず、文字イメージデータを優先的に使用する選択を行うものである。誤変換の可能性を評価する手法としては、パスポート旅券情報記載欄Qにおける黒地部分の割合に基づく方法、記載された文字の線の太さ(線幅)に基づく方法、国情報に基づく評価などが挙げられる。   In the process of determining the availability of text data, text image data is not used and text image data is preferentially used when it is predicted that the error conversion rate when generating text data from character image data is high. The selection is made. Methods for evaluating the possibility of erroneous conversion include a method based on the proportion of the black background in the passport passport information entry column Q, a method based on the thickness (line width) of the written character line, an evaluation based on country information, etc. Is mentioned.

<黒地部分の割合による判定方法>
読取手段21で、パスポートの旅券情報記載欄Qを読み取る際に、同時にこの記載領域における黒地部分の割合を計測する。黒地部分の割合が大きい場合、記載領域が汚れていることや、印字が太すぎることが想定され、誤変換の可能性が高いと予測される。そこで、黒地部分の割合の基準値をあらかじめ定めておき、計測した黒地部分の割合が基準値より大きいときには誤変換率が高いと判断して、テキストデータの使用を中止し、文字イメージデータを用いた書類作成を進める。黒字部分の割合が基準値以下のときには、テキストデータを用いた書類作成を進める。黒地部分の割合に基づく判断は、処理部2Dが自動的に行ってもよい。
<Judgment method based on the proportion of black background>
When the reading means 21 reads the passport information description column Q of the passport, the ratio of the black background portion in this description area is simultaneously measured. When the ratio of the black background portion is large, it is assumed that the description area is dirty or the printing is too thick, and it is predicted that the possibility of erroneous conversion is high. Therefore, a reference value for the ratio of the black background is determined in advance, and when the measured ratio of the black background is larger than the reference value, it is determined that the conversion error rate is high, the use of the text data is stopped, and the character image data is used. Proceed with document preparation. When the ratio of the black portion is below the reference value, the document creation using the text data is advanced. The determination based on the ratio of the black background portion may be automatically performed by the processing unit 2D.

あるいは、読取手段21でパスポートPの旅券情報を読み取ったときに、制御手段24によって読取領域における黒地部分の割合を演算し、表示手段23に、図6(a)に示すごとく、その演算結果6aと、テキストデータおよび文字イメージデータのいずれを使用するかを選択するための選択キー6b,6cとを表示させ、使用者が選択するように構成することも考えられる。ここで、図6(b)に示すように「テキスト」の選択キー6bを選択すると、テキストデータを用いて免税書類が作成される。他方、「文字イメージ」の選択キー6cを選択すると、文字イメージデータを用いた免税書類の作成が行われる。   Alternatively, when the passport P information of the passport P is read by the reading means 21, the ratio of the black background portion in the reading area is calculated by the control means 24, and the calculation result 6a is displayed on the display means 23 as shown in FIG. It is also conceivable that the selection keys 6b and 6c for selecting whether to use text data or character image data are displayed and selected by the user. Here, when a “text” selection key 6b is selected as shown in FIG. 6B, a tax-exempt document is created using the text data. On the other hand, when the "character image" selection key 6c is selected, a tax exemption document using character image data is created.

なお、選択キー6b.6cを表示する際に、黒字部分割合の数値に基づき、テキストデータと文字イメージデータのいずれが好適であるかを推薦的に表示するようにしてもよい。図6(b)の例では、テキストデータの方を好適なものとして、矩形枠で「テキスト」を囲んで表示している。推薦的表示は、例えば黒地部分の割合の基準値を予め決めておき、読み取ったパスポートの黒地部分の割合がこの基準値以下のときはテキストデータを推薦し、この基準値よりも大きければ文字イメージデータを推薦するようになされる。   The selection key 6b. When displaying 6c, it may be recommended to display which of text data and character image data is suitable based on the numerical value of the ratio of the black character portion. In the example of FIG. 6B, the text data is more suitable, and “text” is surrounded and displayed by a rectangular frame. In the recommended display, for example, a reference value of the ratio of the black background portion is determined in advance, and the text data is recommended when the ratio of the black background portion of the read passport is equal to or less than the reference value. It is made to recommend data.

前記の例では、黒地部分の割合が基準値よりも大きい場合に誤変換率が高いと判断したものであるが、黒地部分の割合が小さ過ぎる場合にも、印刷が薄いことなどが想定され、同様に誤変換が生じ易いと予測される。そこで、黒地部分の割合の下限値を定め、この下限値よりも小さい場合にも、テキストデータの使用を中止し、文字イメージデータによる書類作成を進めるように構成してもよい。   In the above example, it is determined that the error conversion rate is high when the ratio of the black background portion is larger than the reference value, but it is assumed that the printing is thin even when the proportion of the black background portion is too small, Similarly, it is predicted that erroneous conversion is likely to occur. Therefore, a lower limit value of the ratio of the black background portion may be set, and even when the lower limit value is smaller than the lower limit value, the use of the text data may be stopped and the document creation using the character image data may be advanced.

<文字の線の太さ(線幅)による判定方法>
読取手段21でパスポートPの旅券情報を読み取る際に、各文字を構成している線の太さ(幅)を計測し、線幅の平均値に基づいて、誤変換の可能性を予測することも考えられる。線幅の計測対象は全文字でもよく、任意に選択した文字でもよい。各文字を構成している線幅が太すぎる場合、誤変換が生じ易いと予測される。そこで、線幅の基準値を定めておき、線幅平均値が基準値以下の場合には、テキストデータを使用し、基準値よりも太い場合には、文字イメージデータの使用を選択するように構成すればよい。なお、線幅の平均値に代えて、線幅の最大値と最小値とに基づいて判定することも考えられる。
<Judgment method by line width (line width)>
When reading the passport information of the passport P by the reading means 21, the thickness (width) of the lines constituting each character is measured, and the possibility of erroneous conversion is predicted based on the average value of the line widths. Is also possible. The measurement target of the line width may be all characters or arbitrarily selected characters. If the line width constituting each character is too thick, it is predicted that erroneous conversion is likely to occur. Therefore, a reference value for the line width is set, and if the average line width is less than the reference value, text data is used, and if it is thicker than the reference value, use of character image data is selected. What is necessary is just to comprise. Note that it may be determined based on the maximum value and the minimum value of the line width instead of the average value of the line width.

<国情報に基づく判定方法>
国情報にひも付けられた誤変換率によって、文字イメージデータとテキストデータのいずれを使用するかを、自動的に選択するように構成してもよい。テキストデータ生成手段26によってテキストデータの生成に成功した場合でも、誤変換率が非常に高い国については、テキストデータの使用を回避するのが好ましいことがあるからである。
<Judgment method based on country information>
Depending on the error conversion rate linked to the country information, it may be configured to automatically select which character image data or text data is used. This is because even when text data is successfully generated by the text data generating means 26, it may be preferable to avoid using text data in a country where the erroneous conversion rate is very high.

国ごとの誤変換率データ(図7参照)に基づいて、読取手段21が取得した文字イメージデータをそのまま使用するか、テキストデータを使用するかの判断を、使用者が行うように構成することもできる。たとえば、読取手段21によってパスポートPの旅券情報を読み取ったときに、図8(a)に示すように、パスポートから読み取った発行国の国情報にひも付けられた誤変換率データ8aを表示手段23で表示させると共に、文字イメージデータを使用するか、テキストデータを使用するかを選択する選択キー8b、8cを表示させる。ここで、「テキスト」の選択キー8bを選択すると、旅券情報がテキストデータとして第1記憶手段部30に保存され、これを用いて生成された書類用データを用いて、プリンタ3により、免税書類が印刷される。他方、「文字イメージ」の選択キー8cを選択すると、文字イメージデータを用いて書類用データが生成され、これを用いてプリンタ3により、免税書類が印刷される。   Based on the erroneous conversion rate data for each country (see FIG. 7), the user can determine whether to use the character image data acquired by the reading means 21 as it is or to use text data. You can also. For example, when the passport information of the passport P is read by the reading means 21, as shown in FIG. 8A, the error conversion rate data 8a linked to the country information of the issuing country read from the passport is displayed. And display the selection keys 8b and 8c for selecting whether to use character image data or text data. Here, when the "text" selection key 8b is selected, the passport information is saved as text data in the first storage means 30, and the tax exemption document is generated by the printer 3 using the document data generated using the passport information. Is printed. On the other hand, when the “character image” selection key 8 c is selected, document data is generated using the character image data, and a tax-exempt document is printed by the printer 3 using the document data.

選択キー8b、8cを表示する際に、テキストデータと文字イメージデータのいずれが好適であるかを推薦的に表示するようにしてもよい。図8(b)では、文字イメージデータを好適なものとして「文字イメージ」を矩形枠で囲んで推薦的に表示している。
推薦的表示は、例えば誤変換率の基準値を予め決めておき、読み取ったパスポートの発行国の誤変換率がこの基準値以下であればテキストデータを推薦し、この基準値を超えるときは文字イメージデータを推薦するものとすることが考えられる。
When the selection keys 8b and 8c are displayed, it may be recommended to display which of text data and character image data is suitable. In FIG. 8B, “character image” is recommended and surrounded by a rectangular frame, with character image data being suitable.
In the recommended display, for example, a reference value for the erroneous conversion rate is determined in advance, and text data is recommended if the erroneous conversion rate in the country of the read passport is less than or equal to this reference value. It is possible to recommend image data.

上述の判定処理の結果、使用可能と判定された有効なテキストデータは、書類用データ生成手段27へ出力され(S7)、第1記憶手段30に保存されている書類様式データに、テキストデータに含まれるパスポート種類・姓・名・パスポート番号・国籍・生年月日の個人データを書き加える。書類様式データには、所轄税務署、納税地、販売者名、販売者所在地、在留者資格など既知の項目があらかじめ記録されている。さらに上陸年月日等の必要情報を、入力手段22から追加入力して、目的とする免税書類用データを完成させる(S8)。   The valid text data determined to be usable as a result of the determination process described above is output to the document data generation means 27 (S7), and is converted into the text data in the document format data stored in the first storage means 30. Add passport type, first name, last name, passport number, nationality, date of birth personal data included. In the document form data, known items such as the tax office, tax payment area, seller name, seller location, resident status, etc. are recorded in advance. Further, necessary information such as the date of landing is additionally input from the input means 22 to complete the target tax exemption document data (S8).

このようにして完成した書類用データは、通信手段32によって、プリンタへ送信される。プリンタ3は、受信した書類用データに基づき印刷処理を行って、図3(a)(b)に例示する輸出免税物品購入記録票4Aおよび購入者誓約書4Bなどの免税書類4を作成する(S9)。 The document data thus completed is transmitted to the printer by the communication means 32. The printer 3 performs a printing process based on the received document data, and creates the tax-exempt documents 4 such as the export duty-free article purchase record slip 4A and the purchase pledge 4B illustrated in FIGS. S9).

D)ステップS2において、テキストデータ生成手段26が、文字イメージデータから有効なテキストデータを生成することができなかった場合、読取手段21が取得した文字イメージデータが、書類用データ作成のために出力される(S10)。このとき、文字イメージデータから、国情報をテキストデータとして読み取れたかどうかについて判定する(S11)。国情報をテキストデータとして読み取れた場合は、このデータに基づいて、テキストデータにひも付けられる国情報を更新する(S12)。国情報をテキストデータとして読み取れなかった場合は、入力手段22を通じて国情報を別途入力し、文字イメージデータにひも付けられる国情報を更新する(S13)。 D) In step S2, if the text data generation unit 26 cannot generate valid text data from the character image data, the character image data acquired by the reading unit 21 is output for creating document data. (S10). At this time, it is determined whether or not the country information is read as text data from the character image data (S11). If the country information can be read as text data, the country information linked to the text data is updated based on this data (S12). If the country information cannot be read as text data, the country information is separately input through the input means 22 and the country information linked to the character image data is updated (S13).

次いで、第2記憶手段31に保存されている国別読取実績値および読取基準値を参照し(S14)、文字イメージデータにひも付けられた国情報に対し、テキストデータの読取成功率に基づいて割り当てられる国別読取実績値を、テキストデータの平均読取成功率に基づいて設定される読取基準値と比較する(S15)。この比較処理は、文字イメージデータについて、テキストデータの生成可能性が有るかどうかを確認するための処理である。国別読取実績値は、テキストデータの生成成功率を発行国ごとに集計したものである。発行国のパスポート製作事情により、印刷品質や用紙品質にばらつきがあり、これが、テキストデータ生成の成功率に影響を与えるので、発行国と成功率との間には、一定の相関があると考えられる。そこで、平均読取成功率に基づいて設定した読取基準値と国別読取実績値とを比較することで、発行国に基づき、テキストデータの生成可能性を評価することができる。   Next, the country-specific reading results and reading reference values stored in the second storage unit 31 are referred to (S14), and the country information linked to the character image data is determined based on the reading success rate of the text data. The allocated country-specific reading result value is compared with a reading reference value set based on the average reading success rate of the text data (S15). This comparison process is a process for confirming whether there is a possibility of generating text data for character image data. The country-specific reading performance value is a total of the text data generation success rates for each issuing country. Depending on the passport production situation of the issuing country, there are variations in print quality and paper quality, which will affect the success rate of text data generation, so there is a certain correlation between the issuing country and the success rate. It is done. Therefore, by comparing the reading reference value set based on the average reading success rate and the reading result value for each country, it is possible to evaluate the possibility of generating text data based on the issuing country.

国別読取実績値が読取基準値未満と判断されたとき、すなわちテキストデータの利用可能性がないときは、文字イメージデータを第2記憶手段31に保存(S16)した後、この文字イメージデータを表示手段23へ出力し(S17)、画面表示させる(S18)。 When it is determined that the country-specific reading result value is less than the reading reference value, that is, when the text data is not available, the character image data is stored in the second storage means 31 (S16), and then the character image data is stored. The data is output to the display means 23 (S17) and displayed on the screen (S18).

次に、画面表示された文字イメージデータの文字表示を確認し(S19)、文字表示が使用可能なとき、つまり記載内容を明確に読み取れるときには、この文字イメージデータを一旦保存(S20)したのち、イメージデータ加工手段25によって、書類用データの作成に必要な部分だけを切り出す加工を行う。すなわち、図2(b)に示す旅券情報記載欄Qにおけるパスポート種類・姓・名・パスポート番号・国籍・生年月日に相当する部分を切り出す。引き続き、書類用データ生成手段27において、これら文字イメージデータの各部分を、第1記憶手段30に保存されている書類様式データの所定箇所にそれぞれ貼り付ける。さらに入力手段22などを通じ上陸年月日などの必要情報を追加入力して、目的とする、所要項目が記録された書類用データを生成することができる(S22)。 Next, the character display of the character image data displayed on the screen is confirmed (S19). When the character display is usable, that is, when the contents of the description can be read clearly, the character image data is temporarily stored (S20). The image data processing means 25 performs a process of cutting out only a portion necessary for creating document data. That is, the portion corresponding to the passport type, surname, first name, passport number, nationality, date of birth in the passport information description column Q shown in FIG. Subsequently, the document data generation unit 27 pastes each part of the character image data to predetermined portions of the document format data stored in the first storage unit 30. Further, necessary information such as the date of landing can be additionally input through the input means 22 and the like, and the document data in which the required items are recorded can be generated (S22).

生成された書類用データは、通信手段32により、プリンタ3へ送信され、プリンタ3は、受信した書類用データに基づき、免税書類4を印刷する(S23)。 The generated document data is transmitted to the printer 3 by the communication means 32, and the printer 3 prints the tax exemption document 4 based on the received document data (S23).

表示手段23に表示させた文字イメージデータの文字表示が使用困難なとき、すなわち文字の記載が明瞭でないときは、この文字イメージデータを一旦保存(S24)したのち、書類用データ生成手段27により、第1記憶手段30に保存されている書類様式データを用いて、パスポート種類・姓・名・パスポート番号・国籍・生年月日等の欄が空欄のままの、手書きによって記入するための免税書類の書類用データを生成する(S25)。 When the character display of the character image data displayed on the display means 23 is difficult to use, that is, when the description of the characters is not clear, the character image data is temporarily stored (S24), and then the document data generating means 27 Using the document format data stored in the first storage means 30, the tax exemption documents for handwritten entry with the passport type, surname, first name, passport number, nationality, date of birth, etc. left blank Document data is generated (S25).

生成された書類用データは、通信手段32により、プリンタ3へ送信され、プリンタ3は、受信した書類用データに基づき、免税書類4を印刷する(S26)。 The generated document data is transmitted to the printer 3 by the communication means 32, and the printer 3 prints the tax exemption document 4 based on the received document data (S26).

ステップS15の判定処理において、文字イメージデータにひも付けられた国情報に対する国別読取実績値が読取基準値以上と判定されたときは、この文字イメージデータは一旦保存され(S30)、第2記憶手段31に保存されている処理判断基準値を参照する(S31)。国別読取実績値が読取基準値以上と判定された文字イメージデータは、テキスト生成可能性ありと判断されたものであるが、さらに処理判断基準値に基づいて、テキスト生成可能性を確認する。具体的には、国別に集計したテキストデータ生成の不成功率を、処理判断基準値と比較し、不成功率が処理判断基準値に達していないときは、読取手段21によるパスポートPの文字情報の再読み取りを行う。不成功率が処理判断基準値以上のときは、テキストデータの生成は不可であると判断して、文字イメージデータによる書類用データの生成を進めるべく、S17の文字イメージデータ出力工程へ進めばよい。 If it is determined in the determination process in step S15 that the country-specific reading result value for the country information linked to the character image data is equal to or greater than the reading reference value, the character image data is temporarily saved (S30) and stored in the second memory. The processing judgment reference value stored in the means 31 is referred to (S31). The character image data for which the country-specific reading result value is determined to be greater than or equal to the reading reference value is determined to have the possibility of text generation, but the possibility of text generation is further confirmed based on the processing determination reference value. Specifically, the unsuccessful rate of text data generation compiled for each country is compared with the processing determination reference value. If the unsuccessful rate has not reached the processing determination reference value, the reading means 21 re-reads the character information of the passport P. Read. If the unsuccessful rate is equal to or greater than the process determination reference value, it is determined that the generation of text data is impossible, and the process proceeds to the character image data output step of S17 in order to proceed with the generation of document data based on the character image data.

(その他の実施形態)
パスポートから読み取った国情報について、第2記憶手段31に対応する国名が保存されていない場合は、その旨を表示手段23に表示させる。この表示を見た使用者は、パスポートPの記載から発行国名を判断し、入力手段22を通じて入力する。
(Other embodiments)
When the country name corresponding to the second storage unit 31 is not stored for the country information read from the passport, the display unit 23 displays that fact. The user who sees this display determines the country of issue from the description of the passport P and inputs it through the input means 22.

パスポートの旅券情報に含まれる個人データ以外の免税書類作成に必要な情報については、入力手段22からの入力のほか、接続部に接続した外部のパソコン等の機器から入力操作を行うことも考えられる。   For information required for creating tax-exempt documents other than personal data included in passport passport information, in addition to input from the input means 22, it is also possible to perform input operations from a device such as an external personal computer connected to the connection section .

テキストデータを使用して書類用データを生成した場合、印刷前に、印刷するテキストデータを表示部27に表示し、誤変換がないかを確認するようにしてもよい。この場合、誤変換されやすい文字については、それらの文字に下線を引く等の表示を行い、注意喚起をしてもよい。   When the document data is generated using the text data, the text data to be printed may be displayed on the display unit 27 before printing to check whether there is any erroneous conversion. In this case, the characters that are likely to be erroneously converted may be alerted by displaying such characters as underlined.

以上説明したように、本発明システム1によれば、読取手段21によって取得した文字イメージデータから有効なテキストデータが生成された場合には、このテキストデータを用いて免税書類を作成し、文字イメージデータから有効なテキストデータを生成できないときには、文字イメージデータの文字表示が使用可能であれば、これを用いて免税書類を作成し、文字イメージデータの文字表示が使用困難なときは、手書き用の免税書類を作成する。したがって本発明システム1は、テキストデータを生成できるときは勿論、テキストデータを生成できないときでも、状況に応じた適切な方法で書類用データを生成するから、パスポート情報を正確に反映させた、記載事項に誤りのない免税書類を効率的に作成することが可能である。   As described above, according to the system 1 of the present invention, when valid text data is generated from the character image data acquired by the reading unit 21, a tax exemption document is created using the text data, and the character image is generated. When valid text data cannot be generated from the data, if character display of the character image data is available, a tax exemption document is created using this, and if character display of the character image data is difficult to use, Create tax-exempt documents. Therefore, the system 1 of the present invention generates document data by an appropriate method according to the situation even when the text data cannot be generated as well as when the text data can be generated, so that the passport information is accurately reflected. It is possible to efficiently create tax-exempt documents that are correct in matters.

また、テキストデータ生成の成功率を国別に評価した情報を利用するから、国情報に基づき、免税書類の作成に最適な手法を効率的に選択して、免税書類の作成効率を高めることができる。 In addition, since the information that evaluates the success rate of text data generation by country is used, it is possible to efficiently select the most suitable method for creating tax-exempt documents based on the country information, and to improve the efficiency of creating tax-exempt documents. .

なお本発明装置2を携帯可能なスキャナで構成すれば、免税対象品を販売する店舗にはプリンタ3だけを設置すればよく、必要占有面積が少なくて済む。それ故、免税書類を作成するためのパソコン等を不要にできるから、店舗インテリアの雰囲気を損なうおそれが少ないという利点が得られる。   If the device 2 of the present invention is composed of a portable scanner, only the printer 3 needs to be installed in a store that sells duty-free products, and the required occupation area is small. Therefore, since a personal computer or the like for creating tax-exempt documents can be dispensed with, there is an advantage that the atmosphere of the store interior is less likely to be impaired.

本発明は、例えば免税対象品の販売店舗に好適に使用される。また本発明は、輸出免税物品購入記録票および購入者誓約書以外の、パスポート情報が利用される免税書類の作成に適用することができる。さらに、パスポート下段の旅券情報だけでなく、上段の個人データを読み取って利用することも可能である。   The present invention is suitably used, for example, in a store that sells tax-exempt products. The present invention can also be applied to the creation of tax-exempt documents that use passport information other than export duty-free article purchase record slips and purchase pledges. Furthermore, it is possible to read and use not only the passport information at the bottom of the passport but also the personal data at the top.

1 本発明システム(免税書類作成システム)
2 本発明装置(免税書類用データ生成装置)
2A 読取部
2B 入力部
2C 表示部
2D 処理部
2E 通信部
3 プリンタ
3A 通信手段
4 免税書類
21 読取手段
22 入力手段
23 表示手段
24 制御手段
25 イメージデータ加工手段
26 テキストデータ生成手段
27 書類用データ生成手段
28 黒字割合計測手段
29 線幅計測手段
30 第1記憶手段
31 第2記憶手段
32 通信手段
P パスポート
1 Invention system (Tax-free document creation system)
2 Device of the present invention (data generation device for tax-exempt documents)
2A Reading unit 2B Input unit 2C Display unit 2D Processing unit 2E Communication unit 3 Printer 3A Communication means 4 Tax-free document
21 Reading means 22 Input means 23 Display means 24 Control means 25 Image data processing means 26 Text data generating means 27 Document data generating means 28 Black character ratio measuring means 29 Line width measuring means 30 First storage means 31 Second storage means 32 Communication Means P Passport

Claims (6)

パスポートに記載される少なくとも国情報を含む文字情報を利用して、免税書類を作成するための書類用データを生成する装置であって、
文字情報を光学的に読み取って文字イメージデータを取得する読取手段と、
取得した文字イメージデータを表示する表示手段と、
文字イメージデータを加工して加工イメージデータを作成するイメージデータ加工手段と、
文字イメージデータから文字情報を読み取ってテキストデータを生成するテキストデータ生成手段と、
加工イメージデータおよびテキストデータと、作成する書類のための書類様式データとが保存される第1記憶手段と、
加工イメージデータおよびテキストデータの少なくとも一方と、書類様式データとを用いて、書類用データを生成する書類用データ生成手段と、
読取手段、表示手段、イメージデータ加工手段、テキストデータ生成手段、第1記憶手段および書類用データ生成手段の各動作を制御するための制御プログラム並びに制御用データと、テキストデータの読取成功率に基づいて国情報別に割り当てた国別読取実績値のデータと、テキストデータの平均読取成功率に基づいて設定される読取基準値のデータとが保存される第2記憶手段と、
第2記憶手段の各プログラムおよび各データを用いて前記各手段の動作を制御する制御手段と、
書類作成に必要なデータを入力するための入力手段とを備え、
制御手段は、
読取手段が取得した文字イメージデータから、テキストデータ生成手段によって有効なテキストデータが生成された場合には、このテキストデータを用いて、所要項目が記録された書類用データを書類用データ生成手段によって生成し、
読取手段が取得した文字イメージデータから、テキストデータ生成手段によって有効なテキストデータが生成されない場合には、該テキストデータから読み取れた国情報または入力手段によって入力した国情報に対して割り当てられる国別読取実績値を、読取基準値と比較し、
国別読取実績値が読取基準値以上と判定されたときは、読取手段による文字情報の再読み取りを行うように設定され、
国別読取実績値が読取基準値未満と判定されたときは、表示手段によって文字イメージデータを表示させ、
表示された文字イメージデータの文字表示を使用するときは、イメージデータ加工手段によって文字イメージデータを加工して作成した加工イメージデータを用いて、所要項目が記録された書類用データを書類用データ生成手段によって生成し、
表示された文字イメージデータの文字表示を使用しないときは、所要項目が手書きによって記入される書類の書類用データを、書類用データ生成手段によって生成することを特徴とする、パスポート情報を利用した免税書類用データ生成装置。
A device that generates document data for preparing tax-exempt documents using character information including at least country information described in a passport,
Reading means for optically reading character information to obtain character image data;
Display means for displaying the acquired character image data;
Image data processing means for processing character image data to create processed image data;
Text data generation means for reading text information from text image data and generating text data;
First storage means for storing processed image data and text data, and document format data for a document to be created;
Document data generation means for generating document data using at least one of the processed image data and text data, and document format data;
Based on the control program and control data for controlling the operations of the reading means, display means, image data processing means, text data generation means, first storage means and document data generation means, and the text data reading success rate Second storage means for storing country-specific reading performance value data assigned by country information and reading reference value data set based on an average reading success rate of text data;
Control means for controlling the operation of each means using each program and each data in the second storage means;
And input means for inputting data necessary for document creation,
The control means
When valid text data is generated by the text data generation unit from the character image data acquired by the reading unit, the document data in which the required items are recorded is converted by the document data generation unit using the text data. Generate and
When valid text data is not generated by the text data generation means from the character image data acquired by the reading means, the country-specific reading assigned to the country information read from the text data or the country information input by the input means Compare the actual value with the reading reference value,
When it is determined that the country-specific reading result value is equal to or higher than the reading reference value, the reading information is set to be read again by the reading means,
When it is determined that the country-specific reading result value is less than the reading reference value, the character image data is displayed by the display means,
When using the character display of the displayed character image data, use the processed image data created by processing the character image data with the image data processing means to generate the document data with the required items recorded Generated by means,
Tax exemption using passport information, characterized by generating document data for documents in which required items are written by hand when the character display of displayed character image data is not used. Document data generator.
読取手段が取得した文字イメージデータにおける黒地割合を計測する黒地割合計測手段をさらに備え、
制御手段が、上記黒地割合を、あらかじめ定めた基準割合値と比較して、テキストデータの使用可能性を判定する、請求項1に記載のパスポート情報を利用した免税書類用データ生成装置。
A black background ratio measuring means for measuring a black background ratio in the character image data acquired by the reading means;
2. The tax exemption document data generation apparatus using passport information according to claim 1, wherein the control means determines the availability of text data by comparing the black background ratio with a predetermined reference ratio value.
読取手段が取得した文字イメージデータにおける文字を構成している線幅を計測する線幅計測手段をさらに備え、
制御手段が、上記線幅を、あらかじめ定めた線幅基準値と比較して、テキストデータの使用可能性を判定する、請求項1または2に記載のパスポート情報を利用した免税書類用データ生成装置。
Line width measuring means for measuring the line width constituting the character in the character image data acquired by the reading means,
3. The data generation apparatus for tax-exempt documents using the passport information according to claim 1, wherein the control means compares the line width with a predetermined line width reference value to determine the availability of text data. .
請求項1−3のいずれか1つに記載の免税書類用データ生成装置と、免税書類用データ生成装置が生成した書類用データに基づいて免税書類を印刷するプリンタとを含むことを特徴とするパスポート情報を利用した免税書類作成システム。   A tax exemption document data generation device according to any one of claims 1 to 3, and a printer that prints the tax exemption document based on the document data generated by the tax exemption document data generation device. Duty-free document creation system using passport information. パスポートに記載される文字情報を利用して、免税書類を作成する方法であって、
A)読取手段を用いて、パスポートの文字情報を光学的に読み取って文字イメージデータを取得する工程、
B)テキストデータ生成手段を用いて、取得した文字イメージデータからテキストデータを生成する工程、
C)テキストデータ生成手段によって有効なテキストデータが生成された場合に、書類用データ生成手段を用いて、このテキストデータとあらかじめ準備した書類様式データとに基づき、所要項目が記録された書類用データを生成する工程、
D)テキストデータ生成手段によって有効なテキストデータが生成されない場合に、該テキストデータから読み取れた国情報または入力手段によって入力した国情報に対し、テキストデータの読取成功率に基づいて割り当てられる国別読取実績値を、テキストデータの平均読取成功率に基づいて設定される読取基準値と比較する工程、
E)制御手段によって、国別読取実績値が読取基準値以上と判定されたときは、読取手段による文字情報の再読み取りを行う工程、
F)国別読取実績値が読取基準値未満のときは、表示手段によって文字イメージデータを表示させる工程、
G)イメージデータ加工手段によって文字イメージデータを加工して作成した加工イメージデータを用いて、所要項目が記録された書類用データを書類用データ生成手段によって生成するか、または、
H)所要項目が手書きによって記入される書類の書類用データを、書類用データ生成手段によって生成する工程、
I)プリンタを用いて、生成された書類用データに基づき、免税書類を印刷する工程、
を含むことを特徴とするパスポート情報を利用した免税書類作成方法。
A method for creating tax-exempt documents using text information written on a passport,
A) Step of obtaining character image data by optically reading passport character information using a reading means;
B) generating text data from the acquired character image data using text data generating means;
C) Document data in which necessary items are recorded based on the text data and the document form data prepared in advance using the document data generation means when valid text data is generated by the text data generation means. Generating a process,
D) Country-specific reading assigned to the country information read from the text data or the country information input by the input means based on the reading success rate of the text data when valid text data is not generated by the text data generation means Comparing the actual value with a reading reference value set based on the average reading success rate of the text data;
E) When the control means determines that the country-specific reading result value is equal to or higher than the reading reference value, the step of re-reading the character information by the reading means;
F) a step of displaying character image data by the display means when the country-specific reading result value is less than the reading reference value;
G) Using the processed image data created by processing the character image data by the image data processing means, generating the document data in which the required items are recorded by the document data generating means, or
H) A step of generating document data of a document in which required items are written by hand by the document data generating means;
I) a step of printing a tax-exempt document based on the generated document data using a printer;
A tax exemption document creation method using passport information characterized by
テキストデータ生成手段が生成したテキストデータの使用可能性を判定する工程をさらに含み、
上記使用可能性の判定は、文字イメージデータにおける黒地割合、または、文字イメージデータにおける文字を構成している線幅の少なくとも一方に基づいてなされる、請求項5に記載のパスポート情報を利用した免税書類作成方法。
Further comprising determining the availability of the text data generated by the text data generating means,
6. The tax exemption using passport information according to claim 5, wherein the determination of the availability is made based on at least one of a black background ratio in character image data or a line width constituting a character in character image data. Document creation method.
JP2016133720A 2016-07-05 2016-07-05 Tax-exempt document data generation device using passport information, tax-exempt document creation system, and tax-exempt document creation method. Active JP6493984B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016133720A JP6493984B2 (en) 2016-07-05 2016-07-05 Tax-exempt document data generation device using passport information, tax-exempt document creation system, and tax-exempt document creation method.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016133720A JP6493984B2 (en) 2016-07-05 2016-07-05 Tax-exempt document data generation device using passport information, tax-exempt document creation system, and tax-exempt document creation method.

Publications (2)

Publication Number Publication Date
JP2018005694A JP2018005694A (en) 2018-01-11
JP6493984B2 true JP6493984B2 (en) 2019-04-03

Family

ID=60947966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016133720A Active JP6493984B2 (en) 2016-07-05 2016-07-05 Tax-exempt document data generation device using passport information, tax-exempt document creation system, and tax-exempt document creation method.

Country Status (1)

Country Link
JP (1) JP6493984B2 (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3489171B2 (en) * 1994-01-20 2004-01-19 松下電器産業株式会社 License reading device
JPH07334610A (en) * 1994-06-08 1995-12-22 Toshiba Corp Optical character reader
JPH09282451A (en) * 1996-04-17 1997-10-31 Ricoh Co Ltd Electronic file device
JPH1097593A (en) * 1996-09-24 1998-04-14 Matsushita Electric Ind Co Ltd Business card recognition device and character recognition device
JPH11143990A (en) * 1997-11-13 1999-05-28 Nippon Telegr & Teleph Corp <Ntt> Method and device for recognizing character and recording medium in which method for recognizing character is recorded
WO2002046988A1 (en) * 2000-12-08 2002-06-13 Fujitsu Limited Automatic transaction apparatus and automatic transaction system
SE0300692L (en) * 2003-03-12 2004-09-13 Global Refund Holdings Ab VAT refund management system
JP2005267249A (en) * 2004-03-18 2005-09-29 Sharp Corp Data processing system, server and communication device
JP5768175B1 (en) * 2014-09-25 2015-08-26 株式会社J&J事業創造 Duty-free related document creation device and creation system
JP6267096B2 (en) * 2014-10-31 2018-01-24 東芝テック株式会社 Product sales data processing apparatus and program

Also Published As

Publication number Publication date
JP2018005694A (en) 2018-01-11

Similar Documents

Publication Publication Date Title
JP5739043B1 (en) Sales data processing apparatus and program
JP6575310B2 (en) Duty-free sales document creation system, duty-free sales document creation device, duty-free sales document creation program, and tax-free sales document creation method
JP2015232773A (en) Cash register
US20150227995A1 (en) Commodity sales data processing apparatus and method for confirming age of customer
JP6267096B2 (en) Product sales data processing apparatus and program
US20170083983A1 (en) Tax exemption processing system, information processing apparatus and method for inputting electronic signature
JP2018022338A (en) Purchase support system, terminal device, and purchase support method
US10956729B2 (en) Data processing apparatus and method, and non-transitory computer readable medium
JP2018014004A (en) Sales promotion support device
JP5011358B2 (en) Utility bill payment processing apparatus and program
JP4502601B2 (en) Data collection system and program
JP2006318125A (en) Server device for electronic coupon, electronic coupon providing program and electronic coupon providing system
JP6493984B2 (en) Tax-exempt document data generation device using passport information, tax-exempt document creation system, and tax-exempt document creation method.
JP6482267B2 (en) Duty-free document creation device
JP7339413B2 (en) Information processing device and program
JP2023029413A (en) Electronic receipt management server and program
JP6146527B2 (en) Image forming apparatus, information processing apparatus, program, method, duty-free sales document creation system, and tax-free sales document creation method
JP6263463B2 (en) Information processing apparatus and program
JP6736535B2 (en) Product sales data processing device and program
JP2006079399A (en) Delivery reception processing system, portable information apparatus, printer, delivery reception processor, and method for preparing home delivery slip by delivery reception processor
JP6635796B2 (en) Tax exemption processing system, tax exemption processing method, tax exemption form storage device, and program
JP7357724B2 (en) Product sales data processing device and program
JP7321308B2 (en) Merchandise sales data processor and program
JP6453988B2 (en) Product sales data processing apparatus and program
US9881291B2 (en) Operation management apparatus, operation management system, and computer-readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190117

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: 20190218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190228

R150 Certificate of patent or registration of utility model

Ref document number: 6493984

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250