[go: up one dir, main page]

JP2017146690A - Data processing apparatus and control program - Google Patents

Data processing apparatus and control program Download PDF

Info

Publication number
JP2017146690A
JP2017146690A JP2016026658A JP2016026658A JP2017146690A JP 2017146690 A JP2017146690 A JP 2017146690A JP 2016026658 A JP2016026658 A JP 2016026658A JP 2016026658 A JP2016026658 A JP 2016026658A JP 2017146690 A JP2017146690 A JP 2017146690A
Authority
JP
Japan
Prior art keywords
data
stroke
text data
imaging
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016026658A
Other languages
Japanese (ja)
Inventor
鈴木 雄一郎
Yuichiro Suzuki
雄一郎 鈴木
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016026658A priority Critical patent/JP2017146690A/en
Publication of JP2017146690A publication Critical patent/JP2017146690A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Character Discrimination (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data processing apparatus capable of easily merging separated multiple pieces of stroke data, and a control program.SOLUTION: Stroke data corresponding to handwriting on a paper sheet 121 of a paper medium 100 are generated and transmitted to a smartphone 19 by a reader. A file of the stroke data is separated for each writing definition operation. Text data are generated and stored for each file by the smartphone 19. A user images the paper sheet 121 of a page where the file of the stroke data is separated by postscript by using a camera of the smartphone 19. The smartphone 19 generates imaging text data from imaging data of the paper sheet 121. The smartphone 19 compares the created imaging text data with the text data stored for each file and extracts a file including a matched portion. The smartphone 19 merges stroke data of the extracted file with each other.SELECTED DRAWING: Figure 3

Description

本発明はデータ処理装置及び制御プログラムに関する。   The present invention relates to a data processing apparatus and a control program.

筆記具の位置を示す座標情報を含むデータを生成できる手書き入力システムが知られている(例えば、特許文献1参照)。特許文献1が開示する手書き入力システムでは、ユーザがノートに筆記した筆跡を、読取装置が読み取る。ユーザは筆記したページを確定する為に、ページ上に設けられたチェックボックスにチェックを入れる。読取装置は、チェックボックスに入れられたチェックを検出すると、筆記具の軌跡における複数の位置を示す座標情報を含むストロークデータを生成する。読取装置は、生成したストロークデータを、パーソナルコンピュータ等の情報端末に送信する。情報端末は、受信したストロークデータに基づき、筆記具により筆記された線画を示す画像データを生成する。情報端末は、画像データに基づく画像をディスプレイに表示する。   A handwriting input system that can generate data including coordinate information indicating the position of a writing instrument is known (see, for example, Patent Document 1). In the handwriting input system disclosed in Patent Document 1, a reading device reads a handwriting written on a notebook by a user. The user checks a check box provided on the page in order to confirm the written page. When detecting the check put in the check box, the reading device generates stroke data including coordinate information indicating a plurality of positions in the locus of the writing instrument. The reading device transmits the generated stroke data to an information terminal such as a personal computer. The information terminal generates image data indicating a line drawing written by a writing instrument based on the received stroke data. The information terminal displays an image based on the image data on the display.

特開2014−86049号公報JP 2014-86049 A

ユーザはチェックボックスにチェックを入れてページを一旦確定して保存した後で、同じノートのページに追記する場合がある。この場合、ストロークデータとしては別ページとして分離してしまうという問題点があった。ユーザがストロークデータを1つにまとめようとした場合、該当ページをユーザが選択してマージ処理を行う必要があり、面倒であった。   In some cases, the user adds a check to a check box, once the page is confirmed and saved, and then added to the same note page. In this case, there is a problem that the stroke data is separated as a separate page. When the user tries to combine the stroke data into one, it is necessary for the user to select the corresponding page and perform the merge process, which is troublesome.

本発明の目的は、分離した複数のストロークデータを簡単にマージできるデータ処理装置及び制御プログラムを提供することである。   An object of the present invention is to provide a data processing apparatus and a control program capable of easily merging a plurality of separated stroke data.

本発明の第一態様に係るデータ処理装置は、記録媒体上に筆記した筆跡を、座標情報と時間情報を含むデータとして、当該筆跡を確定させる確定操作毎に分離させたストロークデータを記憶するストロークデータ記憶手段と、前記ストロークデータ記憶手段によって記憶された前記ストロークデータに対応するテキストデータを作成するテキストデータ作成手段と、前記テキストデータ作成手段によって作成された前記テキストデータを記憶する第一記憶手段と、撮像する撮像手段と、前記撮像手段によって撮像された撮像データの中から文字情報を認識し、該認識した前記文字情報に対応するテキストデータである撮像テキストデータを作成する撮像テキストデータ作成手段と、前記撮像テキストデータ作成手段によって作成された前記撮像テキストデータと、前記第一記憶手段によって記憶された前記テキストデータとを比較し、一致する部分を含む前記テキストデータを抽出するテキストデータ抽出手段と、前記テキストデータ抽出手段によって抽出された前記テキストデータに対応する前記ストロークデータ同士を合成する第一合成手段とを備えたことを特徴とする。   The data processing apparatus according to the first aspect of the present invention provides a stroke for storing stroke data obtained by separating a handwriting written on a recording medium as data including coordinate information and time information for each confirmation operation for determining the handwriting. Data storage means, text data creation means for creating text data corresponding to the stroke data stored by the stroke data storage means, and first storage means for storing the text data created by the text data creation means Imaging means for imaging, and imaging text data creation means for recognizing character information from imaging data imaged by the imaging means and creating imaging text data that is text data corresponding to the recognized character information And the imaging text data created by the imaging text data creation means. Text data extracting means for comparing text data with the text data stored by the first storage means and extracting the text data including a matching portion; and the text data extracted by the text data extracting means And a first synthesis means for synthesizing the stroke data corresponding to.

第一態様によれば、マージ(合成)したいストロークデータに該当する記録媒体を撮像手段で撮像するだけで、ストロークデータを自動的にマージできるので、ユーザの手間がかからない。撮像テキストデータと、テキストデータとを比較するので、一致しているか否かのマッチングが行い易い。ストロークデータをマージするので、それから記録媒体のページ単位のテキスト化等を行い易い。   According to the first aspect, the stroke data can be automatically merged only by imaging the recording medium corresponding to the stroke data to be merged (combined) with the imaging means, so that it does not take time and effort for the user. Since the captured text data is compared with the text data, it is easy to match whether or not they match. Since the stroke data is merged, it is easy to convert the text into a page unit of the recording medium.

第一態様に係るデータ処理装置は、前記ストロークデータ記憶手段によって記憶された前記ストロークデータに対応する画像データを作成する画像データ作成手段と、前記画像データ作成手段によって作成された前記画像データを記憶する第二記憶手段と、前記撮像手段によって撮像された前記撮像データと、前記第二記憶手段によって記憶された前記画像データとを比較し、一致する部分を含む前記画像データを抽出する画像データ抽出手段とを備え、前記第一合成手段は、前記テキストデータ抽出手段が前記一致する部分を含む前記テキストデータを抽出できなかった場合、前記画像データ抽出手段によって抽出された前記画像データに対応する前記ストロークデータ同士を合成してもよい。データ処理装置は、仮に、テキストデータ抽出手段が一致する部分を含むテキストデータを抽出できなかった場合でも、画像データ抽出手段が一致する部分を含む画像データを抽出し、抽出された画像データに対応するストロークデータ同士を合成できる。データ処理装置は、撮像データと画像データを比較するので、一致しているか否かのマッチングがより行い易い。これにより、データ処理装置は、マージしたいストロークデータの抽出精度を向上できる。   The data processing device according to the first aspect stores image data creation means for creating image data corresponding to the stroke data stored by the stroke data storage means, and the image data created by the image data creation means. Image data extraction for comparing the second storage means, the imaging data imaged by the imaging means, and the image data stored by the second storage means, and extracting the image data including a matching portion And the first synthesizing unit corresponds to the image data extracted by the image data extracting unit when the text data extracting unit cannot extract the text data including the matching portion. The stroke data may be combined. Even if the text data extraction unit cannot extract the text data including the matching part, the data processing device extracts the image data including the matching part and corresponds to the extracted image data. Stroke data can be combined. Since the data processing apparatus compares the captured image data and the image data, it is easier to perform matching whether or not they match. Thereby, the data processing apparatus can improve the extraction accuracy of stroke data to be merged.

第一態様に係るデータ処理装置は、前記第一合成手段が合成する前記ストロークデータ同士の何れかを、前記ストロークデータ記憶手段によって記憶された前記ストロークデータの中から選択する第一選択手段を備えてもよい。テキストデータを比較する前に、マージするストロークデータの何れかをユーザが選択できる。これにより、データ処理装置は、テキストデータのマッチング処理を正確且つ速やかに行うことができる。   The data processing apparatus according to the first aspect includes first selection means for selecting any one of the stroke data synthesized by the first synthesis means from the stroke data stored by the stroke data storage means. May be. Before comparing text data, the user can select any of the stroke data to merge. Thereby, the data processing apparatus can perform matching processing of text data correctly and promptly.

第二態様に係るデータ処理装置は、記録媒体上に筆記した筆跡を、座標情報と時間情報を含むデータとして、当該筆跡を確定させる確定操作毎に分離させたストロークデータとして記憶するストロークデータ記憶手段と、前記ストロークデータ記憶手段によって記憶された前記ストロークデータに対応する画像データを作成する画像データ作成手段と、前記画像データ作成手段によって作成された前記画像データを記憶する第三記憶手段と、撮像する撮像手段と、前記撮像手段によって撮像された撮像データと、前記第三記憶手段によって記憶された前記画像データとを比較し、一致する部分を含む前記画像データを抽出する画像データ抽出手段と、前記画像データ抽出手段によって抽出された前記画像データに対応する前記ストロークデータ同士を合成する第二合成手段とを備えたことを特徴とする。   The data processing device according to the second aspect is a stroke data storage unit that stores handwriting written on a recording medium as data including coordinate information and time information as stroke data separated for each confirmation operation for determining the handwriting. Image data creation means for creating image data corresponding to the stroke data stored by the stroke data storage means, third storage means for storing the image data created by the image data creation means, and imaging Image data extraction means for comparing the image data captured by the image capture means with the image data stored by the third storage means and extracting the image data including a matching portion; The stroke data corresponding to the image data extracted by the image data extraction means. Characterized by comprising a second combining means for combining each other.

第二態様によれば、マージ(合成)したいストロークデータに該当する記録媒体を撮像手段で撮像するだけで、ストロークデータを自動的にマージできるので、ユーザの手間がかからない。撮像データと、画像データとを比較するので、一致しているか否かのマッチングが行い易い。ストロークデータをマージするので、それから記録媒体のページ単位のテキスト化等を行い易い。   According to the second aspect, the stroke data can be automatically merged only by imaging the recording medium corresponding to the stroke data to be merged (combined) with the imaging means, so that it does not take time and effort for the user. Since the imaging data and the image data are compared, it is easy to match whether or not they match. Since the stroke data is merged, it is easy to convert the text into a page unit of the recording medium.

第二態様に係るデータ処理装置は、前記第二合成手段が合成する前記ストロークデータ同士の何れかを、前記ストロークデータ記憶手段によって記憶された前記ストロークデータの中から選択する第二選択手段を備えてもよい。撮像データと画像データを比較する前に、マージするストロークデータ同士の何れかをユーザが選択できる。これにより、データ処理装置は、撮像データと画像データのマッチング処理を正確且つ速やかに行うことができる。   The data processing apparatus according to the second aspect includes second selection means for selecting any one of the stroke data synthesized by the second synthesis means from the stroke data stored by the stroke data storage means. May be. Before comparing the captured image data and the image data, the user can select any of the stroke data to be merged. As a result, the data processing apparatus can accurately and promptly perform the matching process between the imaging data and the image data.

本発明の第三態様に係る制御プログラムは、記録媒体上に筆記した筆跡を、座標情報と時間情報を含むデータとして、当該筆跡を確定させる確定操作毎に分離させたストロークデータを記憶するストロークデータ記憶部と、前記ストロークデータ記憶部によって記憶された前記ストロークデータに対応するテキストデータを作成するテキストデータ作成部と、前記テキストデータ作成部によって作成された前記テキストデータを記憶する記憶部と、撮像する撮像部とを備えたデータ処理装置のコンピュータに、前記撮像部によって撮像された撮像データの中から文字情報を認識し、該認識した前記文字情報に対応するテキストデータである撮像テキストデータを作成する撮像テキストデータ作成ステップと、前記撮像テキストデータ作成ステップにおいて作成された前記撮像テキストデータと、前記記憶部によって記憶された前記テキストデータとを比較し、一致する部分を含む前記テキストデータを抽出するテキストデータ抽出ステップと、前記テキストデータ抽出ステップにおいて抽出された前記テキストデータに対応する前記ストロークデータ同士を合成する合成ステップとを実行させる。第三態様によれば、第一態様と同様の効果を奏することができる。   The control program according to the third aspect of the present invention is a stroke data that stores stroke data obtained by separating a handwriting written on a recording medium as data including coordinate information and time information for each confirmation operation for determining the handwriting. A storage unit; a text data creation unit that creates text data corresponding to the stroke data stored by the stroke data storage unit; a storage unit that stores the text data created by the text data creation unit; A computer of a data processing apparatus including an imaging unit that recognizes character information from the imaging data captured by the imaging unit and creates captured text data that is text data corresponding to the recognized character information Imaging text data creation step, and imaging text data creation step A text data extraction step for comparing the captured text data created in the storage unit with the text data stored in the storage unit, and extracting the text data including a matching portion; and extracting in the text data extraction step And a combining step of combining the stroke data corresponding to the text data. According to the 3rd aspect, there can exist an effect similar to a 1st aspect.

なお、上記第一態様の一部の構成を任意に組み合わせてもよい。   In addition, you may combine the structure of a part of said 1st aspect arbitrarily.

手書入力システム1の概要を示す図である。It is a figure which shows the outline | summary of the handwriting input system. 手書入力システム1の電気的構成を示すブロック図である。2 is a block diagram showing an electrical configuration of the handwriting input system 1. FIG. 分離したストロークデータをマージする方法を概念的に示した説明図である。It is explanatory drawing which showed notionally the method to merge the separated stroke data. データ生成処理のフローチャートである。It is a flowchart of a data generation process. マージ制御処理のフローチャートである。It is a flowchart of a merge control process. 初期処理のフローチャートである。It is a flowchart of an initial process. 対象ファイル1決定処理のフローチャートである。It is a flowchart of the object file 1 determination process. 対象ファイル2決定処理のフローチャートである。It is a flowchart of the object file 2 determination process.

本発明を具体化した実施の形態について、図面を参照して説明する。参照する図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている装置の構成などは、それのみに限定する趣旨ではなく、単なる説明例である。   Embodiments of the present invention will be described with reference to the drawings. The drawings to be referred to are used for explaining the technical features that can be adopted by the present invention, and the configuration of the apparatus described is not intended to be limited to this, but merely an illustrative example.

図1を参照して、手書入力システム1の概要を説明する。以下の説明では、図1の左上側、右下側、上側、下側、右上側、左下側を、夫々、読取装置2及び紙媒体100の左側、右側、前側、後側、上側、下側とする。   The outline of the handwriting input system 1 will be described with reference to FIG. In the following description, the upper left side, lower right side, upper side, lower side, upper right side, and lower left side of FIG. 1 are respectively referred to as the left side, right side, front side, rear side, upper side, and lower side of the reading device 2 and the paper medium 100. And

図1に示すように、手書入力システム1は、読取装置2、電子ペン3、スマートフォン19等を備える。読取装置2は、折り畳んで携行可能な、薄型軽量の手書入力装置である。手書入力システム1では、ユーザは電子ペン3を用いて、読取装置2に装着された紙媒体100の用紙120に、線画を記入する。線画は、キャラクタ(文字、数字、記号等)、図形等を含む。読取装置2は、電子ペン3の位置を検出する。読取装置2は、経時的に検出された電子ペン3の複数の位置に基づき、電子ペン3の軌跡を特定する。スマートフォン19は、読取装置2で特定された電子ペン3の軌跡のデータに基づき、用紙120に筆記された線画を電子化したテキストデータ又は画像データを生成し、記憶する。   As shown in FIG. 1, the handwriting input system 1 includes a reading device 2, an electronic pen 3, a smartphone 19, and the like. The reading device 2 is a thin and light handwriting input device that can be folded and carried. In the handwriting input system 1, the user uses the electronic pen 3 to enter a line drawing on the paper 120 of the paper medium 100 attached to the reading device 2. The line drawing includes characters (letters, numbers, symbols, etc.), figures, and the like. The reading device 2 detects the position of the electronic pen 3. The reading device 2 identifies the locus of the electronic pen 3 based on the plurality of positions of the electronic pen 3 detected over time. The smartphone 19 generates and stores text data or image data obtained by digitizing a line drawing written on the paper 120 based on the locus data of the electronic pen 3 specified by the reading device 2.

読取装置2は、左右一対の左読取装置2L及び右読取装置2Rと、カバー4とを含む。左読取装置2L及び右読取装置2Rは夫々、矩形薄板状である。左読取装置2L及び右読取装置2Rは、カバー4の前面に左右方向に見開き可能に配置される。左読取装置2L及び右読取装置2Rは、フラットケーブル(図示略)により電気的に接続されている。カバー4の左側には、袋状の袋部4Aが設けられる。左読取装置2Lは、袋部4A内に差し込まれることで、カバー4に取り外し可能に装着される。右読取装置2Rは、例えば両面テープ又は粘着性を有する樹脂フィルム等により、カバー4の右前面に取り外し可能に貼り付けられる。   The reading device 2 includes a pair of left and right left reading devices 2L and 2R, and a cover 4. Each of the left reading device 2L and the right reading device 2R has a rectangular thin plate shape. The left reading device 2L and the right reading device 2R are arranged on the front surface of the cover 4 so as to be spread in the left-right direction. The left reading device 2L and the right reading device 2R are electrically connected by a flat cable (not shown). On the left side of the cover 4, a bag-like bag portion 4A is provided. The left reading device 2L is detachably attached to the cover 4 by being inserted into the bag portion 4A. The right reading device 2R is detachably attached to the right front surface of the cover 4 with, for example, a double-sided tape or an adhesive resin film.

紙媒体100は、左右方向に見開き可能な冊子状である。紙媒体100では、一対の表紙(表表紙110L及び裏表紙110R)と複数の用紙120とが、各々の縁部の一部で綴じられている。一例として、紙媒体100はA5サイズのノートである。表表紙110Lが左読取装置2Lの前面に載置され、且つ、裏表紙110Rが右読取装置2Rの前面に載置されるように、紙媒体100は読取装置2に装着される。紙媒体100は、例えば両面テープ又は粘着性を有する樹脂フィルム等により、読取装置2に取り外し可能に装着される。紙媒体100が読取装置2に位置決めされた状態で、紙媒体100は読取装置2に装着される。左読取装置2L及び右読取装置2Rは夫々、表表紙110L及び裏表紙110Rと一体的に移動可能である。   The paper medium 100 is a booklet that can be spread in the left-right direction. In the paper medium 100, a pair of front covers (a front cover 110 </ b> L and a back cover 110 </ b> R) and a plurality of papers 120 are bound at a part of each edge. As an example, the paper medium 100 is an A5 size notebook. The paper medium 100 is mounted on the reading device 2 so that the front cover 110L is placed on the front surface of the left reading device 2L and the back cover sheet 110R is placed on the front surface of the right reading device 2R. The paper medium 100 is detachably attached to the reading device 2 with, for example, a double-sided tape or an adhesive resin film. With the paper medium 100 positioned in the reading device 2, the paper medium 100 is loaded into the reading device 2. The left reading device 2L and the right reading device 2R can move integrally with the front cover 110L and the back cover 110R, respectively.

なお、読取装置2は、左読取装置2L及び右読取装置2Rの何れかのみを備えてもよい。この場合、読取装置2に装着可能な紙媒体100は、例えばA5サイズのレポート用紙である。   Note that the reading device 2 may include only one of the left reading device 2L and the right reading device 2R. In this case, the paper medium 100 that can be loaded into the reading device 2 is, for example, an A5 size report sheet.

ユーザは電子ペン3を用いて、読取装置2に装着された紙媒体100の用紙120に線画を記入できる。電子ペン3は、公知の電磁誘導式の電子ペンである。電子ペン3は、筒体30、芯体31、コイル32、可変容量コンデンサ33、基板34、コンデンサ35、及びインク収納部36を主に備える。   The user can use the electronic pen 3 to enter a line drawing on the paper 120 of the paper medium 100 attached to the reading device 2. The electronic pen 3 is a known electromagnetic induction type electronic pen. The electronic pen 3 mainly includes a cylindrical body 30, a core body 31, a coil 32, a variable capacitor 33, a substrate 34, a capacitor 35, and an ink storage unit 36.

筒体30は略円筒状で、芯体31の一部、コイル32、可変容量コンデンサ33、基板34、コンデンサ35、及びインク収納部36を内部に収容する。芯体31は、電子ペン3の先端部に設けられる。芯体31は、図示外の弾性部材により、電子ペン3の先端側に付勢されている。芯体31の先端部は、筒体30の外部に突出している。芯体31の後端側は、インク収納部36に接続されている。インク収納部36はインクを収納し、芯体31にインクを供給する。ユーザが電子ペン3を用いて用紙120に記入すると、インクにより用紙120に線画が形成される。   The cylindrical body 30 has a substantially cylindrical shape, and houses a part of the core body 31, the coil 32, the variable capacitor 33, the substrate 34, the capacitor 35, and the ink storage unit 36 therein. The core body 31 is provided at the tip of the electronic pen 3. The core body 31 is urged toward the distal end side of the electronic pen 3 by an elastic member not shown. The distal end portion of the core body 31 protrudes outside the cylindrical body 30. The rear end side of the core body 31 is connected to the ink storage unit 36. The ink storage unit 36 stores ink and supplies the ink to the core 31. When the user fills in the sheet 120 using the electronic pen 3, a line drawing is formed on the sheet 120 by ink.

コイル32は、インク収納部36の周囲に巻回された状態で、芯体31と可変容量コンデンサ33との間に保持されている。可変容量コンデンサ33は、基板34により、電子ペン3の内部に固定されている。基板34には、コンデンサ35が搭載されている。コンデンサ35及び可変容量コンデンサ33は、コイル32に並列に接続され、周知の共振(同調)回路を構成する。   The coil 32 is held between the core body 31 and the variable capacitor 33 while being wound around the ink storage portion 36. The variable capacitor 33 is fixed inside the electronic pen 3 by the substrate 34. A capacitor 35 is mounted on the substrate 34. The capacitor 35 and the variable capacitor 33 are connected in parallel to the coil 32 and constitute a known resonance (tuning) circuit.

電子ペン3は更に、検出スイッチ(図示略)を備える。検出スイッチは、基板34の先端部に実装されている。電子ペン3を用いて用紙120に線画が記入されている状態では、芯体31は、電子ペン3の内部にやや退入している。この状態で、芯体31の後端部は検出スイッチを押し、検出スイッチはON状態である。CPU21(図2参照)は、検出スイッチがON状態であるか否かに基づき、用紙120に線画が記入されている状態であるか否かを検出できる。   The electronic pen 3 further includes a detection switch (not shown). The detection switch is mounted on the tip of the substrate 34. In a state in which a line drawing is written on the paper 120 using the electronic pen 3, the core body 31 is slightly retracted into the electronic pen 3. In this state, the rear end portion of the core body 31 pushes the detection switch, and the detection switch is in the ON state. The CPU 21 (see FIG. 2) can detect whether or not a line drawing has been entered on the paper 120 based on whether or not the detection switch is in the ON state.

スマートフォン19は、タッチパネル191及びディスプレイ192を備える情報端末である。タッチパネル191は、各種指示を入力するために使用される。ディスプレイ192は、画像データに対応する画像、及びテキストデータに対応する文字等を表示可能である。なお、スマートフォン19の代わりに、汎用PC、タブレットPC等の端末装置が用いられてもよい。   The smartphone 19 is an information terminal that includes a touch panel 191 and a display 192. The touch panel 191 is used for inputting various instructions. The display 192 can display an image corresponding to the image data, characters corresponding to the text data, and the like. Instead of the smartphone 19, a terminal device such as a general-purpose PC or a tablet PC may be used.

図2を参照して、手書入力システム1の電気的構成を説明する。読取装置2は、センサ基板7L、7R、メイン基板20、センサ制御基板28、29、及び入力部25を備える。センサ基板7L、7Rは夫々、左読取装置2L、右読取装置2Rの内部に設けられる。入力部25は、右読取装置2Rに設けられる。   The electrical configuration of the handwriting input system 1 will be described with reference to FIG. The reading device 2 includes sensor boards 7L and 7R, a main board 20, sensor control boards 28 and 29, and an input unit 25. The sensor substrates 7L and 7R are provided inside the left reading device 2L and the right reading device 2R, respectively. The input unit 25 is provided in the right reading device 2R.

メイン基板20は、CPU21、RAM22、フラッシュROM23、及び無線通信部24を備える。RAM22、フラッシュROM23、及び無線通信部24は、CPU21に電気的に接続されている。CPU21は読取装置2の制御を行う。RAM22は、演算データ等の各種データを一時的に記憶する。   The main board 20 includes a CPU 21, a RAM 22, a flash ROM 23, and a wireless communication unit 24. The RAM 22, flash ROM 23, and wireless communication unit 24 are electrically connected to the CPU 21. The CPU 21 controls the reading device 2. The RAM 22 temporarily stores various data such as calculation data.

フラッシュROM23は、CPU21が読取装置2を制御するために実行する各種プログラムを記憶する。フラッシュROM23は、電子ペン3の軌跡を示すストロークデータを記憶する。フラッシュROM23は、後述の位置特定テーブルを記憶する。フラッシュROM23は、読取装置2に関する情報(以下、内部情報という。)を記憶する。内部情報は、例えば、読取装置2のファームウェアのバージョン情報、ストロークデータの保存回数、電源ONの回数、エラー発生の回数、読取装置2に装着された紙媒体100の種類、日付、時刻、各種設定値等を含む。フラッシュROM23は、内部情報を数値データで記憶する。無線通信部24は、外部の電子機器と近距離無線通信を実行する為のコントローラである。   The flash ROM 23 stores various programs that the CPU 21 executes to control the reading device 2. The flash ROM 23 stores stroke data indicating the locus of the electronic pen 3. The flash ROM 23 stores a position specifying table described later. The flash ROM 23 stores information related to the reading device 2 (hereinafter referred to as internal information). The internal information includes, for example, firmware version information of the reading device 2, the number of times stroke data is saved, the number of times the power is turned on, the number of times that an error has occurred, the type of paper medium 100 loaded in the reading device 2, date, time, and various settings Including values. The flash ROM 23 stores internal information as numerical data. The wireless communication unit 24 is a controller for executing short-range wireless communication with an external electronic device.

入力部25は、CPU21に電気的に接続されている。入力部25は、読取装置2に対する指示を入力する為のスイッチを含む。詳細には、入力部25は、電源スイッチを含む。電源スイッチは、読取装置2に対して、電源のON/OFFの指示を入力する為のスイッチである。   The input unit 25 is electrically connected to the CPU 21. The input unit 25 includes a switch for inputting an instruction to the reading device 2. Specifically, the input unit 25 includes a power switch. The power switch is a switch for inputting a power ON / OFF instruction to the reading device 2.

センサ基板7L、7Rには、左右方向(X軸方向)及び上下方向(Y軸方向)の各々に、細長いループコイルが多数配列されている。センサ基板7Lは、センサ制御基板28のASIC28Aに電気的に接続されている。ASIC28Aは、電子ペン3による記入動作がセンサ基板7L上で行われた場合に、電子ペン3の位置を座標情報として検出する。センサ基板7Rは、センサ制御基板29のASIC29Aに電気的に接続されている。ASIC29Aは、電子ペン3による記入動作がセンサ基板7R上で行われた場合に、電子ペン3の位置を座標情報として検出する。ASIC28A、29Aのうち、マスター側のASIC28AはCPU21に直接接続され、スレーブ側のASIC29AはASIC28Aを介してCPU21に接続されている。   On the sensor boards 7L and 7R, a large number of elongated loop coils are arranged in each of the left-right direction (X-axis direction) and the vertical direction (Y-axis direction). The sensor board 7L is electrically connected to the ASIC 28A of the sensor control board 28. The ASIC 28A detects the position of the electronic pen 3 as coordinate information when the writing operation by the electronic pen 3 is performed on the sensor substrate 7L. The sensor board 7R is electrically connected to the ASIC 29A of the sensor control board 29. The ASIC 29A detects the position of the electronic pen 3 as coordinate information when the writing operation by the electronic pen 3 is performed on the sensor substrate 7R. Of the ASICs 28A and 29A, the master-side ASIC 28A is directly connected to the CPU 21, and the slave-side ASIC 29A is connected to the CPU 21 via the ASIC 28A.

センサ基板7L、7Rの夫々は、検出領域を含む。検出領域は、センサ基板7L、7Rの夫々において、ループコイルが配列されている部分に対応する領域である。従って、紙媒体100が読取装置2に適正位置で装着されると、検出領域上に、紙媒体100が載置される。センサ基板7Lの検出領域及びセンサ基板7Rの検出領域は、同一の構成を有する。従って、以下の説明では、センサ基板7Lの検出領域についてのみ説明し、センサ基板7Rの検出領域の説明は省略する。   Each of the sensor substrates 7L and 7R includes a detection region. The detection area is an area corresponding to a portion where the loop coils are arranged in each of the sensor substrates 7L and 7R. Therefore, when the paper medium 100 is mounted on the reading device 2 at an appropriate position, the paper medium 100 is placed on the detection area. The detection region of the sensor substrate 7L and the detection region of the sensor substrate 7R have the same configuration. Therefore, in the following description, only the detection region of the sensor substrate 7L will be described, and the description of the detection region of the sensor substrate 7R will be omitted.

線画データが取得される原理を説明する。CPU21はASIC28A、29Aを制御して、センサ基板7L、7Rの各々のループコイルに、一本ずつ特定の周波数の電流(励磁用送信電流)を流す。これにより、センサ基板7L、7Rの各々のループコイルから磁界が発生する。この状態で、例えばユーザが電子ペン3を用いて、読取装置2に固定された紙媒体100の用紙120に線画を記入する動作を行うと、電子ペン3はセンサ基板7L、7Rに近接する。そのため、電子ペン3の共振回路は電磁誘導によって共振し、誘導磁界を生じる。   The principle of acquiring line drawing data will be described. The CPU 21 controls the ASICs 28A and 29A to flow a current (excitation transmission current) having a specific frequency to each of the loop coils of the sensor boards 7L and 7R. Thereby, a magnetic field is generated from each loop coil of the sensor substrates 7L and 7R. In this state, for example, when the user performs an operation of writing a line drawing on the paper 120 of the paper medium 100 fixed to the reading device 2 using the electronic pen 3, the electronic pen 3 comes close to the sensor boards 7L and 7R. Therefore, the resonance circuit of the electronic pen 3 resonates by electromagnetic induction and generates an induction magnetic field.

次に、CPU21はASIC28A、29Aを制御して、センサ基板7L、7Rの各々のループコイルからの磁界の発生を停止させる。センサ基板7L、7Rの各々のループコイルは、電子ペン3の共振回路から発せられる誘導磁界を受信する。CPU21はASIC28A、29Aを制御して、センサ基板7L、7Rの各々のループコイルに流れる信号電流(受信電流)を検出させる。ASIC28A、29Aがこの動作を全てのループコイルについて一本ずつ実行することで、受信電流に基づいて電子ペン3の位置が座標情報として検出される。   Next, the CPU 21 controls the ASICs 28A and 29A to stop the generation of magnetic fields from the loop coils of the sensor substrates 7L and 7R. Each of the loop coils of the sensor substrates 7L and 7R receives an induced magnetic field generated from the resonance circuit of the electronic pen 3. The CPU 21 controls the ASICs 28A and 29A to detect signal currents (reception currents) flowing through the loop coils of the sensor boards 7L and 7R. The ASICs 28A and 29A execute this operation one by one for all the loop coils, so that the position of the electronic pen 3 is detected as coordinate information based on the received current.

位置特定テーブルは、読取装置2で検出可能な電子ペン3の全ての座標点と、読取装置2に固定された用紙120における座標点との対応を定めるテーブルである。CPU21は、位置特定テーブルを参照することで、検出した電子ペン3の座標点に基づき、用紙120における線画の記入位置を特定できる。   The position specifying table is a table that defines correspondence between all coordinate points of the electronic pen 3 that can be detected by the reading device 2 and coordinate points on the paper 120 fixed to the reading device 2. The CPU 21 can specify the line drawing entry position on the paper 120 based on the detected coordinate point of the electronic pen 3 by referring to the position specifying table.

本実施形態では、CPU21は、検出した電子ペン3の座標点に基づき、図3に示す紙媒体100の用紙121における記入領域122及びチェックボックス130の何れに線画が記入されているかを判断できる。記入領域122に線画が記入されている場合、CPU21は、一の連続する線画毎に線画データを取得し、RAM22に一時記憶する。線画データは、電子ペン3が用紙121に接触してから離れるまでの一回の記入動作における、電子ペン3の軌跡を示す複数の座標情報を含む。座標情報は、絶対座標及び相対座標の何れを示してもよい。   In the present embodiment, the CPU 21 can determine which of the entry area 122 and the check box 130 in the paper 121 of the paper medium 100 shown in FIG. 3 is based on the detected coordinate point of the electronic pen 3. When a line drawing is written in the writing area 122, the CPU 21 acquires line drawing data for each continuous line drawing and temporarily stores it in the RAM 22. The line drawing data includes a plurality of coordinate information indicating the trajectory of the electronic pen 3 in one entry operation until the electronic pen 3 contacts the paper 121 and leaves. The coordinate information may indicate either absolute coordinates or relative coordinates.

チェックボックス130に線画が記入されている場合、CPU21は、RAM22に一時記憶されている線画データに基づき、ストロークデータを生成してフラッシュROM23に記憶する。ストロークデータは、記入領域122に記入されている線画の一部又は全体を示す座標情報と、ストローク間の順序関係を示す時間情報等を含む。検出領域は指示領域を含む。紙媒体100が読取装置2に適正位置で装着されると、指示領域とチェックボックス130とが位置的に対応する。   When a line drawing is entered in the check box 130, the CPU 21 generates stroke data based on the line drawing data temporarily stored in the RAM 22 and stores it in the flash ROM 23. The stroke data includes coordinate information indicating a part or the whole of the line drawing entered in the entry area 122, time information indicating the order relationship between strokes, and the like. The detection area includes an instruction area. When the paper medium 100 is loaded in the reading device 2 at an appropriate position, the indication area and the check box 130 correspond to each other in position.

スマートフォン19は、CPU41、RAM42、フラッシュROM43、無線通信部44、入力回路45、出力回路46、駆動回路47、タッチパネル191、ディスプレイ192、カメラ193を備える。CPU41はスマートフォン19の制御を行う。CPU41は、RAM42、フラッシュROM43、無線通信部44、入力回路45、出力回路46、及び駆動回路47と電気的に接続している。   The smartphone 19 includes a CPU 41, a RAM 42, a flash ROM 43, a wireless communication unit 44, an input circuit 45, an output circuit 46, a drive circuit 47, a touch panel 191, a display 192, and a camera 193. The CPU 41 controls the smartphone 19. The CPU 41 is electrically connected to the RAM 42, the flash ROM 43, the wireless communication unit 44, the input circuit 45, the output circuit 46, and the drive circuit 47.

RAM42は種々の一時データを記憶する。無線通信部44は、外部の電子機器と近距離無線通信を実行する為のコントローラである。入力回路45は、CPU41へタッチパネル191からの指示を送る制御を行う。出力回路46は、CPU41からの指示に応じてディスプレイ192に画像を表示する制御を行う。駆動回路47は、CPU41からの指示に応じてカメラ193を駆動し、カメラ193で撮像した撮像データをCPU41に送信する制御を行う。   The RAM 42 stores various temporary data. The wireless communication unit 44 is a controller for executing short-range wireless communication with an external electronic device. The input circuit 45 performs control to send an instruction from the touch panel 191 to the CPU 41. The output circuit 46 performs control to display an image on the display 192 in accordance with an instruction from the CPU 41. The drive circuit 47 drives the camera 193 in accordance with an instruction from the CPU 41 and performs control to transmit image data captured by the camera 193 to the CPU 41.

フラッシュROM43は、CPU41が実行する各種プログラム、及び、読取装置2から受信したストロークデータを記憶する。スマートフォン19は、図示外の媒体読取装置(例えば、メモリカードスロット)を備える。スマートフォン19は、記憶媒体(例えば、メモリカード)に記憶されているプログラムを、媒体読取装置で読み取り、フラッシュROM43にインストールできる。スマートフォン19は、スマートフォン19に接続されている外部機器(図示外)又はネットワークからプログラムを受信して、フラッシュROM43にインストールしてもよい。   The flash ROM 43 stores various programs executed by the CPU 41 and stroke data received from the reading device 2. The smartphone 19 includes a medium reading device (for example, a memory card slot) not shown. The smartphone 19 can read a program stored in a storage medium (for example, a memory card) with a medium reader and install it in the flash ROM 43. The smartphone 19 may receive a program from an external device (not shown) connected to the smartphone 19 or a network and install the program in the flash ROM 43.

図3を参照し、用紙120の一例である用紙121を説明する。用紙121は、上下方向及び左右方向に延びる矩形状である。用紙121の前後両面(つまり、二つの紙面)に夫々、記入領域122及びチェックボックス130が設けられている。記入領域122及びチェックボックス130は、用紙121の紙面において互いに独立した領域である。用紙121の紙面が、紙媒体100の1ページに相当する。   With reference to FIG. 3, a sheet 121 which is an example of the sheet 120 will be described. The sheet 121 has a rectangular shape that extends in the vertical direction and the horizontal direction. An entry area 122 and a check box 130 are provided on both the front and rear sides of the sheet 121 (that is, two sheets). The entry area 122 and the check box 130 are areas independent of each other on the paper surface of the paper 121. The paper surface of the paper 121 corresponds to one page of the paper medium 100.

記入領域122は、電子ペン3を用いて、情報を示す線画を記入する為の領域である。詳細には、記入領域122は、用紙121の紙面の端部に沿って上下方向及び左右方向に延びる略矩形状である。記入領域122は、用紙121における、チェックボックス130を除く領域である。例えばユーザは電子ペン3を用いて、電子化して保存したい各種情報(文字、キャラクタ、図形等)を、記入領域122に自由に記入する。   The entry area 122 is an area for entering a line drawing indicating information using the electronic pen 3. Specifically, the entry area 122 has a substantially rectangular shape extending in the vertical direction and the horizontal direction along the edge of the paper surface of the paper 121. The entry area 122 is an area on the paper 121 excluding the check box 130. For example, the user uses the electronic pen 3 to freely enter various information (characters, characters, figures, etc.) to be stored electronically in the entry area 122.

チェックボックス130は、電子ペン3を用いて、RAM22に一時記憶されている線画データに基づくストロークデータの生成を指示する為の線画を記入可能な領域である。本実施形態では、チェックボックス130は、用紙121の紙面の右下隅部に設けられる。例えばユーザは、記入領域122に文字等の線画を記入した後、記入した線画を確定して保存したい場合、チェックボックス130にチェックマークを記入する。   The check box 130 is an area in which a line drawing for instructing generation of stroke data based on the line drawing data temporarily stored in the RAM 22 can be entered using the electronic pen 3. In the present embodiment, the check box 130 is provided at the lower right corner of the paper surface of the paper 121. For example, after entering a line drawing such as characters in the entry area 122, the user enters a check mark in the check box 130 when he / she wants to save the entered line drawing.

図4を参照して、データ生成処理を説明する。データ処理は、線画データに基づくストロークデータを生成する処理である。図1に示すように、ユーザは、紙媒体100を読取装置2に適正位置で装着する。ユーザは、表表紙110Lが左読取装置2Lの前面に載置され、且つ、裏表紙110Rが右読取装置2Rの前面に載置されるように、紙媒体100を読取装置2に装着する。この状態で、ユーザが電源スイッチを押すと、読取装置2のCPU21は、入力部25を介して、読取装置2の電源をONする操作を検出する。この場合、CPU21は、フラッシュROM23に記憶されたプログラムに基づいて動作することで、データ生成処理を開始する。   The data generation process will be described with reference to FIG. Data processing is processing for generating stroke data based on line drawing data. As shown in FIG. 1, the user attaches the paper medium 100 to the reading device 2 at an appropriate position. The user attaches the paper medium 100 to the reading device 2 such that the front cover 110L is placed on the front surface of the left reading device 2L and the back cover 110R is placed on the front surface of the right reading device 2R. In this state, when the user presses the power switch, the CPU 21 of the reading device 2 detects an operation of turning on the power of the reading device 2 via the input unit 25. In this case, the CPU 21 starts data generation processing by operating based on the program stored in the flash ROM 23.

図4に示すように、CPU21は、電子ペン3の検出スイッチがON状態であるか否かに基づき、用紙121に線画が記入されている状態であるか否かを判断する(S1)。用紙121に線画が記入されている状態である場合(S1:YES)、CPU21は、線画の記入位置がチェックボックス130内にあるか否かを判断する(S2)。   As shown in FIG. 4, the CPU 21 determines whether or not a line drawing has been entered on the paper 121 based on whether or not the detection switch of the electronic pen 3 is in an ON state (S1). When the line drawing is on the form 121 (S1: YES), the CPU 21 determines whether or not the line drawing entry position is in the check box 130 (S2).

線画の記入位置がチェックボックス130内にない場合(S2:NO)、線画の記入位置は記入領域122にある。それ故、CPU21は、一の連続する線画毎に、線画データを取得する(S4)。CPU21は、取得した線画データをRAM22に一時記憶する。線画の記入位置がチェックボックス130内にある場合(S2:YES)、CPU21は、RAM22に一時記憶されている線画データに基づき、ストロークデータを生成して(S3)、フラッシュROM23に記憶する(S5)。   When the line drawing entry position is not in the check box 130 (S2: NO), the line drawing entry position is in the entry area 122. Therefore, the CPU 21 acquires line drawing data for each continuous line drawing (S4). The CPU 21 temporarily stores the acquired line drawing data in the RAM 22. When the line drawing entry position is in the check box 130 (S2: YES), the CPU 21 generates stroke data based on the line drawing data temporarily stored in the RAM 22 (S3) and stores it in the flash ROM 23 (S5). ).

用紙121に線画が記入されている状態でない場合(S1:NO)、或いは、S4又はS5を実行後、CPU21は、スマートフォン19から、無線通信部24を介して、データ要求コマンドを受信したか否かを判断する(S6)。データ要求コマンドは、スマートフォン19がフラッシュROM23に記憶されたストロークデータの送信を要求するコマンドである。データ要求コマンドは、フラッシュROM23に記憶されたストロークデータのうち、送信対象のストロークデータを指定する情報を含む。   When the line drawing is not in a state of being written on the sheet 121 (S1: NO), or after executing S4 or S5, the CPU 21 has received a data request command from the smartphone 19 via the wireless communication unit 24. (S6). The data request command is a command for the smartphone 19 to request transmission of stroke data stored in the flash ROM 23. The data request command includes information for designating transmission target stroke data among the stroke data stored in the flash ROM 23.

データ要求コマンドを受信していない場合(S6:NO)、CPU21は、S1に戻って処理を繰り返す。例えばユーザが、次ページの用紙121の記入領域122に、電子ペン3で線画を記入した場合(S1:YES、S2:NO)、CPU21は、その線画データを取得し(S4)、RAM22に一時記憶する。線画を記入後、ユーザがチェックボックス130内にチェックを入れた場合(S6:NO、S1:YES、S2:YES)、CPU21は、RAM22に一時記憶されている線画データに基づき、ストロークデータを生成する(S3)。CPU41は、生成したストロークデータを、先に記憶したストロークデータのファイルとは分離した別ファイルとして、フラッシュROM23に記憶する(S5)。即ち、本実施形態では、ユーザがチェックボックス130内に電子ペン3でチェックを入れる毎に、フラッシュROM23には、S3で生成されたストロークデータのファイルが順次記憶される。   When the data request command has not been received (S6: NO), the CPU 21 returns to S1 and repeats the process. For example, when the user enters a line drawing with the electronic pen 3 in the entry area 122 of the paper 121 on the next page (S1: YES, S2: NO), the CPU 21 acquires the line drawing data (S4) and temporarily stores it in the RAM 22. Remember. After the line drawing is entered, if the user checks the check box 130 (S6: NO, S1: YES, S2: YES), the CPU 21 generates stroke data based on the line drawing data temporarily stored in the RAM 22. (S3). The CPU 41 stores the generated stroke data in the flash ROM 23 as a separate file separated from the previously stored stroke data file (S5). That is, in this embodiment, every time the user checks the check box 130 with the electronic pen 3, the flash ROM 23 sequentially stores the stroke data file generated in S3.

スマートフォン19からデータ要求コマンドを受信した場合(S6:YES)、CPU21は、フラッシュROM23に記憶したストロークデータのファイルのうち、データ要求コマンドの送信対象として指定されたファイルを、無線通信部24を介してスマートフォン19に向けて送信する(S7)。これに対し、スマートフォン19のCPU41は、読取装置2から送信されたファイルを受信し、フラッシュROM43に記憶する。CPU21は、S1に戻って処理を繰り返す。CPU21は、入力部25を介して、読取装置2の電源をOFFする操作を検出すると、データ生成処理を終了する。   When the data request command is received from the smartphone 19 (S6: YES), the CPU 21 transmits the file specified as the transmission target of the data request command among the stroke data files stored in the flash ROM 23 via the wireless communication unit 24. To the smartphone 19 (S7). On the other hand, the CPU 41 of the smartphone 19 receives the file transmitted from the reading device 2 and stores it in the flash ROM 43. The CPU 21 returns to S1 and repeats the process. When the CPU 21 detects an operation of turning off the power of the reading device 2 via the input unit 25, the data generation process is terminated.

スマートフォン19のフラッシュROM43は、読取装置2のフラッシュROM23と同様に、ストロークデータのファイルを記憶する。ユーザは、用紙121に筆記した文章を、スマートフォン19のディスプレイ192で閲覧する場合、タッチパネル191で閲覧したいファイルを選択し、例えばテキスト表示の操作を行う。CPU41は、テキスト表示の操作を検出した場合、フラッシュROM43に記憶されたファイルの中からユーザが選択したファイルのストロークデータを読み出し、テキストデータに変換してから、ディスプレイ192に表示する。スマートフォン19は、テキスト表示の他に、画像表示を行うこともできる。CPU41は、画像表示の操作を検出した場合、CPU41は、フラッシュROM43から読み出したストロークデータを、画像データに変換してから、ディスプレイ192に表示する。   The flash ROM 43 of the smartphone 19 stores a stroke data file in the same manner as the flash ROM 23 of the reading device 2. When browsing the text written on the paper 121 on the display 192 of the smartphone 19, the user selects a file to be browsed on the touch panel 191, and performs, for example, a text display operation. When the CPU 41 detects a text display operation, the CPU 41 reads the stroke data of the file selected by the user from the files stored in the flash ROM 43, converts the data into text data, and displays the text data on the display 192. The smartphone 19 can perform image display in addition to text display. When the CPU 41 detects an image display operation, the CPU 41 converts the stroke data read from the flash ROM 43 into image data and then displays the image data on the display 192.

図3を参照し、用紙121に追記したときにストロークデータが分離して記憶される場合について、具体例を挙げて説明する。上記の通り、本実施形態では、ユーザがチェックボックス130内に電子ペン3でチェックを入れる毎に、フラッシュROM23には、ストロークデータのファイルが順次記憶される。例えば、ユーザが用紙121の記入領域122に「1.目的・・・・」と電子ペン3で筆記し、チェックボックス130内にチェックを入れる。この場合、フラッシュROM23には、筆記した部分に対応するストロークデータが、n=1番目のファイルとして記憶される。   With reference to FIG. 3, a case where stroke data is separately stored when added to the sheet 121 will be described with a specific example. As described above, in the present embodiment, each time the user checks the check box 130 with the electronic pen 3, a file of stroke data is sequentially stored in the flash ROM 23. For example, the user writes “1. Purpose...” In the entry area 122 of the paper 121 with the electronic pen 3 and puts a check in the check box 130. In this case, the stroke data corresponding to the written portion is stored in the flash ROM 23 as the n = 1st file.

ユーザが同じページの用紙121に文章等を更に追記する場合がある。例えば、ユーザが、先に筆記した「1.目的・・・」の文書の後に、「2.方法・・・」と続きの文章を追記し、チェックボックス130内にチェックを入れる。この場合、フラッシュROM23には、追記した部分のストロークデータが、n=2番目のファイルとして記憶される。つまり、フラッシュROM23には、同じページの用紙121に筆記した文章であるにも関わらず、これら文章に対応するストロークデータが二つ(n=1、2)に分離されて、別ファイルとして記憶される。CPU21は、スマートフォン19からのデータ要求コマンドに基づき、これら二つのファイルを送信する。それ故、スマートフォン19のフラッシュROM43にも、読取装置2と同様に、二つのストロークデータのファイルが記憶される。   In some cases, the user additionally writes a sentence or the like on the paper 121 on the same page. For example, the user adds a sentence following “2. Method ...” after the document “1. Purpose...” Written earlier, and puts a check in the check box 130. In this case, the flash ROM 23 stores the added stroke data as the n = 2nd file. That is, in the flash ROM 23, although it is a sentence written on the paper 121 of the same page, the stroke data corresponding to these sentences is separated into two (n = 1, 2) and stored as separate files. The The CPU 21 transmits these two files based on the data request command from the smartphone 19. Therefore, similarly to the reading device 2, two stroke data files are stored in the flash ROM 43 of the smartphone 19.

