JP2019091202A - Segment display reader and method - Google Patents
Segment display reader and method Download PDFInfo
- Publication number
- JP2019091202A JP2019091202A JP2017219009A JP2017219009A JP2019091202A JP 2019091202 A JP2019091202 A JP 2019091202A JP 2017219009 A JP2017219009 A JP 2017219009A JP 2017219009 A JP2017219009 A JP 2017219009A JP 2019091202 A JP2019091202 A JP 2019091202A
- Authority
- JP
- Japan
- Prior art keywords
- character
- recognition
- segment display
- target
- false
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 30
- 238000003384 imaging method Methods 0.000 claims description 13
- 239000000284 extract Substances 0.000 abstract description 4
- 238000004891 communication Methods 0.000 description 7
- 230000005611 electricity Effects 0.000 description 5
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 5
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Abstract
Description
本発明は、セグメント表示器を撮影した画像から表示出力されているデジタルデータの読み取りを行うためのセグメント表示読取技術に関する。 The present invention relates to a segment display reading technique for reading digital data displayed and output from an image obtained by capturing a segment display.
従来、ガス、電気、水道などの使用量を検針する技術として、これらガス、電気、水道の積算量を計測する積算量メータにセグメント表示読取装置を搭載して、積算量メータのセグメント表示器が表示出力した積算量を自動的に読み取る技術が提案されている(例えば、特許文献1など参照)。
このセグメント表示読取装置は、セグメント表示器でLEDやLCDで表示出力された数字をカメラで撮影し、得られた画像を文字認識処理することにより、表示出力された数字をデジタルデータとして読み取るものである。
In the past, as a technology for measuring the usage of gas, electricity, water, etc., a segment display reading device is mounted on the integrated quantity meter that measures the integrated quantity of gas, electricity, water, etc. There has been proposed a technique for automatically reading the integrated amount output for display (see, for example, Patent Document 1).
This segment display reader reads numbers displayed and output as digital data by photographing the numbers displayed and output by LEDs and LCDs with a segment display with a camera and performing character recognition processing on the obtained image. is there.
一般に、セグメント表示器は、表示データの変化に応じて点灯するセグメントを切り替える。このため、画像の撮影タイミングによって、切り替えにより点灯から消灯へ移行するセグメントが、切替後に点灯するセグメントと重なって撮影される場合がある。例えば、ある桁が「5」から「6」に切り替えられる場合、これら「5」と「6」のセグメントが重複し「8」のように撮影されてしまう。このような重複画像を文字認識した場合、認識誤りが発生する。 In general, the segment display switches segments to be lit in response to changes in display data. For this reason, depending on the imaging timing of the image, a segment that transitions from on to off by switching may be imaged overlapping with a segment that is on after switching. For example, when a certain digit is switched from "5" to "6", these "5" and "6" segments overlap and are photographed as "8". In the case of character recognition of such an overlapping image, a recognition error occurs.
前述した従来技術では、予め積算量の増える速さから、積算量の予測値を算出しておき、文字認識で得られた読取結果を予測値と比較することにより、読取結果の認識確度を判定している。
これにより、読取結果と予測値との乖離が小さい場合には、読取結果の認識確度が高く、乖離が大きい場合には、読取結果の認識確度が低いと判定される。
In the prior art described above, the predicted value of the integrated amount is calculated in advance from the speed at which the integrated amount increases, and the recognition accuracy of the read result is determined by comparing the read result obtained by character recognition with the predicted value. doing.
Thus, when the deviation between the read result and the predicted value is small, the recognition accuracy of the read result is high, and when the deviation is large, it is determined that the recognition accuracy of the read result is low.
しかしながら、従来技術の予測値は、表示データが一定の方向に一定の割合で増減することを前提として、予測量×時間により予測値を算出しているため、積算量のようなデジタルデータであれば、適切な認識確度を得ることができるものの、表示データが不規則に変化する場合には、適切な認識確度を得ることができないという問題点があった。
例えば、セグメント表示器を持つ温度計では、測定した温度をセグメント表示器で表示するため、表示データは不規則に増減することも考えられる。また、温度に限らず、圧力や流量も不規則に増減し、一定の方向に一定の割合で増減しない場合がある。したがって、従来技術によれば、このようなケースでは適切な認識確度を得ることができない。
However, since the predicted value in the prior art is calculated based on the predicted amount × time on the assumption that the display data is increased or decreased at a fixed rate in a fixed direction, digital data such as an integration amount may be used. For example, although appropriate recognition accuracy can be obtained, there is a problem that when the display data changes irregularly, appropriate recognition accuracy can not be obtained.
For example, in a thermometer having a segment indicator, display data may be irregularly increased or decreased in order to indicate the measured temperature on the segment indicator. Moreover, not only the temperature but also the pressure and the flow rate may increase or decrease irregularly, and may not increase or decrease at a constant rate in a constant direction. Therefore, according to the prior art, an appropriate recognition accuracy can not be obtained in such a case.
本発明はこのような課題を解決するためのものであり、表示データが一定の方向に一定の割合で増減しない場合でも、適切な認識確度を得ることができるセグメント表示読取技術を提供することを目的としている。 The present invention is intended to solve such problems, and to provide a segment display reading technology capable of obtaining an appropriate recognition accuracy even when display data does not increase or decrease in a fixed direction at a fixed rate. The purpose is.
このような目的を達成するために、本発明にかかるセグメント表示読取装置は、複数のセグメントを点消灯制御することにより複数種類の文字を切替表示するセグメント表示器の表示出力を撮像するカメラと、前記カメラの撮像出力を文字認識処理するように構成された文字認識部と、前記文字認識部で得られた認識結果を時系列データとして記憶するように構成された記憶部と、前記時系列データから選択した対象認識結果について、当該対象認識結果の確からしさを示す確度情報を生成するように構成された確度情報生成部とを備え、前記記憶部は、前記セグメント表示器で前後して切替表示される任意の2種類の前文字および後文字と、これら前文字および後文字が前後して切替表示された際に発生しうる切替時文字との組み合わせからなる誤認識パターンが、予め複数登録されている誤認識パターンデータを記憶し、前記確度情報生成部は、前記時系列データから前記対象認識結果と当該対象認識結果に対して時系列順で直前および直後に位置する直前認識結果および直後認識結果とを取得し、これら対象認識結果、直前認識結果、および直後認識結果から、それぞれの桁位置ごとに、同一桁に位置する文字を対象文字、直前文字、および直後文字として抽出し、これら対象文字、直前文字、および直後文字の組み合わせと一致する、切替時文字、前文字および後文字の組み合わせを有する一致誤認識パターンが前記誤認識パターンデータに登録されている場合、当該一致誤認識パターンから推定される候補文字に基づいて、前記対象文字の認識確度を示す確度情報を生成するようにしたものである。 In order to achieve such an object, a segment display reading device according to the present invention is a camera which picks up a display output of a segment display which switches and displays a plurality of types of characters by turning on and off a plurality of segments. A character recognition unit configured to perform character recognition processing on an imaging output of the camera; a storage unit configured to store recognition results obtained by the character recognition unit as time series data; and the time series data And a certainty information generation unit configured to generate certainty information indicating the certainty of the subject recognition result for the subject recognition result selected from among A combination of any two types of preceding and following characters, and switching characters that may occur when these preceding and subsequent characters are switched back and forth Storing the plurality of erroneous recognition pattern data in which the plurality of erroneous recognition patterns are registered in advance, and the accuracy information generation unit is configured to calculate the target recognition result from the time series data and the target recognition result immediately before and in time series order. The immediately preceding recognition result and the immediately subsequent recognition result located immediately after are acquired, and from the object recognition result, the immediately preceding recognition result and the immediately subsequent recognition result, the character located at the same digit for each digit position is the target character, immediately preceding character And the immediately following character are extracted, and a matching false recognition pattern having a combination of the switching character, the previous character and the subsequent character that matches the combination of the target character, the immediately preceding character, and the immediately subsequent character is registered in the false recognition pattern data. If it does, generation of accuracy information indicating the recognition accuracy of the target character is generated based on the candidate character estimated from the matching false recognition pattern In which was to so that.
また、本発明にかかる上記セグメント表示読取装置の一構成例は、前記確度情報生成部が、前記一致誤認識パターンが前記誤認識パターンデータに登録されている場合、当該一致誤認識パターンの後文字を前記候補文字として選択するようにしたものである。 In one configuration example of the segment display reading device according to the present invention, in the case where the accuracy information generation unit registers the false recognition pattern in the false recognition pattern data, a character following the false recognition pattern Is selected as the candidate character.
また、本発明にかかる上記セグメント表示読取装置の一構成例は、前記確度情報生成部が、前記一致誤認識パターンが前記誤認識パターンデータに登録されていない場合、前記誤認識パターンデータのうち切替時文字および前文字が前記対象文字および直前文字と一致するすべての誤認識パターンから、当該誤認識パターンの後文字を前記候補文字として選択するようにしたものである。 Further, according to one configuration example of the segment display reading device according to the present invention, when the accuracy information generation unit does not register the false recognition pattern in the false recognition pattern data, switching among the false recognition pattern data is performed. The character selected after the misrecognition pattern is selected as the candidate character from among all the misrecognition patterns in which the hour character and the preceding character match the target character and the immediately preceding character.
また、本発明にかかる上記セグメント表示読取装置の一構成例は、前記確度情報生成部が、前記一致誤認識パターンが前記誤認識パターンデータに登録されていない場合、前記誤認識パターンデータのうち切替時文字が前記対象文字と一致するすべての誤認識パターンから、当該誤認識パターンの後文字を前記候補文字として選択するようにしたものである。 Further, according to one configuration example of the segment display reading device according to the present invention, when the accuracy information generation unit does not register the false recognition pattern in the false recognition pattern data, switching among the false recognition pattern data is performed. The character after the false recognition pattern is selected as the candidate character from among all false recognition patterns in which the hour letter matches the target character.
また、本発明にかかる上記セグメント表示読取装置の一構成例は、前記確度情報生成部が、前記対象文字が数字である場合、当該対象文字を前記候補文字に追加するようにしたものである。 Further, in one configuration example of the segment display reading device according to the present invention, when the target character is a numeral, the probability information generation unit adds the target character to the candidate character.
また、本発明にかかるセグメント表示読取方法は、セグメント表示器の表示出力を読み取るセグメント表示読取装置で用いられるセグメント表示読取方法であって、カメラが、複数のセグメントを点消灯制御することにより複数種類の文字を切替表示する前記セグメント表示器の表示出力を撮像する撮像ステップと、文字認識部が、前記カメラの撮像出力を文字認識処理するように構成された文字認識ステップと、記憶部が、前記文字認識ステップで得られた認識結果を順次取り込んで時系列データとして記憶する記憶ステップと、確度情報生成部が、前記時系列データから選択した対象認識結果について、当該対象認識結果の確からしさを示す確度情報を生成するように構成された確度情報生成ステップとを備え、前記記憶ステップは、前記セグメント表示器で前後して切替表示される任意の2種類の前文字および後文字と、これら前文字および後文字が前後して切替表示された際に発生しうる切替時文字との組み合わせからなる誤認識パターンが、予め複数登録されている誤認識パターンデータを記憶するステップを含み、前記確度情報生成ステップは、前記時系列データから前記対象認識結果と当該対象認識結果に対して時系列順で直前および直後に位置する直前認識結果および直後認識結果とを取得し、これら対象認識結果、直前認識結果、および直後認識結果から、それぞれの桁位置ごとに、同一桁に位置する文字を対象文字、直前文字、および直後文字として抽出し、これら対象文字、直前文字、および直後文字の組み合わせと一致する、切替時文字、前文字および後文字の組み合わせを有する一致誤認識パターンが前記誤認識パターンデータに登録されている場合、当該一致誤認識パターンから推定される候補文字に基づいて、前記対象文字の認識確度を示す確度情報を生成するステップを含んでいる。 A segment display reading method according to the present invention is a segment display reading method used in a segment display reading device for reading display output of a segment display, and a plurality of types of cameras are controlled by turning on and off a plurality of segments. An imaging step for imaging the display output of the segment display for switching and displaying the characters; a character recognition step in which the character recognition unit is configured to perform character recognition processing for the imaging output of the camera; The storage step of sequentially fetching the recognition result obtained in the character recognition step and storing it as time series data, and the certainty information generation unit indicates the certainty of the target recognition result for the target recognition result selected from the time series data. Generating probability information configured to generate probability information, said storing step It consists of a combination of any two types of preceding and following characters that are switched and displayed before and after on the segment display, and switching characters that can occur when these before and after characters are switched and displayed before and after. Storing a plurality of erroneous recognition pattern data in which a plurality of erroneous recognition patterns are registered in advance, and the accuracy information generation step is performed in chronological order with respect to the target recognition result and the target recognition result from the time series data The immediately preceding recognition result and the immediately subsequent recognition result located immediately before and immediately after are acquired, and from the target recognition result, the immediately preceding recognition result, and the immediately subsequent recognition result, the character located at the same digit for each digit position is the target character A character before switching, a character before, and a character that is extracted as the character before and the character after, and that matches the combination of the target character, the character before, and the character after, When a matching false recognition pattern having a combination of characters is registered in the false recognition pattern data, the probability information indicating the recognition probability of the target character is generated based on the candidate characters estimated from the matching false recognition pattern. Contains steps.
本発明によれば、表示データが一定の方向に一定の割合で増減しない場合でも、適切な認識確度を得ることが可能となる。したがって、ガス、電気、水道の積算量を計測する積算量メータ以外の機器、例えば、温度計、圧力計、流量計などの各種機器についても、そのセグメント表示器で表示出力された表示データを読み取るとともに、適切な認識確度を付与することが可能となる。 According to the present invention, it is possible to obtain an appropriate recognition accuracy even when display data does not increase or decrease at a constant rate in a constant direction. Therefore, also for devices other than integrated quantity meters that measure integrated quantities of gas, electricity, and water, for example, various devices such as thermometers, pressure gauges, flow meters, etc. read display data displayed and output by their segment displays. In addition, appropriate recognition accuracy can be provided.
次に、本発明の一実施の形態について図面を参照して説明する。
[セグメント表示読取装置]
まず、図1を参照して、本実施の形態にかかるセグメント表示読取装置10について説明する。図1は、セグメント表示読取装置の構成を示すブロック図である。
Next, an embodiment of the present invention will be described with reference to the drawings.
[Segment display reader]
First, the segment
このセグメント表示読取装置10は、全体としてパーソナルコンピュータや産業用コントローラなどの情報処理装置からなり、ガス、電気、水道の積算量を計測する積算量メータのほか、温度計、圧力計、流量計などの各種などの計測機器に搭載されているセグメント表示器20の表示出力を読み取って、デジタルデータを出力する装置である。
The
[発明の原理]
セグメント表示器20は、LEDやLCDなどの表示素子からなる複数のセグメントを点消灯制御することにより、複数種類の文字を切替表示する表示器である。図2は、7セグメント表示器の表示例である。ここでは、7つのセグメントを用いて数字を切替表示する例が示されている。
このようなセグメント表示器20をカメラで撮像した場合、画像の撮影タイミングによって、切り替えにより点灯から消灯へ移行するセグメントが、切替後に点灯するセグメントと重なって撮影される場合がある。このような画像を文字認識処理すると、結果として誤認識が発生する場合がある。
[Principle of the invention]
The
When such a
図3は、7セグメント表示器における誤認識発生例である。ここでは前文字mから後文字nに切替表示した際に発生する切替時文字eの例が示されている。例えば、数字「4」から数字「7」に切替表示した際には、その切替途中の画像からアルファベット文字「q」として認識される場合がある。また、数字「2」から数字「3」に切替表示した際には、その切替途中の画像からアルファベット文字「a」という誤認識が発生する場合がある。また、数字「0」から数字「2」に切替表示した際には、その切替途中の画像から数字「8」という誤認識が発生する場合がある。また、数字「4」から数字「5」に切替表示した際には、その切替途中の画像から数字「9」という誤認識が発生する場合がある。 FIG. 3 shows an example of erroneous recognition occurring in a 7-segment display. Here, an example of the switching time letter e generated when switching display from the previous letter m to the subsequent letter n is shown. For example, when the number "4" is switched to the number "7", an image in the middle of the switching may be recognized as an alphabetic character "q". In addition, when the display is switched from the number "2" to the number "3", an erroneous recognition of the alphabet character "a" may occur from the image during the switching. In addition, when the display is switched from the number “0” to the number “2”, an erroneous recognition of the number “8” may occur from the image during the switching. Further, when the number "4" is switched to the number "5", an erroneous recognition of the number "9" may occur from the image during the switching.
このような誤認識をすべて検証すると、前後して切替表示された前文字および後文字と誤認識された切替時文字との間には、次のような関係性が存在していることが分かった。
・発生しうる切替時文字は数種類(7セグメント表示器の場合には「q」,「a」,「8」,「9」の4種類)に限定される。
・切替時文字と直前文字および直後文字との組み合わせは、これら切替時文字ごとにある程度限定される。
・各組み合わせにおいて、切替時文字に対応する実表示文字は、それぞれの組み合わせを構成する直後文字である可能性が高い。
・切替時文字が数字の場合、切替時文字自体も実表示文字である可能性がある。
・切替時文字に関する組み合わせとして、前文字および後文字を含む組み合わせが存在しない場合、切替時文字に関するすべての組み合わせを構成する直後文字が、実表示文字である可能性がある。
When all such false recognitions are verified, it is understood that the following relationship exists between the front character and the rear character which are displayed in succession before and after and the switching character which is misrecognized. The
The number of switching characters that can be generated is limited to several types (four types of “q”, “a”, “8”, and “9” in the case of a 7-segment display).
The combination of the switching character with the immediately preceding character and the immediately following character is limited to a certain extent for each switching character.
In each combination, the actual display character corresponding to the switching character is highly likely to be a character immediately after the combination.
If the switching character is a number, the switching character itself may be a real display character.
If there is no combination including the front character and the rear character as the combination of switching characters, the immediately following characters constituting all the combinations of switching characters may be the actual display characters.
なお、本発明では、前後して切替表示された2つの文字のうち、切替前に表示された文字を前文字といい、切替後に表示された文字を後文字といい、その切替途中で誤認識された文字を切替時文字という。また、実際に表示された文字を実表示文字という。 In the present invention, of the two characters switched and displayed before and after, the character displayed before switching is referred to as the front character, the character displayed after switching is referred to as the back character, and erroneous recognition is made during the switching. These characters are called switching characters. Also, the characters actually displayed are called real display characters.
本発明は、前後して切替表示された前文字および後文字と誤認識された切替時文字との間に、前述したような関係性が存在していることに着目し、これら切替時文字と前文字および後文字との組み合わせを誤認識パターンとして予め登録しておき、これら誤認識パターンのうち、実際に認識された対象文字とその前後で切替表示された直前文字および直後文字の組み合わせと一致する誤認識パターンに基づいて、実表示文字に相当する候補文字を推定し、推定した候補文字に基づいて対象文字の認識確度を示す確度情報を生成するようにしたものである。 The present invention pays attention to the fact that the relationship as described above exists between the preceding character and the following character that are erroneously recognized as the following characters that are switched and displayed before and after. A combination of the preceding character and the following character is registered in advance as a misrecognition pattern, and among these misrecognition patterns, the target character actually recognized and the combination of the immediately preceding character and the immediately following character displayed switched back and forth are matched The candidate characters corresponding to the actual display character are estimated based on the erroneous recognition pattern, and the probability information indicating the recognition accuracy of the target character is generated based on the estimated candidate character.
また、対象文字、直前文字、および直後文字については、認識結果を構成する複数文字の桁ごとに時系列順に切替表示された文字に相当する。このため、実際に得られた認識結果を時系列データとして順次記憶し、任意の認識結果に関する確度情報を生成する場合、対象となる対象認識結果に対して時系列順で前後する直前認識結果と直後認識結果から、それぞれの桁位置ごとに、同一桁に位置する文字を対象文字、直前文字、および直後文字として抽出するようにしたものである。 The target character, the immediately preceding character, and the immediately subsequent character correspond to the characters switched and displayed in chronological order for each of a plurality of characters constituting the recognition result. For this reason, when the recognition results actually obtained are sequentially stored as time-series data and accuracy information regarding an arbitrary recognition result is generated, the immediately preceding recognition result before and after the target recognition result to be an object From the recognition result immediately after, for each digit position, characters located at the same digit are extracted as a target character, a preceding character, and a subsequent character.
[本実施の形態の構成]
次に、図1を参照して、本実施の形態にかかるセグメント表示読取装置10の構成について詳細に説明する。
図1に示すように、本実施の形態にかかるセグメント表示読取装置10は、主な機能部として、通信I/F部11、カメラ12、記憶部13、および演算処理部14を備えている。
[Configuration of the present embodiment]
Next, the configuration of the segment
As shown in FIG. 1, the segment
通信I/F部11は、通信回線Lを介して、上位装置30などの外部装置との間でデータ通信を行う機能を有している。
カメラ12は、CCDカメラなどの一般的な撮像装置からなり、セグメント表示器20の表示出力を撮像する機能を有している。
The communication I /
The
記憶部13は、半導体メモリやハードディスクなどの記憶装置からなり、演算処理部14での処理に用いる各種処理データやプログラム13Pを記憶する機能を有している。
プログラム13Pは、演算処理部14のCPUにより読み出されて実行されることにより、CPUと協働して各種処理を実現するプログラムであり、例えば通信I/F部11を介して接続された外部装置や記録媒体(ともに図示せず)から、予め読み込まれて記憶部13に格納される。
The
The
記憶部13で記憶される主な処理データとして、誤認識パターンデータ13A、時系列データ13B、読取結果データ13Cがある。
誤認識パターンデータ13Aは、セグメント表示器20で前後して切替表示される任意の2種類の前文字および後文字と、これら前文字および後文字が前後して切替表示された際に発生しうる切替時文字との組み合わせからなる誤認識パターンが、予め複数登録されたデータである。
As main processing data stored in the
The
図4は、誤認識パターンデータの構成例である。ここでは、前文字mおよび後文字nと切替時文字e(m,n)との組み合わせからなる誤認識パターンが縦横マトリクス形式で登録されており、縦方向が前文字mを示し、横方向が後文字nを示し、その交差位置に切替時文字e(m,n)が配置されている。
例えば、前文字m=「4」と後文字n=「7」との交差位置には、「4」から「7」に切替表示された際に発生しうる切替時文字e(4,7)=「q」が配置されている。また、前文字m=「4」と後文字n=「8」との交差位置はe(4,8)=空白となっており、誤認識が発生しないことが示されている。
FIG. 4 is a configuration example of false recognition pattern data. Here, misrecognition patterns consisting of a combination of the front character m and the back character n and the switching character e (m, n) are registered in the vertical and horizontal matrix format, the vertical direction indicates the front character m, and the horizontal direction is The back letter n is shown, and the switching time letter e (m, n) is arranged at the intersection position.
For example, switching character e (4, 7) which may occur when switching display from “4” to “7” at the intersection position of the front character m = “4” and the rear character n = “7” = "Q" is arranged. Further, the intersection position of the front character m = “4” and the rear character n = “8” is e (4, 8) = blank, which indicates that no erroneous recognition occurs.
時系列データ13Bは、カメラ12の撮像出力である画像データを演算処理部14で文字認識処理して得られた認識結果を、順次取り込んで記録したデータである。
読取結果データ13Cは、時系列データ13Bに記録されている認識結果に対して、その確からしさを示す確度情報を付与したデータである。
The time-
The reading
演算処理部14は、CPUとその周辺回路を有し、記憶部13のプログラム13Pを読み出して実行することにより、ハードウェアとソフトウェアとを協働させることにより、各種処理部を実現する機能を有している。
演算処理部14で実現される主な処理部として、文字認識部14A、確度情報生成部14B、および記録部14Cがある。
The
As main processing units realized by the
文字認識部14Aは、カメラ12の撮像出力である画像データを文字認識処理する機能を有している。文字認識処理については、公知の手法を用いればよい。
確度情報生成部14Bは、記憶部13の時系列データ13Bから選択した対象認識結果Dについて、当該対象認識結果Dの確からしさを示す確度情報Qを生成する機能を有している。
記録部14Cは、確度情報生成部14Bで生成された確度情報Qを、対象認識結果Dに対応付けて、記憶部13の読取結果データ13Cに記録する機能を有している。
The
The certainty
The
[第1の実施の形態の動作]
次に、本実施の形態にかかるセグメント表示読取装置10の動作について説明する。
まず、図5を参照して、セグメント表示読取装置10の文字認識動作について説明する。図5は、文字認識処理を示すフローチャートである。
文字認識部14Aは、一定の周期で図5の文字認識処理を繰り返し実行する。
[Operation of First Embodiment]
Next, the operation of the segment
First, the character recognition operation of the segment
The
まず、文字認識部14Aは、カメラ12でセグメント表示器20の表示出力を撮像し(ステップ100)、得られた画像データを文字認識処理する(ステップ101)。これにより、表示出力された複数の文字に関する認識結果Dを生成される。
この後、文字認識部14Aは、得られた認識結果Dを記憶部13の時系列データ13Bに記録し(ステップ102)、一連の文字認識処理を終了する。
First, the
Thereafter, the
次に、図6を参照して、セグメント表示読取装置10の確度情報生成動作について説明する。図6は、確度情報生成処理を示すフローチャートである。
確度情報生成部14Bは、例えば予め設定されている時刻が到来した時点、時系列データ13Bに一定数の認識結果Dが記録された時点、さらには、上位装置30から読取結果送信要求が通知された時点など、確度情報の生成が必要な時点において、図6の確度情報生成処理を実行する。
Next, with reference to FIG. 6, the operation of generating the likelihood information of the segment
For example, when a predetermined time arrives, when a certain number of recognition results D are recorded in the time-
まず、確度情報生成部14Bは、記憶部13の時系列データ13Bから、確度情報生成処理の対象となる時刻iの対象認識結果D(i)と当該対象認識結果D(i)に対して時系列順で直前および直後に位置する直前認識結果D(i−1)および直後認識結果D(i+1)とを取得する(ステップ110)。
First, from the time-
次に、確度情報生成部14Bは、これらD(i),D(i−1),D(i+1)から、未抽出の桁jの対象文字x(i,j),直前文字x(i−1,j),および直後文字x(i+1,j)を抽出し(ステップ111)、D(i)が「8」,「9」,「a」,「q」以外であるか確認し(ステップ112)、D(i)が「8」,「9」,「a」,「q」以外である場合には(ステップ112:YES)、後述するステップ121へ移行する。
Next, from these D (i), D (i-1), D (i + 1), the likelihood
一方、D(i)が「8」,「9」,「a」,「q」のいずれかである場合(ステップ112:NO)、確度情報生成部14Bは、記憶部13の誤認識パターンデータ13Aを参照して、x(i,j),x(i−1,j),x(i+1,j)の組み合わせと一致する、切替時文字e,前文字m,後文字nの組み合わせを有する誤認識パターンPの登録有無を確認する(ステップ113)。
On the other hand, when D (i) is any of “8”, “9”, “a”, and “q” (step 112: NO), the likelihood
ここで、x(i,j),x(i−1,j),x(i+1,j)の組み合わせと一致するe,m,nの組み合わせを有する一致誤認識パターンPが、誤認識パターンデータ13Aに登録されている場合(ステップ113:YES)、確度情報生成部14Bは、一致誤認識パターンPの後文字nを、x(i,j)の候補文字R(i,j)として選択する(ステップ116)。
次に、確度情報生成部14Bは、x(i,j)が数値であれば、x(i,j)をR(i,j)に追加する(ステップ117)。
Here, the erroneous recognition pattern P having a combination of e, m and n that matches the combination of x (i, j), x (i-1, j) and x (i + 1, j) is erroneous recognition pattern data If it is registered in 13A (step 113: YES), the likelihood
Next, if x (i, j) is a numerical value, the
この後、確度情報生成部14Bは、このようにして得られたR(i,j)に基づいて、x(i,j)がR(i,j)である可能性が高いと判定し(ステップ118)、この判定結果に基づいて、x(i,j)がR(i,j)である可能性が高いという旨の、x(i,j)に関する確度情報Q(i,j)を生成する(ステップ119)。記録部14Cは、得られた確度情報Q(i,j)をD(i)のx(i,j)と対応付けて、記憶部13の読取結果データ13Cに記録する(ステップ120)。
After this, based on R (i, j) thus obtained, the probability
次に、確度情報生成部14Bは、D(i)の全桁の抽出が完了したか確認し(ステップ120)、未抽出の桁が存在する場合には(ステップ121:NO)、ステップ111に戻る。
一方、D(i)の全桁の抽出が完了した場合(ステップ121:YES)、確度情報生成部14Bは、各桁jのQ(i,j)からD(i)の確度情報Q(i)を生成する(ステップ122)。記録部14Cは、得られた確度情報Q(i)をD(i)と対応付けて、記憶部13の読取結果データ13Cに記録し(ステップ123)、一連の確度情報生成処理を終了する。
Next, the probability
On the other hand, when extraction of all digits of D (i) is completed (step 121: YES), accuracy
また、ステップ113において、x(i,j),x(i−1,j),x(i+1,j)の組み合わせと一致するe,m,nの組み合わせを有する一致誤認識パターンPが、誤認識パターンデータ13Aに登録されていない場合(ステップ113:NO)、確度情報生成部14Bは、x(i,j),x(i−1,j)の組み合わせと一致するe,mの組み合わせを有する一致誤認識パターンPの登録有無を確認する(ステップ114)。
Further, in
ここで、x(i,j),x(i−1,j)の組み合わせと一致するe,mの組み合わせを有する一致誤認識パターンPが、誤認識パターンデータ13Aに登録されている場合(ステップ114:YES)、前述したステップ116へ移行して、x(i,j),x(i−1,j)の組み合わせと一致するe,mの組み合わせを有するすべての一致誤認識パターンPの後文字nを候補文字R(i,j)として選択する(ステップ116)。
Here, a case in which a mismatch recognition pattern P having a combination of e and m that matches a combination of x (i, j) and x (i-1, j) is registered in the
また、ステップ114において、x(i,j),x(i−1,j)の組み合わせと一致するe,mの組み合わせを有する一致誤認識パターンPが、誤認識パターンデータ13Aに登録されていない場合(ステップ114:NO)、確度情報生成部14Bは、x(i,j)と一致するeを有する一致誤認識パターンPの登録有無を確認する(ステップ115)。
Further, in
ここで、x(i,j)と一致するeを有する一致誤認識パターンPが、誤認識パターンデータ13Aに登録されている場合(ステップ115:YES)、前述したステップ116へ移行して、x(i,j)と一致するeを有するすべての一致誤認識パターンPの後文字nを候補文字R(i,j)として選択する(ステップ116)。
Here, when the matching false recognition pattern P having e matching the x (i, j) is registered in the false
また、ステップ115において、x(i,j)と一致するeを有する一致誤認識パターンPが、誤認識パターンデータ13Aに登録されていない場合(ステップ115:NO)、前述したステップ121へ移行する。
この場合、対象認識結果D(i)から抽出した対象結果x(i,j)の認識結果が正しいことになるため、確度情報Q(i,j)を生成する必要はない。なお、対象結果x(i,j)の認識結果が正しい(誤りがない)ことを示す確度情報Q(i,j)を生成した後、ステップ120へ移行するようにしてもよい。
In addition, in
In this case, since the recognition result of the target result x (i, j) extracted from the target recognition result D (i) is correct, it is not necessary to generate the probability information Q (i, j). It should be noted that the process may move to step 120 after the probability information Q (i, j) indicating that the recognition result of the target result x (i, j) is correct (no error).
[動作例]
次に、図7を参照して、本実施の形態にかかる確度情報生成処理の動作例について説明する。図7は、確度情報生成動作例を示す説明図である。
ここでは、時刻Tiの対象認識結果D(i)が「a8」であり、その直前時刻Ti−1の直前認識結果D(i+1)が「30」であり、その直後時刻Ti+1の直後認識結果D(i+1)が「29」であり、それぞれ2桁の文字から構成されている場合を例として説明する。なお、記憶部13の誤認識パターンデータ13Aには、図4に示した内容が予め登録されているものとする。
[Operation example]
Next, with reference to FIG. 7, an operation example of the accuracy information generation process according to the present embodiment will be described. FIG. 7 is an explanatory view showing an example of the accuracy information generation operation.
Here, the target recognition result D (i) at time Ti is “a8”, and the immediately preceding recognition result D (i + 1) at time Ti−1 immediately before that is “30”, and the recognition result D immediately after time Ti + 1 A case where (i + 1) is “29” and each of which is composed of two-digit characters will be described as an example. It is assumed that the content shown in FIG. 4 is registered in advance in the erroneous
まず、1桁目(j=1)の確度情報生成処理では、D(i),D(i+1),D(i+1)から、対象文字x(i,1)=「a」、直前文字x(i−1,1)=「3」、直後文字x(i+1,1)=「2」が抽出される。次に、これら「a」,「3」,「2」の組み合わせと一致する、切替時文字e,前文字m,後文字nの組み合わせを有する誤認識パターンが誤認識パターンデータ13Aに登録されているか確認される。
First, in the probability information generation process for the first digit (j = 1), the target character x (i, 1) = “a”, the immediately preceding character x (from D (i), D (i + 1), D (i + 1) i-1, 1) = "3", the immediately following letter x (i + 1, 1) = "2" is extracted. Next, an erroneous recognition pattern having a combination of the switching character e, the previous character m, and the subsequent character n which matches the combination of “a”, “3” and “2” is registered in the erroneous
ここで、e=「a」,m=「3」,n=「2」の組み合わせを有する一致誤認識パターンPが登録されている場合、Pのn=「2」がx(i,1)の候補文字R(i,1)として選択され、x(i,1)は「2」である可能性が高いという旨の確度情報Q(i,1)が生成される。 Here, in the case where a misidentification recognition pattern P having a combination of e = “a”, m = “3”, n = “2” is registered, n = “2” of P is x (i, 1) The probability information Q (i, 1) is generated which is selected as the candidate character R (i, 1) of x and that x (i, 1) is likely to be “2”.
また、2桁目(j=2)の確度情報生成処理では、D(i),D(i+1),D(i+1)から、対象文字x(i,2)=「8」、直前文字x(i−1,2)=「0」、直後文字x(i+1,2)=「9」が抽出される。次に、これら「8」,「0」,「9」の組み合わせと一致する、切替時文字e,前文字m,後文字nの組み合わせを有する誤認識パターンが誤認識パターンデータ13Aに登録されているか確認される。
Also, in the probability information generation process for the second digit (j = 2), from D (i), D (i + 1), D (i + 1), target character x (i, 2) = “8”, immediately preceding character x ( i-1, 2) = "0", and the immediately following character x (i + 1, 2) = "9" is extracted. Next, a misrecognition pattern having a combination of the switching letter e, the previous letter m, and the subsequent letter n that matches the combination of “8”, “0”, and “9” is registered in the
ここで、e=「8」,m=「0」,n=「9」の組み合わせを有する一致誤認識パターンPが登録されている場合、Pのn=「9」がx(i,2)の候補文字R(i,2)として選択される。また、x(i,2)が数字であるため、x(i,2)が候補文字R(i,2)として追加される。これにより、x(i,2)は「8−9」(8または9)である可能性が高いという旨の確度情報Q(i,2)が生成される。 Here, when a false recognition pattern P having a combination of e = “8”, m = “0”, n = “9” is registered, n = “9” of P is x (i, 2) Are selected as candidate characters R (i, 2) of. Also, since x (i, 2) is a number, x (i, 2) is added as a candidate character R (i, 2). As a result, probability information Q (i, 2) indicating that x (i, 2) is likely to be “8-9” (8 or 9) is generated.
この後、これらx(i,1)の候補文字R(i,1)とx(i,2)の候補文字R(i,2)とが合成されて、D(i)の候補文字R(i)=「22,28−29」が生成される。これにより、D(i)は「22,28−29」(22,28,または29)である可能性が高いという旨の確度情報Q(i)が生成される。 Thereafter, candidate character R (i, 1) of x (i, 1) and candidate character R (i, 2) of x (i, 2) are synthesized, and candidate character R (D) of D (i) is synthesized. i) = "22, 28-29" is generated. As a result, probability information Q (i) indicating that D (i) is likely to be “22, 28-29” (22, 28 or 29) is generated.
[本実施の形態の効果]
このように、本実施の形態は、記憶部13が、セグメント表示器20で前後して切替表示される前文字mおよび後文字nとこれら切替表示の際に発生しうる切替時文字eとの組み合わせからなる誤認識パターンPを誤認識パターンデータ13Aとして記憶し、確度情報生成部14Bが、時系列データ13Bから対象認識結果D(i)と直前認識結果D(i−1)および直後認識結果D(i+1)とを取得し、これらから桁位置jごとに、同一桁に位置する文字を対象文字x(i,j)、直前文字x(i−1,j)、および直後文字x(i+1,j)として抽出し、これらと一致するe,m,nを有する一致誤認識パターンPが誤認識パターンデータ13Aに登録されている場合、当該Pから推定される候補文字R(i,j)に基づいて、x(i,j)の確度情報Q(i,j)を生成するようにしたものである。
[Effect of this embodiment]
As described above, according to the present embodiment, the
これにより、セグメント表示器20で表示出力される表示データが一定の方向に一定の割合で増減しない場合でも、適切な認識確度を得ることが可能となる。したがって、ガス、電気、水道の積算量を計測する積算量メータ以外の機器、例えば、温度計、圧力計、流量計などの各種機器についても、そのセグメント表示器20で表示出力された表示データを読み取るとともに、適切な認識確度を付与することが可能となる。
As a result, even when the display data displayed and output by the
また、本実施の形態において、一致誤認識パターンPが誤認識パターンデータ13Aに登録されている場合、確度情報生成部14Bが、当該一致誤認識パターンPの後文字nを候補文字R(i,j)として選択するようにしてもよい。
これにより、誤認識パターンデータ13Aに登録されている一致誤認識パターンPの後文字nに基づいて、対象文字x(i,j)を精度よく推定することができる。
Further, in the present embodiment, when the matching false recognition pattern P is registered in the false
As a result, it is possible to accurately estimate the target character x (i, j) based on the subsequent character n of the matching error recognition pattern P registered in the error
また、本実施の形態において、一致誤認識パターンPが誤認識パターンデータ13Aに登録されていない場合、確度情報生成部14Bが、誤認識パターンデータ13Aのうち切替時文字eおよび前文字mが対象文字x(i,j)および直前文字x(i−1,j)と一致するすべての誤認識パターンから、当該誤認識パターンの後文字nを候補文字R(i,j)として選択するようにしてもよい。
これにより、一致誤認識パターンPが誤認識パターンデータ13Aに登録されていなくても、対象文字x(i,j)および直前文字x(i−1,j)と一致する類似の誤認識パターンPの後文字nに基づいて、対象文字x(i,j)を精度よく推定することができる。
Further, in the present embodiment, when the matching false recognition pattern P is not registered in the false
As a result, even if the matching misrecognition pattern P is not registered in the
また、本実施の形態において、一致誤認識パターンPが誤認識パターンデータ13Aに登録されていない場合、確度情報生成部14Bが、誤認識パターンデータ13Aのうち切替時文字eが対象文字x(i,j)と一致するすべての誤認識パターンから、当該誤認識パターンの後文字nを候補文字R(i,j)として選択するようにしてもよい。
これにより、一致誤認識パターンPが誤認識パターンデータ13Aに登録されていなくても、対象文字x(i,j)と一致する類似の誤認識パターンPの後文字nに基づいて、対象文字x(i,j)を精度よく推定することができる。
Further, in the present embodiment, when the matching false recognition pattern P is not registered in the false
As a result, even if the matching misrecognition pattern P is not registered in the
また、本実施の形態において、セグメント表示器20が、7つのセグメントを点消灯制御することにより複数種類の数字を切替表示する7セグメント表示器であるケースにおいて、対象文字x(i,j)が数字である場合、確度情報生成部14Bが、x(i,j)を候補文字R(i,j)に追加するようにしてもよい。
これにより、直前文字x(i−1,j)から直後文字x(i+1,j)に切替表示される途中の対象文字x(i,j)が、認識結果どおりである可能性を、確度情報に包含することができる。
Further, in the present embodiment, in the case where the
Thus, the probability information that the target character x (i, j) in the process of being switched and displayed from the immediately preceding character x (i−1, j) to the immediately subsequent character x (i + 1, j) is the recognition result, Can be included.
[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。また、各実施形態については、矛盾しない範囲で任意に組み合わせて実施することができる。
[Extension of the embodiment]
As mentioned above, although this invention was demonstrated with reference to embodiment, this invention is not limited to the said embodiment. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. Moreover, about each embodiment, it can combine arbitrarily and can be implemented in the not conflicting range.
前述した実施の形態では、セグメント表示器20が7つのセグメントを用いて数字を切替表示する7セグメント表示器である場合を例として説明したが、セグメント数は7に限定されるものではない。例えば、9,14,16など、他のセグメント数を有するセグメント表示器にも同様にして適用できる。
In the above-described embodiment, the
また、前述した図4では、誤認識パターンデータ13Aにおいて、各誤認識パターンが縦横マトリクス形式で登録されている場合を例として説明したが、これに限定されるものではない。例えば、前文字mおよび後文字nと切替時文字e(m,n)との組み合わせからなる誤認識パターンを、例えばリスト形式などの他の形式で登録してもよい。
Further, in FIG. 4 described above, although the case where each erroneous recognition pattern is registered in the vertical and horizontal matrix form in the erroneous
また、誤認識パターンデータ13Aにおいて、それぞれの誤認識パターンから推定される候補文字を、それぞれの誤認識パターンに対応付けて誤認識パターンデータ13Aに予め登録しておき、例えば図6のステップ115において、確度情報生成部14Bが、対応する一致誤認識パターンPから候補文字R(i,j)を抽出するようにしてもよい。
Further, in the
また、前述した実施例において、対象認識結果D(i)に対する外れ値判定を行い、外れ値と判定された場合は、例えば「低」という確度情報Q(i)を生成してもよい。
図8は、外れ値判定の説明図である。記憶部13の時系列データ13Bから、対象認識結果D(i)、直前認識結果D(i−1)、および直後認識結果D(i+1)と取得した際、確度情報生成部14Bは、これらの差分ΔD=D(i)−D(i−1)や差分ΔD=D(i)−D(i+1)を求めて、予め設定されている許容範囲εと比較することにより外れ値判定を行うようにしてもよい。
Further, in the embodiment described above, outlier determination may be performed on the object recognition result D (i), and when it is determined that the outlier is, for example, the probability information Q (i) of “low” may be generated.
FIG. 8 is an explanatory view of outlier determination. When the target recognition result D (i), the immediately preceding recognition result D (i-1), and the immediately subsequent recognition result D (i + 1) are obtained from the time-
ここで、ΔDが許容範囲ε外であり、ΔDが外れ値である場合、確度情報生成部14Bは、D(i)に関する認識確度が低い旨の確度情報Q(i)を生成する。
この際、例えば、図6のステップ110でΔDが許容範囲ε外であることが確認された場合、上記確度情報Q(i)を生成した後、ステップ122へ移行してもよい。
なお、外れ値の判定方法については、差分ΔDと許容範囲εとの比較に限定されるものではなく、例えばD(i)とD(i−1)やD(i+1)との比率など、一般的な公知の手法を適用してもよい。
Here, when ΔD is outside the allowable range ε and ΔD is an outlier, the accuracy
At this time, for example, when it is confirmed in
Note that the method of determining the outlier is not limited to the comparison between the difference ΔD and the tolerance range ε, and, for example, the ratio of D (i) to D (i-1) or D (i + 1) Known methods may be applied.
また、対象認識結果D(i)が外れ値であると判定された場合、その直後の直後認識結果D(i+1)を対象認識結果D(i)として採用してもよい。
外れ値判定の手法の1つとして、隣接する時系列データ間の階差に関する二乗平均平方根を用いる手法がある。図9は、階差二乗平均平方根を用いた外れ値判定例である。ここでは、d1〜d5に基づいてd6の外れ値判定が行う例が示されており、d1〜d5間の階差をそれぞれ3,2,−2,−3とすると、これらの階差二乗平均平方根rは、
r=α×√{(9+4+4+9)/5}=6.84
となる。なお、αは倍率を示し、この例ではα=3とした。
If it is determined that the object recognition result D (i) is an outlier, the immediately subsequent recognition result D (i + 1) may be adopted as the object recognition result D (i).
One of the methods of outlier determination is a method of using the root mean square of the difference between adjacent time series data. FIG. 9 shows an example of outlier determination using the difference root mean square. Here, an example in which the d6 outlier determination is performed based on d1 to d5 is shown, and assuming that the difference between d1 to d5 is 3, 2, -2, -3, respectively, the difference root mean square of these differences The square root r is
r = α × √ {(9 + 4 + 4 + 9) / 5} = 6.84
It becomes. Here, α represents a magnification, and in this example, α was set to 3.
一方、d5とd6の階差が10である場合、r<10であるため、d6は外れ値と判断される。しかし、d6の直後のd7がd6<d7である場合、d5→d6→d7という順で順当に増加しているため、d6は外れ値ではないことになる。
これに対して、前述したように、対象認識結果D(i)が外れ値であると判定された場合、その直後の直後認識結果D(i+1)を対象認識結果D(i)として採用すれば、このような階差二乗平均平方根を用いた際の誤判定を回避することができる。
On the other hand, if the difference between d5 and d6 is 10, then r <10, so d6 is determined to be an outlier. However, when d7 immediately after d6 is d6 <d7, d6 is not an outlier since d5 → d6 → d7 is increased in order.
On the other hand, as described above, when it is determined that the object recognition result D (i) is an outlier, if the immediately subsequent recognition result D (i + 1) is adopted as the object recognition result D (i) It is possible to avoid an erroneous determination when using such a difference root mean square.
10…セグメント表示読取装置、11…通信I/F部、12…カメラ、13…記憶部、13A…誤認識パターンデータ、13B…時系列データ、13C…読取結果データ、13P…プログラム、14…演算処理部、14A…文字認識部、14B…確度情報生成部、14C…記録部、20…セグメント表示器、30…上位装置、L…通信回線、D(i)…対象認識結果、D(i−1)…直前認識結果、D(i+1)…直後認識結果、x(i,j)…対象文字、x(i−1,j)…直前文字、x(i+1,j)…直後文字、e…切替時文字、m…前文字、n…後文字、P…一致誤認識パターン、R(i,j)…候補文字、Q(i,j),Q(i)…確度情報。
DESCRIPTION OF
Claims (6)
前記カメラの撮像出力を文字認識処理するように構成された文字認識部と、
前記文字認識部で得られた認識結果を時系列データとして記憶するように構成された記憶部と、
前記時系列データから選択した対象認識結果について、当該対象認識結果の確からしさを示す確度情報を生成するように構成された確度情報生成部とを備え、
前記記憶部は、前記セグメント表示器で前後して切替表示される任意の2種類の前文字および後文字と、これら前文字および後文字が前後して切替表示された際に発生しうる切替時文字との組み合わせからなる誤認識パターンが、予め複数登録されている誤認識パターンデータを記憶し、
前記確度情報生成部は、前記時系列データから前記対象認識結果と当該対象認識結果に対して時系列順で直前および直後に位置する直前認識結果および直後認識結果とを取得し、これら対象認識結果、直前認識結果、および直後認識結果から、それぞれの桁位置ごとに、同一桁に位置する文字を対象文字、直前文字、および直後文字として抽出し、これら対象文字、直前文字、および直後文字の組み合わせと一致する、切替時文字、前文字および後文字の組み合わせを有する一致誤認識パターンが前記誤認識パターンデータに登録されている場合、当該一致誤認識パターンから推定される候補文字に基づいて、前記対象文字の認識確度を示す確度情報を生成する
ことを特徴とするセグメント表示読取装置。 A camera which picks up a display output of a segment display unit which switches and displays a plurality of characters by turning on and off a plurality of segments;
A character recognition unit configured to perform character recognition processing on an imaging output of the camera;
A storage unit configured to store the recognition result obtained by the character recognition unit as time-series data;
A certainty information generation unit configured to generate certainty information indicating the certainty of the target recognition result for the target recognition result selected from the time-series data;
The storage unit is capable of being generated when switching is performed before and after any two types of front and rear characters switched and displayed by the segment display and before and after these characters. Storing misrecognition pattern data in which a plurality of misrecognition patterns consisting of combinations with characters are registered in advance;
The certainty information generation unit acquires, from the time series data, the object recognition result and immediately preceding and succeeding recognition results positioned immediately before and after the object recognition result with respect to the object recognition result, and these object recognition results The character located at the same position is extracted as the target character, the previous character, and the subsequent character for each digit position from the immediately preceding recognition result and the immediately subsequent recognition result, and the combination of the target character, the immediately preceding character, and the subsequent character In the case where a matching false recognition pattern having a combination of a switching character, a preceding character, and a trailing character that matches with is registered in the false recognition pattern data, the false recognition pattern data is based on candidate characters estimated from the matching false recognition pattern. What is claimed is: 1. A segment display reading device that generates probability information indicating a recognition probability of a target character.
前記確度情報生成部は、前記一致誤認識パターンが前記誤認識パターンデータに登録されている場合、当該一致誤認識パターンの後文字を前記候補文字として選択することを特徴とするセグメント表示読取装置。 In the segment display reader according to claim 1,
The segment display reading apparatus according to claim 1, wherein the certainty information generation unit selects a character subsequent to the false recognition pattern as the candidate character when the false recognition pattern is registered in the false recognition pattern data.
前記確度情報生成部は、前記一致誤認識パターンが前記誤認識パターンデータに登録されていない場合、前記誤認識パターンデータのうち切替時文字および前文字が前記対象文字および直前文字と一致するすべての誤認識パターンから、当該誤認識パターンの後文字を前記候補文字として選択することを特徴とするセグメント表示読取装置。 In the segment display reader according to claim 1 or 2,
The certainty information generation unit, when the false recognition pattern is not registered in the false recognition pattern data, all the false recognition pattern data in which the switching character and the preceding character match the target character and the immediately preceding character. A segment display reading device, wherein a character subsequent to the erroneous recognition pattern is selected as the candidate character from the erroneous recognition pattern.
前記確度情報生成部は、前記一致誤認識パターンが前記誤認識パターンデータに登録されていない場合、前記誤認識パターンデータのうち切替時文字が前記対象文字と一致するすべての誤認識パターンから、当該誤認識パターンの後文字を前記候補文字として選択することを特徴とするセグメント表示読取装置。 The segment display reader according to any one of claims 1 to 3.
The certainty information generation unit, when the matching false recognition pattern is not registered in the false recognition pattern data, from among the false recognition pattern data, all false recognition patterns in which the switching character matches the target character A segment display reader characterized by selecting a character after a misrecognition pattern as the candidate character.
前記確度情報生成部は、前記対象文字が数字である場合、当該対象文字を前記候補文字に追加することを特徴とするセグメント表示読取装置。 The segment display reading device according to any one of claims 1 to 4.
The segment display reading device characterized in that, when the target character is a number, the certainty information generator adds the target character to the candidate character.
カメラが、複数のセグメントを点消灯制御することにより複数種類の文字を切替表示する前記セグメント表示器の表示出力を撮像する撮像ステップと、
文字認識部が、前記カメラの撮像出力を文字認識処理するように構成された文字認識ステップと、
記憶部が、前記文字認識ステップで得られた認識結果を順次取り込んで時系列データとして記憶する記憶ステップと、
確度情報生成部が、前記時系列データから選択した対象認識結果について、当該対象認識結果の確からしさを示す確度情報を生成するように構成された確度情報生成ステップとを備え、
前記記憶ステップは、前記セグメント表示器で前後して切替表示される任意の2種類の前文字および後文字と、これら前文字および後文字が前後して切替表示された際に発生しうる切替時文字との組み合わせからなる誤認識パターンが、予め複数登録されている誤認識パターンデータを記憶するステップを含み、
前記確度情報生成ステップは、前記時系列データから前記対象認識結果と当該対象認識結果に対して時系列順で直前および直後に位置する直前認識結果および直後認識結果とを取得し、これら対象認識結果、直前認識結果、および直後認識結果から、それぞれの桁位置ごとに、同一桁に位置する文字を対象文字、直前文字、および直後文字として抽出し、これら対象文字、直前文字、および直後文字の組み合わせと一致する、切替時文字、前文字および後文字の組み合わせを有する一致誤認識パターンが前記誤認識パターンデータに登録されている場合、当該一致誤認識パターンから推定される候補文字に基づいて、前記対象文字の認識確度を示す確度情報を生成するステップを含む
ことを特徴とするセグメント表示読取方法。 A segment display reading method for use in a segment display reader for reading display output of a segment display, comprising:
An imaging step of imaging a display output of the segment display device in which a camera switches and displays a plurality of types of characters by performing on / off control of a plurality of segments;
A character recognition step, wherein the character recognition unit is configured to perform character recognition processing on the imaging output of the camera;
A storage step of sequentially capturing the recognition result obtained in the character recognition step and storing the result as time-series data;
Providing a probability information generation step configured to generate, for the target recognition result selected from the time series data, the probability information indicating the certainty of the target recognition result;
The storage step may occur when any two types of front and rear characters switched and displayed before and after on the segment display and when these front and rear characters are switched and displayed before and after Including a step of storing false recognition pattern data in which a false recognition pattern consisting of a combination of characters is registered in advance;
The certainty information generation step acquires, from the time series data, the object recognition result and immediately preceding and succeeding recognition results positioned immediately before and after the object recognition result in time series order, and these object recognition results The character located at the same position is extracted as the target character, the previous character, and the subsequent character for each digit position from the immediately preceding recognition result and the immediately subsequent recognition result, and the combination of the target character, the immediately preceding character, and the subsequent character In the case where a matching false recognition pattern having a combination of a switching character, a preceding character, and a trailing character that matches with is registered in the false recognition pattern data, the false recognition pattern data is based on candidate characters estimated from the matching false recognition pattern. A segment display reading method comprising the step of generating accuracy information indicating the recognition accuracy of a target character.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017219009A JP6974128B2 (en) | 2017-11-14 | 2017-11-14 | Segment display reader and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017219009A JP6974128B2 (en) | 2017-11-14 | 2017-11-14 | Segment display reader and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019091202A true JP2019091202A (en) | 2019-06-13 |
JP6974128B2 JP6974128B2 (en) | 2021-12-01 |
Family
ID=66837386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017219009A Active JP6974128B2 (en) | 2017-11-14 | 2017-11-14 | Segment display reader and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6974128B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7466303B2 (en) | 2019-12-27 | 2024-04-12 | キヤノン株式会社 | Image processing device, control method thereof, program, and image processing system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57196291A (en) * | 1981-05-28 | 1982-12-02 | Jidou Keisoku Gijutsu Kenkiyuu | Digital indication reader |
JPH06150069A (en) * | 1992-11-09 | 1994-05-31 | Oki Electric Ind Co Ltd | Optical character recognizing device and counting equipment reader provided with dictionary for the same |
JP2013061816A (en) * | 2011-09-13 | 2013-04-04 | Fujitsu Ltd | Program, information processor, and abnormality determination method |
JP2017521011A (en) * | 2014-03-27 | 2017-07-27 | エニイライン ゲーエムベーハー | Symbol optical detection method |
-
2017
- 2017-11-14 JP JP2017219009A patent/JP6974128B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57196291A (en) * | 1981-05-28 | 1982-12-02 | Jidou Keisoku Gijutsu Kenkiyuu | Digital indication reader |
JPH06150069A (en) * | 1992-11-09 | 1994-05-31 | Oki Electric Ind Co Ltd | Optical character recognizing device and counting equipment reader provided with dictionary for the same |
JP2013061816A (en) * | 2011-09-13 | 2013-04-04 | Fujitsu Ltd | Program, information processor, and abnormality determination method |
JP2017521011A (en) * | 2014-03-27 | 2017-07-27 | エニイライン ゲーエムベーハー | Symbol optical detection method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7466303B2 (en) | 2019-12-27 | 2024-04-12 | キヤノン株式会社 | Image processing device, control method thereof, program, and image processing system |
Also Published As
Publication number | Publication date |
---|---|
JP6974128B2 (en) | 2021-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9864969B2 (en) | Image processing apparatus for generating map of differences between an image and a layout plan | |
CN107076571B (en) | For initializing the method, equipment and system of meter reading device | |
JP6619635B2 (en) | Image processing apparatus and image processing method | |
CN106945035A (en) | Robert controller and its control method and robot system | |
US20210116331A1 (en) | Anomaly analysis method, program, and system | |
CN112258507B (en) | Target object detection method and device of internet data center and electronic equipment | |
US11430201B2 (en) | Image processing apparatus for character recognition, control method of the same, storage medium and image processing system | |
JP2019091202A (en) | Segment display reader and method | |
JP2017068465A (en) | Information processing device, control method, and program | |
JP2017224252A (en) | Measured value reading device, measured value reading method and program | |
CN113158831A (en) | Method and device for detecting movement of camera equipment, computer equipment and storage medium | |
WO2018158815A1 (en) | Inspection assistance device, inspection assistance method, and recording medium | |
CN111062448A (en) | Equipment type recognition model training method, equipment type recognition method and device | |
CN116309999A (en) | Driving method and device for 3D virtual image, electronic equipment and storage medium | |
JP2017173993A (en) | Information processing device, information processing method, and program | |
JP2020052981A (en) | Information processing device, learning device, information processing system, information processing method, and computer program | |
CN108332779B (en) | Reading method of liquid column type instrument and related device | |
JP2018169658A (en) | Calculation program, apparatus, and method | |
CN111080694A (en) | Training and positioning method, device, equipment and storage medium of positioning model | |
CN108121994B (en) | Method and device for extracting features in detection of target shape | |
US20230350875A1 (en) | Data processing apparatus, data processing method, and recording medium | |
JP2019145182A (en) | Reading system, reading method, program, and storage medium | |
JPWO2020075468A1 (en) | Environmental similarity display device, environmental similarity display method and environmental similarity display algorithm | |
JP2020003954A (en) | Device, method, program, and storage medium | |
JP7403722B1 (en) | Template matching device and template matching method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200911 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210927 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20211012 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211104 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6974128 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |