JP2019139383A - Character recognition system, character recognition program, character recognition method, character sharpening system, character sharpening program, and character sharpening method - Google Patents

Character recognition system, character recognition program, character recognition method, character sharpening system, character sharpening program, and character sharpening method Download PDF

Info

Publication number
JP2019139383A
JP2019139383A JP2018020488A JP2018020488A JP2019139383A JP 2019139383 A JP2019139383 A JP 2019139383A JP 2018020488 A JP2018020488 A JP 2018020488A JP 2018020488 A JP2018020488 A JP 2018020488A JP 2019139383 A JP2019139383 A JP 2019139383A
Authority
JP
Japan
Prior art keywords
character
range
sharpening
image
unit
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
JP2018020488A
Other languages
Japanese (ja)
Inventor
中嶋 康博
Yasuhiro Nakajima
康博 中嶋
素子 黒岩
Motoko Kuroiwa
素子 黒岩
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.)
Glory Ltd
Original Assignee
Glory 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 Glory Ltd filed Critical Glory Ltd
Priority to JP2018020488A priority Critical patent/JP2019139383A/en
Publication of JP2019139383A publication Critical patent/JP2019139383A/en
Pending legal-status Critical Current

Links

Abstract

To provide a character recognition system, character recognition program, character recognition method, character sharpening system, character sharpening program and character sharpening method that can set an object range of processing with respect to input images, appropriately.SOLUTION: A character recognition system is configured to recognize characters displayed on a number plate of a vehicle. The character recognition system comprises: an image acquisition unit that acquires input images IA including characters; a display unit that displays at least one part of the input image IA; an input unit that receives an operation for designating a location in the input image IA displayed on the display part; a character range setting unit that sets a character range IC in the input image IA as an object range on the basis of the designated location; and a character recognition unit that recognizes the character within the character range.SELECTED DRAWING: Figure 2

Description

本発明は、車両のナンバープレートに表示されている文字を認識する文字認識システム、文字認識プログラム、文字認識方法、文字鮮明化システム、文字鮮明化プログラム、及び文字鮮明化方法に関する。   The present invention relates to a character recognition system, a character recognition program, a character recognition method, a character sharpening system, a character sharpening program, and a character sharpening method for recognizing characters displayed on a license plate of a vehicle.

車両のナンバープレートに表示されている文字を認識する方法として、様々な方法が提案されている。例えば、車両番号を読み取るシステムとして、特許文献1〜3の技術が知られている。特許文献1に記載の技術では、ナンバープレート領域の画像である原画像を間引きした低解像度のフレーム画像から低解像度用の文字画像辞書を用いて文字を認識する低解像度認識と、フレーム画像を元の解像度に戻して高解像度用の文字画像辞書を用いて文字を認識する高解像度認識とを併用する。   Various methods have been proposed as a method of recognizing characters displayed on a vehicle license plate. For example, the techniques of Patent Documents 1 to 3 are known as a system for reading a vehicle number. In the technique described in Patent Document 1, low resolution recognition for recognizing a character using a low resolution character image dictionary from a low resolution frame image obtained by thinning an original image that is an image of a license plate area, The high resolution recognition for recognizing characters by using the high resolution character image dictionary is also used.

特許文献2に記載の技術では、文字認識装置は、ナンバープレートの低解像度の文字画像について、特徴量を示す指標を算出し、この指標に基づいて低解像度辞書画像を特定する。そして、低解像度辞書画像に関連付けられた高解像度辞書画像に基づいて、低解像度の文字画像を2値化処理し、2値化処理した画像において輪郭線の方向ヒストグラム特徴を求め、統計的パターン認識により文字認識を行う。   In the technique described in Patent Document 2, the character recognition device calculates an index indicating a feature amount for a low-resolution character image of a license plate, and specifies a low-resolution dictionary image based on the index. Then, based on the high resolution dictionary image associated with the low resolution dictionary image, the low resolution character image is binarized, the direction histogram feature of the contour line is obtained in the binarized image, and statistical pattern recognition is performed. Character recognition.

特許文献3に記載の技術では、識別媒体認識装置は、撮像画像から識別媒体(ナンバープレート)の領域(以下、識別媒体領域)の歪み度と、識別媒体領域の領域サイズとを算出し、歪み度及び領域サイズに基づいて、識別媒体領域を、認識処理を実施する領域であるか否かを判定する。さらに、識別媒体領域を、認識処理を実施する領域であると判定するとき、識別媒体認識装置は、識別媒体領域の領域サイズに基づいて超解像処理の実施、不実施を選択し、実施を選択するときは、識別媒体画像の解像度を高める超解像処理(鮮明化処理)を行う。   In the technique described in Patent Document 3, the identification medium recognition device calculates a distortion degree of an identification medium (number plate) area (hereinafter referred to as an identification medium area) and an area size of the identification medium area from the captured image. Based on the degree and the area size, it is determined whether or not the identification medium area is an area for performing the recognition process. Further, when determining that the identification medium area is an area for performing the recognition process, the identification medium recognition apparatus selects whether or not to perform the super-resolution process based on the area size of the identification medium area, and performs the execution. When selecting, super-resolution processing (sharpening processing) for increasing the resolution of the identification medium image is performed.

また、鮮明化処理の技術の一例として、次の技術が知られている。すなわち、当該技術では、低解像度の画像と、当該低解像度の画像に係る対象物と同じ対象物の高解像度の画像とのペアを多数作成し、これらペアから低解像度の画像と高解像度の画像との関係を学習してその関係を示す学習済みモデルを生成する。特に文字画像の鮮明化においては、学習済みモデルの生成を複数の文字について適用し、複数の文字について、低解像度の画像と高解像度の画像との関係を学習する。このように形成された学習モデルを用いて、低解像度の画像の鮮明化処理を行う。   Further, the following technique is known as an example of the sharpening processing technique. That is, in this technique, a number of pairs of a low resolution image and a high resolution image of the same object as the object related to the low resolution image are created, and a low resolution image and a high resolution image are created from these pairs. A learned model that shows the relationship is generated. In particular, in sharpening a character image, generation of a learned model is applied to a plurality of characters, and the relationship between a low resolution image and a high resolution image is learned for the plurality of characters. Using the learning model formed in this way, a low-resolution image is sharpened.

特開2001−273461号公報JP 2001-273461 A 特開2008−251029号公報JP 2008-251029 A 国際公開第2017/010058号International Publication No. 2017/010058

カメラで撮影された車両の画像からナンバープレートに表示されている文字を認識するシステムにおいて、ナンバープレートが大きく撮影された場合、高解像度の画像を用いて文字認識を行うので、ナンバープレートに表示されている文字の認識は容易である。しかし、ナンバープレートが大きく撮影されていない場合、低解像度の画像を用いて文字認識を行うので、ナンバープレートに表示されている文字の認識は困難になる。   In a system that recognizes characters displayed on a license plate from a vehicle image taken with a camera, if the license plate is photographed large, character recognition is performed using a high-resolution image, so that it is displayed on the license plate. Is easy to recognize. However, when the license plate is not photographed large, character recognition is performed using a low-resolution image, so that it is difficult to recognize characters displayed on the license plate.

例えば、カメラから遠いところにある車両が撮影された場合、撮影された画像に写っているナンバープレートは小さく、ナンバープレートの画像は低解像度となる。車両がカメラに近づいて来れば、高解像度のナンバープレートの画像を撮影することができる。しかし、車両がカメラに近づいて来なかったり、車両がカメラに近づいてきてもナンバープレートが先行する車両に隠れてしまったりすると、高解像度のナンバープレートの画像を撮影することができない。また、店舗等に設置されている監視カメラで撮影された画像からナンバープレートに表示されている文字を認識する場合も、ナンバープレートの画像は低解像度となることがある。   For example, when a vehicle far from the camera is photographed, the license plate in the photographed image is small and the license plate image has a low resolution. If the vehicle approaches the camera, you can take a high-resolution license plate image. However, if the vehicle does not come close to the camera, or if the license plate is hidden behind the preceding vehicle even if the vehicle approaches the camera, a high-resolution license plate image cannot be taken. Also, when recognizing characters displayed on a license plate from an image taken by a monitoring camera installed in a store or the like, the license plate image may have a low resolution.

このような低解像度のナンバープレートの画像からナンバープレートに表示されている文字を認識する技術としては、特許文献1〜3の技術が知られている。しかしながら、これらの技術を用いても、正しい文字認識結果を得ることが難しい場合がある。一因として、低解像度の画像においては処理の対象が不明瞭であるため、コンピュータが文字の認識に伴う処理の対象を適切に設定できない場合があることが挙げられる。   As a technique for recognizing characters displayed on a license plate from such a low-resolution license plate image, techniques of Patent Documents 1 to 3 are known. However, even if these techniques are used, it may be difficult to obtain a correct character recognition result. One reason is that the processing target is unclear in the low-resolution image, and the computer may not be able to appropriately set the processing target for character recognition.

低解像度の画像で文字認識は、特許文献1で用いられているような、低解像度用の文字画像辞書を用いて行なうことができる。この場合、低解像度用の文字画像辞書は、高解像度用の文字画像辞書に比べて特徴が少ないため、低解像度用の文字画像辞書の作成に用いた画像に近い画像を入力することが、文字認識の精度向上につながる。低解像度の文字画像を学習した学習済みモデルを用いて文字認識を行う場合も同様である。しかしながら、低解像度の画像においては、ナンバープレートや文字の輪郭が不明瞭となりやすいため、文字のある範囲を正しく設定するのが難しい。このため、入力画像に対して文字認識処理の対象範囲を適切に設定することができず、正しい文字認識結果を得ることが難しい場合がある。   Character recognition can be performed with a low-resolution image using a low-resolution character image dictionary such as that used in Patent Document 1. In this case, since the character image dictionary for low resolution has fewer features than the character image dictionary for high resolution, it is possible to input an image close to the image used to create the character image dictionary for low resolution. It leads to improvement of recognition accuracy. The same applies when character recognition is performed using a learned model obtained by learning a low-resolution character image. However, in a low-resolution image, it is difficult to set a certain range of characters correctly because the license plate and the outline of the characters tend to be unclear. For this reason, the target range of the character recognition process cannot be appropriately set for the input image, and it may be difficult to obtain a correct character recognition result.

また、特許文献2および3のように、低解像度の画像に鮮明化処理を行った画像で文字認識を行う場合も、鮮明化処理の辞書作成や学習モデル作成に用いた画像に近い画像を入力することが、正しい鮮明化処理につながり、文字認識の精度向上につながる。   In addition, as in Patent Documents 2 and 3, even when character recognition is performed on an image obtained by performing a sharpening process on a low-resolution image, an image close to an image used for creating a sharpening process dictionary or creating a learning model is input. This leads to a correct sharpening process and improves the accuracy of character recognition.

このような鮮明化処理の技術では、入力される低解像度の画像が適切に鮮明化される場合と、不適切に鮮明化される場合がある。これは、鮮明化処理における辞書作成や学習モデル作成に用いられる低解像度の画像及び高解像度の画像と、鮮明化処理を行うシステムに入力される低解像度の画像との間で、文字と背景との位置や大きさの関係や、文字の歪み具合が相違するためであると考えられる。しかしながら、低解像度の画像においては、ナンバープレートや文字の輪郭が不明瞭となりやすいため、鮮明化処理を行う範囲を正しく設定するのが難しい。このため、入力画像に対して鮮明化処理の対象範囲を適切に設定することができず、不適切な鮮明化処理が行われ、正しい文字認識結果を得ることが難しい場合がある。   In such a sharpening processing technique, an input low-resolution image may be sharpened appropriately or may be sharpened inappropriately. This is because the character and background between the low-resolution image and the high-resolution image used for creating a dictionary and learning model in the sharpening process and the low-resolution image input to the system that performs the sharpening process. This is considered to be because the relationship between the positions and sizes of the characters and the distortion of the characters are different. However, in a low-resolution image, the license plate and the outline of characters tend to be unclear, so it is difficult to set the range for performing the sharpening process correctly. For this reason, the target range of the sharpening process cannot be appropriately set for the input image, an inappropriate sharpening process is performed, and it may be difficult to obtain a correct character recognition result.

また、低解像度の画像を鮮明化処理した後、コンピュータが文字認識処理を行う代わりに、操作者が目視で文字を認識する場合もある。この場合も、入力画像に対して鮮明化処理の対象範囲を適切に設定することができず、不適切な鮮明化処理が行われ、正しく文字を認識することが難しい場合がある。   In some cases, after the low-resolution image is sharpened, the operator visually recognizes the character instead of the computer performing the character recognition process. Also in this case, the target range of the sharpening process cannot be appropriately set with respect to the input image, an inappropriate sharpening process is performed, and it may be difficult to recognize characters correctly.

このように、車両のナンバープレートに表示されている文字の認識処理において、コンピュータで文字認識処理を行う場合も目視で文字を認識する場合も、正しい文字認識結果を得るために、入力画像に対して各処理の対象範囲を適切に設定することが課題となっている。   In this way, in the recognition process of characters displayed on the license plate of the vehicle, in order to obtain a correct character recognition result, whether the character recognition process is performed by a computer or the character is visually recognized, an input image is obtained. Therefore, it is a problem to appropriately set the target range of each process.

本発明の目的は、入力画像に対して処理の対象範囲を適切に設定できる文字認識システム、文字認識プログラム、文字認識方法、文字鮮明化システム、文字鮮明化プログラム、及び文字鮮明化方法を提供することにある。   An object of the present invention is to provide a character recognition system, a character recognition program, a character recognition method, a character sharpening system, a character sharpening program, and a character sharpening method that can appropriately set a processing target range for an input image. There is.

(1)上記課題を解決する文字認識システムは、車両のナンバープレートに表示されている文字を認識する文字認識システムであって、前記文字を含む入力画像を取得する画像取得部と、前記入力画像の少なくとも一部を表示する表示部と、前記表示部に表示された前記入力画像において位置を指定する操作を受け付ける入力部と、指定された前記位置にもとづいて前記文字を認識する対象範囲として前記入力画像に文字範囲を設定する文字範囲設定部と、前記文字範囲内の文字を認識する文字認識部とを備える。この構成によれば、文字認識の対象範囲を操作に基づいて任意に設定できるため、対象範囲を適切に設定できる。   (1) A character recognition system that solves the above problem is a character recognition system that recognizes characters displayed on a license plate of a vehicle, and an image acquisition unit that acquires an input image including the characters; and the input image A display unit that displays at least a part of the input image, an input unit that receives an operation for designating a position in the input image displayed on the display unit, and a target range for recognizing the character based on the designated position. A character range setting unit that sets a character range in the input image; and a character recognition unit that recognizes characters in the character range. According to this configuration, since the target range for character recognition can be arbitrarily set based on the operation, the target range can be set appropriately.

(2)上記文字認識システムにおいて、前記ナンバープレートにおける特徴部分の位置と前記ナンバープレートに表示されている少なくとも1つの文字との位置関係を記憶する記憶部を更に備え、前記文字範囲設定部は、前記入力部を介して指定された前記特徴部分の位置と前記位置関係に基づいて前記文字範囲を設定する。この構成によれば、操作者がナンバープレートの特徴部分を指定するだけで、文字範囲を適切に設定できる。   (2) In the character recognition system, the character recognition system further includes a storage unit that stores a positional relationship between the position of the characteristic portion in the license plate and at least one character displayed on the license plate, and the character range setting unit includes: The character range is set based on the position of the characteristic portion designated via the input unit and the positional relationship. According to this configuration, the character range can be appropriately set only by the operator specifying the characteristic portion of the license plate.

(3)上記文字認識システムにおいて、前記入力部を介して指定された前記ナンバープレートの特徴部分の位置に基づき、少なくとも前記ナンバープレートに表示されている文字を含む画像を、前記ナンバープレートの正面に正対した位置から見た画像である正面視画像に変換する画像変換部を更に備える。この構成によれば、ナンバープレートの正面視画像を確認出来るので、操作者は、正面変換における位置を適切に設定できる。   (3) In the above character recognition system, an image including at least characters displayed on the license plate is displayed on the front surface of the license plate based on the position of the characteristic portion of the license plate designated through the input unit. An image conversion unit is further provided that converts the image into a front view image that is an image viewed from a directly facing position. According to this configuration, since the front-view image of the license plate can be confirmed, the operator can appropriately set the position in the front conversion.

(4)上記文字認識システムにおいて、前記文字範囲を前記正面視画像上で確認可能に前記表示部に表示する。この構成によれば、文字範囲が正面視画像上に表示されるため、正面視画像における文字と文字範囲との位置ずれを確認でき、操作者は、文字範囲を適切に設定できる。   (4) In the said character recognition system, the said character range is displayed on the said display part so that confirmation is possible on the said front view image. According to this configuration, since the character range is displayed on the front view image, it is possible to check the positional deviation between the character and the character range in the front view image, and the operator can appropriately set the character range.

(5)上記文字認識システムにおいて、前記入力部が前記位置を変更する前記操作を受け付けると、前記画像変換部が変更した前記正面視画像と前記文字範囲設定部が変更した前記文字範囲とを、前記表示部に表示する。この構成によれば、位置が変更されると正面視画像及び文字範囲の表示が更新されるため、操作者は、文字範囲を適切に設定できる。   (5) In the character recognition system, when the input unit receives the operation to change the position, the front-view image changed by the image conversion unit and the character range changed by the character range setting unit, Display on the display unit. According to this configuration, when the position is changed, the front view image and the display of the character range are updated, so that the operator can appropriately set the character range.

(6)上記文字認識システムにおいて、少なくとも前記ナンバープレートに表示されている文字を含む画像を鮮明化する鮮明化処理部を更に備える。この構成によれば、入力画像を鮮明にすることができる。   (6) The character recognition system further includes a sharpening processing unit that sharpens an image including at least characters displayed on the license plate. According to this configuration, the input image can be made clear.

(7)上記文字認識システムにおいて、前記入力部を介して指定された前記ナンバープレートの特徴部分の位置に基づき、前記鮮明化を行なう対象範囲として前記入力画像に鮮明化範囲を設定する鮮明化範囲設定部を更に備え、前記鮮明化処理部は、前記鮮明化範囲内の画像を鮮明化する。この構成によれば、操作者は、鮮明化の範囲を適切に設定できる。   (7) In the above character recognition system, a sharpening range in which a sharpening range is set in the input image as a target range to be sharpened based on the position of the characteristic portion of the license plate designated through the input unit The image processing apparatus further includes a setting unit, and the sharpening processing unit sharpens an image within the sharpening range. According to this configuration, the operator can appropriately set the sharpening range.

(8)上記文字認識システムにおいて、前記入力画像の少なくとも一部を拡大する画像拡大部を更に備え、前記表示部に、前記画像拡大部が拡大した画像を表示する。
この構成によれば、入力画像を拡大して対象範囲を設定できるため、適切に対象範囲を設定できる。
(8) The character recognition system may further include an image enlargement unit that enlarges at least a part of the input image, and the display unit displays an image enlarged by the image enlargement unit.
According to this configuration, since the target range can be set by enlarging the input image, the target range can be set appropriately.

(9)上記文字認識システムにおいて、前記入力部を介して指定された前記ナンバープレートの特徴部分の位置に基づき、前記対象範囲として互いに異なる複数の前記対象範囲を生成する範囲生成部をさらに備え、前記複数の対象範囲に対してそれぞれ処理を行う。この構成によれば、複数の対象範囲について、それぞれに結果を得ることができる。   (9) The character recognition system further includes a range generation unit configured to generate a plurality of different target ranges as the target range based on the position of the characteristic part of the license plate designated via the input unit, Each of the plurality of target ranges is processed. According to this configuration, a result can be obtained for each of a plurality of target ranges.

(10)上記課題を解決する文字認識プログラムは、計算機に車両のナンバープレートに表示されている文字を認識させるための文字認識プログラムであって、前記文字を含む入力画像を取得させる第1手順と、前記入力画像の少なくとも一部を表示部に表示させる第2手順と、前記表示部に表示された前記入力画像において位置を指定する操作を受け付けさせる第3手順と、指定された前記位置にもとづいて前記文字を認識する対象範囲として前記入力画像に文字範囲を設定させる第4手順と、前記文字範囲内の文字を認識させる第5手順とを含む。   (10) A character recognition program for solving the above-described problem is a character recognition program for causing a computer to recognize characters displayed on a license plate of a vehicle, and a first procedure for acquiring an input image including the characters; Based on the second procedure for displaying at least a part of the input image on the display unit, the third procedure for accepting an operation for designating a position in the input image displayed on the display unit, and the designated position A fourth procedure for setting a character range in the input image as a target range for recognizing the character, and a fifth procedure for recognizing a character in the character range.

この構成によれば、文字認識プログラムは、計算機に、表示部に表示された入力画像において、文字認識の対象となる対象範囲を指定するための位置入力を受け付けさせる。これにより、計算機において、文字認識の対象範囲を操作に基づいて任意に設定できるようになるため、対象範囲を適切に設定できる。   According to this configuration, the character recognition program causes the computer to accept position input for designating a target range to be subjected to character recognition in the input image displayed on the display unit. Thereby, in the computer, the target range for character recognition can be arbitrarily set based on the operation, so that the target range can be set appropriately.

(11)上記課題を解決する文字認識方法は、車両のナンバープレートに表示されている文字を認識するために文字認識システムが実行する文字認識方法であって、前記文字を含む入力画像を取得する第1ステップと、前記入力画像の少なくとも一部を表示する第2ステップと、表示部に表示された前記入力画像において位置を指定する操作を受け付ける第3ステップと、指定された前記位置にもとづいて前記文字を認識する対象範囲として前記入力画像に文字範囲を設定する第4ステップと、前記文字範囲内の文字を認識する第5ステップとを含む。   (11) A character recognition method for solving the above problem is a character recognition method executed by a character recognition system to recognize a character displayed on a license plate of a vehicle, and acquires an input image including the character. Based on the first step, the second step for displaying at least a part of the input image, the third step for accepting an operation for designating a position in the input image displayed on the display unit, and the designated position. It includes a fourth step of setting a character range in the input image as a target range for recognizing the character, and a fifth step of recognizing a character within the character range.

この構成によれば、文字認識方法では、表示部に表示された入力画像において、文字認識の対象となる対象範囲を指定するための位置入力を受け付ける。これにより、文字認識システムにおいて、文字認識の対象範囲を操作に基づいて任意に設定できるようになるため、対象範囲を適切に設定できる。   According to this configuration, in the character recognition method, a position input for designating a target range to be subjected to character recognition is received in the input image displayed on the display unit. Thereby, in the character recognition system, the target range for character recognition can be arbitrarily set based on the operation, and thus the target range can be set appropriately.

(12)上記課題を解決する文字鮮明化システムは、車両のナンバープレートに表示されている文字を鮮明化する文字鮮明化システムであって、前記文字を含む入力画像を取得する画像取得部と、前記入力画像の少なくとも一部を表示する表示部と、前記表示部に表示された前記入力画像において位置を指定する操作を受け付ける入力部と、指定された前記位置にもとづいて前記文字を鮮明化する対象範囲として前記入力画像に鮮明化範囲を設定する鮮明化範囲設定部と、前記鮮明化範囲内の文字を鮮明化する鮮明化処理部とを備える。この構成によれば、鮮明化の対象範囲を操作に基づいて任意に設定できるため、対象範囲を適切に設定できる。   (12) A character sharpening system that solves the above problems is a character sharpening system that sharpens characters displayed on a license plate of a vehicle, and an image acquisition unit that acquires an input image including the characters; A display unit that displays at least a part of the input image; an input unit that accepts an operation of designating a position in the input image displayed on the display unit; and the character is sharpened based on the designated position. A sharpening range setting unit that sets a sharpening range in the input image as a target range, and a sharpening processing unit that sharpens characters in the sharpening range. According to this configuration, since the target range for sharpening can be arbitrarily set based on the operation, the target range can be set appropriately.

(13)上記課題を解決する文字鮮明化プログラムは、計算機に、車両のナンバープレートに表示されている文字を鮮明化させる文字鮮明化プログラムであって、前記文字を含む入力画像を取得させる第1手順と、前記入力画像の少なくとも一部を表示させる第2手順と、表示部に表示された前記入力画像において位置を指定する操作を受け付けさせる第3手順と、指定された前記位置にもとづいて前記文字を鮮明化する対象範囲として前記入力画像に鮮明化範囲を設定させる第4手順と、前記鮮明化範囲内の文字を鮮明化させる第5手順とを含む。この構成によれば、鮮明化の対象範囲を操作に基づいて任意に設定できるため、対象範囲を適切に設定できる。   (13) A character sharpening program for solving the above-described problem is a character sharpening program for causing a computer to sharpen characters displayed on a license plate of a vehicle, and to obtain an input image including the characters. A second procedure for displaying at least a part of the input image; a third procedure for accepting an operation for designating a position in the input image displayed on the display; and the procedure based on the designated position. A fourth procedure for setting a sharpening range in the input image as a target range for sharpening characters and a fifth procedure for sharpening characters in the sharpening range are included. According to this configuration, since the target range for sharpening can be arbitrarily set based on the operation, the target range can be set appropriately.

(14)上記課題を解決する文字鮮明化方法は、車両のナンバープレートに表示されている文字を鮮明化する文字鮮明化方法であって、前記文字を含む入力画像を取得する第1ステップと、前記入力画像の少なくとも一部を表示する第2ステップと、表示部に表示された前記入力画像において位置を指定する操作を受け付ける第3ステップと、指定された前記位置にもとづいて前記文字を鮮明化する対象範囲として前記入力画像に鮮明化範囲を設定する第4ステップと、前記鮮明化範囲内の文字を鮮明化する第5ステップとを含む。この構成によれば、鮮明化の対象範囲を操作に基づいて任意に設定できるため、対象範囲を適切に設定できる。   (14) A character sharpening method for solving the above problem is a character sharpening method for sharpening a character displayed on a license plate of a vehicle, wherein a first step of acquiring an input image including the character; A second step of displaying at least a part of the input image; a third step of accepting an operation of designating a position in the input image displayed on the display; and clarifying the characters based on the designated position A fourth step of setting a sharpening range in the input image as a target range to be performed, and a fifth step of sharpening characters in the sharpening range. According to this configuration, since the target range for sharpening can be arbitrarily set based on the operation, the target range can be set appropriately.

上記文字認識システム、文字認識プログラム、文字認識方法、文字鮮明化システム、文字鮮明化プログラム、及び文字鮮明化方法によれば、入力画像に対して処理の対象範囲を適切に設定でき、正しい文字認識結果を得ることができる。   According to the character recognition system, the character recognition program, the character recognition method, the character sharpening system, the character sharpening program, and the character sharpening method, it is possible to appropriately set the processing target range for the input image and correct character recognition. The result can be obtained.

文字認識システムのブロック図。The block diagram of a character recognition system. 文字認識システムの表示部に表示される画面の図。The figure of the screen displayed on the display part of a character recognition system. 画像変換にかかる対象範囲の画像と正面視画像との関係を示す模式図。The schematic diagram which shows the relationship between the image of the target range concerning image conversion, and a front view image. 正面視画像において文字の位置を示す模式図。The schematic diagram which shows the position of the character in a front view image. 1つの文字に対する複数の文字範囲を示す模式図。The schematic diagram which shows the several character range with respect to one character. 文字認識結果を示す図。The figure which shows a character recognition result. 文字認識システムが実行する文字認識処理のフローチャート。The flowchart of the character recognition process which a character recognition system performs. 文字認識システムを用いて行う、文字認識の手順を示すフローチャート。The flowchart which shows the procedure of character recognition performed using a character recognition system. 文字認識システムに接続される表示部に表示される画面について、他の例の図。The figure of another example about the screen displayed on the display part connected to a character recognition system. 文字認識システムに接続される表示部に表示される画面について、他の例の図。The figure of another example about the screen displayed on the display part connected to a character recognition system. 画像変換にかかる対象範囲の画像と正面視画像との関係について、他の例の模式図。The schematic diagram of another example about the relationship between the image of the target range concerning image conversion, and a front view image.

図1〜図8を参照して、文字認識システム1の一実施形態について説明する。なお、以下では、文字とは、アラビア数字、アルファベット、ひらがな、カタカナ、漢字、ギリシャ文字、アラビア文字、ハングル文字、ローマ数字、記号、等の文字を示す。   With reference to FIGS. 1-8, one Embodiment of the character recognition system 1 is described. In the following, the characters indicate characters such as Arabic numerals, alphabets, hiragana, katakana, kanji, Greek letters, Arabic letters, Korean letters, Roman numerals, symbols, and the like.

文字認識システム1は、車両のナンバープレート20に表示される文字を認識する。
文字認識システム1は、コンピュータにプログラムがインストールされたものとして構成される。プログラムがインストールされたコンピュータは、本実施形態にかかる文字認識システム1に相当する。このような文字認識システム1は、次のように構成される。
The character recognition system 1 recognizes characters displayed on the license plate 20 of the vehicle.
The character recognition system 1 is configured as a program installed on a computer. The computer in which the program is installed corresponds to the character recognition system 1 according to the present embodiment. Such a character recognition system 1 is configured as follows.

図1に示されるように、文字認識システム1は、画像取得部2と、表示部3と、記憶部4と、入力部5と、制御部6と、画像変換部7と、画像拡大部8と、認識部10と、を備える。文字認識システム1は、さらに、結果形成部15(後述参照)と、信頼度算出部16(後述参照)とを備える。   As shown in FIG. 1, the character recognition system 1 includes an image acquisition unit 2, a display unit 3, a storage unit 4, an input unit 5, a control unit 6, an image conversion unit 7, and an image enlargement unit 8. And a recognition unit 10. The character recognition system 1 further includes a result forming unit 15 (see later) and a reliability calculation unit 16 (see later).

画像取得部2は、撮影画像を取得する。画像取得部2により、文字認識の対象となる画像を含む撮影画像が、入力画像IAとして文字認識システム1に取り込まれる。例えば、車両のナンバープレート20が含まれる画像が、入力画像IAとして文字認識システム1に取り込まれる。入力画像IAは、画像取得部2が取得した静止画像または動画像から操作者の操作により選択される。   The image acquisition unit 2 acquires a captured image. The image acquisition unit 2 captures a captured image including an image that is a character recognition target as the input image IA into the character recognition system 1. For example, an image including a vehicle license plate 20 is captured by the character recognition system 1 as an input image IA. The input image IA is selected by an operator's operation from a still image or a moving image acquired by the image acquisition unit 2.

画像取得部2として、例えば、DVDやUSBメモリ等の記憶媒体から情報を取り込む媒体読取装置、LANまたはインターネットを介して他の情報端末から情報を取得する情報取得装置、無線を介して他の情報端末から情報を取得する無線通信装置等が挙げられる。画像取得部2により取り込まれる情報として、例えば、監視カメラにより撮影された静止画像または動画像、車両搭載のドライブレコーダにより記録された静止画像または動画像、スマートフォンで撮影された静止画像または動画像、ビデオカメラで撮影された動画像、デジタルスチルカメラで撮影された静止画像等が挙げられる。   As the image acquisition unit 2, for example, a medium reading device that captures information from a storage medium such as a DVD or a USB memory, an information acquisition device that acquires information from another information terminal via a LAN or the Internet, or other information via wireless Examples include a wireless communication device that acquires information from a terminal. As information captured by the image acquisition unit 2, for example, a still image or a moving image taken by a surveillance camera, a still image or a moving image recorded by a drive recorder mounted on a vehicle, a still image or a moving image taken by a smartphone, Examples include moving images taken with a video camera, still images taken with a digital still camera, and the like.

表示部3は、入力画像IAの少なくとも一部を表示する。表示部3は、図2に示すように、画像取得部2により取り込まれた入力画像IA、入力画像IAにおいて指定された切出範囲AJの正面視画像IF(後述参照)、認識部10により得られた文字認識の結果、等を表示する。   The display unit 3 displays at least a part of the input image IA. As shown in FIG. 2, the display unit 3 obtains the input image IA captured by the image acquisition unit 2, the front-view image IF (see below) of the cutout range AJ specified in the input image IA, and the recognition unit 10. The result of the recognized character recognition is displayed.

記憶部4は、画像取得部2により取得された静止画像等を記憶する。また、画像変換部7が画像変換に用いる画像変換用情報や、文字範囲設定部11等が処理の対象範囲を設定するために用いる対象位置情報を記憶する(後述参照)。また、記憶部4は、認識部10により得られた文字認識の結果を記憶する。   The storage unit 4 stores the still image acquired by the image acquisition unit 2. Further, the image conversion unit 7 stores image conversion information used for image conversion, and the character range setting unit 11 and the like store target position information used for setting a processing target range (see later). The storage unit 4 stores the result of character recognition obtained by the recognition unit 10.

入力部5は、表示部3に表示された入力画像IAにおいて、入力画像IA上の位置を指定する操作を受け付ける装置である。具体的には、入力部5は、入力画像IAにおいて切出範囲AJ(後述参照)を指定するポインタPTの位置を入力するための操作を受け付ける。入力部5の例として、マウス、タッチパッド、タッチパネル等が挙げられる。   The input unit 5 is a device that receives an operation for designating a position on the input image IA in the input image IA displayed on the display unit 3. Specifically, the input unit 5 receives an operation for inputting the position of a pointer PT that designates a cutout range AJ (see later) in the input image IA. Examples of the input unit 5 include a mouse, a touch pad, a touch panel, and the like.

制御部6は、画像取得部2と、表示部3と、記憶部4と、入力部5と、制御部6と、画像変換部7と、画像拡大部8と、認識部10と、結果形成部15と、信頼度算出部16とを制御する。また、制御部6は、表示部3に出力する情報を制御する。例えば、制御部6は、少なくとも入力画像IAと拡大変換画像IC(後述参照)とを表示部3の同じ画面DSに表示させる。同じ画面DSとは、複数の画面DSにおいて同時に表示させる場合を含む。また、制御部6は、文字範囲ACが正面視画像IF上で視認で確認可能であるように文字範囲ACを表示部3に表示する。   The control unit 6 includes an image acquisition unit 2, a display unit 3, a storage unit 4, an input unit 5, a control unit 6, an image conversion unit 7, an image enlargement unit 8, a recognition unit 10, and result formation. The unit 15 and the reliability calculation unit 16 are controlled. The control unit 6 controls information output to the display unit 3. For example, the control unit 6 displays at least the input image IA and the enlarged converted image IC (see later) on the same screen DS of the display unit 3. The same screen DS includes a case where a plurality of screens DS are displayed simultaneously. Further, the control unit 6 displays the character range AC on the display unit 3 so that the character range AC can be visually confirmed on the front-view image IF.

図2に示されるように、拡大変換画像ICは、ナンバープレート20の正面に正対した位置から見た正面視画像であって、所定の縦幅及び横幅に拡大された画像である。ナンバープレート20の正面とは、一連指定番号などの文字が表示されている面である。拡大変換画像ICとして表示される正面視画像IFは、入力画像IAにおいてナンバープレート20に対応する部分が画像変換部7の処理により正面視画像に変換された画像である。ここでは、拡大変換画像ICの縦横の比率(縦寸法と横寸法との比率)は、ナンバープレート20の縦横の比率と等しいが、後述の文字範囲AC等が確認できれば、任意に縦横の比率を設定してもよい。   As shown in FIG. 2, the enlarged converted image IC is a front view image seen from a position facing the front of the license plate 20 and enlarged to a predetermined vertical width and horizontal width. The front surface of the license plate 20 is a surface on which characters such as a series designation number are displayed. The front view image IF displayed as the enlarged converted image IC is an image obtained by converting a portion corresponding to the license plate 20 in the input image IA into a front view image by the processing of the image conversion unit 7. Here, the vertical / horizontal ratio (the ratio between the vertical dimension and the horizontal dimension) of the enlarged converted image IC is equal to the vertical / horizontal ratio of the license plate 20. It may be set.

拡大変換画像ICは、後述するように、指定枠IB内の画像(切出範囲AJの画像)が画像変換部7により画像変換がされて、かつ画像拡大部8により拡大されることにより、形成される。   As will be described later, the enlarged converted image IC is formed by converting the image within the designated frame IB (the image of the cutout area AJ) by the image converting unit 7 and enlarging the image by the image enlarging unit 8. Is done.

さらに、制御部6は、入力画像IA上に、切出範囲AJを指定するための指定枠IBを表示する。指定枠IBは、入力画像IAに重ねられる。後述のように、指定枠IBの形状は、入力部5を介する操作者の操作により、変更され得る。   Further, the control unit 6 displays a designation frame IB for designating the cutout range AJ on the input image IA. The designated frame IB is superimposed on the input image IA. As will be described later, the shape of the designated frame IB can be changed by the operation of the operator via the input unit 5.

さらに、制御部6は、拡大変換画像IC上に文字枠IDを表示する。文字枠IDは、拡大変換画像ICにおいて文字範囲ACを示す画像を含む。具体的には、文字枠IDは、矩形の4つの枠により構成される。枠は、文字範囲ACを示す。4つの枠(文字範囲AC)は、拡大変換画像ICにおいてナンバープレート20に表示される自動車登録番号のうち4桁の一連指定番号が位置するところで、1つの桁に1つの枠が対応するように配置される。操作者は、拡大変換画像ICにおける文字枠IDの位置(各文字枠IDの位置)と、拡大変換画像ICの一連指定番号とを見比べることで、入力画像IAに対して行った切出範囲AJの指定の正確さを確認できる。   Further, the control unit 6 displays a character frame ID on the enlarged converted image IC. The character frame ID includes an image indicating the character range AC in the enlarged converted image IC. Specifically, the character frame ID is composed of four rectangular frames. The frame indicates the character range AC. The four frames (character range AC) are arranged so that one frame corresponds to one digit where the four-digit serial designation number is located in the automobile registration number displayed on the license plate 20 in the enlarged converted image IC. Be placed. The operator compares the position of the character frame ID (the position of each character frame ID) in the enlarged converted image IC with the series designated number of the enlarged converted image IC, thereby performing the cutout range AJ performed on the input image IA. The accuracy of the specification can be confirmed.

制御部6は、入力部5が位置を変更する操作を受け付けると、変更された位置に応じて画像変換部7が変更した正面視画像IFと文字範囲設定部11が変更した文字範囲ACとを、表示部3に表示する。これにより、入力部5が受け付けた位置に応じた正面視画像IFが表示部3に表示されるとともに、正面視画像IFに文字範囲ACが表示される。このため、操作者は、指定の切出範囲AJについて、切出範囲AJの変更した後、直ぐに、切出範囲AJが画像変換されかつ拡大された画像(すなわち正面視画像IF)を視認できる。   When the input unit 5 receives an operation of changing the position, the control unit 6 displays the front-view image IF changed by the image conversion unit 7 and the character range AC changed by the character range setting unit 11 according to the changed position. Is displayed on the display unit 3. Thereby, the front view image IF corresponding to the position received by the input unit 5 is displayed on the display unit 3, and the character range AC is displayed on the front view image IF. For this reason, the operator can visually recognize an image in which the cutout area AJ is converted and enlarged (that is, the front-view image IF) immediately after changing the cutout area AJ for the specified cutout area AJ.

さらに、制御部6は、結果形成部15(後述参照)により形成された後述の文字認識結果を表示部3等に出力する。具体的には、図6に示すように、制御部6は、1つのナンバープレート20に対する複数の結果を表示部3の同じ画面DSに同時に表示させる。例えば、1つのナンバープレート20に対する処理内容が異なる場合には、制御部6は、1つのナンバープレート20に対する処理内容が異なる複数の結果を表示部3の同じ画面DSに同時に表示させる。表示部3は、認識部10が文字を認識した結果を画面DSに表示する。   Further, the control unit 6 outputs a later-described character recognition result formed by the result forming unit 15 (see later) to the display unit 3 or the like. Specifically, as shown in FIG. 6, the control unit 6 causes a plurality of results for one license plate 20 to be simultaneously displayed on the same screen DS of the display unit 3. For example, when the processing contents for one license plate 20 are different, the control unit 6 causes a plurality of results having different processing contents for one license plate 20 to be simultaneously displayed on the same screen DS of the display unit 3. The display unit 3 displays the result of recognition of characters by the recognition unit 10 on the screen DS.

記憶部4は、画像変換用情報として、ナンバープレート20の正面視の形状(以下、「正面視形状」)を記憶する。正面視形状とは、ナンバープレート20の正面に正対した位置から当該ナンバープレート20を見たときの形状を示す。本実施形態では、文字認識の対象となる対象物は、所定の国のナンバープレート20である。記憶部4は、所定の国のナンバープレート20の正面視形状を記憶する。   The storage unit 4 stores the shape of the license plate 20 in the front view (hereinafter referred to as “front view shape”) as the image conversion information. The front view shape indicates a shape when the license plate 20 is viewed from a position facing the front of the license plate 20. In this embodiment, the target object for character recognition is the license plate 20 of a predetermined country. The memory | storage part 4 memorize | stores the front view shape of the number plate 20 of a predetermined country.

具体的には、記憶部4は、画像変換用情報として、次のようにナンバープレート20をXY座標系に配置したときの、すなわち、正面からみたときのナンバープレート20の特徴部分の位置座標を記憶する。   Specifically, the storage unit 4 uses, as image conversion information, the position coordinates of the characteristic portion of the license plate 20 when the license plate 20 is arranged in the XY coordinate system as follows, that is, when viewed from the front. Remember.

図4を参照して、直交座標系における、ナンバープレート20の配置の一例を説明する。ナンバープレート20の左下の隅21が原点に配置され、左下の隅21を通る横辺がX軸に沿い、かつ、左下の隅21を通る縦辺がY軸に沿うように、ナンバープレート20が配置される。特徴部分とは、ナンバープレート20において形状に特徴がある部分を示す。例えばナンバープレート20の特徴部分は、外形の4つの隅21、ナンバープレート20を車両に締結するためのボルト22の位置等である。本実施形態では、記憶部4は、ナンバープレート20の外形の4つの隅21を特徴部分として、4つの隅21の位置座標を記憶する。   With reference to FIG. 4, an example of arrangement | positioning of the number plate 20 in a rectangular coordinate system is demonstrated. The license plate 20 is arranged such that the lower left corner 21 of the license plate 20 is located at the origin, the horizontal side passing through the lower left corner 21 is along the X axis, and the vertical side passing through the lower left corner 21 is along the Y axis. Be placed. The characteristic portion indicates a portion having a characteristic shape in the license plate 20. For example, the characteristic parts of the license plate 20 are the four corners 21 of the outer shape, the positions of bolts 22 for fastening the license plate 20 to the vehicle, and the like. In the present embodiment, the storage unit 4 stores the position coordinates of the four corners 21 using the four corners 21 of the outer shape of the license plate 20 as characteristic portions.

また、記憶部4は、対象位置情報として、ナンバープレート20における特徴部分の位置とナンバープレート20に表示されている少なくとも1つの文字の位置との位置関係を記憶する。本実施形態では、文字の位置PCは、一連指定番号の文字の位置である。そして、記憶部4は、特徴部分としての左下の隅21(原点)と、4桁の一連指定番号それぞれの位置PCとの関係を記憶する。具体的には、記憶部4は、上述のXY座標系のおける4桁の一連指定番号の位置PCの位置座標を記憶する。これらの位置PCは、拡大変換画像ICにおいて文字範囲ACを設定するときに用いられる。対象位置情報は、拡大変換画像ICの縦横の比率に応じて設定される。   Further, the storage unit 4 stores the positional relationship between the position of the characteristic portion on the license plate 20 and the position of at least one character displayed on the license plate 20 as target position information. In the present embodiment, the character position PC is the character position of the serial designation number. And the memory | storage part 4 memorize | stores the relationship between the lower left corner 21 (origin) as a characteristic part, and the position PC of each 4-digit serial designation number. Specifically, the storage unit 4 stores the position coordinates of the position PC of the 4-digit serial designation number in the XY coordinate system described above. These positions PC are used when the character range AC is set in the enlarged converted image IC. The target position information is set according to the aspect ratio of the enlarged converted image IC.

図3を参照して、画像変換部7について説明する。
画像変換部7は、指定枠IBで指定された切出範囲AJの画像を正面視画像IFに変換する。画像変換部7による画像変換は、後述の文字範囲ACの設定前に行われる。正面視画像IFは、上述したように、ナンバープレート20の正面に正対した位置から見た画像である。具体的には、画像変換部7は、射影変換により、指定枠IBで指定された切出範囲AJの画像を正面視画像IFに変換する。
The image conversion unit 7 will be described with reference to FIG.
The image conversion unit 7 converts the image of the cutout range AJ designated by the designated frame IB into the front view image IF. Image conversion by the image conversion unit 7 is performed before setting a character range AC described later. As described above, the front-view image IF is an image viewed from a position facing the front of the license plate 20. Specifically, the image conversion unit 7 converts the image of the cutout range AJ designated by the designated frame IB into the front view image IF by projective transformation.

画像変換部7により変換される対象範囲は、次のように指定される。本実施形態では、変換の対象範囲は、切出範囲AJである。
入力画像IAにおいて切出範囲AJは、指定枠IBの操作により指定される。指定枠IBは、4つのポインタPTにより構成される。本実施形態では、指定枠IBは、4つのポインタPTを有する。ポインタPTは、入力部5での操作に基づいて位置変更可能である。ポインタPTは、操作者が後述の特徴部分を指定するためのツールである。ポインタPTにより指定されるべき特徴部分は、ナンバープレート20の正面視形状で特徴がある部分であってかつ当該部分のうちで予め画像変換部7による変換処理の基準点として設定されている部分である。本実施形態では、ナンバープレート20の外形の4つの隅21が、特徴部分として設定されている。具体的には、指定枠IBは、4つのポインタPTを有し、四角形を呈する。指定枠IBは、入力部5の操作により形状が変更される。具体的には、指定枠IBは、4つのポインタPTと、4つのポインタPTを接続する線分とにより構成される。ポインタPTは、入力部5の操作により画面DS上で移動する。4つのポインタPTの位置関係により、指定枠IBの形状が決まる。
The target range to be converted by the image conversion unit 7 is specified as follows. In the present embodiment, the conversion target range is the cutout range AJ.
In the input image IA, the cutout range AJ is designated by operating the designation frame IB. The designated frame IB includes four pointers PT. In the present embodiment, the designation frame IB has four pointers PT. The position of the pointer PT can be changed based on an operation at the input unit 5. The pointer PT is a tool for the operator to specify a characteristic part to be described later. The characteristic part to be specified by the pointer PT is a part that has a characteristic in the front view shape of the license plate 20 and is a part that is set in advance as a reference point for conversion processing by the image conversion unit 7. is there. In the present embodiment, four corners 21 of the outer shape of the license plate 20 are set as characteristic portions. Specifically, the designated frame IB has four pointers PT and has a quadrangular shape. The shape of the designated frame IB is changed by operating the input unit 5. Specifically, the designation frame IB includes four pointers PT and line segments that connect the four pointers PT. The pointer PT moves on the screen DS by operating the input unit 5. The shape of the designated frame IB is determined by the positional relationship of the four pointers PT.

画像変換部7は、設定された対象範囲の画像を次のように射影変換する。本実施形態では、変換の対象範囲は、切出範囲AJである。
4つのポインタPTは、それぞれ、操作者によって、ナンバープレート20の4つの隅21に対応付けする。4つのポインタPTの位置座標と、正面からみたナンバープレート20の4つの特徴部分(本実施形態ではナンバープレート20の4つの隅21の位置)の位置座標とが対応する。画像変換部7は、4つのポインタPTの位置座標とそれぞれに対応する正面からみたナンバープレート20の特徴部分の位置座標とに基づいて、射影変換を表す行列を形成する。そして、画像変換部7は、射影変換を表す行列を用いて、切出範囲AJの画像を正面視画像IFに変換する。このようにして、切出範囲AJの画像が、ナンバープレート20を正面視したときの正面視画像IFに変換される。
The image conversion unit 7 performs projective conversion on the image of the set target range as follows. In the present embodiment, the conversion target range is the cutout range AJ.
The four pointers PT are respectively associated with the four corners 21 of the license plate 20 by the operator. The position coordinates of the four pointers PT correspond to the position coordinates of the four characteristic portions of the license plate 20 as viewed from the front (the positions of the four corners 21 of the license plate 20 in this embodiment). The image conversion unit 7 forms a matrix representing projective transformation based on the position coordinates of the four pointers PT and the position coordinates of the characteristic part of the license plate 20 corresponding to each of the pointers PT. Then, the image conversion unit 7 converts the image of the cutout range AJ into the front view image IF using a matrix representing the projective conversion. In this way, the image of the cutout range AJ is converted into a front-view image IF when the license plate 20 is viewed from the front.

さらに、画像拡大部8は、当初の切出範囲AJの面積よりも大きい面積となるように正面視画像IFを拡大する。好ましくは、画像拡大部8は、予め決まった縦幅及び横幅の大きさに拡大される。   Furthermore, the image enlarging unit 8 enlarges the front view image IF so as to have an area larger than the area of the original cutout range AJ. Preferably, the image enlargement unit 8 is enlarged to a predetermined vertical width and horizontal width.

認識部10は、ナンバープレート20に表示されている文字を認識する。具体的には、入力画像IAから切り出されたナンバープレート20の画像の少なくとも数字部分を、鮮明化処理した後、文字認識処理を行う。認識部10は、文字範囲設定部11と、範囲生成部12、鮮明化処理部13と、文字認識部14と、を備える。広い意味では、認識部10に上述の画像変換部7と画像拡大部8とを含めてもよい。   The recognition unit 10 recognizes characters displayed on the license plate 20. Specifically, the character recognition processing is performed after sharpening processing is performed on at least the numeric portion of the image of the license plate 20 cut out from the input image IA. The recognition unit 10 includes a character range setting unit 11, a range generation unit 12, a sharpening processing unit 13, and a character recognition unit 14. In a broad sense, the recognition unit 10 may include the image conversion unit 7 and the image enlargement unit 8 described above.

認識部10は、入力画像IAを取得してから文字を認識した結果を得るまでの処理内容が少なくとも一部において異なる複数の処理を備える。例えば、鮮明化処理のアルゴリズムが異なる、文字認識処理のアルゴリズムが異なる、等である。また、処理の対象範囲を違えて鮮明化処理や文字認識処理を行う、等である。   The recognition unit 10 includes a plurality of processes that differ in at least some of the processing contents from obtaining the input image IA until obtaining a result of character recognition. For example, the sharpening processing algorithm is different, the character recognition processing algorithm is different, and the like. In addition, a sharpening process, a character recognition process, and the like are performed with different processing target ranges.

文字範囲設定部11は、入力部5を介して指定されたナンバープレート20の特徴部分の位置と記憶部4が記憶する対象位置情報とにもとづいて、文字を認識する対象範囲として入力画像IAに1つの文字範囲ACを設定する。文字範囲ACとは、文字認識処理の対象範囲である。具体的には、文字範囲設定部11は、上述の拡大変換画像ICにおいて、特徴部分の位置と対象位置情報である文字の位置との位置関係に基づき、一連指定番号の各桁の文字それぞれに文字範囲ACを1つずつ設定する。このようにして、複数の文字認識の対象範囲(文字範囲AC)が生成される。   Based on the position of the characteristic portion of the license plate 20 specified via the input unit 5 and the target position information stored in the storage unit 4, the character range setting unit 11 sets the input range as a target range for recognizing characters. One character range AC is set. The character range AC is a target range for character recognition processing. Specifically, the character range setting unit 11 applies to each character of each digit of the serial designation number based on the positional relationship between the position of the characteristic portion and the position of the character that is the target position information in the above-described enlarged converted image IC. Set character range AC one by one. In this way, a plurality of character recognition target ranges (character ranges AC) are generated.

範囲生成部12は、入力部5を介して指定されたナンバープレート20の特徴部分の位置に基づき、あるいは、特徴部分の位置に基づいて文字範囲設定部11によって設定された文字範囲ACに基づき、文字認識の対象となる文字の1つずつに対して、文字認識の対象範囲として互いに異なる複数の対象範囲を生成する。例えば、文字範囲設定部11により設定された1つの文字範囲ACが基準の文字範囲ACとされ、範囲生成部12は基準の文字範囲ACに基づいて、複数の文字範囲ACを設定する。   The range generation unit 12 is based on the position of the feature portion of the license plate 20 designated via the input unit 5 or based on the character range AC set by the character range setting unit 11 based on the position of the feature portion. A plurality of different target ranges are generated as character recognition target ranges for each character to be character recognition target. For example, one character range AC set by the character range setting unit 11 is set as a reference character range AC, and the range generation unit 12 sets a plurality of character ranges AC based on the reference character range AC.

図5を参照して、基準の文字範囲ACに基づき、複数の文字範囲ACが設定される例を説明する。図5に示されるように、1つの文字に対して、複数の文字範囲ACが設定される。具体的には、一連指定番号の各桁の文字それぞれに複数の文字範囲ACが設定される。複数の文字範囲ACのそれぞれは、基準の文字範囲ACに対して位置や大きさが僅かに相違する(図5参照)。このような複数の文字範囲ACの設定によれば、1つの文字に対する文字認識を、文字範囲ACが異なる処理内容で行うことが可能になる(後述参照)。なお、画面DSにおいて示される文字範囲ACは、所定の1つである(図2参照)。   An example in which a plurality of character ranges AC are set based on the standard character range AC will be described with reference to FIG. As shown in FIG. 5, a plurality of character ranges AC are set for one character. Specifically, a plurality of character ranges AC are set for each character of each digit of the series designation number. Each of the plurality of character ranges AC is slightly different in position and size from the reference character range AC (see FIG. 5). According to such setting of a plurality of character ranges AC, it is possible to perform character recognition for one character with processing contents having different character ranges AC (see later). Note that the character range AC shown on the screen DS is a predetermined one (see FIG. 2).

鮮明化処理部13は、入力画像IAに関して設定された鮮明化範囲の画像の解像度を高める鮮明化処理を行う。ここでは、鮮明化処理部13は、鮮明化処理を行う鮮明化範囲とし文字範囲ACを用い、上述の拡大変換画像ICにおいて、文字範囲AC内の画像の文字の解像度を高める。なお、ここでいう解像度は文字が精細に描写されている程度を表すものである。   The sharpening processing unit 13 performs a sharpening process for increasing the resolution of an image in the sharpening range set for the input image IA. Here, the sharpening processing unit 13 uses the character range AC as the sharpening range for performing the sharpening processing, and increases the resolution of characters in the image within the character range AC in the above-described enlarged converted image IC. In addition, the resolution here represents the grade by which the character is drawn finely.

本実施形態では、鮮明化処理部13は、鮮明化処理の一つである、ニューラルネットワークを用いた機械学習による鮮明化処理を行う。ニューラルネットワークを用いた機械学習では、低解像度の画像と、低解像度の画像に対応する高解像度の画像のペアを機械学習して学習済みモデルが形成される。そして、学習済みモデルを用いて鮮明化処理を行い、画像を鮮明化する。   In the present embodiment, the sharpening processing unit 13 performs a sharpening process by machine learning using a neural network, which is one of the sharpening processes. In machine learning using a neural network, a learned model is formed by machine learning of a pair of a low resolution image and a high resolution image corresponding to the low resolution image. Then, a sharpening process is performed using the learned model to sharpen the image.

なお、鮮明化処理部13は、上記の鮮明化処理に加えて、例えば、ヘイズ除去、ダークチャネル処理、エッジ保存フィルタ、バイラテラルフィルタ、ガイデッドフィルタ等による画像の鮮明化を行ってもよい。また、鮮明化処理部13は、複数の文字範囲AC内あるいは複数の鮮明化範囲の画像を一度に鮮明化してもよく、また、鮮明化の対象範囲の全体を鮮明化してもよい。   In addition to the above-described sharpening processing, the sharpening processing unit 13 may perform image sharpening by, for example, haze removal, dark channel processing, edge preserving filter, bilateral filter, guided filter, or the like. In addition, the sharpening processing unit 13 may sharpen images in a plurality of character ranges AC or in a plurality of sharpening ranges at once, or may sharpen the entire sharpening target range.

文字認識部14は、文字範囲ACそれぞれについて、文字認識を行う。文字認識部14は、所定の文字認識手段を用いて文字範囲ACの画像から文字を認識する。文字認識手段の例として、文字と文字画像との関係を学習した学習済みモデルを利用するもの、文字画像辞書を用いたパターンマッチングにより文字を認識するもの等が挙げられる。   The character recognition unit 14 performs character recognition for each character range AC. The character recognition unit 14 recognizes characters from the image in the character range AC using a predetermined character recognition unit. Examples of character recognition means include those that use a learned model in which the relationship between characters and character images is learned, and those that recognize characters by pattern matching using a character image dictionary.

本実施形態では、学習済みモデルに基づいて文字画像から文字を認識する。学習済みモデルは、ニューラルネットワーク型の学習装置が学習用データに基づいて学習することにより学習装置が形成するモデルである。学習用の教師データは、文字画像と文字とのペアの群である。   In this embodiment, a character is recognized from a character image based on the learned model. The learned model is a model formed by the learning device when the neural network learning device learns based on the learning data. The teacher data for learning is a group of character image and character pairs.

文字認識部14は、一連指定番号の各桁の文字に設定されている文字範囲ACそれぞれについて、文字範囲ACの画像の文字認識を行う。
なお、範囲生成部12が生成した複数の対象範囲が設定されている場合は、例えば、一連指定番号が4桁であって、各桁の文字に5つの文字範囲ACが設定されている場合は、1つの桁について5つの文字認識結果が得られる。
The character recognition unit 14 performs character recognition of the image of the character range AC for each character range AC set for each digit character of the serial designation number.
When a plurality of target ranges generated by the range generation unit 12 are set, for example, when the series designation number is 4 digits and five character ranges AC are set for each digit character. Five character recognition results are obtained for one digit.

具体的には、一連指定番号の各桁の文字それぞれについて、第1文字範囲AC1〜第5文字範囲AC5について文字認識を行う。一連指定番号の各桁の文字それぞれを第1文字範囲AC1で文字認識を行い、これによって得られた結果は、第1文字範囲AC1での文字認識結果として記憶部4に記憶される。以下、同様に第2文字範囲AC2での文字認識結果、第3文字範囲AC3での文字認識結果、第4文字範囲AC4での文字認識結果、及び第5文字範囲AC5での文字認識結果が記憶部4に記憶される。   Specifically, character recognition is performed on the first character range AC1 to the fifth character range AC5 for each character of each digit of the series designation number. Each character of each digit of the serial designation number is subjected to character recognition in the first character range AC1, and the result obtained thereby is stored in the storage unit 4 as a character recognition result in the first character range AC1. Similarly, the character recognition result in the second character range AC2, the character recognition result in the third character range AC3, the character recognition result in the fourth character range AC4, and the character recognition result in the fifth character range AC5 are stored. Stored in part 4.

結果形成部15は、ナンバープレート20に対して行った文字認識の結果を所定の表示形式にまとめる。
上述のように、文字認識部14が、一連指定番号の各桁の文字それぞれで第1文字範囲AC1〜第5文字範囲AC5について文字認識を行っている場合、異なる結果が得られる場合がある。このような場合、例えば、次のように、文字認識の結果をまとめる。
The result forming unit 15 collects the results of character recognition performed on the license plate 20 in a predetermined display format.
As described above, different results may be obtained when the character recognition unit 14 performs character recognition for the first character range AC1 to the fifth character range AC5 for each character of each digit of the serial designation number. In such a case, for example, the results of character recognition are summarized as follows.

結果形成部15は、第1文字範囲AC1〜第5文字範囲AC5での文字認識結果が次のように表示部3の画面DSに表示されるように、データを形成する。
図6を参照して、結果形成部15により形成されたデータの表示例を説明する。画面DSには、1行目には、第1文字範囲AC1での文字認識結果が表示される。具体的には、第1行目第1列目には、画像変換部7で変換され、画像拡大部8で拡大された後の拡大変換画像ICが表示される。第1行目第2列目には、鮮明化後の画像が表示される。第1行目第3列目には、文字認識の結果が示される。さらに、文字認識の結果の下には、文字認識の信頼度(後述参照)が表示される。これと同様に、2行目には、第2文字範囲AC2での文字認識結果が表示される。3行目には、第3文字範囲AC3での文字認識結果が表示される。4行目には、第4文字範囲AC4での文字認識結果が表示される。5行目には、第5文字範囲AC5での文字認識結果が表示される。このように、文字認識システム1は、1つのナンバープレート20に対する複数の結果を表示部3の同じ画面DSに並べて同時に表示する。このような表示により、一目で、処理内容が異なる複数の結果を把握できる。
The result forming unit 15 forms data so that the character recognition results in the first character range AC1 to the fifth character range AC5 are displayed on the screen DS of the display unit 3 as follows.
A display example of data formed by the result forming unit 15 will be described with reference to FIG. On the screen DS, the character recognition result in the first character range AC1 is displayed on the first line. Specifically, in the first row and the first column, the enlarged converted image IC after being converted by the image converting unit 7 and enlarged by the image enlarging unit 8 is displayed. The sharpened image is displayed in the first row and the second column. The result of character recognition is shown in the first row and the third column. Further, the reliability of character recognition (see later) is displayed below the result of character recognition. Similarly, the character recognition result in the second character range AC2 is displayed on the second line. In the third line, the character recognition result in the third character range AC3 is displayed. In the fourth line, the character recognition result in the fourth character range AC4 is displayed. In the fifth line, the character recognition result in the fifth character range AC5 is displayed. In this way, the character recognition system 1 displays a plurality of results for one license plate 20 side by side on the same screen DS of the display unit 3 at the same time. By such display, a plurality of results with different processing contents can be grasped at a glance.

信頼度算出部16は、文字認識の信頼度を算出する。例えば、信頼度は、文字認識により認識された文字の基準画像と、正面視画像である拡大変換画像IC又は鮮明化後の画像における文字範囲ACとの類似度を求め、この類似度を信頼度としてもよい。この場合、ナンバープレート20を高解像度で撮像して基準画像を作成するとよい。   The reliability calculation unit 16 calculates the reliability of character recognition. For example, the reliability is obtained by calculating the similarity between the reference image of the character recognized by the character recognition and the character range AC in the enlarged converted image IC that is a front view image or the image after sharpening. It is good. In this case, a reference image may be created by imaging the license plate 20 with high resolution.

以上では、鮮明化範囲として文字範囲ACを用いたが、鮮明化範囲設定部が、入力部5を介して指定されたナンバープレート20の特徴部分の位置と記憶部4が記憶する対象位置情報とにもとづいて、入力画像IAにおいて鮮明化を行なう範囲である鮮明化範囲を設定してもよい。具体的には、鮮明化範囲設定部は、上述の拡大変換画像ICにおいて、特徴部分の位置と対象位置情報である文字の位置との位置関係に基づき、一連指定番号の各桁の文字それぞれに鮮明化範囲を1つずつ設定する。このようにして、複数の鮮明化範囲が生成される。   In the above description, the character range AC is used as the sharpening range. However, the sharpening range setting unit includes the position of the characteristic portion of the license plate 20 designated via the input unit 5 and the target position information stored in the storage unit 4. On the basis of this, a sharpening range that is a range for sharpening in the input image IA may be set. Specifically, the sharpening range setting unit applies to each character of each digit of the serial designation number based on the positional relationship between the position of the characteristic portion and the position of the character that is the target position information in the above-described enlarged converted image IC. Set the sharpening range one by one. In this way, a plurality of sharpening ranges are generated.

更に、鮮明化範囲設定部は、少なくとも1つの文字に対して互いに異なる複数の鮮明化範囲を設定してもよい。具体的には、範囲生成部12を用いて、入力部5を介して指定されたナンバープレート20の特徴部分の位置に基づき、あるいは、特徴部分の位置に基づいて鮮明化範囲設定部によって設定された鮮明化範囲に基づき、鮮明化の対象となる文字の領域に対して、鮮明化の対象範囲として互いに異なる複数の対象範囲を生成する。例えば、鮮明化範囲設定部により設定された1つの鮮明化範囲が基準の鮮明化範囲とされ、範囲生成部12は基準の鮮明化範囲に基づいて、複数の鮮明化範囲を設定する。   Further, the sharpening range setting unit may set a plurality of different sharpening ranges for at least one character. Specifically, the range generation unit 12 is used to set the feature portion of the license plate 20 designated via the input unit 5 or the sharpening range setting unit based on the feature portion position. Based on the sharpening range, a plurality of different target ranges are generated as the sharpening target range for the character area to be sharpened. For example, one sharpening range set by the sharpening range setting unit is set as a reference sharpening range, and the range generation unit 12 sets a plurality of sharpening ranges based on the reference sharpening range.

1つの文字に対して複数の対象範囲が設定されている場合は、鮮明化処理部はそれぞれの鮮明化範囲の画像を鮮明化する。そして、文字認識部14は、鮮明化された各画像について文字認識処理を行う。このようにして、複数の文字認識結果が得られる。なお、鮮明化範囲設定部は、一連指定番号の各桁の文字の画像それぞれに鮮明化範囲を設定してもよいし、一連指定番号の全桁を含む画像に鮮明化範囲を設定してもよい。なお、全桁を含む画像に鮮明化範囲を設定した場合は、文字認識処理の必要に応じて、各桁毎に鮮明化された画像を分割してもよい。   When a plurality of target ranges are set for one character, the sharpening processing unit sharpens images in the respective sharpening ranges. Then, the character recognition unit 14 performs character recognition processing on each of the sharpened images. In this way, a plurality of character recognition results are obtained. The sharpening range setting unit may set the sharpening range for each character image of each digit of the series designation number, or may set the sharpening range for an image including all digits of the series designation number. Good. When a sharpening range is set for an image including all the digits, the sharpened image may be divided for each digit as necessary for character recognition processing.

図7を参照して、文字認識システム1の動作を説明する。
文字認識システム1は、次の文字認識処理を実行する。文字認識処理は、第1ステップ〜第5ステップを有する。
The operation of the character recognition system 1 will be described with reference to FIG.
The character recognition system 1 executes the following character recognition process. The character recognition process has a first step to a fifth step.

第1ステップS1では、文字認識システム1は、入力画像IAを表示部3に表示した状態で、入力部5の操作に基づくポインタPTの操作を受け付ける。文字認識システム1は、ポインタPTの位置座標を記憶する。そして、ポインタPTの位置座標が変更される都度、文字認識システム1は、入力画像IAにおけるポインタPTの位置座標を更新する。ポインタPTの更新に伴って、入力画像IAに表示される指定枠IBも更新される。   In the first step S1, the character recognition system 1 accepts an operation of the pointer PT based on the operation of the input unit 5 while the input image IA is displayed on the display unit 3. The character recognition system 1 stores the position coordinates of the pointer PT. Each time the position coordinate of the pointer PT is changed, the character recognition system 1 updates the position coordinate of the pointer PT in the input image IA. With the update of the pointer PT, the designated frame IB displayed on the input image IA is also updated.

第2ステップS2では、文字認識システム1は、入力部5の操作により入力画像IAに対して切出範囲AJが設定されることに基づいて切出範囲AJの画像を取得し、切出範囲AJの画像を記憶部4に記憶する。具体的には、文字認識システム1は、入力画像IAにおいて、指定枠IBで指定された範囲を切出範囲AJの画像として記憶部4に記憶する。指定枠IBの形状が変更され、切出範囲AJが再設定されると、記憶装置において切出範囲AJの画像が更新される。   In the second step S2, the character recognition system 1 acquires an image of the cutout range AJ based on the cutout range AJ being set for the input image IA by the operation of the input unit 5, and the cutout range AJ. Are stored in the storage unit 4. Specifically, the character recognition system 1 stores the range designated by the designated frame IB in the storage unit 4 as an image of the cutout range AJ in the input image IA. When the shape of the designated frame IB is changed and the cutout range AJ is reset, the image of the cutout range AJ is updated in the storage device.

第3ステップS3では、文字認識システム1は、切出範囲AJの画像が更新される都度、切出範囲AJを画像変換部7により正面視画像IFに変換する。表示部3の画面DSには、正面視画像IFが拡大変換画像ICとして表示される(図2参照)。   In the third step S3, the character recognition system 1 converts the cutout range AJ into the front view image IF by the image conversion unit 7 every time the image of the cutout range AJ is updated. On the screen DS of the display unit 3, the front view image IF is displayed as an enlarged converted image IC (see FIG. 2).

第4ステップS4では、文字認識システム1は、切出範囲AJの画像の正面視画像IFに対して、文字範囲ACを設定する。本実施形態では、範囲生成部12が生成した複数の対象範囲に基いて、文字認識システム1は、1つの文字に対して、位置が異なる複数の文字範囲ACを設定する(図5参照)。   In the fourth step S4, the character recognition system 1 sets the character range AC for the front-view image IF of the image of the cutout range AJ. In the present embodiment, the character recognition system 1 sets a plurality of character ranges AC having different positions for one character based on the plurality of target ranges generated by the range generator 12 (see FIG. 5).

第5ステップS5では、文字認識システム1は、文字範囲ACの画像を個々に鮮明化処理部13で鮮明にし、鮮明にした文字範囲ACの画像から文字を認識する。具体的には、1つの文字に対して設定された複数の文字範囲ACそれぞれについて鮮明化処理を行い文字を認識する。   In 5th step S5, the character recognition system 1 recognizes a character from the image of the character range AC in which the image of the character range AC was made clear by the sharpening process part 13 individually. Specifically, the sharpening process is performed for each of the plurality of character ranges AC set for one character to recognize the character.

さらに、文字認識システム1は、操作者の所定操作(以下、「結果表示操作」)に基づいて、文字範囲ACの画像について行った文字認識の結果を表示部3に出力する(図6参照)。具体的には、文字認識システム1は、結果形成部15により文字認識結果を所定の表示形式に纏め、所定の表示形式に纏められた文字認識の結果を表示部3に表示する。   Furthermore, the character recognition system 1 outputs the result of character recognition performed on the image in the character range AC to the display unit 3 based on a predetermined operation of the operator (hereinafter, “result display operation”) (see FIG. 6). . Specifically, the character recognition system 1 causes the result forming unit 15 to collect the character recognition results in a predetermined display format, and displays the results of character recognition combined in the predetermined display format on the display unit 3.

図8を参照して、文字認識の手順について説明する。第1ステップS11において、操作者が文字認識システム1に入力画像IAを入力する。そうすると、第2ステップS12において、文字認識システム1は、入力画像IAを取得し、記憶部4に記憶する。そして、文字認識システム1は、入力画像IAを表示部3に表示する。   A character recognition procedure will be described with reference to FIG. In the first step S11, the operator inputs the input image IA into the character recognition system 1. Then, in the second step S12, the character recognition system 1 acquires the input image IA and stores it in the storage unit 4. Then, the character recognition system 1 displays the input image IA on the display unit 3.

第3ステップS13において、操作者は、表示部3に表示される入力画像IAを視認しつつ、入力部5を操作して切出範囲AJを指定する。
具体的には、次のように、ナンバープレート20の位置指定(切り出し位置指定を兼ねる)を行う。指定枠IBを操作することにより、入力画像IAにおいてナンバープレート20の四つの隅21を指定する。
In the third step S13, the operator designates the cutout range AJ by operating the input unit 5 while visually recognizing the input image IA displayed on the display unit 3.
Specifically, the position designation of the license plate 20 (also serving as the cutout position designation) is performed as follows. By operating the designation frame IB, the four corners 21 of the license plate 20 are designated in the input image IA.

切出範囲AJが指定されると、第4ステップS14において、文字認識システム1は、切出範囲AJの画像を正面視画像IFに変換する。また、文字認識システム1は、正面視画像IFにおける個々の文字に対して複数の文字範囲ACを設定する。所定の文字範囲ACの文字枠IDは、正面視画像IFに重ねられて表示される。   When the cutout range AJ is designated, in the fourth step S14, the character recognition system 1 converts the image of the cutout range AJ into the front view image IF. Further, the character recognition system 1 sets a plurality of character ranges AC for individual characters in the front view image IF. The character frame ID of the predetermined character range AC is displayed superimposed on the front view image IF.

操作者は、正面視画像IFにおける文字枠IDの位置から、切り出し位置(すなわち切出範囲AJの指定)を評価できる。入力画像IAにおいて、ナンバープレート20の形状が歪になっているため、ナンバープレート20を正確に切り出し難い場合がある。この場合において、正確に、切り出しが行われているか否かを確認し難い。この点、正面視画像IFが表示されているため、正確に切り出しているか否かを確認できる。正確に切り出しが行われていない場合、操作者は、切出範囲AJを再度指定できる。なお、切り出し(すなわち、切出範囲AJの指定)が正確に行われているか否かの判定を視認で行うのではなく、自動演算処理によって行ってもよい。   The operator can evaluate the cutout position (that is, the designation of the cutout range AJ) from the position of the character frame ID in the front view image IF. In the input image IA, since the shape of the license plate 20 is distorted, it may be difficult to cut out the license plate 20 accurately. In this case, it is difficult to confirm whether or not the cutout has been performed accurately. In this respect, since the front-view image IF is displayed, it can be confirmed whether or not the image is cut out accurately. When the cutout is not performed correctly, the operator can specify the cutout range AJ again. It should be noted that the determination as to whether or not the cutout (that is, the designation of the cutout range AJ) has been accurately performed may be performed by automatic calculation processing instead of being performed by visual recognition.

また、切出範囲AJが指定されると、文字認識システム1により、正面視画像IFにおける個々の文字に対して複数の文字範囲ACが設定される。これら文字範囲ACは、切出範囲AJの画像から切り出されて、記憶部4に記憶される。   When the cutout range AJ is designated, the character recognition system 1 sets a plurality of character ranges AC for individual characters in the front view image IF. These character ranges AC are cut out from the image of the cut-out range AJ and stored in the storage unit 4.

第5ステップS15において、操作者は、所定操作により、文字認識システム1に「文字認識処理」を実行させる。この実行に基づいて、図7を用いて説明したとおり、文字認識システム1は、鮮明化処理部13の処理により、複数の文字範囲ACの画像それぞれを鮮明化する。そして、文字認識システム1は、鮮明にされた複数の文字範囲ACの画像それぞれについて文字認識する。   In the fifth step S15, the operator causes the character recognition system 1 to execute “character recognition processing” by a predetermined operation. Based on this execution, as described with reference to FIG. 7, the character recognition system 1 sharpens each of the images in the plurality of character ranges AC by the processing of the sharpening processing unit 13. Then, the character recognition system 1 recognizes characters for each of the sharpened images in the character range AC.

第6ステップS16において、操作者は、結果表示操作を行うことにより、文字認識の結果を表示部3に表示する。
次に、操作者によって結果表示操作が行われると、第7ステップS17において、文字認識システム1は、結果形成部15により形成された文字認識結果を表示部3に表示する。
In the sixth step S <b> 16, the operator displays the result of character recognition on the display unit 3 by performing a result display operation.
Next, when a result display operation is performed by the operator, the character recognition system 1 displays the character recognition result formed by the result forming unit 15 on the display unit 3 in a seventh step S17.

本実施形態では、ナンバープレート20についての1つの入力画像IAについて、処理内容が異なる設定が行われ、鮮明化処理及び文字認識が行われている。ここで、処理内容が異なる設定とは、本実施形態の例では、個々の文字に対して複数の文字範囲ACが設定されていることである。具体的には、ナンバープレート20の各文字について、上述の第1文字範囲AC1〜第5文字範囲AC5が設定されている。表示部3には、異なる文字範囲ACの設定毎に、ナンバープレート20の一連指定番号の文字認識の結果が並列表示される(図6参照)。すなわち、表示部3には、異なる設定毎に、複数の結果が並列表示される。   In the present embodiment, different settings are made for one input image IA for the license plate 20, and sharpening processing and character recognition are performed. Here, the setting with different processing contents means that a plurality of character ranges AC are set for each character in the example of the present embodiment. Specifically, the first character range AC1 to the fifth character range AC5 described above are set for each character of the license plate 20. The display unit 3 displays in parallel the character recognition results of the serially designated numbers of the license plate 20 for each setting of different character ranges AC (see FIG. 6). That is, the display unit 3 displays a plurality of results in parallel for each different setting.

このように、操作者は、表所装置の画面DS上において、切出範囲AJを指定することで、切出範囲AJの文字(ナンバープレート20の文字)について、複数の結果を得ることができる。   Thus, the operator can obtain a plurality of results for the characters in the cutout range AJ (characters on the license plate 20) by designating the cutout range AJ on the screen DS of the front desk apparatus. .

次に、文字認識システム1の第1の作用について説明する。
従来の自動の文字認識技術は、入力画像IAに対して自動的に文字を抽出し、その文字に対して自動的に文字範囲ACを設定、その文字範囲ACの画像の文字認識を行う。
Next, the first operation of the character recognition system 1 will be described.
The conventional automatic character recognition technology automatically extracts characters from the input image IA, automatically sets a character range AC for the characters, and performs character recognition of images in the character range AC.

しかし、文字認識では、対象となる画像によって認識結果が変わる。例えば、元画像が低解像度であるとき、元画像が同じであっても、文字範囲ACの指定の仕方により、文字認識の結果が相違することがある。特に、文字範囲ACに対して上述のような鮮明化処理を行う場合、文字範囲ACの指定の仕方によって、鮮明化処理による鮮明化の結果が相違する。これは、鮮明化処理において文字範囲ACの画像が異なるからである。そして、鮮明化の結果が相違すると、その後の文字認識の結果も相違することになる。   However, in character recognition, the recognition result varies depending on the target image. For example, when the original image has a low resolution, the result of character recognition may differ depending on how the character range AC is designated even if the original image is the same. In particular, when the above-described sharpening process is performed on the character range AC, the sharpening result by the sharpening process differs depending on how the character range AC is designated. This is because the image of the character range AC is different in the sharpening process. If the sharpening results are different, the subsequent character recognition results are also different.

したがって、信頼度が高い結果を得るためには、文字範囲ACを適切に設定する必要がある。一方、従来のように自動で文字を抽出する場合、適切に文字範囲ACが設定されていない場合がある。さらに、文字範囲ACの設定の状態を操作者が知る手段もない。このように、従来の自動の文字認識技術では、不適切な文字範囲ACの設定で、文字認識が行われている虞がある。   Therefore, in order to obtain a result with high reliability, it is necessary to appropriately set the character range AC. On the other hand, when characters are automatically extracted as in the prior art, the character range AC may not be set appropriately. Further, there is no means for the operator to know the setting state of the character range AC. Thus, in the conventional automatic character recognition technology, there is a possibility that character recognition is performed with an inappropriate character range AC setting.

そこで、本実施形態では、ナンバープレート20の一連指定番号に対して適切な文字範囲ACを指定できるように、文字認識システム1は、切出範囲AJを指定するための入力操作を受け付ける入力部5を備える。入力部5の操作により、画面DS上で、切出範囲AJの指定枠IBの形状が任意に可能である。さらに、ナンバープレート20の拡大変換画像IC上には、一連指定番号の各桁に文字枠IDが表示されているため、操作者は、拡大変換画像ICにおいて文字が存在しそうなところと文字枠IDとを比較できる。これにより、文字範囲ACを適切に設定できる。この結果、従来の自動の文字認識技術に比べて、信頼度の高い文字認識結果を得ることができる。   Therefore, in the present embodiment, the character recognition system 1 allows the input unit 5 to accept an input operation for designating the cutout range AJ so that an appropriate character range AC can be designated for the series designation number of the license plate 20. Is provided. By operating the input unit 5, the shape of the designated frame IB of the cutout range AJ can be arbitrarily set on the screen DS. Further, since the character frame ID is displayed at each digit of the series designated number on the enlarged converted image IC of the license plate 20, the operator can recognize that a character is likely to exist in the enlarged converted image IC and the character frame ID. Can be compared. Thereby, the character range AC can be set appropriately. As a result, a highly reliable character recognition result can be obtained as compared with the conventional automatic character recognition technology.

次に、文字認識システム1の第2の作用について説明する。
従来の自動の文字認識技術は、入力画像IAに対して自動的に文字を抽出し、その文字に対して自動的に文字範囲ACを設定、その文字範囲ACの画像の文字認識を行う。
Next, the second operation of the character recognition system 1 will be described.
The conventional automatic character recognition technology automatically extracts characters from the input image IA, automatically sets a character range AC for the characters, and performs character recognition of images in the character range AC.

しかし、従来の自動の文字認識技術では、1つの入力画像IAに対して対象範囲は1通りであり、結果も1通りとなる。一方、元の入力画像IAの不鮮明である場合、ナンバープレート20に表示されている文字は事実上、正確に特定できない。このため、そのナンバープレート20から推定される結果は複数であることが好ましい。   However, in the conventional automatic character recognition technology, there is one target range for one input image IA and one result. On the other hand, when the original input image IA is unclear, the characters displayed on the license plate 20 cannot be actually specified accurately. For this reason, it is preferable that there are a plurality of results estimated from the license plate 20.

そこで、文字認識システム1は、1つのナンバープレート20に対する複数の結果を表示部3の同じ画面DSに表示させる。このため、操作者は、同じ画面DSにおいて、複数の結果を比較できる。   Therefore, the character recognition system 1 displays a plurality of results for one license plate 20 on the same screen DS of the display unit 3. For this reason, the operator can compare a plurality of results on the same screen DS.

以下に、文字認識システム1の効果を説明する。
(1)文字認識システム1は、画像取得部2と、表示部3と、入力部5と、文字範囲設定部11と、文字認識部14とを備える。入力部5は、表示部3に表示された入力画像IAにおいて位置を指定する操作を受け付ける。この構成によれば、文字認識の対象範囲を操作に基づいて任意に設定できるため、対象範囲を適切に設定できる。
Below, the effect of the character recognition system 1 is demonstrated.
(1) The character recognition system 1 includes an image acquisition unit 2, a display unit 3, an input unit 5, a character range setting unit 11, and a character recognition unit 14. The input unit 5 receives an operation for designating a position in the input image IA displayed on the display unit 3. According to this configuration, since the target range for character recognition can be arbitrarily set based on the operation, the target range can be set appropriately.

(2)上記文字認識システム1において、記憶部4は、ナンバープレート20における特徴部分の位置とナンバープレート20に表示されている少なくとも1つの文字との位置関係を記憶する。文字範囲設定部11は、入力部5を介して指定された特徴部分の位置と位置関係に基づいて文字範囲ACを設定する。この構成によれば、操作者がナンバープレート20の特徴部分を指定するだけで、文字範囲ACを適切に設定できる。   (2) In the character recognition system 1, the storage unit 4 stores the positional relationship between the position of the characteristic portion on the license plate 20 and at least one character displayed on the license plate 20. The character range setting unit 11 sets the character range AC based on the position and positional relationship of the feature portion designated via the input unit 5. According to this configuration, the character range AC can be appropriately set only by the operator specifying the characteristic portion of the license plate 20.

(3)上記文字認識システム1は、さらに、画像変換部7を更に備える。画像変換部7は、入力部5を介して指定されたナンバープレート20の特徴部分の位置に基づき、少なくともナンバープレート20に表示されている文字を含む画像を、ナンバープレート20の正面に正対した位置から見た画像である正面視画像IFに変換する。この構成によれば、ナンバープレート20の正面視画像IFを確認出来るので、操作者は、正面変換における位置を適切に設定できる。   (3) The character recognition system 1 further includes an image conversion unit 7. Based on the position of the characteristic part of the license plate 20 designated via the input unit 5, the image conversion unit 7 faces an image including at least the characters displayed on the license plate 20 directly in front of the license plate 20. The image is converted into a front-view image IF that is an image viewed from the position. According to this configuration, since the front-view image IF of the license plate 20 can be confirmed, the operator can appropriately set the position in front conversion.

(4)上記文字認識システム1は、文字範囲ACを正面視画像IF上で確認可能に表示部3に表示する。この構成によれば、文字範囲ACが正面視画像IF上に表示されるため、正面視画像IFにおける文字と文字範囲ACとの位置ずれを確認でき、操作者は、文字範囲ACを適切に設定できる。   (4) The character recognition system 1 displays the character range AC on the display unit 3 so that it can be confirmed on the front-view image IF. According to this configuration, since the character range AC is displayed on the front-view image IF, it is possible to check the positional deviation between the character and the character range AC in the front-view image IF, and the operator sets the character range AC appropriately. it can.

(5)上記文字認識システム1において、入力部5が位置を変更する操作を受け付けると、画像変換部7が変更した正面視画像IFと文字範囲設定部11が変更した文字範囲ACとを、表示部3に表示する。この構成によれば、位置が変更されると正面視画像IF及び文字範囲ACの表示が更新されるため、操作者は、文字範囲ACを適切に設定できる。   (5) In the character recognition system 1, when the input unit 5 receives an operation to change the position, the front-view image IF changed by the image conversion unit 7 and the character range AC changed by the character range setting unit 11 are displayed. Part 3 is displayed. According to this configuration, when the position is changed, the display of the front-view image IF and the character range AC is updated, so that the operator can appropriately set the character range AC.

(6)上記文字認識システム1は、さらに、少なくともナンバープレート20に表示されている文字を含む画像を鮮明化する鮮明化処理部13を備える。この構成によれば、入力画像IAを鮮明にすることができる。   (6) The character recognition system 1 further includes a sharpening processing unit 13 that sharpens an image including at least characters displayed on the license plate 20. According to this configuration, the input image IA can be made clear.

(7)上記文字認識システム1は、さらに、鮮明化範囲設定部を備えてもよい。鮮明化範囲設定部は、入力部5を介して指定されたナンバープレート20の特徴部分の位置に基づき、鮮明化を行なう対象範囲として入力画像IAに鮮明化範囲を設定する。鮮明化処理部13は、鮮明化範囲設定部により設定された鮮明化範囲内の画像を鮮明化する。この構成によれば、操作者は、鮮明化の範囲を適切に設定できる。   (7) The character recognition system 1 may further include a sharpening range setting unit. The sharpening range setting unit sets a sharpening range in the input image IA as a target range to be sharpened based on the position of the characteristic portion of the license plate 20 designated via the input unit 5. The sharpening processing unit 13 sharpens an image within the sharpening range set by the sharpening range setting unit. According to this configuration, the operator can appropriately set the sharpening range.

(8)上記文字認識システム1は、さらに、入力画像IAの少なくとも一部を拡大する画像拡大部8を更に備え、表示部3に、画像拡大部8が拡大した画像が表示する。この構成によれば、入力画像IAを拡大して対象範囲を設定できるため、適切に対象範囲を設定できる。   (8) The character recognition system 1 further includes an image enlargement unit 8 that enlarges at least a part of the input image IA, and an image enlarged by the image enlargement unit 8 is displayed on the display unit 3. According to this configuration, since the target range can be set by enlarging the input image IA, the target range can be set appropriately.

(9)上記文字認識システム1は、入力部5を介して指定されたナンバープレート20の特徴部分の位置に基づき、対象範囲として互いに異なる複数の対象範囲を生成する範囲生成部12をさらに備え、複数の対象範囲に対してそれぞれ処理を行う。この構成によれば、複数の対象範囲について、それぞれに結果を得ることができる。   (9) The character recognition system 1 further includes a range generation unit 12 that generates a plurality of different target ranges as target ranges based on the positions of the characteristic portions of the license plate 20 specified via the input unit 5. Each of the plurality of target ranges is processed. According to this configuration, a result can be obtained for each of a plurality of target ranges.

<その他の実施形態>
本実施形態は、以下のように変更して実施することができる。本実施形態及び以下の変更例は、技術的に矛盾しない範囲で互いに組み合わせて実施することができる。
<Other embodiments>
This embodiment can be implemented with the following modifications. The present embodiment and the following modifications can be implemented in combination with each other within a technically consistent range.

<複数の結果を得る他の例>
・上記実施形態では、1つの文字に対して複数の文字範囲ACを設定して、それぞれについて鮮明化処理及び文字認識を行う。これによって、対象範囲の画像の文字認識として、複数の結果を得ている。以下には、対象範囲の画像の文字認識において、複数の結果を得る方法として、これに代わる方法を例示する。
<Other examples of obtaining multiple results>
In the above embodiment, a plurality of character ranges AC are set for one character, and sharpening processing and character recognition are performed for each. Thus, a plurality of results are obtained as character recognition of the image in the target range. In the following, as an example of a method for obtaining a plurality of results in character recognition of an image in the target range, an alternative method is illustrated.

・第1の例を挙げる。この例では、文字認識システム1は、対象範囲の1つの文字に対して1つの文字範囲ACを設定する。そして、鮮明化処理部13は、設定された文字範囲ACを複数の方法により鮮明化処理を行う。例えば、鮮明化処理部13は、アルゴリズムが異なる複数の方法により鮮明化処理を行ったり、パラメータ設定が異なる複数の方法で鮮明化処理を行ったりする。   -Give a first example. In this example, the character recognition system 1 sets one character range AC for one character in the target range. Then, the sharpening processing unit 13 performs sharpening processing on the set character range AC by a plurality of methods. For example, the sharpening processing unit 13 performs the sharpening process by a plurality of methods having different algorithms, or performs the sharpening process by a plurality of methods having different parameter settings.

パラメータ設定とは、例えば、学習済みモデルのパラメータを示す。異なる学習データを用いて学習すると異なるパラメータが得られる。異なる複数のパラメータ設定を用いることにより、複数の方法で、鮮明化処理を行うことができる。   The parameter setting indicates, for example, parameters of the learned model. Different parameters are obtained by learning using different learning data. By using a plurality of different parameter settings, the sharpening process can be performed by a plurality of methods.

また、鮮明化の程度を定めるパラメータ設定があるアルゴリズムでは、パラメータ設定を違えて異なる鮮明化の程度で鮮明化処理を行う。このような異なる複数のパラメータ設定を用いることにより、複数の方法で、鮮明化処理を行うことができる。   Further, in an algorithm having a parameter setting that determines the degree of sharpening, the sharpening process is performed with a different degree of sharpening with different parameter settings. By using such a plurality of different parameter settings, the sharpening process can be performed by a plurality of methods.

すなわち、この例では、文字認識システム1において、鮮明化処理部13は、複数の方法を用いて、複数の鮮明化された文字画像を作成し、文字認識部14は、複数の鮮明化された文字画像毎に文字の認識を行う。表示部3には、複数の鮮明化された文字画像毎に文字を認識した複数の結果が並べて表示される。この構成によれば、複数の方法を用いて鮮明化して文字画像毎に文字を認識した場合の複数の結果について、操作者は、これら複数の結果を容易に比較できる。   That is, in this example, in the character recognition system 1, the sharpening processing unit 13 creates a plurality of sharpened character images using a plurality of methods, and the character recognition unit 14 performs a plurality of sharpened characters. Character recognition is performed for each character image. The display unit 3 displays a plurality of results of recognizing characters for each of a plurality of sharpened character images. According to this configuration, the operator can easily compare the plurality of results with respect to the plurality of results when the character is recognized for each character image by using a plurality of methods.

・第2の例を挙げる。この例では、文字認識システム1は、対象範囲の1つの文字に対して1つの文字範囲ACを設定し、設定された文字範囲ACの鮮明化処理を行う。そして、鮮明化処理された画像それぞれについて、複数の方法で文字認識を行う。例えば、文字認識部14は、アルゴリズムが異なる複数の方法により文字認識を行ったり、パラメータ設定が異なる複数の方法で文字認識を行ったりする。   -Give a second example. In this example, the character recognition system 1 sets one character range AC for one character in the target range, and performs a sharpening process on the set character range AC. Then, character recognition is performed for each of the sharpened images by a plurality of methods. For example, the character recognition unit 14 performs character recognition by a plurality of methods having different algorithms, or performs character recognition by a plurality of methods having different parameter settings.

パラメータ設定とは、例えば、学習済みモデルのパラメータを示す。異なる学習データを用いて学習すると異なるパラメータが得られる。このような異なる複数のパラメータ設定を用いることにより、複数の方法で、文字認識を行うことができる。   The parameter setting indicates, for example, parameters of the learned model. Different parameters are obtained by learning using different learning data. By using such a plurality of different parameter settings, character recognition can be performed by a plurality of methods.

また、文字認識に用いる辞書を、例えば解像度別に、複数用意してもよい。異なる辞書を用いることにより、複数の方法で、文字認識を行うことができる。
すなわち、この例では、文字認識システム1において、文字認識部14は、複数の方法で文字の認識を行う。表示部3には、複数の方法で文字認識された複数の結果が並べて表示される。この構成によれば、1つの文字毎に、複数の方法を用いて認識されるため、操作者は、これら複数の結果を容易に比較できる。
A plurality of dictionaries used for character recognition may be prepared for each resolution, for example. By using different dictionaries, character recognition can be performed by a plurality of methods.
That is, in this example, in the character recognition system 1, the character recognition unit 14 performs character recognition by a plurality of methods. The display unit 3 displays a plurality of results that are recognized by a plurality of methods. According to this configuration, since each character is recognized using a plurality of methods, the operator can easily compare the plurality of results.

<複数の結果を記憶装置等に出力する例>
・上記実施形態及び上記変形例では、対象範囲の画像に対して得られる複数の結果は、表示部3に表示されるが、次のように、複数の結果はデータとして出力部から出力されてもよい。出力部の例として、例えば、インターネットまたはローカル・エリア・ネットワーク等のネットに接続されるコネクタ、記録装置に接続されるコネクタ等である。この構成によれば、文字認識システム1の設置場所から遠いところにいる人に対象範囲に対する複数の結果を簡単に提供できる。
<Example of outputting multiple results to a storage device>
-In the said embodiment and the said modification, although the several result obtained with respect to the image of a target range is displayed on the display part 3, as follows, a several result is output from the output part as data. Also good. Examples of the output unit include a connector connected to the Internet or a net such as a local area network, a connector connected to a recording apparatus, and the like. According to this configuration, a plurality of results for the target range can be easily provided to a person far from the installation location of the character recognition system 1.

すなわち、上記実施形態にかかる文字認識システム1において、1つの入力画像IAに対して得られた複数の結果を出力する出力部を設けてもよい。この構成によれば、複数の結果を外部に出力できる。   That is, in the character recognition system 1 according to the above embodiment, an output unit that outputs a plurality of results obtained for one input image IA may be provided. According to this configuration, a plurality of results can be output to the outside.

<複数の結果を複数の表示装置に同時に表示する例>
・上記実施形態及び上記変形例では、表示部3は1つの表示装置からなり1つの画面DSを表示しているが、表示部3は複数の表示装置からなる構成も可能である。例えば、表示部3は複数の表示装置を並べて構成された1つの大きな表示画面を備え、制御部6は複数の結果を表示する1つの画面DSを表示部3の大きな表示画面に表示させてもよい。あるいは、表示部3は複数の表示装置を並べて構成され、制御部6は1つの表示装置に複数の結果のうち少なくとも1つを表示させ、複数の表示装置を用いて複数の結果を全て表示してもよい。
<Example of displaying multiple results simultaneously on multiple display devices>
In the embodiment and the modified example, the display unit 3 includes one display device and displays one screen DS. However, the display unit 3 may include a plurality of display devices. For example, the display unit 3 includes a single large display screen configured by arranging a plurality of display devices, and the control unit 6 may display a single screen DS for displaying a plurality of results on the large display screen of the display unit 3. Good. Alternatively, the display unit 3 is configured by arranging a plurality of display devices, and the control unit 6 displays at least one of the plurality of results on one display device and displays all of the plurality of results using the plurality of display devices. May be.

いずれの場合も、文字認識システム1は、1つのナンバープレート20に対する複数の結果を表示部3の並べて同時に表示する。このような表示により、一目で、処理内容が異なる複数の結果を把握できる。   In any case, the character recognition system 1 displays a plurality of results for one license plate 20 side by side on the display unit 3 at the same time. By such display, a plurality of results with different processing contents can be grasped at a glance.

<鮮明化処理の他の例>
・上記実施形態では、鮮明化処理部13は、ニューラルネットワークを用いた機械学習による鮮明化処理を行うのではなく、他の機械学習の方法や、他の方法による鮮明化処理を行ってもよい。
<Other examples of sharpening processing>
In the above-described embodiment, the sharpening processing unit 13 may perform a sharpening process by another machine learning method or another method instead of performing a sharpening process by machine learning using a neural network. .

<画像の拡大の例>
・上記実施形態では、入力画像IAにおいて切出範囲AJを指定しているが、入力画像IAの拡大図において切出範囲AJを指定してもよい。
<Example of image enlargement>
In the above embodiment, the cutout range AJ is specified in the input image IA, but the cutout range AJ may be specified in the enlarged view of the input image IA.

例えば、文字認識システム1の画像拡大部8は、入力部5の指定に基づいて入力画像IAの少なくとも一部を拡大する。以下に、拡大方法の例を2つ挙げる。
図9に示されるように、文字認識システム1は、入力部5で指定された拡大指定範囲AEを所定の大きさに拡大する。拡大指定範囲AEで囲まれる部分の拡大画像IEは、画面DSにおいて、入力画像IA及び拡大変換画像ICの表示エリアとは別のエリアに表示される。拡大指定範囲AEは、矩形の枠IGとして表示される。拡大指定範囲AEは、入力部5の操作により、その大きさ及び縦及び横の比率を変更できる。上述の指定枠IBは、拡大画像IE上に表示される。操作者は、拡大画像IE上で、切出範囲AJを指定できるため、指定したい部分以外の余分な部分が含まれないようにして、切出範囲AJを指定できる。
For example, the image enlargement unit 8 of the character recognition system 1 enlarges at least a part of the input image IA based on the designation of the input unit 5. Two examples of enlargement methods are given below.
As shown in FIG. 9, the character recognition system 1 enlarges the enlargement designation range AE designated by the input unit 5 to a predetermined size. The enlarged image IE of the portion surrounded by the enlargement designation range AE is displayed in an area different from the display area of the input image IA and the enlarged converted image IC on the screen DS. The enlargement designation range AE is displayed as a rectangular frame IG. The enlargement designation range AE can be changed in size and vertical / horizontal ratio by operating the input unit 5. The above-mentioned designated frame IB is displayed on the enlarged image IE. Since the operator can specify the cutout area AJ on the enlarged image IE, the operator can specify the cutout area AJ so that an extra part other than the part to be specified is not included.

図10に示されるように、文字認識システム1の画像拡大部8は、入力部5の操作により、入力画像IAの任意の部分を拡大する。例えば、入力部5の操作により、入力画像IAが拡大される。指定枠IBは、実施形態と同様に、入力画像IA上に示される。操作者は、拡大された入力画像IA上で、切出範囲AJを指定できる。このため、指定したい部分以外の余分な部分が含まれないようにして、切出範囲AJを指定できる。   As shown in FIG. 10, the image enlargement unit 8 of the character recognition system 1 enlarges an arbitrary part of the input image IA by operating the input unit 5. For example, the input image IA is enlarged by operating the input unit 5. The designation frame IB is shown on the input image IA as in the embodiment. The operator can specify the cutout range AJ on the enlarged input image IA. For this reason, it is possible to specify the cutout range AJ without including an extra portion other than the portion to be specified.

<画像変換の他の例>
・文字認識システム1において、所定条件を満たす場合には、次の方法のより対象範囲の画像を正面視画像IFに変換できる。
<Other examples of image conversion>
In the character recognition system 1, when the predetermined condition is satisfied, the image in the target range can be converted into the front view image IF by the following method.

図11を参照して、対象範囲が平行四辺形、長方形または正方形のいずれかである場合の、画像変換の例を説明する。入力画像IAにおいて遠くに車両が写っているとき、ナンバープレート20が平行四辺形、長方形または正方形になるため、このような場合に限り、次のような画像変換を行ってもよい。入力画像IAにおける対象範囲(例えば、ナンバープレート20)を矩形に変形する場合であって、変形に係る対象範囲の形状が、平行四辺形、長方形または正方形のいずれかである場合、アフィン変換により、対象範囲を矩形に変形できる。アフィン変換では、対象範囲において3つの点を指定することで、対象範囲(例えば、ナンバープレート20)を矩形(ナンバープレート20を正面視したときの形状)に変換できる。この場合、指定枠IBは、3つのポインタPTに基づいてナンバープレート20を囲む四角形として表示される。例えば、3つのポインタPTは、正面からみたナンバープレート20において2つのボルト22と1つの隅21とに対応付けされる。この対応に基づいてアフィン変換が行われる。   With reference to FIG. 11, an example of image conversion when the target range is any of a parallelogram, a rectangle, and a square will be described. When the vehicle is far away in the input image IA, the license plate 20 becomes a parallelogram, rectangle, or square. Therefore, the following image conversion may be performed only in such a case. When the target range (for example, the license plate 20) in the input image IA is deformed into a rectangle, and the shape of the target range related to the deformation is any one of a parallelogram, a rectangle, and a square, The target range can be transformed into a rectangle. In the affine transformation, by designating three points in the target range, the target range (for example, the license plate 20) can be converted into a rectangle (a shape when the license plate 20 is viewed from the front). In this case, the designated frame IB is displayed as a quadrangle surrounding the license plate 20 based on the three pointers PT. For example, the three pointers PT are associated with two bolts 22 and one corner 21 in the license plate 20 as viewed from the front. Based on this correspondence, affine transformation is performed.

<文字枠の設定の例>
・上記実施形態では、文字枠IDは、正面視画像IFに配置されているが、正面視画像IFが形成される前の画像において文字枠IDが配置されてもよい。この場合、文字枠IDは、矩形ではなく、正面視画像IFが形成される前のナンバープレート20の形状に合わせられる。この場合は、操作部を介して指定された位置に基づき、文字枠IDを含む対象位置情報を射影変換する。
<Example of character frame settings>
In the above embodiment, the character frame ID is arranged in the front view image IF, but the character frame ID may be arranged in the image before the front view image IF is formed. In this case, the character frame ID is not a rectangle, but is matched to the shape of the license plate 20 before the front-view image IF is formed. In this case, the target position information including the character frame ID is projectively converted based on the position specified via the operation unit.

<文字範囲の例>
・文字認識システム1において、対象範囲における文字範囲ACの設定は、限定されない。例えば、日本の場合、ナンバープレート20の地域名と分類番号とを含む部分、または一連指定番号とその前の平仮名等とを含む部分に文字範囲ACを設定してもよい。また、文字範囲ACが4つの例を示したが、ナンバープレート20の仕様に応じた数の文字範囲ACを設定してもよい。
<Example of character range>
In the character recognition system 1, the setting of the character range AC in the target range is not limited. For example, in the case of Japan, the character range AC may be set in a portion including the area name and classification number of the license plate 20 or a portion including a series designation number and a hiragana character in front thereof. Moreover, although the example with four character ranges AC was shown, you may set the number of character ranges AC according to the specification of the license plate 20. FIG.

<文字認識プログラム(その1)>
・上記実施形態の文字認識に関する技術は、文字認識システム1として構成されているが、本技術は、文字認識システム1(計算機)にナンバープレート20に表示されている文字を認識させるための文字認識プログラムとして構成され得る。文字認識プログラムは、次のように構成される。
<Character recognition program (part 1)>
-Although the technique regarding the character recognition of the said embodiment is comprised as the character recognition system 1, this technique is character recognition for making the character recognition system 1 (computer) recognize the character currently displayed on the license plate 20. It can be configured as a program. The character recognition program is configured as follows.

文字認識プログラムは、文字認識システム1(計算機)にナンバープレート20に表示されている文字を認識させるための文字認識プログラムであって、次の第1手順〜第5手順を含む。第1手順は、文字を含む入力画像IAを取得させる。第2手順は、入力画像IAの少なくとも一部を表示部3に表示させる。第3手順は、表示部3に表示された入力画像IAにおいて位置を指定する操作を受け付けさせる。第4手順は、指定された位置にもとづいて文字を認識する対象範囲として入力画像IAに文字範囲ACを設定させる。第5手順は、文字範囲AC内の文字を認識させる。   The character recognition program is a character recognition program for causing the character recognition system 1 (computer) to recognize characters displayed on the license plate 20, and includes the following first to fifth procedures. In the first procedure, an input image IA including characters is acquired. In the second procedure, at least a part of the input image IA is displayed on the display unit 3. In the third procedure, an operation for designating a position in the input image IA displayed on the display unit 3 is accepted. In the fourth procedure, the character range AC is set in the input image IA as a target range for recognizing characters based on the designated position. In the fifth procedure, characters in the character range AC are recognized.

この構成によれば、文字認識プログラムは、計算機に、表示部3に表示された入力画像IAにおいて、文字認識の対象となる対象範囲(切出範囲AJ)を指定するための位置入力を受け付けさせる。これにより、計算機において、文字認識の対象範囲を操作に基づいて任意に設定できるようになるため、対象範囲を適切に設定できる。   According to this configuration, the character recognition program causes the computer to accept position input for designating a target range (cutout range AJ) to be subjected to character recognition in the input image IA displayed on the display unit 3. . Thereby, in the computer, the target range for character recognition can be arbitrarily set based on the operation, so that the target range can be set appropriately.

<文字認識プログラム(その2)>
・上記実施形態の文字認識に関する技術は、文字認識システム1として構成されているが、本技術は、次のような文字認識プログラムとして構成され得る。文字認識プログラムは、計算機に、ナンバープレート20に表示されている文字を認識させるための文字認識プログラムである。文字認識プログラムは、ナンバープレート20を含む入力画像IAを取得させる第1手順と、ナンバープレート20に表示されている文字を認識する第2手順と、1つのナンバープレート20に対する複数の結果を表示部3に同時に表示させる第3手順と、を含む。この構成によれば、操作者は、複数の結果が同時に表示されるため、複数の結果を容易に比較できる。
<Character recognition program (2)>
-Although the technique regarding the character recognition of the said embodiment is comprised as the character recognition system 1, this technique can be comprised as the following character recognition programs. The character recognition program is a character recognition program for causing a computer to recognize characters displayed on the license plate 20. The character recognition program displays a first procedure for acquiring an input image IA including a license plate 20, a second procedure for recognizing a character displayed on the license plate 20, and a plurality of results for one license plate 20. 3 is displayed at the same time. According to this configuration, the operator can easily compare a plurality of results because a plurality of results are displayed simultaneously.

<文字認識方法(その1)>
・上記実施形態の文字認識に関する技術は、文字認識システム1として構成されているが、本技術は、文字認識システム1(計算機)が、ナンバープレート20に表示されている文字を認識する方法として構成され得る。すなわち、文字認識方法は、ナンバープレート20に表示されている文字を認識するために文字認識システム1が実行する文字認識方法であり、次の第1ステップ〜第5ステップを含む。第1ステップでは、文字認識システム1は、文字を含む入力画像IAを取得する。第2ステップでは、文字認識システム1は、入力画像IAの少なくとも一部を表示する。第3ステップでは、文字認識システム1は、表示部3に表示された入力画像IAにおいて位置を指定する操作を受け付ける。第4ステップでは、文字認識システム1は、指定された位置にもとづいて文字を認識する対象範囲として入力画像IAに文字範囲ACを設定する。第5ステップでは、文字認識システム1は、文字範囲AC内の文字を認識する。
<Character recognition method (1)>
-Although the technique regarding the character recognition of the said embodiment is comprised as the character recognition system 1, this technique is comprised as a method with which the character recognition system 1 (computer) recognizes the character currently displayed on the license plate 20. FIG. Can be done. That is, the character recognition method is a character recognition method executed by the character recognition system 1 to recognize the characters displayed on the license plate 20, and includes the following first to fifth steps. In the first step, the character recognition system 1 acquires an input image IA including characters. In the second step, the character recognition system 1 displays at least a part of the input image IA. In the third step, the character recognition system 1 accepts an operation for designating a position in the input image IA displayed on the display unit 3. In the fourth step, the character recognition system 1 sets the character range AC in the input image IA as a target range for recognizing characters based on the designated position. In the fifth step, the character recognition system 1 recognizes characters within the character range AC.

この構成によれば、文字認識システム1は、表示部3に表示された入力画像IAにおいて、文字認識の対象となる対象範囲を指定するための位置の入力を受け付ける。これにより、文字認識システム1において、文字認識の対象範囲を操作に基づいて任意に設定できるようになるため、対象範囲を適切に設定できる。   According to this configuration, the character recognition system 1 receives an input of a position for designating a target range that is a target of character recognition in the input image IA displayed on the display unit 3. Thereby, in the character recognition system 1, since the target range of character recognition can be arbitrarily set based on operation, a target range can be set appropriately.

<文字認識方法(その2)>
・上記実施形態の文字認識に関する技術は、文字認識システム1として構成されているが、本技術は、次のような文字認識方法として構成され得る。文字認識方法は、ナンバープレート20に表示されている文字を認識するために文字認識システム1が実行する文字認識方法である。文字認識方法は、ナンバープレート20を含む入力画像IAを取得させる第1ステップと、ナンバープレート20に表示されている文字を認識する第2ステップと、1つのナンバープレート20に対する複数の結果を表示部3に同時に表示させる第3ステップと、を含む。この構成によれば、複数の結果が同時に表示されるため、複数の結果を容易に比較できる。
<Character recognition method (2)>
-Although the technique regarding the character recognition of the said embodiment is comprised as the character recognition system 1, this technique may be comprised as the following character recognition methods. The character recognition method is a character recognition method executed by the character recognition system 1 for recognizing characters displayed on the license plate 20. The character recognition method includes a first step of acquiring an input image IA including a license plate 20, a second step of recognizing characters displayed on the license plate 20, and a plurality of results for one license plate 20 as a display unit. 3 is displayed at the same time. According to this configuration, since a plurality of results are displayed simultaneously, the plurality of results can be easily compared.

<制御部の例>
制御部6は、次のように構成され得る。すなわち、制御部6は、1つのナンバープレート20に対して文字を認識した結果を得るまでの処理内容が異なる複数の文字認識結果を得て、複数の文字認識結果を表示部3の同じ画面DSに表示させる。
<Example of control unit>
The control unit 6 can be configured as follows. That is, the control unit 6 obtains a plurality of character recognition results having different processing contents until obtaining a result of character recognition for one license plate 20, and displays the plurality of character recognition results on the same screen DS of the display unit 3. To display.

具体的には、鮮明化処理を行う処理装置や文字認識処理を行う処理装置は、制御部6とは別のところに設置され得る。例えば、鮮明化処理や文字認識処理それぞれはクラウド上に有る。制御部6は、ナンバープレート20の画像をこれら処理装置に送って、クラウド上で鮮明化や文字認識結果を得て、それを表示部3に表示する。このような構成によれば、文字認識システム1は、別の場所にある処理装置から、処理内容が異なる複数の文字認識結果を得るように構成されているため、文字認識システム1を簡略化できる。   Specifically, the processing device that performs the sharpening processing and the processing device that performs the character recognition processing may be installed in a place different from the control unit 6. For example, each of the sharpening process and the character recognition process is on the cloud. The control unit 6 sends the image of the license plate 20 to these processing devices, obtains the sharpening and character recognition results on the cloud, and displays them on the display unit 3. According to such a configuration, the character recognition system 1 can be simplified because the character recognition system 1 is configured to obtain a plurality of character recognition results having different processing contents from a processing device in another place. .

<表示装置の例>
・上記実施形態にかかる文字認識システム1は、表示装置として構成され得る。例えば、文字認識結果の表示装置は、ナンバープレート20に表示されている文字を認識した結果を表示する文字認識結果の表示装置である。文字認識結果の表示装置は、文字認識結果を画面DSに表示する表示部3と、1つのナンバープレート20に対して文字を認識した結果を得るまでの処理内容が異なる複数の文字認識結果を得て、複数の文字認識結果を表示部3に同時に表示させる制御部6と、を備える。この構成によれば、複数の結果が同時に表示されるため、複数の結果を容易に比較できる。例えば、文字認識結果の表示装置は、鮮明化処理や文字認識処理を行う処理装置と別のところに配置され得る。文字認識結果の表示装置は、このように別のところにある鮮明化処理や文字認識処理を行う処理装置から出力された結果を表示する。具体的には、文字認識結果の表示装置は、次のように文字認識結果を得る。鮮明化処理や文字認識処理を行う処理装置またはプログラムがそれぞれクラウド上(インターネット上のサーバ)に有り、これら処理装置またはプログラムは、文字認識結果の表示装置から送られるナンバープレート20の画像の処理を行う。文字認識結果の表示装置は、クラウド上にナンバープレート20の画像を送り、クラウド上で鮮明化や文字認識を行わせて、クラウド上から文字認識結果を得る。このような構成によって、操作者は、実施形態と同様に、ナンバープレート20の画像の比較ができる。
<Example of display device>
-The character recognition system 1 concerning the said embodiment may be comprised as a display apparatus. For example, the character recognition result display device is a character recognition result display device that displays a result of recognizing a character displayed on the license plate 20. The character recognition result display device obtains a plurality of character recognition results that are different from the display unit 3 that displays the character recognition result on the screen DS and the processing contents until the result of character recognition for one license plate 20 is obtained. And a control unit 6 for simultaneously displaying a plurality of character recognition results on the display unit 3. According to this configuration, since a plurality of results are displayed simultaneously, the plurality of results can be easily compared. For example, the character recognition result display device may be arranged separately from the processing device that performs the sharpening process and the character recognition process. The character recognition result display device displays the result output from the processing device that performs the sharpening process and the character recognition process in another place. Specifically, the character recognition result display device obtains the character recognition result as follows. Processing devices or programs for performing sharpening processing and character recognition processing are respectively provided on the cloud (server on the Internet), and these processing devices or programs process the image of the license plate 20 sent from the character recognition result display device. Do. The character recognition result display device sends an image of the license plate 20 on the cloud, and performs sharpening and character recognition on the cloud to obtain a character recognition result from the cloud. With such a configuration, the operator can compare images on the license plate 20 as in the embodiment.

<文字範囲の設定の自動化>
・上記実施形態及びその他の実施形態では、入力部5の操作で、画面DSにおいて対象範囲を設定するが、処理のアルゴリズムやパラメータ設定の違いによる複数の結果を得る目的の場合には、自動により、対象範囲を設定してもよい。例えば、文字認識システム1は、文字抽出部を備える。文字抽出部は、文字を自動的に抽出する文字自動抽出装置により、入力画像IAから文字を抽出し、文字抽出された部分の画像を文字範囲ACに設定する。この場合において、文字認識システム1は、入力画像IAにおいて複数の文字がある場合、各文字について処理内容が異なる複数の処理を行う。表示部3は、複数の結果を並列表示する。これにより、操作者は、複数の結果を容易に比較できる。
<Automated character range setting>
In the above embodiment and other embodiments, the target range is set on the screen DS by the operation of the input unit 5, but in the case of obtaining a plurality of results due to differences in processing algorithms and parameter settings, automatically The target range may be set. For example, the character recognition system 1 includes a character extraction unit. The character extraction unit extracts characters from the input image IA by an automatic character extraction device that automatically extracts characters, and sets the image of the character extracted portion as the character range AC. In this case, when there are a plurality of characters in the input image IA, the character recognition system 1 performs a plurality of processes with different processing contents for each character. The display unit 3 displays a plurality of results in parallel. Thereby, the operator can easily compare a plurality of results.

<文字鮮明化>
・上記実施形態では、鮮明化の後、文字認識まで行ったが、文字認識を行わずに鮮明化までとし、複数の鮮明化処理の結果を表示部3に同時に表示させてもよい。
<Text sharpening>
In the above embodiment, the character recognition is performed after the sharpening. However, the character recognition may be performed without performing the character recognition, and a plurality of sharpening processing results may be simultaneously displayed on the display unit 3.

上記実施形態は、文字認識に関する技術だけでなく、文字を鮮明化する文字鮮明化システムに関する技術を開示する。
文字鮮明化システムは、ナンバープレート20に表示されている文字を鮮明化する文字鮮明化システムである。文字鮮明化システムは、ナンバープレート20を含む入力画像IAを取得する画像取得部2と、ナンバープレート20に表示されている文字を鮮明化する鮮明化処理部13と、鮮明化処理部13が文字を鮮明化した結果を画面DSに表示する表示部3と、制御部6と、を備える。制御部6は、1つのナンバープレート20に対する複数の結果を作成し、複数の結果を表示部3に同時に表示させる。この構成によれば、鮮明化された複数の画像が同時に表示されるため、複数の結果を容易に比較できる。
The above embodiment discloses not only a technique related to character recognition but also a technique related to a character sharpening system that sharpens characters.
The character sharpening system is a character sharpening system that sharpens characters displayed on the license plate 20. The character sharpening system includes an image acquisition unit 2 that acquires an input image IA including a license plate 20, a sharpening processing unit 13 that sharpens characters displayed on the license plate 20, and a sharpening processing unit 13 that includes characters. The display part 3 which displays the result of having sharpened on the screen DS, and the control part 6 are provided. The control unit 6 creates a plurality of results for one license plate 20 and causes the display unit 3 to display the plurality of results simultaneously. According to this configuration, since a plurality of sharpened images are displayed simultaneously, a plurality of results can be easily compared.

・上記実施形態は、文字認識に関する技術だけでなく、文字を鮮明化する文字鮮明化プログラムに関する技術を開示する。
文字鮮明化プログラムは、計算機に、ナンバープレート20に表示されている文字を鮮明化させる。文字鮮明化プログラムは、第1手順から第4手順を含む。第1手順は、計算機に、ナンバープレート20を含む入力画像IAを取得させる。第2手順は、計算機に、ナンバープレート20に表示されている文字を鮮明化させる。第3手順は、計算機に、文字を鮮明化した結果を画面DSに表示させる。第4手順は、計算機に、1つのナンバープレート20に対する複数の結果を作成させ、複数の結果を表示部3に同時に表示させる。この構成によれば、鮮明化された複数の画像が同時に表示されるため、複数の結果を容易に比較できる。
The above embodiment discloses not only a technique related to character recognition but also a technique related to a character sharpening program that sharpens characters.
The character sharpening program causes the computer to sharpen the characters displayed on the license plate 20. The character sharpening program includes a first procedure to a fourth procedure. In the first procedure, the computer acquires an input image IA including the license plate 20. The second procedure causes the computer to sharpen the characters displayed on the license plate 20. The third procedure causes the computer to display the result of clarifying characters on the screen DS. The fourth procedure causes the computer to create a plurality of results for one license plate 20 and display the plurality of results on the display unit 3 simultaneously. According to this configuration, since a plurality of sharpened images are displayed simultaneously, a plurality of results can be easily compared.

・上記実施形態は、文字認識に関する技術だけでなく、文字を鮮明化する文字鮮明化方法に関する技術開示する。
文字鮮明化方法は、ナンバープレート20に表示されている文字を鮮明化するために文字認識システム1が実行する文字鮮明化方法である。文字鮮明化方法は、第1ステップから第4ステップを含む。第1ステップは、ナンバープレート20を含む入力画像IAを取得する。第2ステップは、ナンバープレート20に表示されている文字を鮮明化する。第3ステップは、文字を鮮明化した結果を画面DSに表示する。第4ステップは、1つのナンバープレート20に対する複数の結果を作成し、複数の結果を表示部3に同時に表示させる。この構成によれば、鮮明化された複数の画像が同時に表示されるため、複数の結果を容易に比較できる。
The above embodiment discloses not only a technique related to character recognition but also a technique related to a character sharpening method for sharpening characters.
The character sharpening method is a character sharpening method executed by the character recognition system 1 to sharpen the characters displayed on the license plate 20. The character sharpening method includes first to fourth steps. In the first step, an input image IA including the license plate 20 is acquired. In the second step, the characters displayed on the license plate 20 are sharpened. In the third step, the result of sharpening characters is displayed on the screen DS. In the fourth step, a plurality of results for one license plate 20 are created, and the plurality of results are displayed on the display unit 3 at the same time. According to this configuration, since a plurality of sharpened images are displayed simultaneously, a plurality of results can be easily compared.

・上記実施形態は、文字認識に関する技術だけでなく、鮮明化する文字画像を表示する字鮮明化画像の表示装置に関する技術を開示する。
文字鮮明化画像の表示装置は、ナンバープレート20に表示されている文字を鮮明化した鮮明化画像を表示する文字鮮明化画像の表示装置である。文字鮮明化画像の表示装置は、鮮明化画像を画面DSに表示する表示部3と、次の制御部6を備える。制御部6は、1つのナンバープレート20に対して文字を鮮明化した鮮明化画像を得るまでの処理内容が異なる複数の鮮明化画像を得て、複数の鮮明化画像を表示部3に同時に表示させる。この構成によれば、鮮明化された複数の画像が同時に表示されるため、複数の結果を容易に比較できる。
The above embodiment discloses not only a technique related to character recognition but also a technique related to a character sharpened image display device that displays a character image to be sharpened.
The character sharpened image display device is a character sharpened image display device that displays a sharpened image obtained by sharpening the characters displayed on the license plate 20. The character sharpened image display device includes a display unit 3 that displays a sharpened image on the screen DS, and the following control unit 6. The control unit 6 obtains a plurality of sharpened images with different processing contents until a sharpened image with sharpened characters is obtained for one license plate 20, and simultaneously displays the plurality of sharpened images on the display unit 3. Let According to this configuration, since a plurality of sharpened images are displayed simultaneously, a plurality of results can be easily compared.

・上記実施形態は、文字の鮮明化技術に関し、次の技術を開示する。
文字鮮明化システムは、車両のナンバープレート20に表示されている文字を鮮明化する文字鮮明化システムである。文字鮮明化システムは、文字を含む入力画像IAを取得する画像取得部2と、入力画像IAの少なくとも一部を表示する表示部3と、入力部5と、鮮明化範囲設定部と、鮮明化処理部13とを備える。入力部5は、表示部3に表示された入力画像IAにおいて位置を指定する操作を受け付ける。鮮明化範囲設定部は、指定された位置にもとづいて文字を鮮明化する対象範囲として入力画像IAに鮮明化範囲を設定する。鮮明化処理部13は、鮮明化範囲内の文字を鮮明化する。この構成によれば、操作者は、鮮明化の範囲を適切に設定できる。
-The above-mentioned embodiment discloses the following technique about the character sharpening technique.
The character sharpening system is a character sharpening system that sharpens characters displayed on the license plate 20 of the vehicle. The character sharpening system includes an image acquisition unit 2 that acquires an input image IA including characters, a display unit 3 that displays at least a part of the input image IA, an input unit 5, a sharpening range setting unit, and a sharpening And a processing unit 13. The input unit 5 receives an operation for designating a position in the input image IA displayed on the display unit 3. The sharpening range setting unit sets a sharpening range in the input image IA as a target range for sharpening characters based on the designated position. The sharpening processing unit 13 sharpens characters in the sharpening range. According to this configuration, the operator can appropriately set the sharpening range.

・また、上記実施形態は、文字の鮮明化技術に関し、次の技術を開示する。
文字鮮明化プログラムは、計算機に、車両のナンバープレート20に表示されている文字を鮮明化させる。文字鮮明化プログラムは、次の第1手順〜第5手順を含む。第1手順は、文字を含む入力画像IAを取得させる。第2手順は、入力画像IAの少なくとも一部を表示させる。第3手順は、表示部3に表示された入力画像IAにおいて位置を指定する操作を受け付けさせる。第4手順は、指定された位置にもとづいて文字を鮮明化する対象範囲として入力画像IAに鮮明化範囲を設定させる。第5手順は、鮮明化範囲内の文字を鮮明化させる。この構成によれば、操作者は、鮮明化の範囲を適切に設定できる。
-Moreover, the said embodiment discloses the following technique regarding the clarification technique of a character.
The character sharpening program causes the computer to sharpen the characters displayed on the license plate 20 of the vehicle. The character sharpening program includes the following first to fifth procedures. In the first procedure, an input image IA including characters is acquired. In the second procedure, at least a part of the input image IA is displayed. In the third procedure, an operation for designating a position in the input image IA displayed on the display unit 3 is accepted. The fourth procedure causes the input image IA to set a sharpening range as a target range for sharpening characters based on the designated position. The fifth procedure sharpens characters in the sharpening range. According to this configuration, the operator can appropriately set the sharpening range.

・また、上記実施形態は、文字の鮮明化技術に関し、次の技術を開示する。
文字鮮明化方法は、車両のナンバープレート20に表示されている文字を鮮明化する。文字鮮明化方法は、次の第1ステップ〜第5ステップを含む。第1ステップは、文字を含む入力画像IAを取得する。第2ステップは、入力画像IAの少なくとも一部を表示する。第3ステップは、表示部3に表示された入力画像IAにおいて位置を指定する操作を受け付ける。第4ステップは、指定された位置にもとづいて文字を鮮明化する対象範囲として入力画像IAに鮮明化範囲を設定する。第5ステップは、鮮明化範囲内の文字を鮮明化する。この構成によれば、操作者は、鮮明化の範囲を適切に設定できる。
-Moreover, the said embodiment discloses the following technique regarding the clarification technique of a character.
The character sharpening method sharpens the characters displayed on the license plate 20 of the vehicle. The character sharpening method includes the following first to fifth steps. In the first step, an input image IA including characters is acquired. In the second step, at least a part of the input image IA is displayed. In the third step, an operation for designating a position in the input image IA displayed on the display unit 3 is accepted. The fourth step sets a sharpening range in the input image IA as a target range for sharpening characters based on the designated position. In the fifth step, characters in the sharpening range are sharpened. According to this configuration, the operator can appropriately set the sharpening range.

<その他の変形例>
・上記実施形態において、表示部3について形態を特定していないが、表示部3は、文字認識システム1の制御部6を有するコンピュータと一体でもよいし、当該コンピュータと別の装置であってもよい。また、文字範囲設定部11、鮮明化処理部13、及び文字認識部14の少なくとも1つは、ネットワークを介して接続された他のコンピュータ上にあってもよい。
<Other variations>
-Although the form is not specified about the display part 3 in the said embodiment, the display part 3 may be integrated with the computer which has the control part 6 of the character recognition system 1, or may be another apparatus with the said computer. Good. Further, at least one of the character range setting unit 11, the sharpening processing unit 13, and the character recognition unit 14 may be on another computer connected via a network.

・上記実施形態において、特徴部分とは、ナンバープレート20の四つの隅21であるが、他には次のものが挙げられる。例えば、ボルト22の位置、所定桁数のナンバーの文字列の左上隅と右下隅、最初の文字の中心と最後の文字の中心、ハイフンなどの特徴的な文字等である。切出範囲AJにおいて、これらの特徴部分を組み合わせて用いることもできる。例えば、切出範囲AJの指定において、ナンバープレート20の隅21とハイフンを指定してもよい。   In the above embodiment, the characteristic part is the four corners 21 of the license plate 20, but other examples include the following. For example, the position of the bolt 22, the upper left corner and the lower right corner of the character string having the number of predetermined digits, the center of the first character and the center of the last character, and the characteristic characters such as a hyphen. In the cutout range AJ, these characteristic portions can be used in combination. For example, the corner 21 and the hyphen of the license plate 20 may be specified in specifying the cutout range AJ.

・上記実施形態では、上記画像変換部7が画像変換する範囲は、文字認識の対象範囲としての切出範囲AJと一致しているが、画像変換に係る範囲は、これとは別のところを指定してもよい。すなわち、画像変換に係る範囲は、少なくとも、文字認識の対象範囲の画像を含む範囲であればよい。この場合において、画像変換に係る範囲を設定するときに指定するナンバープレート20の特徴部分は、文字認識に係る範囲を設定するに指定する特徴部分とは別の部分であってもよい。   In the above embodiment, the image conversion unit 7 performs image conversion in the same range as the character recognition target range AJ, but the image conversion range is different from this range. May be specified. That is, the range related to the image conversion may be a range including at least an image of the character recognition target range. In this case, the characteristic part of the license plate 20 specified when setting the range related to image conversion may be a part different from the characteristic part specified to set the range related to character recognition.

・上記鮮明化処理部13が鮮明化する対象範囲は、上記実施形態では、切出範囲AJと等しいが、これとは別の範囲で鮮明化処理を行ってもよい。なお、「別の範囲」とは、少なくとも文字認識の範囲を含む。この場合において、鮮明化処理に係る範囲を設定するときに指定するナンバープレート20の特徴部分は、文字認識に係る範囲を設定するに指定する特徴部分とは別の部分であってもよい。   In the above embodiment, the target range to be sharpened by the sharpening processing unit 13 is equal to the cutout range AJ. However, the sharpening processing may be performed in a different range. Note that “another range” includes at least a character recognition range. In this case, the characteristic part of the license plate 20 specified when setting the range related to the sharpening process may be a part different from the characteristic part specified to set the range related to character recognition.

上記実施形態では、文字認識処理の文字範囲ACと鮮明化処理の鮮明化範囲とは、同じであるが、文字認識処理の文字範囲ACと鮮明化処理の鮮明化範囲とを異なる範囲に設定してもよい。例えば、文字範囲ACと鮮明化範囲は同じとする場合、文字範囲ACよりも鮮明化範囲が大きい場合、鮮明化範囲が複数の文字範囲ACを含む範囲とされる場合等がある。鮮明化範囲が複数の文字範囲ACを含む範囲とされる場合、複数の文字範囲ACをまとめて鮮明化できる。   In the above embodiment, the character range AC of the character recognition process is the same as the sharpening range of the sharpening process, but the character range AC of the character recognition process and the sharpening range of the sharpening process are set to different ranges. May be. For example, when the character range AC and the sharpening range are the same, when the sharpening range is larger than the character range AC, the sharpening range may be a range including a plurality of character ranges AC. When the sharpening range is a range including a plurality of character ranges AC, the plurality of character ranges AC can be sharpened together.

・上記実施形態では、文字範囲ACは、枠IGで囲まれた範囲として表示部3に示されているが、表示形態に限定されず、文字範囲ACは、正面視画像IF上で確認可能に表示部3に表示されればよい。確認可能とは、視認できればよい程度に表示されることを示す。例えば、枠IG内の文字範囲ACが、色が反転表示(例えば、元の色の補色が示されること)されたり、半透明となったり、網掛けで示されたりしてもよい。   In the above embodiment, the character range AC is shown on the display unit 3 as a range surrounded by the frame IG, but is not limited to the display form, and the character range AC can be confirmed on the front-view image IF. It may be displayed on the display unit 3. “Confirmable” means that it is displayed to the extent that it can be visually recognized. For example, the character range AC in the frame IG may be displayed in reverse color (for example, a complementary color of the original color is shown), translucent, or shaded.

・上記実施形態において、各処理に用いる入力画像IAは、画像取得部2が取得した入力画像IAに替えて、部分的に切り出された入力画像IA、ナンバープレート20が部分的に切り出された入力画像IA、ナンバープレート20を正面視する正面視画像IFに変換された入力画像IA、鮮明化された入力画像IA、拡大された入力画像IA、等を各処理に応じて用いることができる。   In the above embodiment, the input image IA used for each process is an input image IA that is partially cut out instead of the input image IA acquired by the image acquisition unit 2, and an input that is partially cut out of the license plate 20. An image IA, an input image IA converted to a front-view image IF when the license plate 20 is viewed in front, a sharpened input image IA, an enlarged input image IA, and the like can be used in accordance with each process.

AC1…第1文字範囲、AC2…第2文字範囲、AC3…第3文字範囲、AC4…第4文字範囲、AC5…第5文字範囲、IA…入力画像、IB…指定枠、IC…拡大変換画像、ID…文字枠、IE…拡大画像、IF…正面視画像、IG…枠、AC…文字範囲、AE…拡大指定範囲、AJ…切出範囲、PT…ポインタ、PC…位置、DS…画面、1…文字認識システム、2…画像取得部、3…表示部、4…記憶部、5…入力部、6…制御部、7…画像変換部、8…画像拡大部、10…認識部、11…文字範囲設定部、12…範囲生成部、13…鮮明化処理部、14…文字認識部、15…結果形成部、16…信頼度算出部、20…ナンバープレート、21…隅、22…ボルト。   AC1 ... first character range, AC2 ... second character range, AC3 ... third character range, AC4 ... fourth character range, AC5 ... fifth character range, IA ... input image, IB ... designated frame, IC ... enlarged converted image ID ... character frame, IE ... enlarged image, IF ... front view image, IG ... frame, AC ... character range, AE ... enlarged specified range, AJ ... cutout range, PT ... pointer, PC ... position, DS ... screen, DESCRIPTION OF SYMBOLS 1 ... Character recognition system, 2 ... Image acquisition part, 3 ... Display part, 4 ... Memory | storage part, 5 ... Input part, 6 ... Control part, 7 ... Image conversion part, 8 ... Image expansion part, 10 ... Recognition part, 11 DESCRIPTION OF SYMBOLS ... Character range setting part, 12 ... Range generation part, 13 ... Sharpening process part, 14 ... Character recognition part, 15 ... Result formation part, 16 ... Reliability calculation part, 20 ... License plate, 21 ... Corner, 22 ... Bolt .

Claims (14)

車両のナンバープレートに表示されている文字を認識する文字認識システムであって、
前記文字を含む入力画像を取得する画像取得部と、
前記入力画像の少なくとも一部を表示する表示部と、
前記表示部に表示された前記入力画像において位置を指定する操作を受け付ける入力部と、
指定された前記位置にもとづいて前記文字を認識する対象範囲として前記入力画像に文字範囲を設定する文字範囲設定部と、
前記文字範囲内の文字を認識する文字認識部とを備える
文字認識システム。
A character recognition system for recognizing characters displayed on a vehicle license plate,
An image acquisition unit for acquiring an input image including the character;
A display unit for displaying at least a part of the input image;
An input unit that receives an operation of designating a position in the input image displayed on the display unit;
A character range setting unit that sets a character range in the input image as a target range for recognizing the character based on the designated position;
A character recognition system comprising: a character recognition unit that recognizes characters within the character range.
前記ナンバープレートにおける特徴部分の位置と前記ナンバープレートに表示されている少なくとも1つの文字との位置関係を記憶する記憶部を更に備え、
前記文字範囲設定部は、前記入力部を介して指定された前記特徴部分の位置と前記位置関係に基づいて前記文字範囲を設定する
請求項1に記載の文字認識システム。
A storage unit for storing a positional relationship between the position of the characteristic portion in the license plate and at least one character displayed on the license plate;
The character recognition system according to claim 1, wherein the character range setting unit sets the character range based on the position of the characteristic portion specified via the input unit and the positional relationship.
前記入力部を介して指定された前記ナンバープレートの特徴部分の位置に基づき、少なくとも前記ナンバープレートに表示されている文字を含む画像を、前記ナンバープレートの正面に正対した位置から見た画像である正面視画像に変換する画像変換部を更に備えた
請求項1または2に記載の文字認識システム。
Based on the position of the characteristic part of the license plate designated through the input unit, an image including at least characters displayed on the license plate is an image viewed from a position facing the front of the license plate. The character recognition system according to claim 1, further comprising an image conversion unit that converts the image into a certain front view image.
前記文字範囲を前記正面視画像上で確認可能に前記表示部に表示する
請求項3に記載の文字認識システム。
The character recognition system according to claim 3, wherein the character range is displayed on the display unit so as to be confirmed on the front-view image.
前記入力部が前記位置を変更する前記操作を受け付けると、前記画像変換部が変更した前記正面視画像と前記文字範囲設定部が変更した前記文字範囲とを、前記表示部に表示する
請求項4に記載の文字認識システム。
5. When the input unit receives the operation to change the position, the front-view image changed by the image conversion unit and the character range changed by the character range setting unit are displayed on the display unit. The character recognition system described in 1.
少なくとも前記ナンバープレートに表示されている文字を含む画像を鮮明化する鮮明化処理部を更に備える
請求項1〜請求項5のいずれか一項に記載の文字認識システム。
The character recognition system according to any one of claims 1 to 5, further comprising a sharpening processing unit that sharpens an image including at least characters displayed on the license plate.
前記入力部を介して指定された前記ナンバープレートの特徴部分の位置に基づき、前記鮮明化を行なう対象範囲として前記入力画像に鮮明化範囲を設定する鮮明化範囲設定部を更に備え、
前記鮮明化処理部は、前記鮮明化範囲内の画像を鮮明化する
請求項6に記載の文字認識システム。
Based on the position of the characteristic part of the license plate designated via the input unit, further comprising a sharpening range setting unit for setting a sharpening range in the input image as the target range to be sharpened,
The character recognition system according to claim 6, wherein the sharpening processing unit sharpens an image within the sharpening range.
前記入力画像の少なくとも一部を拡大する画像拡大部を更に備え、前記表示部に、前記画像拡大部が拡大した画像を表示する
請求項1〜請求項7のいずれか一項に記載の文字認識システム。
The character recognition according to claim 1, further comprising an image enlargement unit that enlarges at least a part of the input image, and displaying the image enlarged by the image enlargement unit on the display unit. system.
前記入力部を介して指定された前記ナンバープレートの特徴部分の位置に基づき、前記対象範囲として互いに異なる複数の前記対象範囲を生成する範囲生成部をさらに備え、前記複数の対象範囲に対してそれぞれ処理を行う
請求項1〜請求項8のいずれか一項に記載の文字認識システム。
Based on the position of the characteristic part of the license plate designated through the input unit, the range further includes a range generation unit that generates a plurality of different target ranges as the target range, and for each of the plurality of target ranges The character recognition system as described in any one of Claims 1-8 which performs a process.
計算機に車両のナンバープレートに表示されている文字を認識させるための文字認識プログラムであって、
前記文字を含む入力画像を取得させる第1手順と、
前記入力画像の少なくとも一部を表示部に表示させる第2手順と、
前記表示部に表示された前記入力画像において位置を指定する操作を受け付けさせる第3手順と、
指定された前記位置にもとづいて前記文字を認識する対象範囲として前記入力画像に文字範囲を設定させる第4手順と、
前記文字範囲内の文字を認識させる第5手順とを含む
文字認識プログラム。
A character recognition program for causing a computer to recognize characters displayed on a license plate of a vehicle,
A first procedure for acquiring an input image including the character;
A second procedure for displaying at least part of the input image on a display unit;
A third procedure for accepting an operation for designating a position in the input image displayed on the display unit;
A fourth procedure for setting a character range in the input image as a target range for recognizing the character based on the designated position;
And a fifth procedure for recognizing characters within the character range.
車両のナンバープレートに表示されている文字を認識するために文字認識システムが実行する文字認識方法であって、
前記文字を含む入力画像を取得する第1ステップと、
前記入力画像の少なくとも一部を表示する第2ステップと、
表示部に表示された前記入力画像において位置を指定する操作を受け付ける第3ステップと、
指定された前記位置にもとづいて前記文字を認識する対象範囲として前記入力画像に文字範囲を設定する第4ステップと、
前記文字範囲内の文字を認識する第5ステップとを含む
文字認識方法。
A character recognition method executed by a character recognition system to recognize characters displayed on a license plate of a vehicle,
A first step of acquiring an input image including the character;
A second step of displaying at least part of the input image;
A third step of accepting an operation of designating a position in the input image displayed on the display unit;
A fourth step of setting a character range in the input image as a target range for recognizing the character based on the designated position;
And a fifth step of recognizing characters in the character range.
車両のナンバープレートに表示されている文字を鮮明化する文字鮮明化システムであって、
前記文字を含む入力画像を取得する画像取得部と、
前記入力画像の少なくとも一部を表示する表示部と、
前記表示部に表示された前記入力画像において位置を指定する操作を受け付ける入力部と、
指定された前記位置にもとづいて前記文字を鮮明化する対象範囲として前記入力画像に鮮明化範囲を設定する鮮明化範囲設定部と、
前記鮮明化範囲内の文字を鮮明化する鮮明化処理部とを備える
文字鮮明化システム。
A character sharpening system that sharpens letters displayed on a license plate of a vehicle,
An image acquisition unit for acquiring an input image including the character;
A display unit for displaying at least a part of the input image;
An input unit that receives an operation of designating a position in the input image displayed on the display unit;
A sharpening range setting unit for setting a sharpening range in the input image as a target range for sharpening the character based on the designated position;
A character sharpening system comprising: a sharpening processing unit that sharpens characters within the sharpening range.
計算機に、車両のナンバープレートに表示されている文字を鮮明化させる文字鮮明化プログラムであって、
前記文字を含む入力画像を取得させる第1手順と、
前記入力画像の少なくとも一部を表示させる第2手順と、
表示部に表示された前記入力画像において位置を指定する操作を受け付けさせる第3手順と、
指定された前記位置にもとづいて前記文字を鮮明化する対象範囲として前記入力画像に鮮明化範囲を設定させる第4手順と、
前記鮮明化範囲内の文字を鮮明化させる第5手順とを含む
文字鮮明化プログラム。
A character sharpening program that causes a computer to sharpen characters displayed on a license plate of a vehicle,
A first procedure for acquiring an input image including the character;
A second procedure for displaying at least part of the input image;
A third procedure for accepting an operation for designating a position in the input image displayed on the display unit;
A fourth procedure for setting a sharpening range in the input image as a target range for sharpening the character based on the designated position;
A character sharpening program comprising: a fifth procedure for sharpening characters in the sharpening range.
車両のナンバープレートに表示されている文字を鮮明化する文字鮮明化方法であって、
前記文字を含む入力画像を取得する第1ステップと、
前記入力画像の少なくとも一部を表示する第2ステップと、
表示部に表示された前記入力画像において位置を指定する操作を受け付ける第3ステップと、
指定された前記位置にもとづいて前記文字を鮮明化する対象範囲として前記入力画像に鮮明化範囲を設定する第4ステップと、
前記鮮明化範囲内の文字を鮮明化する第5ステップとを含む
文字鮮明化方法。
A character sharpening method for sharpening letters displayed on a license plate of a vehicle,
A first step of acquiring an input image including the character;
A second step of displaying at least part of the input image;
A third step of accepting an operation of designating a position in the input image displayed on the display unit;
A fourth step of setting a sharpening range in the input image as a target range for sharpening the character based on the designated position;
A character sharpening method comprising: a fifth step of sharpening characters within the sharpening range.
JP2018020488A 2018-02-07 2018-02-07 Character recognition system, character recognition program, character recognition method, character sharpening system, character sharpening program, and character sharpening method Pending JP2019139383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018020488A JP2019139383A (en) 2018-02-07 2018-02-07 Character recognition system, character recognition program, character recognition method, character sharpening system, character sharpening program, and character sharpening method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018020488A JP2019139383A (en) 2018-02-07 2018-02-07 Character recognition system, character recognition program, character recognition method, character sharpening system, character sharpening program, and character sharpening method

Publications (1)

Publication Number Publication Date
JP2019139383A true JP2019139383A (en) 2019-08-22

Family

ID=67693968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018020488A Pending JP2019139383A (en) 2018-02-07 2018-02-07 Character recognition system, character recognition program, character recognition method, character sharpening system, character sharpening program, and character sharpening method

Country Status (1)

Country Link
JP (1) JP2019139383A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674802A (en) * 2019-09-09 2020-01-10 电子科技大学 Improved text detection method for parallelogram candidate box

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11306283A (en) * 1998-04-24 1999-11-05 Chuo Spring Co Ltd Number plate reader
JP2002342880A (en) * 2001-05-18 2002-11-29 Hitachi Eng Co Ltd Vehicle number recognition device
JP2005044052A (en) * 2003-07-25 2005-02-17 Hitachi Ltd Portable character recognition device
JP2008040519A (en) * 2006-08-01 2008-02-21 Hitachi Information & Control Solutions Ltd Portable type illegally parked vehicle photographing device
US20130028481A1 (en) * 2011-07-28 2013-01-31 Xerox Corporation Systems and methods for improving image recognition
JP2014164528A (en) * 2013-02-25 2014-09-08 Mitsubishi Heavy Ind Ltd Character recognition device, character recognition method, and program
JP2015090500A (en) * 2013-11-05 2015-05-11 株式会社リコー Image recognition device, image recognition program, image recognition method, and imaging device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11306283A (en) * 1998-04-24 1999-11-05 Chuo Spring Co Ltd Number plate reader
JP2002342880A (en) * 2001-05-18 2002-11-29 Hitachi Eng Co Ltd Vehicle number recognition device
JP2005044052A (en) * 2003-07-25 2005-02-17 Hitachi Ltd Portable character recognition device
JP2008040519A (en) * 2006-08-01 2008-02-21 Hitachi Information & Control Solutions Ltd Portable type illegally parked vehicle photographing device
US20130028481A1 (en) * 2011-07-28 2013-01-31 Xerox Corporation Systems and methods for improving image recognition
JP2014164528A (en) * 2013-02-25 2014-09-08 Mitsubishi Heavy Ind Ltd Character recognition device, character recognition method, and program
JP2015090500A (en) * 2013-11-05 2015-05-11 株式会社リコー Image recognition device, image recognition program, image recognition method, and imaging device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
篠原 陽介 他4名: "クロスカウントとテンプレートマッチングによるナンバープレート認識法", 電子情報通信学会技術研究報告, vol. 104, no. 573, JPN6021040579, 14 January 2005 (2005-01-14), JP, pages 39 - 44, ISSN: 0004617694 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674802A (en) * 2019-09-09 2020-01-10 电子科技大学 Improved text detection method for parallelogram candidate box

Similar Documents

Publication Publication Date Title
EP2595092B1 (en) Methods and systems for improved license plate signature matching
RU2651144C2 (en) Data input from images of the documents with fixed structure
US8059868B2 (en) License plate recognition apparatus, license plate recognition method, and computer-readable storage medium
US20150262030A1 (en) Image processing device, image processing method, and image processing program
CN109727279B (en) Automatic registration method of vector data and remote sensing image
CN110443237B (en) Certificate identification method, device, electronic equipment and computer readable storage medium
TWI751426B (en) Image processing system, image processing method and program product
CN108052936B (en) Automatic inclination correction method and system for Braille image
CN110569774B (en) Automatic line graph image digitalization method based on image processing and pattern recognition
EP2816504A1 (en) Character-extraction method and character-recognition device and program using said method
JP5100688B2 (en) Object detection apparatus and program
JPH06215293A (en) Device for recognizing vehicle number
Fernández-Caballero et al. Display text segmentation after learning best-fitted OCR binarization parameters
JP7075770B2 (en) Character recognition system, character sharpening system, character sharpening program, character sharpening method, and character sharpening image display device
JP5201184B2 (en) Image processing apparatus and program
JP2019139383A (en) Character recognition system, character recognition program, character recognition method, character sharpening system, character sharpening program, and character sharpening method
JP2017120503A (en) Information processing device, control method and program of information processing device
US11906441B2 (en) Inspection apparatus, control method, and program
Bala et al. Image simulation for automatic license plate recognition
JP5010627B2 (en) Character recognition device and character recognition method
CN108062548B (en) Braille square self-adaptive positioning method and system
WO2002003240A1 (en) Proofreading system of chinese characters by means of one-to-one comparison
KR101766787B1 (en) Image correction method using deep-learning analysis bassed on gpu-unit
CN113657162A (en) Bill OCR recognition method based on deep learning
CN113191942A (en) Method for generating image, method for training human detection model, program, and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211019

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220412