ユーザは、用紙121に筆記した文章を、スマートフォン19のディスプレイ192で閲覧する場合、フラッシュROM43には、ストロークデータが二つのファイルに分離して記憶されているので、夫々のファイルを個々にテキストデータ又は画像データに変換して表示させる必要がある。本実施形態において、ユーザは、例えばスマートフォン19のカメラ193を用いることによって、二つに分離したストロークデータを簡単にマージできる。   When the user browses the text written on the paper 121 on the display 192 of the smartphone 19, the flash ROM 43 stores the stroke data separately in two files. Alternatively, it is necessary to display it after converting it into image data. In the present embodiment, the user can easily merge the stroke data separated into two by using the camera 193 of the smartphone 19, for example.

図5を参照し、マージ制御処理を説明する。ユーザは、スマートフォン19のタッチパネル191を用いて、マージ制御処理の開始指示を入力する。スマートフォン19のCPU41は、該開始指示の入力を検出すると、フラッシュROM43に記憶されたプログラムに基づき、本処理を開始する。CPU41は、初期処理を実行する(S10)。   The merge control process will be described with reference to FIG. The user uses the touch panel 191 of the smartphone 19 to input a start instruction for merge control processing. When detecting the input of the start instruction, the CPU 41 of the smartphone 19 starts this process based on the program stored in the flash ROM 43. The CPU 41 executes initial processing (S10).

図6を参照し、初期処理を説明する。CPU41はnに1を設定する(S21)。nはフラッシュROM43に記憶されたストロークデータのファイルに付与されるファイルの番号である。CPU41は、n=1番目のファイルのストロークデータに対応するテキストデータを生成する(S22)。CPU41は、例えばフラッシュROM43に予め記憶されたテキスト判定データとのマッチング処理を行うことによって、ストロークデータをテキストデータに変換してもよい。また、ストロークデータが示す字形を保持したままテキストデータに変換してもよい。CPU41は生成したテキストデータをRAM42に記憶する。   The initial process will be described with reference to FIG. The CPU 41 sets 1 to n (S21). n is a file number assigned to the stroke data file stored in the flash ROM 43. The CPU 41 generates text data corresponding to the stroke data of the n = 1st file (S22). For example, the CPU 41 may convert the stroke data into text data by performing matching processing with text determination data stored in advance in the flash ROM 43. Further, it may be converted into text data while maintaining the character shape indicated by the stroke data. The CPU 41 stores the generated text data in the RAM 42.

続いて、CPU41はn=1番目のファイルのストロークデータに対応する画像データを生成する(S23)。CPU41は、例えばストロークデータに含まれる座標情報から線画データを生成し、生成した線画データの集合を画像データに変換する。CPU41は生成した画像データをRAM42に記憶する。CPU41はnに1加算する(S24)。CPU41は、nがNより大きいか否か判断する(S25)。Nは、フラッシュROM43に記憶されたファイルの総数であり、紙媒体100毎に設定される。nがN以下である場合(S25:NO)、CPU41はS22に戻り、n=2番目以降について上記処理を繰り返す(S22、S23)。CPU41は、ストロークデータのファイル毎に、テキストデータと画像データを生成してRAM42に記憶する。nに1加算した結果(S24)、nがNよりも大きい場合(S25:YES)、CPU41は初期処理を終了し、図5に示すマージ制御処理のS11に処理を進める。   Subsequently, the CPU 41 generates image data corresponding to the stroke data of the n = 1st file (S23). For example, the CPU 41 generates line drawing data from coordinate information included in the stroke data, and converts a set of the generated line drawing data into image data. The CPU 41 stores the generated image data in the RAM 42. The CPU 41 adds 1 to n (S24). The CPU 41 determines whether n is larger than N (S25). N is the total number of files stored in the flash ROM 43 and is set for each paper medium 100. When n is N or less (S25: NO), the CPU 41 returns to S22, and repeats the above processing for n = 2 and subsequent (S22, S23). The CPU 41 generates text data and image data for each stroke data file and stores them in the RAM 42. As a result of adding 1 to n (S24), if n is larger than N (S25: YES), the CPU 41 ends the initial process and proceeds to S11 of the merge control process shown in FIG.

図5に示すように、CPU41は、ディスプレイ192に、ファイル選択画面を表示する(S11)。ファイル選択場面は、マージする一の対象ファイルをユーザに選択させる画面である。ユーザがマージするストロークデータのファイルの何れかを認識している場合、ファイル選択画面において、フラッシュROM43に記憶されているファイルの中からマージする対象ファイルを選択するのが好ましい。   As shown in FIG. 5, the CPU 41 displays a file selection screen on the display 192 (S11). The file selection scene is a screen that allows the user to select one target file to be merged. When the user recognizes any one of the stroke data files to be merged, it is preferable to select a file to be merged from the files stored in the flash ROM 43 on the file selection screen.

ユーザは、ファイル番号を入力して確定操作を行うことで、対象ファイルを選択する。対象ファイルを選択することで、CPU41は、後述する対象ファイル1決定処理を省略できる。それ故、CPU41は、マージ制御処理を速やかに且つ正確に行うことができる。対象ファイルが選択された場合(S12:YES)、CPU41は選択されたファイルを、対象ファイル1に決定し(S13)、次の撮像処理を実行する(S14)。CPU41は、対象ファイル1が決定したことを示すフラグを、RAM42に記憶する。なお、ファイル選択画面において、ユーザがファイル番号を入力せずに確定操作を行った場合(S12:NO)、CPU41は何もせずに、撮像処理を実行する(S14)。   The user selects a target file by inputting a file number and performing a confirmation operation. By selecting the target file, the CPU 41 can omit the target file 1 determination process described later. Therefore, the CPU 41 can perform the merge control process promptly and accurately. When the target file is selected (S12: YES), the CPU 41 determines the selected file as the target file 1 (S13), and executes the next imaging process (S14). The CPU 41 stores a flag indicating that the target file 1 has been determined in the RAM 42. In the file selection screen, when the user performs a confirming operation without inputting a file number (S12: NO), the CPU 41 performs an imaging process without doing anything (S14).

撮像処理では、CPU41は、スマートフォン19に内蔵するカメラアプリを起動すると共に、例えばディスプレイ192にガイドメッセージ等を表示する。ガイドメッセージは、追記した後の用紙121の撮像をユーザに促すメッセージである。ユーザは、ガイドメッセージに従い、追記した後の用紙121をカメラ193で撮像する。駆動回路47は、カメラ193の撮像データをCPU41に送信する。CPU41は受信した撮像データを、RAM42に記憶する。撮像データとは、カメラ193で撮像した画像データである。CPU41は、RAM42に記憶した撮像データからテキストデータを抽出する(S15)。CPU41は、例えば撮像データについて、フラッシュROM43に予め記憶されたパターンとの照合で文字等を特定することにより、テキストデータを抽出してもよい。CPU41は撮像データから抽出したテキストデータ(以下、撮像テキストデータと呼ぶ)を、RAM42に記憶する。   In the imaging process, the CPU 41 activates a camera application built in the smartphone 19 and displays a guide message or the like on the display 192, for example. The guide message is a message that prompts the user to image the paper 121 after the additional recording. In accordance with the guide message, the user images the sheet 121 after the addition with the camera 193. The drive circuit 47 transmits imaging data of the camera 193 to the CPU 41. The CPU 41 stores the received imaging data in the RAM 42. The imaging data is image data captured by the camera 193. The CPU 41 extracts text data from the imaging data stored in the RAM 42 (S15). For example, the CPU 41 may extract text data of the imaging data by specifying a character or the like by matching with a pattern stored in advance in the flash ROM 43. The CPU 41 stores text data extracted from the imaging data (hereinafter referred to as imaging text data) in the RAM 42.

CPU41は、RAM42に記憶するフラグを参照し、対象ファイル1が決定済みか否か判断する(S16)。対象ファイル1が決定していない場合(S16:NO)、CPU41は対象ファイル1決定処理を実行する(S17)。対象ファイル1が決定済みの場合(S16:YES)、CPU41は、対象ファイル2決定処理を実行する(S18)。   The CPU 41 refers to the flag stored in the RAM 42 and determines whether the target file 1 has been determined (S16). When the target file 1 has not been determined (S16: NO), the CPU 41 executes target file 1 determination processing (S17). When the target file 1 has been determined (S16: YES), the CPU 41 executes target file 2 determination processing (S18).

図7を参照し、対象ファイル1決定処理を説明する。CPU41はnに1を設定する(S31)。CPU41は、RAM42に記憶した撮像テキストデータと、RAM42に記憶したn=1番目のファイルのテキストデータとを比較する(S32)。CPU41は、撮像テキストデータの中に、n=1番目のファイルのテキストデータと一致する部分が有るか否か判断する(S33)。一致する部分が無かった場合(S33:NO)、CPU41はnに1加算する(S34)。CPU41はnがNより大きいか否か判断する(S35)。nがN以下である場合(S35:NO)、CPU41はS32に戻り、処理を繰り返す。一致する部分が有った場合(S33:YES)、CPU41はそのn番目のファイルを、対象ファイル1に決定する(S42)。CPU41は対象ファイル1決定処理を終了し、対象ファイル2決定処理を実行する(図5のS18)。   The target file 1 determination process will be described with reference to FIG. The CPU 41 sets 1 to n (S31). The CPU 41 compares the captured text data stored in the RAM 42 with the text data of the n = 1st file stored in the RAM 42 (S32). The CPU 41 determines whether or not there is a portion in the captured text data that matches the text data of the n = 1st file (S33). If there is no matching part (S33: NO), the CPU 41 adds 1 to n (S34). The CPU 41 determines whether n is larger than N (S35). When n is N or less (S35: NO), the CPU 41 returns to S32 and repeats the process. If there is a matching part (S33: YES), the CPU 41 determines the n-th file as the target file 1 (S42). The CPU 41 ends the target file 1 determination process and executes the target file 2 determination process (S18 in FIG. 5).

一致する部分が無く(S33:NO)、nに1加算した結果(S34)、nがNよりも大きい場合(S35:YES)、全てのファイルNについて比較を終了したので、CPU41は再度n=1を設定する(S37)。テキストデータでの比較では一致する部分が見つからなかったので、CPU41は、RAM42に記憶した撮像データと、RAM42に記憶したn=1番目のファイルの画像データとを比較する(S38)。   If there is no matching part (S33: NO) and 1 is added to n (S34). If n is larger than N (S35: YES), the comparison is completed for all the files N, so the CPU 41 again sets n = 1 is set (S37). Since no matching part was found in the comparison with the text data, the CPU 41 compares the image data stored in the RAM 42 with the image data of the n = 1st file stored in the RAM 42 (S38).

CPU41は、撮像データの中に、n=1番目のファイルの画像データと一致する部分が有るか否か判断する(S39)。一致する部分が無かった場合(S39:NO)、CPU41はnに1加算する(S40)。CPU41はnがNより大きいか否か判断する(S41)。nがN以下である場合(S41:NO)、CPU41はS38に戻り、処理を繰り返す。一致する部分が有った場合(S39:YES)、CPU41はそのn番目のファイルを、対象ファイル1に決定する(S42)。CPU41は対象ファイル1決定処理を終了し、対象ファイル2決定処理を実行する(図5のS18)。   The CPU 41 determines whether or not there is a portion in the captured image data that matches the image data of the n = 1st file (S39). If there is no matching part (S39: NO), the CPU 41 adds 1 to n (S40). The CPU 41 determines whether n is greater than N (S41). When n is N or less (S41: NO), the CPU 41 returns to S38 and repeats the process. If there is a matching part (S39: YES), the CPU 41 determines the n-th file as the target file 1 (S42). The CPU 41 ends the target file 1 determination process and executes the target file 2 determination process (S18 in FIG. 5).

一致する部分が無く(S39:NO)、nに1加算した結果(S40)、nがNよりも大きい場合(S41:YES)、CPU41は全てのファイルNについて比較を終了したので、フラッシュROM43に記憶されたファイルの中に、撮像データと一致する部分のファイルは無い。それ故、CPU41はマージ制御処理をエラー終了する。エラー終了では、例えばCPU41はマージする対象ファイルが見つからなかったことを示すメッセージを、ディスプレイ192にエラー表示してもよい。このように、対象ファイル1抽出処理では、テキストデータ同士の比較では撮像データと一致する部分が見つからなかったとしても、画像データと再度比較することで、撮像データと一致する部分に対応するストロークデータを精度良く抽出できる。   If there is no matching part (S39: NO) and 1 is added to n (S40). If n is larger than N (S41: YES), the CPU 41 completes the comparison for all the files N. There is no part of the stored file that matches the image data. Therefore, the CPU 41 ends the merge control process with an error. At the end of the error, for example, the CPU 41 may display an error message on the display 192 indicating that the target file to be merged was not found. In this way, in the target file 1 extraction process, even if a portion that matches the image data is not found in the comparison between the text data, by comparing again with the image data, the stroke data corresponding to the portion that matches the image data is obtained. Can be extracted with high accuracy.

図8を参照し、対象ファイル2抽出処理を説明する。CPU41は、RAM42に記憶する撮像テキストデータから対象ファイル1のテキストデータを削除する(S50)。これにより、CPU41は、既に対象ファイル1に決定されたファイルを、本処理において対象ファイル2に重複して決定するのを防止できる。CPU41はnに1を設定する(S51)。CPU41は、RAM42に記憶した撮像テキストデータと、RAM42に記憶したn=1番目のファイルのテキストデータとを比較する(S52)。CPU41は、撮像テキストデータの中に、n=1番目のファイルのテキストデータと一致する部分が有るか否か判断する(S53)。一致する部分が無かった場合(S53:NO)、CPU41はnに1加算する(S54)。CPU41はnがNより大きいか否か判断する(S55)。nがN以下である場合(S55:NO)、CPU41はS52に戻り、処理を繰り返す。一致する部分が有った場合(S53:YES)、CPU41はそのn番目のファイルを、対象ファイル2に決定する(S62)。CPU41は対象ファイル2決定処理を終了し、図5のS19に処理を進める。   The target file 2 extraction process will be described with reference to FIG. The CPU 41 deletes the text data of the target file 1 from the captured text data stored in the RAM 42 (S50). As a result, the CPU 41 can prevent the file already determined as the target file 1 from being redundantly determined as the target file 2 in this processing. The CPU 41 sets 1 to n (S51). The CPU 41 compares the captured text data stored in the RAM 42 with the text data of the n = 1st file stored in the RAM 42 (S52). The CPU 41 determines whether there is a portion in the captured text data that matches the text data of the n = 1st file (S53). If there is no matching part (S53: NO), the CPU 41 adds 1 to n (S54). The CPU 41 determines whether n is larger than N (S55). When n is N or less (S55: NO), the CPU 41 returns to S52 and repeats the process. If there is a matching part (S53: YES), the CPU 41 determines the n-th file as the target file 2 (S62). CPU41 complete | finishes the object file 2 determination process, and advances a process to S19 of FIG.

一致する部分が無く(S53:NO)、nに1加算した結果(S54)、nがNよりも大きい場合(S55:YES)、全てのファイルNについて比較を終了したので、CPU41は、RAM42に記憶する撮像データから対象ファイル1の画像データを削除する(S56)。これにより、CPU41は、既に対象ファイル1に決定されたファイルを、本処理において対象ファイル2に重複して決定するのを防止できる。   If there is no matching part (S53: NO) and 1 is added to n (S54). If n is larger than N (S55: YES), the comparison is completed for all the files N. The image data of the target file 1 is deleted from the stored imaging data (S56). As a result, the CPU 41 can prevent the file already determined as the target file 1 from being redundantly determined as the target file 2 in this processing.

CPU41は再度n=1を設定する(S57)。テキストデータでの比較では一致する部分は見つからなかったので、CPU41は、RAM42に記憶した撮像データと、RAM42に記憶したn=1番目のファイルの画像データとを比較する(S58)。   The CPU 41 sets n = 1 again (S57). Since no matching portion was found in the comparison with the text data, the CPU 41 compares the imaging data stored in the RAM 42 with the image data of the n = 1st file stored in the RAM 42 (S58).

CPU41は、撮像データの中に、n=1番目のファイルの画像データと一致する部分が有るか否か判断する(S59)。一致する部分が無かった場合(S59:NO)、CPU41はnに1加算する(S60)。CPU41はnがNより大きいか否か判断する(S61)。nがN以下である場合(S61:NO)、CPU41はS58に戻り、処理を繰り返す。一致する部分が有った場合(S59:YES)、CPU41はそのn番目のファイルを、対象ファイル2に決定する(S62)。CPU41は対象ファイル2決定処理を終了し、図5のS19に処理を進める。   The CPU 41 determines whether or not there is a portion in the captured image data that matches the image data of the n = 1st file (S59). If there is no matching part (S59: NO), the CPU 41 adds 1 to n (S60). The CPU 41 determines whether n is larger than N (S61). When n is N or less (S61: NO), the CPU 41 returns to S58 and repeats the process. If there is a matching part (S59: YES), the CPU 41 determines the n-th file as the target file 2 (S62). CPU41 complete | finishes the object file 2 determination process, and advances a process to S19 of FIG.

一致する部分が無く(S59:NO)、nに1加算した結果(S60)、nがNよりも大きい場合(S61:YES)、CPU41は、全てのファイルNについて比較を終了したので、フラッシュROM43に記憶されたファイルの中に、撮像データと一致するファイルは無い。それ故、CPU41はマージ制御処理をエラー終了する。このように、対象ファイル2抽出処理においても、テキストデータ同士の比較では撮像データと一致する部分が見つからなかったとしても、画像データと再度比較することで、撮像データと一致する部分に対応するストロークデータを精度良く抽出できる。   If there is no matching part (S59: NO) and 1 is added to n (S60). If n is larger than N (S61: YES), the CPU 41 completes the comparison for all the files N, so the flash ROM 43 There is no file that matches the captured image data among the files stored in. Therefore, the CPU 41 ends the merge control process with an error. As described above, even in the target file 2 extraction process, even if a portion that matches the image data is not found in the comparison between the text data, the stroke corresponding to the portion that matches the image data is compared with the image data again. Data can be extracted with high accuracy.

図5に戻り、CPU41は、フラッシュROM43に記憶されたストロークデータのファイルの中から、対象ファイル1に決定したファイルと、対象ファイル2に決定したファイルとを読み込み、ストロークデータのマージ処理を行う(S19)。例えば、図3に示すように、n=1番目のファイルが対象ファイル1、n=2番目のファイルが対象ファイル2に決定された場合、例えば対象ファイル1に対象ファイル2をマージすることで、n=1番目のファイルは、「1.目的・・・」の後に、「2.方法・・・」の追記部分を加えた筆跡のストロークデータとなる。マージされたストロークデータのファイルは、フラッシュROM43に記憶される。なお、マージ処理後、n=2番目のファイルは削除してもよい。また、CPU41は、n=1番目と2番目のファイルをマージしたストロークデータを別ファイルで新たに生成し、二つに分離したn=1番目と2番目のファイルを残してもよい。   Referring back to FIG. 5, the CPU 41 reads the file determined as the target file 1 and the file determined as the target file 2 from the stroke data files stored in the flash ROM 43, and performs a stroke data merge process ( S19). For example, as shown in FIG. 3, when n = 1 is determined to be the target file 1 and n = 2 is the target file 2, for example, by merging the target file 2 with the target file 1, The n = 1st file is stroke data of a handwriting in which an additional portion “2. Method ...” is added after “1. Purpose”. The merged stroke data file is stored in the flash ROM 43. Note that after the merge process, the n = 2nd file may be deleted. Further, the CPU 41 may newly generate stroke data obtained by merging the n = 1 and second files as another file, and leave the n = 1 and second files separated into two.

