JPH1125256A - Method for preventing input error in data base system using image-recognized result as input data - Google Patents
Method for preventing input error in data base system using image-recognized result as input dataInfo
- Publication number
- JPH1125256A JPH1125256A JP9174880A JP17488097A JPH1125256A JP H1125256 A JPH1125256 A JP H1125256A JP 9174880 A JP9174880 A JP 9174880A JP 17488097 A JP17488097 A JP 17488097A JP H1125256 A JPH1125256 A JP H1125256A
- Authority
- JP
- Japan
- Prior art keywords
- image
- mark
- sheet
- database
- 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.)
- Pending
Links
Landscapes
- Image Input (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像認識結果を入
力データとするデータベースシステムにおける入力エラ
ー防止方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for preventing an input error in a database system using image recognition results as input data.
【0002】[0002]
【従来の技術】従来、画像処理手段により画像データか
ら文字、図形、印を抽出して、それを入力データとする
データベースシステムとしては、下記に示すものがあ
る。2. Description of the Related Art Conventionally, as a database system which extracts characters, figures, and marks from image data by image processing means and uses them as input data, there are the following systems.
【0003】その1つは、用紙の位置にある印を認識す
るものとして、一般的に用いられてマークシート方式で
ある。これは、用紙のあらかじめ定められた位置に光を
照射することで、用紙に付けられた印の有無を認識する
ものである。One of them is a mark sheet system which is generally used for recognizing a mark at a position of a sheet. This is to illuminate a predetermined position on the sheet with light, thereby recognizing the presence or absence of a mark on the sheet.
【0004】この方式では、光の照射位置を目的の箇所
に合わせるために、機械的に用紙の向きをそろえ、かつ
用紙の位置ずれを許さないようにする必要がある。よっ
てシステムの規模は大きくならざるを得なくなり、設備
導入のコストも高い。またマークシート用紙に記入して
もらう場合、人によって印の形が異なるので、サンプル
例を表示して、良い例と悪い例を示さねばならないとい
う欠点がある。In this method, in order to adjust the light irradiation position to a target position, it is necessary to mechanically align the direction of the sheet and not to allow the sheet to be displaced. Therefore, the scale of the system must be increased, and the cost of introducing the equipment is high. In addition, in the case that the mark sheet is filled out, there is a drawback in that since the shape of the mark differs depending on the person, a sample example must be displayed to show a good example and a bad example.
【0005】2つめの方法として、ファックスを使った
OCR(Optical Chartactor Rerder )システムも
一部実用化されている。これは在庫管理業務、商品受発
注業務で発生する伝票をファックスで送ってもらい、こ
れを受信した端末がその内容をOCRで認識し、データ
ベースへ登録するというものである。このシステムで
は、ファックス装置からのファックス送信時に用紙上に
ごみ等が付着していた場合、受信端末機でごみと、文
字,数字及び印を区別できないという欠点がある。また
ごみがなくてもこのチェック用の枠は、四角の図形で表
されることが多いため、記入された印がさまざまな形を
しており、印を認識できない場合がある。また枠をはみ
出して印が記入されている場合も少なくない。[0005] As a second method, an OCR (Optical Character Reorder) system using a fax has been partially put into practical use. In this method, a slip generated in an inventory management business and a product ordering business is sent by facsimile, and the terminal that receives it recognizes the content by OCR and registers it in a database. This system has a drawback in that if dust or the like is attached to a sheet when a fax is transmitted from the fax machine, the receiving terminal cannot distinguish the dust from characters, numerals, and marks. In addition, even if there is no garbage, the check frame is often represented by a square figure, and thus the entered mark has various shapes, and the mark may not be recognized. In many cases, a mark is written out of the frame.
【0006】[0006]
【発明が解決しようとする課題】上記のマークシート方
式では、上記のように設備が大型化し、また印の記入例
を表示しなければならず、ファックスを使ったOCRシ
ステムではごみとデータを区別できないことや、印を認
識しにくい場合があった。In the above-mentioned mark sheet system, the equipment becomes large as described above, and the entry example of the mark must be displayed. Therefore, the OCR system using a fax cannot distinguish between garbage and data. Sometimes, it was difficult to recognize the mark.
【0007】本発明は上記の問題点を解決するためにな
されたものであり、その目的とするところは、用紙に記
入された通りの正しいデータを認識することが可能とす
る、画像認識結果を入力データとするデータベースシス
テムにおける入力エラー防止方法を提供することにあ
る。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide an image recognition result capable of recognizing correct data as written on a sheet. An object of the present invention is to provide a method for preventing an input error in a database system as input data.
【0008】[0008]
【課題を解決するための手段】前記の課題を解決するた
めに、請求項1記載の発明では、画像取り込み装置、画
像処理装置、データベース装置、及び選択項目のいずれ
か1箇所又は複数箇所に印を付ける用紙から構成され、
前記用紙を画像取り込み装置にセットし、取り込んだ画
像の特定の領域を解析して所定形状の印の有無を認識す
る手段によりデータを抽出し、抽出した結果を入力デー
タとするデータベースシステムにおいて、用紙がセット
されていない時に画像取り込み装置を動作させて画像取
り込み装置に付着した誤認識要因を画像処理によりあら
かじめ検出し、判断手段により検出した誤認識要因の位
置が認識エラーがおきる位置にあると判断された場合に
警告を発する。In order to solve the above-mentioned problems, according to the present invention, an image capturing device, an image processing device, a database device, and one or more selected items are marked. It consists of paper with
In a database system, the paper is set in an image capturing device, data is extracted by means for analyzing a specific area of the captured image and recognizing the presence or absence of a mark of a predetermined shape, and the extracted result is used as input data. When the image capture device is not set, the image recognition device is operated to detect in advance the erroneous recognition factors attached to the image capture device by image processing, and the position of the erroneous recognition factor detected by the determination means is determined to be a position where a recognition error occurs. Warn if done.
【0009】請求項2記載の発明では、誤認識要因を認
識した場合、その形状と大きさをデータベースに自動的
に登録し、前記データベースの内容は、あらたにセット
した用紙から認識された印の候補と照合し、誤認識の要
因と判断された場合は、警告を発する。According to the second aspect of the present invention, when an erroneous recognition factor is recognized, its shape and size are automatically registered in a database, and the contents of the database are stored in the form of a mark recognized from a newly set sheet. It is compared with the candidate, and if it is determined that the cause of the misrecognition, a warning is issued.
【0010】請求項3記載の発明では、画像取り込み装
置、画像処理装置、データベース装置、及び選択項目の
いずれか1箇所又は複数箇所に印を付ける用紙から構成
され、前記用紙を画像取り込み装置にセットし、取り込
んだ画像の特定の領域を解析して所定形状の印の有無を
認識する手段によりデータを抽出し、抽出した結果を入
力データとするデータベースシステムにおいて、画像処
理装置において認識した結果、印の一部が認識領域から
外れている可能性があると判断された場合、印全体を認
識し得るように認識領域を外れている可能性がある方向
へ移動する。[0010] According to a third aspect of the present invention, the image capturing device, the image processing device, the database device, and a sheet for marking any one or a plurality of selected items are set, and the sheet is set in the image capturing device. Then, data is extracted by means for analyzing a specific area of the captured image and recognizing the presence / absence of a mark having a predetermined shape. In a database system in which the extracted result is used as input data, the result recognized by the image processing device is If it is determined that there is a possibility that a part of the mark is out of the recognition area, it is moved in a direction in which there is a possibility that the part is out of the recognition area so that the entire mark can be recognized.
【0011】請求項4記載の発明では、画像取り込み装
置、画像処理装置、データベース装置、及び選択項目の
いずれか1箇所又は複数箇所に印を付ける用紙から構成
され、前記用紙を画像取り込み装置にセットし、取り込
んだ画像の特定の領域を解析して所定形状の印の有無を
認識する手段によりデータを抽出し、抽出した結果を入
力データとするデータベースシステムにおいて、用紙の
所定の位置にあらかじめ印をつけておき、その印が認識
できなかった場合に、用紙の向きが逆であるか、又は用
紙が画像取り込み領域を外れていると判断し、警告を発
する。According to a fourth aspect of the present invention, there is provided an image capturing device, an image processing device, a database device, and a sheet for marking any one or a plurality of selected items, and the sheet is set in the image capturing device. Then, data is extracted by means for analyzing a specific area of the captured image and recognizing the presence / absence of a mark having a predetermined shape. If the mark is not recognized, it is determined that the paper is in the opposite direction or the paper is out of the image capturing area, and a warning is issued.
【0012】請求項5記載の発明では、画像取り込み装
置、画像処理装置、データベース装置、及び選択項目の
いずれか1箇所又は複数箇所に印を付ける用紙から構成
され、前記用紙を画像取り込み装置にセットし、取り込
んだ画像の特定の領域を解析して所定形状の印の有無を
認識する手段によりデータを抽出し、抽出した結果を入
力データとするデータベースシステムにおいて、用紙上
の異なった2箇所以上の特定位置にあらかじめ2つ以上
の印をつけておき、画像取り込みの際に少なくとも一箇
所の印の位置のずれを検知し用紙の内容の認識が不可能
だと判断した場合に、取り込んだ画像全体を自動的に移
動又は回転させることで認識可能な位置への補正を行
う。[0012] According to the fifth aspect of the present invention, the image capturing device, the image processing device, the database device, and a sheet for marking one or a plurality of selected items are set, and the sheet is set in the image capturing device. Then, data is extracted by means for analyzing a specific area of the captured image and recognizing the presence / absence of a mark of a predetermined shape, and in a database system using the extracted result as input data, two or more different locations on paper are used. Marking two or more marks in a specific position in advance, and detecting the position shift of at least one mark at the time of image capture and determining that it is not possible to recognize the contents of the paper, the entire captured image Is automatically moved or rotated to make a correction to a recognizable position.
【0013】請求項6記載の発明では、用紙のチェック
用の枠を所定形状の枠図形とする。According to the present invention, the frame for checking the sheet is a frame graphic having a predetermined shape.
【0014】[0014]
【発明の実施の形態】本発明の一の実施形態を図1乃至
図8に基づいて説明する。図1はハードウェア装置の構
成図、図2は入力エラーを防止するためのフローを示す
図、図3は読み取り領域の変更方法の説明図、図4は病
院向け転記作業支援システムの概要を示す図、図5は食
事箋カードを示す図、図6は誤認識要因識別時の警告画
面1を示す図、図7は用紙読み取りエラー時の警告画面
を示す図、図8は誤認識要因識別時の警告画面2を示す
図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described with reference to FIGS. 1 is a configuration diagram of a hardware device, FIG. 2 is a diagram showing a flow for preventing an input error, FIG. 3 is an explanatory diagram of a method of changing a reading area, and FIG. 4 is an outline of a transcription work support system for hospitals. FIG. 5, FIG. 5 shows a meal card, FIG. 6 shows a warning screen 1 at the time of identification of an erroneous recognition factor, FIG. 7 shows a warning screen at the time of a paper reading error, and FIG. It is a figure showing warning screen 2 of.
【0015】画像認識結果を入力データとするデータベ
ースシステムにおける入力エラー防止方法では、下記の
構成を有する。An input error prevention method in a database system using image recognition results as input data has the following configuration.
【0016】請求項1に対応して、用紙がセットされて
いない時に画像取り込み装置1に付いた誤認識要因を検
出する誤認識要因検出手段と、検出した誤認識要因の位
置が認識エラーがおきる位置にあるかどうかを判断する
判断手段と、エラーがおきる位置にあると判断された場
合に警告を発生する警告手段とを有する。According to the first aspect, an erroneous recognition factor detecting means for detecting an erroneous recognition factor attached to the image capturing device 1 when a sheet is not set, and a recognition error occurs in the position of the detected erroneous recognition factor. There is provided a determination unit for determining whether the position is at the position, and a warning unit for generating a warning when it is determined that the position is at a position where an error occurs.
【0017】請求項2に対応して、検出された誤認識要
因の登録手段と、あらたにセットされた用紙から認識し
た印候補と、この登録内容を照合する照合手段と、誤認
識の要因と判断する手段と、誤認識の要因と判断した場
合に警告を発生する警告手段。According to a second aspect of the present invention, a means for registering a detected misrecognition factor, a mark candidate recognized from a newly set sheet, a collating means for collating the registered content, and a factor for the misrecognition. Means for determining, and a warning means for issuing a warning when it is determined to be a cause of erroneous recognition.
【0018】請求項3に対応して、印が認識しようとす
る領域からはみ出しているかどうかを判断する手段と、
印が認識しようとする領域からはみ出していると判断し
た場合に、認識領域を変更する手段。According to claim 3, means for judging whether or not the mark is out of the area to be recognized,
Means for changing the recognition area when it is determined that the mark is out of the area to be recognized.
【0019】請求項4に対応して、用紙は所定の印を有
しその印を認識できるか否かにより用紙の配置が正常か
否かを判断する手段。According to a fourth aspect of the present invention, there is provided means for judging whether or not the sheet arrangement is normal based on whether or not the sheet has a predetermined mark and whether or not the mark can be recognized.
【0020】請求項5に対応して、用紙は少なくとも2
つの印を有し、取り込んだ画像上での当該印が所定の位
置となるように当該画像を回転、移動させる画像補正手
段。According to the fifth aspect, the paper is at least 2
Image correction means having two marks, and rotating and moving the image so that the mark on the captured image is at a predetermined position.
【0021】請求項6に対応して、用紙のチェック用の
枠を認識手段が認識でき、かつ記入者が枠図形から記入
方法を認識し得る所定形状の枠図形。According to a sixth aspect of the present invention, there is provided a frame graphic having a predetermined shape which allows a recognition means to recognize a frame for checking a sheet and enables a writer to recognize an entry method from the frame graphic.
【0022】とからなっている。以下、図2の入力エラ
ーを防止するためのフローを示す図に従い説明する。
尚、図2における付線の数字は、各ステップ又は状態、
及びデータベースを示す。It consists of: Hereinafter, description will be given with reference to the flowchart of FIG. 2 showing a flow for preventing an input error.
Note that the numbered lines in FIG. 2 indicate each step or state,
And a database.
【0023】請求項1記載の発明に対応して、(ステッ
プ4)において、画像取り込み装置1では用紙がセット
されているか否かを判断し、用紙がセットされていない
とき(状態5)には、画像取り込み装置1において空読
みをする(ステップ6)。そして取り込んだ画像をラベ
リング処理し(ステップ7)、誤認識要因(ごみ)を抽
出する。ラベリング処理でラベル付けされたものは、す
べて誤認識要因となる。In accordance with the first aspect of the present invention, in step (4), the image capturing device 1 determines whether or not a sheet is set, and when no sheet is set (state 5). Then, a blank reading is performed in the image capturing device 1 (step 6). Then, the captured image is subjected to a labeling process (step 7) to extract an erroneous recognition factor (garbage). Everything labeled in the labeling process is a cause of misrecognition.
【0024】次に(ステップ9)で認識した誤認識要因
の重心を計算する。更に画像取り込み装置1で取り込ん
だ画像のうち、画像処理装置2で印の有無を確認するた
めの画像を操作する小さな領域は、あらかじめ読み取り
領域データベース8に登録されており、前記誤認識要因
の重心の位置と読み取り領域を比較して、重心の位置が
領域内にあるならば、(ステップ10)で誤認識の恐れ
があるので警告を発する(ステップ11)。Next, the center of gravity of the misrecognition factor recognized in (Step 9) is calculated. Further, of the images captured by the image capturing device 1, a small area for operating the image for checking the presence or absence of a mark by the image processing device 2 is registered in the reading region database 8 in advance, and the center of gravity of the erroneous recognition factor is set. Is compared with the reading area, and if the position of the center of gravity is within the area, a warning is issued because there is a possibility of erroneous recognition in (Step 10) (Step 11).
【0025】請求項2記載の発明に対応して、(ステッ
プ9)で前記誤認識要因の重心の位置と読み取り領域を
比較して、重心の位置が領域外であるならば、その誤認
識要因の形状と大きさを誤認識要因データベース(1
2)に自動的に登録する(ステップ13)。具体的に
は、認識した誤認識要因の各画素の座標を、重心にもっ
とも近い画素からの相対座標に変換し、変換後の座標の
すべてを登録する。大きさとは、面積であり、全画素の
数である。印がつけられた用紙を画像取り込み装置1に
セットし、取り込んだ画像を印の候補として認識した場
合(状態14から状態15まで通過した場合)、前記誤
認識要因データベース(12)に登録された内容は、こ
の印候補と常に照合される(ステップ15)。照合方法
にはパターンマッチングを用いる。データベース(1
2)から取り出した誤認識要因を少しずつ移動、回転さ
せ印候補と完全に一致したとき、この印候補は誤認識要
因であると判断し、警告を発生するようになっている
(ステップ16)。According to the second aspect of the present invention, in step (9), the position of the center of gravity of the erroneous recognition factor is compared with the read area. Of the shape and size of the object
2) is automatically registered (step 13). Specifically, the coordinates of each pixel of the recognized erroneous recognition factor are converted into relative coordinates from the pixel closest to the center of gravity, and all the converted coordinates are registered. The size is an area, and is the number of all pixels. When the marked sheet is set in the image capturing device 1 and the captured image is recognized as a candidate for the mark (when the image passes from the state 14 to the state 15), the paper is registered in the erroneous recognition factor database (12). The content is always collated with the mark candidate (step 15). Pattern matching is used as a matching method. Database (1
When the misrecognition factor extracted from 2) is moved and rotated little by little, and completely matches the mark candidate, the mark candidate is determined to be a misrecognition factor and a warning is issued (step 16). .
【0026】請求項3記載の発明に対応して、読み取り
領域データベース8に登録された読み取り領域をラベリ
ング処理した結果(ステップ18)、図3に示すラベル
の重心19がチェック用の枠の中心領域20から外れた
端の領域21にある場合、読み取り領域の中心を重心が
存在する方向へ平行移動し(ステップ22)、あらため
て認識をやりなおすようになっている。移動する場合、
枠の中心は枠が四角の場合は矢印23の方向、枠がV字
型の場合は矢印24の方向、のうちいずれかの方向へ移
動するようになっている。According to the third aspect of the present invention, as a result of performing the labeling process on the read area registered in the read area database 8 (step 18), the center of gravity 19 of the label shown in FIG. If it is located in the end area 21 outside the range 20, the center of the reading area is translated in the direction in which the center of gravity is present (step 22), and recognition is performed again. When moving,
The center of the frame moves in one of the directions of arrow 23 when the frame is square and in the direction of arrow 24 when the frame is V-shaped.
【0027】請求項4記載の発明に対応して、用紙の特
定の位置にあらかじめ用紙の向きを認識するための印を
つけておき、読み取り領域データベース8で設定された
前記印が存在する可能性がある領域を操作しラベリング
処理で認識する(ステップ25)。予想される印の面積
を読み取り領域データベース8に登録しておき、予想さ
れる印の面積と、認識したラベルの面積が一致すれば、
用紙の向きは正しいと判断し、その他の処理を続ける
(ステップ15)。認識した結果ラベルが存在しない場
合、又は予想される印の面積と認識したラベルの面積が
異なる場合には、用紙の向きが逆であるか又は用紙が画
像読み込み領域を大きく外れていると判断(ステップ2
7)し、警告を発生するようになっている(ステップ2
8)。According to the fourth aspect of the present invention, a mark for recognizing the direction of the sheet is previously marked at a specific position on the sheet, and the mark set in the reading area database 8 may exist. An area is operated and recognized by a labeling process (step 25). The area of the expected mark is registered in the reading area database 8 and if the area of the expected mark matches the area of the recognized label,
It is determined that the orientation of the paper is correct, and other processing is continued (step 15). If there is no label as a result of the recognition, or if the area of the expected label and the area of the recognized label are different, it is determined that the paper direction is reversed or the paper is largely outside the image reading area ( Step 2
7) and a warning is issued (step 2).
8).
【0028】請求項5記載の発明に対応して、用紙の異
なった特定の位置にあらかじめ2つ以上の印をつけてお
き、ラベリング処理で認識した前記印の重心座標と、読
み取り領域データベース8で設定されたずれのない理想
的に用紙がセットされたときの各印の重心座標をおのお
の比較し(ステップ29)、少なくとも一方の重心座標
が異なっている場合は、取り込んだ画像全体を自動的に
移動及び回転させることで認識可能な位置への補正を行
うようにしている(ステップ30)。According to the fifth aspect of the present invention, two or more marks are previously marked at different specific positions on the paper, and the coordinates of the center of gravity of the marks recognized by the labeling process and the reading area database 8 are used. The center of gravity coordinates of each mark when the paper is set ideally with no set displacement are compared (step 29). If at least one of the center of gravity coordinates is different, the entire captured image is automatically converted. Correction to a recognizable position is performed by moving and rotating (step 30).
【0029】請求項6記載の発明に対応して、用紙のチ
ェック用の枠を所定形状の枠図形とすることで、記入の
際に所定の印を入力させることを促すようにしている。Corresponding to the invention of claim 6, the frame for checking the paper is made into a frame figure of a predetermined shape, so that it is urged to input a predetermined mark at the time of entry.
【0030】[0030]
【実施例】本発明の実施例について、図4乃至図8に基
づいて説明する。図4は病院向け転記作業支援システム
の概要を示す図である。この実施例は、各医局から出さ
れる作業カード31を看護婦がカルテに転記するという
業務を自動化するものである。このシステムはパーソナ
ルコンピュータ32、イメージスキャナ33、プリンタ
ー34及びデータベース35から構成される。図5に示
す作業カード31をイメージスキャナ33で読み取り、
そのイメージをOCRソフトで解析して記載事項を画像
から文字、数字、印に変換し、データベース35に登録
する機能をもっている。またそのデータベース35内デ
ータを編集して簡単にカルテ36を作りだすことができ
る。手書きの転記作業に較べ転記ミスを少なくし、転記
作業及びデータ検索作業を著しく向上させることができ
る。An embodiment of the present invention will be described with reference to FIGS. FIG. 4 is a diagram showing an outline of a transcription work support system for hospitals. In this embodiment, the task of a nurse transferring a work card 31 issued from each medical office to a medical chart is automated. This system includes a personal computer 32, an image scanner 33, a printer 34, and a database 35. The work card 31 shown in FIG.
It has a function of analyzing the image with OCR software, converting the description into characters, numbers, and marks from the image, and registering it in the database 35. Further, the chart 35 can be easily created by editing the data in the database 35. Transcription errors can be reduced compared to handwritten transcription work, and transcription work and data search work can be significantly improved.
【0031】以下、例として食事箋と呼ばれる入院時や
手術後、検査後に食事の内容を変えるためのカード(図
5参照)の内容をカルテに転記する場合をあげる。図5
に示す食事箋の用紙の所定の位置(V字型の枠の中)に
印を付ける。また用紙には2箇所に黒い丸37,38が
つけられている。上の印37は用紙の向きを特定するた
めの印と、用紙のずれを補正するための印を兼ねてい
る。下の印38は用紙のずれを補正するための2つ目の
印である。Hereinafter, as an example, the contents of a card (see FIG. 5) for changing the contents of a meal, which is called a meal sheet at the time of hospitalization, after surgery, or after an examination, will be transcribed to a chart. FIG.
Is marked at a predetermined position (in the V-shaped frame) on the sheet of the meal sheet shown in FIG. Also, black circles 37 and 38 are attached to the paper in two places. The upper mark 37 serves both as a mark for specifying the direction of the sheet and a mark for correcting the sheet displacement. The lower mark 38 is a second mark for correcting the sheet displacement.
【0032】最初、用紙をスキャンする前に、あらかじ
め用紙をイメージスキャナ33に置かずに一度イメージ
スキャナ33を空読みし、もしごみがついておりかつそ
の位置が誤認識するおそれがある位置の場合は、図6の
ような警告画面を表示する。この場合には、イメージス
キャナ33を掃除してもらうようにする。認識されたご
みはすべて誤認識要因データベース12に登録される。First, before scanning the paper, the image scanner 33 is read once without placing the paper in the image scanner 33 in advance, and if there is any dust and the position may be erroneously recognized, Then, a warning screen as shown in FIG. 6 is displayed. In this case, the image scanner 33 is to be cleaned. All recognized garbage is registered in the misrecognition factor database 12.
【0033】データを入力するときは、図4に示すよう
に用紙をイメージスキャナ33にセットし、パーソナル
コンピュータ32の画面上にGUI(グラフィックユー
ザーインターフェース)ボタン39を押して用紙の画像
を取り込む。用紙の向きが正しいか否かを判断する手段
により、もし用紙が逆であるかもしくはイメージスキャ
ナ33上の位置が大きくずれている場合は図7のような
警告画面を表示する。この場合、用紙を正しい位置にお
いてもらう必要がある。When inputting data, a sheet is set on the image scanner 33 as shown in FIG. 4, and a GUI (graphic user interface) button 39 is pressed on the screen of the personal computer 32 to take in an image of the sheet. The means for determining whether or not the paper orientation is correct displays a warning screen as shown in FIG. 7 if the paper is upside down or the position on the image scanner 33 is greatly shifted. In this case, it is necessary to get the paper at the correct position.
【0034】用紙画像が正しい向きで取り込めた場合、
今度は用紙のずれを補正する。イメージスキャナ33上
に用紙を置くとき、必ずしも理想的な位置にはおけな
い。通常は用紙が傾いたりイメージスキャナ33の蓋4
0を閉めたとき、平行移動したりしてしまう。このずれ
を補正するため、読み取り領域データベース8が持って
いる読み取り座標と、取り込んだ画像の読み取るべき座
標を一致させる必要がある。When the paper image is taken in the correct orientation,
This time, the displacement of the paper is corrected. When placing paper on the image scanner 33, it is not always possible to place the paper at an ideal position. Normally, the paper is inclined or the lid 4 of the image scanner 33 is closed.
When 0 is closed, it moves in parallel. In order to correct this shift, it is necessary to match the read coordinates of the read area database 8 with the coordinates to be read of the captured image.
【0035】人に印をつけてもらう場合、人にによって
様々なくせがあり、枠に対して印を付ける位置も当然違
ってくる。枠の端の方に印をつけてしまうと、読み取り
領域に印全体が入らなくなってしまう。When a person is to have a mark, there are various kinds of quirks depending on the person, and the position where the mark is marked on the frame naturally differs. If a mark is placed near the edge of the frame, the entire mark will not fit in the reading area.
【0036】現状では、読み取り領域内の1つのラベル
の面積があるしきい値を超えたとき、そのラベルは印で
あると認識しているので、前記の場合、そのラベルを印
と認識することができない。At present, when the area of one label in the reading area exceeds a certain threshold value, the label is recognized as a mark. In this case, the label is recognized as a mark. Can not.
【0037】このエラーを補うために、もし読み取り領
域内で認識した範囲でラベル付けされたものの重心位置
が枠の端にあった場合には、読み取り領域を変更するこ
とににより、印の一部が領域(枠)から外れているとき
も印を認識できるようにしている。In order to compensate for this error, if the barycenter position of the label in the range recognized in the reading area is located at the edge of the frame, the reading area is changed to change a part of the mark. Can be recognized even when is outside the area (frame).
【0038】以上の過程を経て認識された印は誤認識要
因データベース8と照合される。これにはパターンマッ
チングを用いる。パターンマッチングによりごみと判断
された場合、図8のような警告を発生する。The mark recognized through the above process is compared with the erroneous recognition factor database 8. For this, pattern matching is used. If it is determined by the pattern matching that there is dust, a warning as shown in FIG. 8 is generated.
【0039】最後に認識された印は患者管理データベー
ス35に登録される。The last recognized mark is registered in the patient management database 35.
【0040】[0040]
【発明の効果】請求項1記載の発明によれば、あらかじ
め画像取り込み装置に付着している誤認識要因を除去す
ることにより、画像認識の際にごみを誤って印と認識し
てしまうという誤認識を防ぐことができるという効果を
奏する。According to the first aspect of the present invention, an erroneous recognition that dust is erroneously recognized as a mark at the time of image recognition is performed by removing an erroneous recognition factor attached to the image capturing device in advance. This has the effect of preventing recognition.
【0041】請求項2記載の発明によれば、用紙に付着
している誤認識要因を除去することにより、画像認識の
際にごみを誤って印と認識してしまうという誤認識を防
ぐことができるという効果を奏する。According to the second aspect of the present invention, it is possible to prevent an erroneous recognition that dust is erroneously recognized as a mark during image recognition by removing an erroneous recognition factor attached to a sheet. It has the effect of being able to.
【0042】請求項3記載の発明によれば、所定枠の端
に印がつけられたとしても、その印を認識することがで
き誤認識を防ぐことができるという効果を奏する。According to the third aspect of the present invention, even if a mark is put on the end of the predetermined frame, the mark can be recognized and erroneous recognition can be prevented.
【0043】請求項4記載の発明によれば、用紙を逆向
きに読み取ったり、用紙が大きくずれていた場合に誤っ
た情報(印)を画像処理装置が認識してしまうのを防ぐ
ことができるという効果を奏する。According to the fourth aspect of the invention, it is possible to prevent the image processing apparatus from recognizing erroneous information (mark) when the paper is read in the reverse direction or when the paper is largely displaced. This has the effect.
【0044】請求項5記載の発明によれば、画像取り込
み装置に置かれた用紙の位置を補正することで、誤った
情報(印の有無)を画像処理装置が認識してしまうのを
防ぐことができるという効果を奏する。According to the fifth aspect of the invention, by correcting the position of the sheet placed on the image capturing device, it is possible to prevent the image processing device from recognizing erroneous information (presence or absence of a mark). This has the effect that it can be performed.
【0045】請求項6記載の発明によれば、印を記入す
るものにある特定の形状の印を意識させ、その特定の形
の印を記入することができることで、誤認識を防ぐこと
ができる。また記入例を示す必要がなく記入スペースが
節約できるという効果を奏する。According to the sixth aspect of the present invention, a mark of a specific shape can be made conscious of a mark to be marked, and a mark of the specific shape can be filled, thereby preventing erroneous recognition. . In addition, there is no need to show an entry example, and the entry space can be saved.
【図1】本発明の実施形態のハードウェア構成図であ
る。FIG. 1 is a hardware configuration diagram of an embodiment of the present invention.
【図2】同上の入力エラーを防止するためのフローを示
す図である。FIG. 2 is a diagram showing a flow for preventing an input error in the above.
【図3】同上の読み取り領域の変更方法の説明図であ
る。FIG. 3 is an explanatory diagram of a method of changing a reading area according to the first embodiment.
【図4】同上の病院向け転記作業支援システムの概要を
示す図である。FIG. 4 is a diagram showing an outline of a transcription work support system for a hospital according to the first embodiment.
【図5】同上の食事箋カードを示す図である。FIG. 5 is a view showing a meal card of the above.
【図6】同上の誤認識要因識別時の警告画面を示す図で
ある。FIG. 6 is a diagram showing a warning screen at the time of identifying an erroneous recognition factor according to the first embodiment;
【図7】同上の用紙読み取りエラー時の警告画面を示す
図である。FIG. 7 is a diagram showing a warning screen when a paper reading error occurs in the embodiment.
【図8】同上の誤認識要因識別時の警告画面を示す図。FIG. 8 is a diagram showing a warning screen at the time of identifying an erroneous recognition factor.
1 画像取り込み装置 2 画像処理装置 3 データベース装置 8 読み取り領域データベース 12 誤認識要因データベース 31 用紙 32 パーソナルコンピュータ 33 イメージスキャナ 34 プリンター 35 データベース 36 カルテ 37 印 38 印 39 GUIボタン 40 イメージスキャナの蓋 Reference Signs List 1 image capturing device 2 image processing device 3 database device 8 reading area database 12 misrecognition factor database 31 paper 32 personal computer 33 image scanner 34 printer 35 database 36 chart 37 mark 38 mark 39 GUI button 40 lid of image scanner
───────────────────────────────────────────────────── フロントページの続き (72)発明者 ブレンダン・ヨーゼフ・ムラン 大阪府門真市大字門真1048番地松下電工株 式会社内 (72)発明者 小山 正樹 大阪府門真市大字門真1048番地松下電工株 式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Brendan-Joseph Mulan 1048 Kadoma Kadoma, Kadoma-shi, Osaka Matsushita Electric Works Co., Ltd. In company
Claims (6)
タベース装置、及び選択項目のいずれか1箇所又は複数
箇所に印を付ける用紙から構成され、前記用紙を画像取
り込み装置にセットし、取り込んだ画像の特定の領域を
解析して所定形状の印の有無を認識する手段によりデー
タを抽出し、抽出した結果を入力データとするデータベ
ースシステムにおいて、用紙がセットされていない時に
画像取り込み装置を動作させて画像取り込み装置に付着
した誤認識要因を画像処理によりあらかじめ検出し、判
断手段により検出した誤認識要因の位置が認識エラーが
おきる位置にあると判断された場合に警告を発すること
を特徴とする画像認識結果を入力データとするデータベ
ースシステムにおける入力エラー防止方法。1. An image capturing device, an image processing device, a database device, and a sheet for marking any one or a plurality of selected items. The sheet is set in the image capturing device, and the captured image is In a database system in which a specific area is analyzed and data is extracted by means for recognizing the presence or absence of a mark having a predetermined shape, and the extracted result is used as input data, an image capturing device is operated when paper is not set and an image is captured. Image recognition characterized in that an erroneous recognition factor attached to a capture device is detected in advance by image processing, and a warning is issued when the position of the erroneous recognition factor detected by the determination means is determined to be a position where a recognition error occurs. An input error prevention method in a database system in which results are used as input data.
いて、誤認識要因を認識した場合、その形状と大きさを
データベースに自動的に登録し、前記データベースの内
容は、あらたにセットした用紙から認識された印の候補
と照合し、誤認識の要因と判断された場合は、警告を発
することを特徴とする画像認識結果を入力データとする
データベースシステムにおける入力エラー防止方法。2. The input error prevention method according to claim 1, wherein when an erroneous recognition factor is recognized, its shape and size are automatically registered in a database, and the contents of said database are read from newly set paper. An input error prevention method in a database system using image recognition results as input data, characterized in that the image recognition results are compared with recognized mark candidates, and a warning is issued when it is determined as a cause of erroneous recognition.
タベース装置、及び選択項目のいずれか1箇所又は複数
箇所に印を付ける用紙から構成され、前記用紙を画像取
り込み装置にセットし、取り込んだ画像の特定の領域を
解析して所定形状の印の有無を認識する手段によりデー
タを抽出し、抽出した結果を入力データとするデータベ
ースシステムにおいて、画像処理装置において認識した
結果、印の一部が認識領域から外れている可能性がある
と判断された場合、印全体を認識し得るように認識領域
を外れている可能性がある方向へ移動することを特徴と
する画像認識結果を入力データとするデータベースシス
テムにおける入力エラー防止方法。3. An image capturing device, an image processing device, a database device, and a sheet for marking any one or a plurality of selected items. The sheet is set in the image capturing device, and the captured image is In a database system in which a specific area is analyzed and data is extracted by means for recognizing the presence or absence of a mark having a predetermined shape, and the extracted result is used as input data, a part of the mark is recognized as a result of recognition by the image processing apparatus. If it is determined that there is a possibility that the image is out of the database, the image recognition result is moved to a direction in which the image may be out of the recognition area so that the entire mark can be recognized. How to prevent input errors in the system.
タベース装置、及び選択項目のいずれか1箇所又は複数
箇所に印を付ける用紙から構成され、前記用紙を画像取
り込み装置にセットし、取り込んだ画像の特定の領域を
解析して所定形状の印の有無を認識する手段によりデー
タを抽出し、抽出した結果を入力データとするデータベ
ースシステムにおいて、用紙の所定の位置にあらかじめ
印をつけておき、その印が認識できなかった場合に、用
紙の向きが逆であるか、又は用紙が画像取り込み領域を
外れていると判断し、警告を発することを特徴とする画
像認識結果を入力データとするデータベースシステムに
おける入力エラー防止方法。4. An image capturing device, an image processing device, a database device, and a sheet for marking any one or a plurality of selected items, the sheet is set in the image capturing device, and the Data is extracted by means for analyzing a specific area and recognizing the presence / absence of a mark of a predetermined shape. In a database system using the extracted result as input data, a predetermined position on a sheet is marked in advance, and the mark is Is not recognized, it is determined that the paper orientation is reverse or the paper is out of the image capturing area, and a warning is issued. Input error prevention method.
タベース装置、及び選択項目のいずれか1箇所又は複数
箇所に印を付ける用紙から構成され、前記用紙を画像取
り込み装置にセットし、取り込んだ画像の特定の領域を
解析して所定形状の印の有無を認識する手段によりデー
タを抽出し、抽出した結果を入力データとするデータベ
ースシステムにおいて、用紙上の異なった2箇所以上の
特定位置にあらかじめ2つ以上の印をつけておき、画像
取り込みの際に少なくとも一箇所の印の位置のずれを検
知し用紙の内容の認識が不可能だと判断した場合に、取
り込んだ画像全体を自動的に移動又は回転させることで
認識可能な位置への補正を行うことを特徴とする画像認
識結果を入力データとするデータベースシステムにおけ
る入力エラー防止方法。5. An image capturing device, an image processing device, a database device, and a sheet for marking any one or a plurality of selected items. The sheet is set in the image capturing device, and the captured image is read. In a database system in which data is extracted by means of analyzing a specific area and recognizing the presence or absence of a mark having a predetermined shape, and the extracted result is used as input data, two data points are previously stored at two or more different specific positions on a sheet. With the above markings on, if the position of at least one mark is detected during image capture and it is determined that the contents of the paper cannot be recognized, the entire captured image is automatically moved or moved. A method for preventing input errors in a database system using image recognition results as input data, characterized by performing correction to a recognizable position by rotating. Law.
法において、用紙のチェック用の枠を所定形状の枠図形
とすることを特徴とする画像認識結果を入力データとす
るデータベースシステムにおける入力エラー防止方法。6. The input error preventing method according to claim 1, wherein the check frame of the sheet is a frame graphic having a predetermined shape, wherein the image recognition result is input data. Prevention method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9174880A JPH1125256A (en) | 1997-06-30 | 1997-06-30 | Method for preventing input error in data base system using image-recognized result as input data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9174880A JPH1125256A (en) | 1997-06-30 | 1997-06-30 | Method for preventing input error in data base system using image-recognized result as input data |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH1125256A true JPH1125256A (en) | 1999-01-29 |
Family
ID=15986284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9174880A Pending JPH1125256A (en) | 1997-06-30 | 1997-06-30 | Method for preventing input error in data base system using image-recognized result as input data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH1125256A (en) |
-
1997
- 1997-06-30 JP JP9174880A patent/JPH1125256A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6782144B2 (en) | Document scanner, system and method | |
US6707466B1 (en) | Method and system for form recognition and digitized image processing | |
US9836665B2 (en) | Management system, list production device, method, computer readable recording medium, data structure, and printed label | |
US20070291017A1 (en) | Camera-equipped writing tablet apparatus for digitizing form entries | |
US5869789A (en) | Image digitizer with page number detector and recorder | |
US6760490B1 (en) | Efficient checking of key-in data entry | |
JP6773400B2 (en) | A recording medium equipped with a form recognition device, a form recognition system, a form recognition system program, a form recognition system control method, and a form recognition system program. | |
JP4594952B2 (en) | Character recognition device and character recognition method | |
TW202013239A (en) | Image processing system, image processing method and program product | |
JPH1125256A (en) | Method for preventing input error in data base system using image-recognized result as input data | |
JP2004504650A (en) | Methods and systems for form recognition and digitized image processing | |
US8218913B1 (en) | Identifying a front page in media material | |
JP4309881B2 (en) | ID card recognition apparatus and ID card recognition method | |
JP3954247B2 (en) | Document input method, recording medium recording document input program, and document input device | |
JP3412441B2 (en) | Image processing device | |
JPH10124610A (en) | Optical character reading device | |
JPH06111057A (en) | Optical character reader | |
JP4009314B2 (en) | Form layout identification method and form layout identification system | |
JP2004280530A (en) | System and method for processing form | |
JPH07152856A (en) | Optical character reader | |
JP3006294B2 (en) | Optical character reader | |
JP2001155139A (en) | Storage medium for pen-type input device with camera | |
JP2019175361A (en) | Image reading device, image reading method, image reading system, and program | |
JP2021022285A (en) | Medium identification device, medium identification system, and medium identification method | |
JPH0452885A (en) | Character reader |