このように、本実施形態では、ストロークデータが分離している該当ページの用紙121を、スマートフォン19のカメラ193で撮像するだけで、分離したストロークデータを自動的にマージできるので、ユーザの手間がかからない。更に、本実施形態は、用紙121に追記した部分が、別ファイルでは無く、同一ファイルに追記されるように保存できる。それ故、本実施形態はユーザにとって扱いやすく、データの整理等における作業性を向上できる。さらに本実施形態では、ストロークデータ同士をマージするので、マージしたストロークデータからページ単位で、テキストデータ又は画像データに容易に変換できる。   As described above, in this embodiment, since the separated stroke data can be automatically merged simply by capturing the paper 121 of the corresponding page in which the stroke data is separated by the camera 193 of the smartphone 19, the user's trouble is reduced. It does not take. Furthermore, in the present embodiment, the portion added to the paper 121 can be saved so that the portion added to the same file is added to the same file instead of a separate file. Therefore, this embodiment is easy to handle for the user, and can improve workability in organizing data. Furthermore, in this embodiment, since the stroke data is merged, the merged stroke data can be easily converted into text data or image data in units of pages.

以上説明したように、本実施形態の手書き入力システムは、読取装置2、電子ペン3、及びスマートフォン19を備える。読取装置2は、紙媒体100の用紙121上に筆記した筆跡に対応するストロークデータを生成し、フラッシュROM23に記憶する。ストロークデータのファイルは、筆記を確定させる確定操作毎に分離する。筆記を確定させる確定操作とは、例えばユーザが用紙121のチェックボックス130内にチェックする操作である。読取装置2はスマートフォン19にストロークデータのファイルを送信する。スマートフォン19は、受信したストロークデータをファイル毎にフラッシュROM43に記憶する。スマートフォン19は、ストロークデータに対応するテキストデータをファイル毎に作成してRAM42に記憶する。スマートフォン19はカメラ193を備える。ユーザは、文章等の追記によってストロークデータのファイルが分離して保存されているページの用紙121をカメラ193で撮像する。スマートフォン19は、カメラ193で撮像された撮像データの中から文字等を認識し、該認識した文字等に対応する撮像テキストデータを作成し、RAM42に記憶する。   As described above, the handwriting input system of this embodiment includes the reading device 2, the electronic pen 3, and the smartphone 19. The reading device 2 generates stroke data corresponding to the handwriting written on the paper 121 of the paper medium 100 and stores it in the flash ROM 23. The stroke data file is separated for each confirmation operation for confirming writing. The confirmation operation for confirming writing is, for example, an operation in which the user checks in the check box 130 of the paper 121. The reading device 2 transmits a stroke data file to the smartphone 19. The smartphone 19 stores the received stroke data in the flash ROM 43 for each file. The smartphone 19 creates text data corresponding to the stroke data for each file and stores it in the RAM 42. The smartphone 19 includes a camera 193. The user images the sheet 121 of the page on which the stroke data file is separated and saved by adding a sentence or the like with the camera 193. The smartphone 19 recognizes characters and the like from the image data captured by the camera 193, creates imaged text data corresponding to the recognized characters and stores it in the RAM 42.

スマートフォン19は、RAM42に記憶した撮像テキストデータと、複数に分離して記憶するテキストデータのファイルとを比較し、一致する部分を含むファイルを抽出する。スマートフォン19は、抽出したファイルに対応するストロークデータ同士をマージする。これにより、手書入力システム1は、筆記の確定操作毎にストロークデータが分離して記憶されても、マージしたいストロークデータに対応する紙媒体100の該当ページである用紙121をカメラ193で撮像するだけで、分離したストロークデータを自動的にマージできるので、ユーザの手間がかからない。また、撮像テキストデータと、テキストデータとを比較するので、一致しているかどうかのマッチングを行い易い。また、ストロークデータをマージするので、そこからページ単位のテキスト化等を行い易い。   The smartphone 19 compares the captured text data stored in the RAM 42 with a text data file that is stored in a plurality of pieces, and extracts a file including a matching portion. The smartphone 19 merges the stroke data corresponding to the extracted files. As a result, the handwriting input system 1 captures, with the camera 193, the sheet 121 that is the corresponding page of the paper medium 100 corresponding to the stroke data to be merged even if the stroke data is separated and stored for each writing confirmation operation. As a result, the separated stroke data can be automatically merged. In addition, since the captured text data is compared with the text data, it is easy to perform matching whether or not they match. In addition, since the stroke data is merged, it is easy to convert the text into pages from there.

上記実施形態のスマートフォン19は、フラッシュROM43に記憶したストロークデータに対応する画像データをファイル毎に作成し、RAM42に記憶する。スマートフォン19は、仮に、スマートフォン19が撮像テキストデータと一致する部分を含むテキストデータを抽出できなかった場合でも、カメラ193で撮像された撮像データと、複数に分離して記憶する画像データのファイルとを比較し、一致する部分を含むファイルを抽出できる。スマートフォン19は、抽出したファイルに対応するストロークデータ同士をマージする。スマートフォン19は、撮像データと画像データを比較するので、一致しているかどうかのマッチングがより行い易い。これにより、マージしたいストロークデータを抽出する精度を向上できる。   The smartphone 19 of the above embodiment creates image data corresponding to the stroke data stored in the flash ROM 43 for each file, and stores it in the RAM 42. Even if the smartphone 19 cannot extract text data including a portion that matches the captured text data, the smartphone 19 captures image data captured by the camera 193 and a file of image data to be stored separately. Can be extracted and files containing matching parts can be extracted. The smartphone 19 merges the stroke data corresponding to the extracted files. Since the smartphone 19 compares the imaged data with the image data, it is easier to match whether or not they match. Thereby, the precision which extracts the stroke data which wants to merge can be improved.

上記実施形態のスマートフォン19は、マージするストロークデータの何れかを、フラッシュROM43に記憶されたストロークデータのファイルの中から選択できる。これにより、テキストデータの比較の際に、合成するストロークデータ同士の何れかをユーザが選択できる。これにより、テキストデータのマッチング処理を正確且つ速やかに行うことができる。   The smartphone 19 of the above embodiment can select any one of the stroke data to be merged from the stroke data file stored in the flash ROM 43. Thereby, when comparing text data, the user can select any of the stroke data to be combined. Thereby, the matching process of text data can be performed correctly and rapidly.

上記実施形態において、手書入力システム1が本発明の「データ処理装置」の一例である。S5の処理を実行するCPU21が本発明の「ストロークデータ記憶手段」の一例である。S22の処理を実行するCPU41が本発明の「テキストデータ作成手段」と「第一記憶手段」の一例である。スマートフォン19のカメラ193が本発明の「撮像手段」の一例である。S15の処理を実行するCPU41が本発明の「撮像テキストデータ作成手段」の一例である。S17とS18の処理を実行するCPU41が本発明の「テキストデータ抽出手段」の一例である。S19の処理を実行するCPU41が本発明の「第一合成手段」の一例である。S23の処理を実行するCPU41が本発明の「画像データ作成手段」と「第二記憶手段」の一例である。S38、S39、S42の処理と、S58、S59、S62の処理とを実行するCPU41が本発明の「画像データ抽出手段」の一例である。S11〜S13の処理を実行するCPU41が本発明の「第一選択手段」と「第二選択手段」の一例である。   In the above embodiment, the handwriting input system 1 is an example of the “data processing apparatus” of the present invention. The CPU 21 that executes the process of S5 is an example of the “stroke data storage means” in the present invention. The CPU 41 that executes the process of S22 is an example of the “text data creating means” and the “first storage means” in the present invention. The camera 193 of the smartphone 19 is an example of the “imaging unit” in the present invention. The CPU 41 that executes the process of S15 is an example of the “captured text data creation unit” of the present invention. The CPU 41 that executes the processes of S17 and S18 is an example of the “text data extracting means” in the present invention. The CPU 41 that executes the process of S19 is an example of the “first synthesis means” in the present invention. The CPU 41 that executes the processing of S23 is an example of the “image data creation means” and “second storage means” in the present invention. The CPU 41 that executes the processes of S38, S39, and S42 and the processes of S58, S59, and S62 is an example of the “image data extraction unit” in the present invention. The CPU 41 that executes the processes of S11 to S13 is an example of the “first selection unit” and the “second selection unit” of the present invention.

本発明は上記実施形態に限定されるものではなく、種々の変更が可能である。上記実施形態の対象ファイル1決定処理(図7参照)、及び対象ファイル2決定処理(図8参照)では、撮像テキストデータとテキストデータを先に比較し、一致する部分が見つからなかった場合は、撮像データと画像データを比較して一致する部分を抽出しているが、後者の撮像データと画像データの比較は省略してもよい。その場合、テキストデータ同士の比較で一致する部分が見つからなかった場合は、エラー終了するようにしてもよい。また、上記実施形態とは逆に、撮像データと画像データの比較を先に行い、一致する部分が見つからなかった場合は、撮像テキストデータとテキストデータを比較して一致する部分を抽出してもよい。   The present invention is not limited to the above embodiment, and various modifications can be made. In the target file 1 determination process (see FIG. 7) and the target file 2 determination process (see FIG. 8) of the above embodiment, the captured text data is compared with the text data first, and if no matching part is found, Although the imaged data and the image data are compared to extract a matching portion, the latter comparison between the imaged data and the image data may be omitted. In that case, if no matching part is found in the comparison between the text data, the process may end with an error. Contrary to the above embodiment, the imaging data and the image data are compared first, and if the matching part is not found, the imaging text data and the text data are compared to extract the matching part. Good.

また、撮像データと画像データの比較のみを行い、一致する部分が見つからなかった場合は、エラー終了するようにしてもよい。なお、撮像データと画像データの比較を行い、一致する部分を抽出した画像データに対応するストロークデータ同士を合成する形態において、一致する部分を抽出した画像データに対応するストロークデータ同士を合成する処理を実行するCPUが本発明の「第二合成手段」の一例である。なお、これらの変形例の場合においても、図5に示すマージ制御処理のS12において、対象ファイルの選択を行うのが好ましい。   Further, only the comparison between the imaged data and the image data is performed, and if no matching part is found, the process may end in error. In addition, in the form in which the captured data and the image data are compared and the stroke data corresponding to the image data from which the matching portion is extracted are combined, the stroke data corresponding to the image data from which the matching portion is extracted is combined The CPU that executes is an example of the “second synthesis means” in the present invention. Even in these modified examples, it is preferable to select the target file in S12 of the merge control process shown in FIG.

上記実施形態では、スマートフォン19のCPU41が図5に示すマージ制御処理を実行したが、読取装置2のCPU21が実行してもよい。その場合、マージしたストロークデータのファイルを、スマートフォン19に送信するようにしてもよい。   In the above embodiment, the CPU 41 of the smartphone 19 executes the merge control process shown in FIG. 5, but the CPU 21 of the reading device 2 may execute it. In this case, the merged stroke data file may be transmitted to the smartphone 19.

上記実施形態のマージ制御処理(図5参照)のS14の撮像処理では、スマートフォン19のカメラ193を用いたが、他の撮像手段を用いてもよく、例えば、スキャナ等を用いて、撮像データを取得するようにしてもよい。   In the imaging process of S14 of the merge control process (see FIG. 5) of the above embodiment, the camera 193 of the smartphone 19 is used, but other imaging means may be used. For example, the imaging data is obtained using a scanner or the like. You may make it acquire.

上記実施形態のマージ制御処理では、マージする二つの対象ファイル1と2を抽出するものであるが、三つ以上の対象ファイルを抽出できるようにしてもよい。マージする対象ファイルは少なくとも二つあればマージできるので、3つ以上の対象ファイルが見つかった場合は、それらを合わせてマージすればよい。   In the merge control process of the above embodiment, two target files 1 and 2 to be merged are extracted, but three or more target files may be extracted. If there are at least two target files to be merged, they can be merged. If three or more target files are found, they may be merged together.

上記実施形態において、図3に示す用紙121における記入領域122及びチェックボックス130の位置、形状、サイズなどは、上記実施形態に限定されない。例えば、チェックボックス130は、用紙121の左上隅部、左下隅部、及び右上隅部の何れかに設けられてもよい。   In the above embodiment, the positions, shapes, sizes, etc. of the entry area 122 and the check box 130 on the sheet 121 shown in FIG. 3 are not limited to the above embodiment. For example, the check box 130 may be provided in any of the upper left corner, the lower left corner, and the upper right corner of the paper 121.

上記実施形態のデータ生成処理(図4参照)、マージ制御処理(図5参照)は、は夫々、CPU21、CPU41以外の電子部品(例えば、ASIC)によって実行されてもよい。データ生成処理、及びマージ制御処理は夫々、複数の電子機器(つまり、複数のCPU)によって分散処理されてもよい。   The data generation process (see FIG. 4) and the merge control process (see FIG. 5) of the above embodiment may be executed by electronic components (for example, ASIC) other than the CPU 21 and CPU 41, respectively. Each of the data generation process and the merge control process may be distributed by a plurality of electronic devices (that is, a plurality of CPUs).

上記実施形態は、読取装置2からのページ情報を、スマートフォン19で読み取るようにしてもよい。   In the above embodiment, page information from the reading device 2 may be read by the smartphone 19.

上記実施形態のマージ制御処理(図5参照)では、マージする一方のファイルを選択した上で比較を行うことで処理を正確にしているが、この際に、例えば、取得したファイルをスマートフォン19のディスプレイ192に複数表示させ、ユーザが確認しながら、マージする対象のファイルをドラッグ&ドロップでマージするようにしてもよい。   In the merge control process (see FIG. 5) of the above-described embodiment, the process is made accurate by selecting one file to be merged and performing a comparison. At this time, for example, the acquired file is stored on the smartphone 19. A plurality of files may be displayed on the display 192, and the files to be merged may be merged by drag and drop while confirming by the user.

1 手書入力システム
2 読取装置
3 電子ペン
19 スマートフォン
21 CPU
22 RAM
23 フラッシュROM
41 CPU
42 RAM
43 フラッシュROM
100 紙媒体
120 用紙
122 記入領域
130 チェックボックス
193 カメラ
1 Handwriting Input System 2 Reading Device 3 Electronic Pen 19 Smartphone 21 CPU
22 RAM
23 Flash ROM
41 CPU
42 RAM
43 Flash ROM
100 paper medium 120 paper 122 entry area 130 check box 193 camera

Claims (6)

記録媒体上に筆記した筆跡を、座標情報と時間情報を含むデータとして、当該筆跡を確定させる確定操作毎に分離させたストロークデータを記憶するストロークデータ記憶手段と、
前記ストロークデータ記憶手段によって記憶された前記ストロークデータに対応するテキストデータを作成するテキストデータ作成手段と、
前記テキストデータ作成手段によって作成された前記テキストデータを記憶する第一記憶手段と、
撮像する撮像手段と、
前記撮像手段によって撮像された撮像データの中から文字情報を認識し、該認識した前記文字情報に対応するテキストデータである撮像テキストデータを作成する撮像テキストデータ作成手段と、
前記撮像テキストデータ作成手段によって作成された前記撮像テキストデータと、前記第一記憶手段によって記憶された前記テキストデータとを比較し、一致する部分を含む前記テキストデータを抽出するテキストデータ抽出手段と、
前記テキストデータ抽出手段によって抽出された前記テキストデータに対応する前記ストロークデータ同士を合成する第一合成手段と
を備えたこと
を特徴とするデータ処理装置。
Stroke data storage means for storing stroke data separated for each confirmation operation for determining the handwriting as data including coordinate information and time information, and the handwriting written on the recording medium;
Text data creation means for creating text data corresponding to the stroke data stored by the stroke data storage means;
First storage means for storing the text data created by the text data creation means;
Imaging means for imaging;
Imaging text data creation means for recognizing character information from imaging data captured by the imaging means, and creating imaging text data that is text data corresponding to the recognized character information;
Text data extraction means for comparing the captured text data created by the captured text data creation means with the text data stored by the first storage means and extracting the text data including a matching portion;
A data processing apparatus comprising: first combining means for combining the stroke data corresponding to the text data extracted by the text data extracting means.
前記ストロークデータ記憶手段によって記憶された前記ストロークデータに対応する画像データを作成する画像データ作成手段と、
前記画像データ作成手段によって作成された前記画像データを記憶する第二記憶手段と、
前記撮像手段によって撮像された前記撮像データと、前記第二記憶手段によって記憶された前記画像データとを比較し、一致する部分を含む前記画像データを抽出する画像データ抽出手段と
を備え、
前記第一合成手段は、
前記テキストデータ抽出手段が前記一致する部分を含む前記テキストデータを抽出できなかった場合、前記画像データ抽出手段によって抽出された前記画像データに対応する前記ストロークデータ同士を合成すること
を特徴とする請求項1に記載のデータ処理装置。
Image data creation means for creating image data corresponding to the stroke data stored by the stroke data storage means;
Second storage means for storing the image data created by the image data creation means;
Image data extraction means for comparing the imaging data captured by the imaging means with the image data stored by the second storage means and extracting the image data including a matching portion;
The first synthesis means includes
The stroke data corresponding to the image data extracted by the image data extraction unit is synthesized when the text data extraction unit cannot extract the text data including the matching portion. Item 4. The data processing device according to Item 1.
前記第一合成手段が合成する前記ストロークデータ同士の何れかを、前記ストロークデータ記憶手段によって記憶された前記ストロークデータの中から選択する第一選択手段を備えたこと
を特徴とする請求項1又は2に記載のデータ処理装置。
The first selecting means for selecting any one of the stroke data synthesized by the first synthesizing means from the stroke data stored by the stroke data storing means. 2. A data processing apparatus according to 2.
記録媒体上に筆記した筆跡を、座標情報と時間情報を含むデータとして、当該筆跡を確定させる確定操作毎に分離させたストロークデータを記憶するストロークデータ記憶手段と、
前記ストロークデータ記憶手段によって記憶された前記ストロークデータに対応する画像データを作成する画像データ作成手段と、
前記画像データ作成手段によって作成された前記画像データを記憶する第三記憶手段と、
撮像する撮像手段と、
前記撮像手段によって撮像された撮像データと、前記第三記憶手段によって記憶された前記画像データとを比較し、一致する部分を含む前記画像データを抽出する画像データ抽出手段と、
前記画像データ抽出手段によって抽出された前記画像データに対応する前記ストロークデータ同士を合成する第二合成手段と
を備えたこと
を特徴とするデータ処理装置。
Stroke data storage means for storing stroke data separated for each confirmation operation for determining the handwriting as data including coordinate information and time information, and the handwriting written on the recording medium;
Image data creation means for creating image data corresponding to the stroke data stored by the stroke data storage means;
Third storage means for storing the image data created by the image data creation means;
Imaging means for imaging;
Image data extraction means for comparing the image data captured by the imaging means with the image data stored by the third storage means, and extracting the image data including a matching portion;
A data processing apparatus comprising: second combining means for combining the stroke data corresponding to the image data extracted by the image data extracting means.
前記第二合成手段が合成する前記ストロークデータ同士の何れかを、前記ストロークデータ記憶手段によって記憶された前記ストロークデータの中から選択する第二選択手段を備えたこと
を特徴とする請求項4に記載のデータ処理装置。
5. The apparatus according to claim 4, further comprising second selection means for selecting any one of the stroke data synthesized by the second synthesis means from the stroke data stored by the stroke data storage means. The data processing apparatus described.
記録媒体上に筆記した筆跡を、座標情報と時間情報を含むデータとして、当該筆跡を確定させる確定操作毎に分離させたストロークデータを記憶するストロークデータ記憶部と、
前記ストロークデータ記憶部によって記憶された前記ストロークデータに対応するテキストデータを作成するテキストデータ作成部と、
前記テキストデータ作成部によって作成された前記テキストデータを記憶する記憶部と、
撮像する撮像部と
を備えたデータ処理装置のコンピュータに、
前記撮像部によって撮像された撮像データの中から文字情報を認識し、該認識した前記文字情報に対応するテキストデータである撮像テキストデータを作成する撮像テキストデータ作成ステップと、
前記撮像テキストデータ作成ステップにおいて作成された前記撮像テキストデータと、前記記憶部によって記憶された前記テキストデータとを比較し、一致する部分を含む前記テキストデータを抽出するテキストデータ抽出ステップと、
前記テキストデータ抽出ステップにおいて抽出された前記テキストデータに対応する前記ストロークデータ同士を合成する合成ステップと
を実行させるための制御プログラム。
A stroke data storage unit for storing stroke data separated for each confirmation operation for determining the handwriting as data including coordinate information and time information, and the handwriting written on the recording medium;
A text data creation unit that creates text data corresponding to the stroke data stored by the stroke data storage unit;
A storage unit for storing the text data created by the text data creation unit;
In a computer of a data processing device provided with an imaging unit for imaging,
Imaging text data creation step of recognizing character information from imaging data imaged by the imaging unit and creating imaging text data that is text data corresponding to the recognized character information;
A text data extraction step of comparing the captured text data created in the captured text data creation step with the text data stored in the storage unit and extracting the text data including a matching portion;
A control program for executing a combining step of combining the stroke data corresponding to the text data extracted in the text data extracting step.
JP2016026658A 2016-02-16 2016-02-16 Data processing apparatus and control program Pending JP2017146690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016026658A JP2017146690A (en) 2016-02-16 2016-02-16 Data processing apparatus and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016026658A JP2017146690A (en) 2016-02-16 2016-02-16 Data processing apparatus and control program

Publications (1)

Publication Number Publication Date
JP2017146690A true JP2017146690A (en) 2017-08-24

Family

ID=59680787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016026658A Pending JP2017146690A (en) 2016-02-16 2016-02-16 Data processing apparatus and control program

Country Status (1)

Country Link
JP (1) JP2017146690A (en)

Similar Documents

Publication Publication Date Title
JP6739937B2 (en) Information processing apparatus, control method of information processing apparatus, and program
JP5991139B2 (en) Information management apparatus and program
US20150160733A1 (en) Paper Medium, Information Input Device, and Non-Transitory Computer Readable Medium
EP3438871A1 (en) Information association method, electronic bookmark, and information association system
EP2793106B1 (en) Identification of paper medium format in an input apparatus using a paper medium
JP2016024684A (en) Data processor and data processing program
JP6331816B2 (en) Information input device, control method, and control program
US20150253879A1 (en) Data Processing Device
EP2725461B1 (en) Information management apparatus and storage medium storing information management program
JP2017146690A (en) Data processing apparatus and control program
US20150029160A1 (en) Paper Medium, Input Device, and Non-Transitory Computer-Readable Medium for Input Device
WO2016158023A1 (en) Information input device, and control program
JP6314761B2 (en) Input device, input program, and input method
JP4542050B2 (en) Digital pen input system
JP6123597B2 (en) Written data processing device
JP6380205B2 (en) Information input device and control program
JP6142744B2 (en) Terminal device, print system, selection method, and control program
JP6531602B2 (en) Writing data processing program, writing data processing device, and writing data processing system
JP6066706B2 (en) Information processing system, information processing method, and program
US9513800B2 (en) Information processing apparatus and medium for correcting the start and end time data based on handwriting user input
JP2015141655A (en) Writing data processing device
JP6225678B2 (en) Information input device and information input program
JP2015109052A (en) Written data processing system
JP2015141481A (en) Written data processing device
JP2015114751A (en) Writing data processor