JP2016171379A - Document reader, display control method and display control program - Google Patents
Document reader, display control method and display control program Download PDFInfo
- Publication number
- JP2016171379A JP2016171379A JP2015048326A JP2015048326A JP2016171379A JP 2016171379 A JP2016171379 A JP 2016171379A JP 2015048326 A JP2015048326 A JP 2015048326A JP 2015048326 A JP2015048326 A JP 2015048326A JP 2016171379 A JP2016171379 A JP 2016171379A
- Authority
- JP
- Japan
- Prior art keywords
- character string
- character
- image
- image data
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 170
- 238000013519 translation Methods 0.000 claims abstract description 152
- 238000001514 detection method Methods 0.000 claims abstract description 33
- 230000004044 response Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 description 146
- 238000012545 processing Methods 0.000 description 55
- 230000006870 function Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 18
- 230000009467 reduction Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 101100401199 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) SAM2 gene Proteins 0.000 description 6
- 230000007717 exclusion Effects 0.000 description 6
- 101100435070 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) APN2 gene Proteins 0.000 description 5
- 101100268779 Solanum lycopersicum ACO1 gene Proteins 0.000 description 5
- 238000012805 post-processing Methods 0.000 description 4
- 102220622101 Collagen alpha-1(XXII) chain_S72A_mutation Human genes 0.000 description 3
- 102220471249 M-phase inducer phosphatase 1_S82A_mutation Human genes 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 102220585514 T cell receptor gamma constant 1_S71D_mutation Human genes 0.000 description 2
- 102220604660 Transcription factor Sp1_S81A_mutation Human genes 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 102220585513 T cell receptor gamma constant 1_S83A_mutation Human genes 0.000 description 1
- 102220604663 Transcription factor Sp1_S73A_mutation Human genes 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000004080 punching Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Character Input (AREA)
- Character Discrimination (AREA)
- Machine Translation (AREA)
- Facsimiles In General (AREA)
Abstract
Description
この発明は、原稿読取装置、表示制御方法および表示制御プログラムに関し、特に、翻訳機能を備えた原稿読取装置、その原稿読取装置で実行される表示制御方法および表示制御プログラムに関する。 The present invention relates to a document reading device, a display control method, and a display control program, and more particularly to a document reading device having a translation function, a display control method and a display control program executed by the document reading device.
複合機(以下「MFP」という)で代表される原稿読取装置は、自動原稿搬送装置を備えており、原稿を読み取った結果を確認するために、原稿を読み取って得られる画像を表示するプレビュー機能を有する画像形成装置が知られている。例えば、特開2011−077669号公報には、原稿の傾きやはみ出しをユーザーに知らせるための原稿読取装置として、原稿画像を読み取る原稿読取部と、読み取られた原稿画像を加工し出力用画像を生成する画像処理部と、前記出力用画像を外部へ出力する出力部と、原稿画像をユーザーがプレビューするための表示部とを備え、前記画像処理部は、原稿画像の端部領域または原稿画像の文字領域に相当する一部領域からプレビュー用画像データを生成し、前記プレビュー用画像データを表示部に提供するプレビュー機能付き原稿読取装置が記載されている。 A document reading apparatus represented by a multifunction peripheral (hereinafter referred to as “MFP”) includes an automatic document feeder, and a preview function for displaying an image obtained by reading the document in order to confirm the result of reading the document. There is known an image forming apparatus having For example, in Japanese Patent Application Laid-Open No. 2011-076669, as a document reading device for informing a user of document inclination or protrusion, a document reading unit that reads a document image, and processes the read document image to generate an output image An image processing unit for outputting, an output unit for outputting the output image to the outside, and a display unit for a user to preview the document image. There is described a document reading apparatus with a preview function that generates preview image data from a partial region corresponding to a character region and provides the preview image data to a display unit.
一方、画像に含まれる文字を認識して文字情報に変換する文字認識処理と、文字情報を別の言語に翻訳する翻訳処理とが知られている。このため、原稿を読み取って得られる画像に含まれる文字を翻訳することが可能である。 On the other hand, a character recognition process for recognizing a character included in an image and converting it into character information, and a translation process for translating the character information into another language are known. For this reason, it is possible to translate characters included in an image obtained by reading a document.
しかしながら、文字認識処理および翻訳処理する時間は、原稿読取装置で原稿を読み取ってから読み取って得られる画像を表示するまでの時間に比較して長いため、原稿に対応してプレビュー表示される画像に代えて、原稿に対応する画像に含まれる文字を翻訳した結果を表示するのが困難であるといった問題がある。特に、複数の原稿を連続して読み取る場合に、複数の原稿にそれぞれ対応する複数の画像に文字認識処理および翻訳処理をして、翻訳結果を表示するためには長時間を要するといった問題があった。
この発明は上述した問題点を解決するためになされたもので、この発明の目的の一つは、複数枚の原稿の画像を順に表示しつつ、原稿の一部を翻訳して表示することが可能な原稿読取装置を提供することである。 The present invention has been made to solve the above-mentioned problems. One of the objects of the present invention is to display a plurality of original images in order while translating and displaying a part of the original. It is to provide a possible document reading device.
この発明の他の目的は、原稿中の文字列を効率的に翻訳することが可能な原稿読取装置を提供することである。 Another object of the present invention is to provide a document reading apparatus capable of efficiently translating a character string in a document.
この発明のさらに他の目的は、複数枚の原稿の画像を順に表示しつつ、原稿の一部を翻訳して表示することが可能な表示制御方法および表示制御プログラムを提供することである。 Still another object of the present invention is to provide a display control method and a display control program capable of translating and displaying a part of a document while sequentially displaying images of a plurality of documents.
この発明のさらに他の目的は、原稿中の文字列を効率的に翻訳することが可能な表示制御方法および表示制御プログラムを提供することである。 Still another object of the present invention is to provide a display control method and a display control program capable of efficiently translating a character string in a document.
上述した目的を達成するためにこの発明のある局面によれば、原稿読取装置は、原稿を読み取り、画像データを出力する原稿読取手段と、原稿読取手段が複数ページの原稿を連続して読み取って出力する複数ページの画像データそれぞれを、原稿読取手段が出力する順に、第1の期間ずつ表示手段に表示する画像表示制御手段と、複数ページのいずれかの画像データが表示されている間に、表示されたページの画像データ中でユーザーにより指示された位置を検出する位置検出手段と、位置検出手段により位置が検出されることに応じて、表示されたページの画像データから文字が表された1以上の文字領域を決定する文字領域決定手段と、表示されたページの画像データ中で決定された1以上の文字領域のうちから位置検出手段により検出された位置を含む文字領域の部分を文字認識する文字認識手段と、文字認識して得られる文字列を所定の言語に翻訳する翻訳手段と、翻訳して得られる翻訳文字列を、表示されたページの画像データと関連付けて表示手段に表示する関連表示制御手段と、を備える。 In order to achieve the above-described object, according to one aspect of the present invention, a document reading device includes a document reading unit that reads a document and outputs image data, and the document reading unit continuously reads a plurality of pages of a document. The image display control means for displaying each of the plurality of pages of image data to be output on the display means for each first period in the order that the document reading means outputs, and while any one of the plurality of pages of image data is being displayed. Position detection means for detecting a position designated by the user in the image data of the displayed page, and characters are represented from the image data of the displayed page in response to the position being detected by the position detection means. Character area determination means for determining one or more character areas, and position detection means from among one or more character areas determined in the image data of the displayed page Displayed is a character recognition means for recognizing a part of a character area including the specified position, a translation means for translating a character string obtained by character recognition into a predetermined language, and a translated character string obtained by translation. Associated display control means for displaying on the display means in association with the image data of the page.
この局面に従えば、複数ページの原稿を連続して読み取った複数ページの画像データそれぞれを第1の期間ずつ表示し、複数ページのいずれかの画像データが表示されている間に、表示されたページの画像データ中でユーザーにより指示された位置が検出されることに応じて、画像データ中で検出された位置を含む文字領域の部分を文字認識し、文字認識された文字列を所定の言語に翻訳し、翻訳して得られる翻訳文字列を、画像データと関連付けて表示する。このため、表示されている画像データ中でユーザーにより指示された位置を含む文字領域の部分を文字認識し、翻訳するので、文字認識および翻訳の処理量を少なくすることができ、処理時間を短くすることができる。その結果、複数枚の原稿の画像を順に表示しつつ、原稿の一部を翻訳して表示することが可能な原稿読取装置を提供することができる。 According to this aspect, each of the plurality of pages of image data obtained by continuously reading a plurality of pages of the document is displayed for each first period, and displayed while any one of the plurality of pages of image data is displayed. In response to the detection of the position indicated by the user in the image data of the page, the character area part including the position detected in the image data is recognized, and the character string thus recognized is determined in a predetermined language. And the translation character string obtained by the translation is displayed in association with the image data. For this reason, the character area portion including the position designated by the user in the displayed image data is recognized and translated, so that the processing amount of character recognition and translation can be reduced, and the processing time is shortened. can do. As a result, it is possible to provide a document reading apparatus capable of displaying a plurality of document images in order while translating and displaying a part of the document.
好ましくは、関連表示制御手段は、翻訳文字列を、表示されたページの画像データが表示される位置に対して所定の相対位置に、表示されたページの画像データが表示されるサイズに対して相対的に定まるサイズで表示する。 Preferably, the related display control means sets the translated character string at a predetermined relative position with respect to a position at which the image data of the displayed page is displayed, and with respect to a size at which the image data of the displayed page is displayed. Display in a relatively fixed size.
この局面に従えば、翻訳された文字列が、表示されたページの画像データが表示される位置に対して所定の相対位置に、表示されたページの画像データが表示されるサイズに対して相対的に定まるサイズで表示するので、翻訳された文字列が画像データ中で対応する部分をユーザーに通知することができる。 According to this aspect, the translated character string is in a predetermined relative position with respect to the position where the image data of the displayed page is displayed, and relative to the size where the image data of the displayed page is displayed. Since the image is displayed in a predetermined size, it is possible to notify the user of the portion corresponding to the translated character string in the image data.
この発明の他の局面によれば、原稿読取装置は、原稿を読み取り、画像データを出力する原稿読取手段と、原稿読取手段が出力する画像データを表示手段に表示する画像表示制御手段と、原稿読取手段が出力する画像データから文字が表された文字領域を決定する文字領域決定手段と、画像データ中で決定された文字領域の部分を文字認識する文字認識手段と、文字認識して得られる文字列のうちで、画像データ中で対応する部分が所定の特徴を有する文字列部分を決定する対象文字列決定手段と、決定された文字列部分に含まれる文字列を所定の言語に翻訳する翻訳手段と、翻訳して得られる翻訳文字列を、画像データと関連付けて表示手段に表示する関連表示制御手段と、を備える。 According to another aspect of the present invention, a document reading device includes a document reading unit that reads a document and outputs image data, an image display control unit that displays image data output from the document reading unit on a display unit, and a document Character area determining means for determining a character area in which characters are represented from image data output by the reading means, character recognition means for recognizing the character area portion determined in the image data, and character recognition Among the character strings, target character string determining means for determining a character string portion in which the corresponding portion in the image data has a predetermined characteristic, and the character string included in the determined character string portion are translated into a predetermined language Translation means, and related display control means for displaying the translated character string obtained by translation on the display means in association with the image data.
この局面に従えば、原稿を読み取って得られる画像データから文字領域を決定し、画像データ中の文字領域の部分を文字認識し、認識された文字列のうちで、画像データ中で対応する部分が所定の特徴を有する文字列部分を決定し、文字列部分の文字列を翻訳し、翻訳して得られる翻訳文字列を、画像データと関連付けて表示する。このため、原稿中の特徴的な部分を翻訳して表示するので、原稿中の文字列の全部を翻訳する場合に比較して翻訳対象となる文字数が少なくなるので、処理時間を短くすることができる。その結果、原稿中の文字列を効率的に翻訳することが可能な原稿読取装置を提供することができる。 According to this aspect, a character region is determined from image data obtained by reading a document, a character region portion in the image data is recognized, and a corresponding portion in the image data in the recognized character string Determines a character string portion having predetermined characteristics, translates the character string portion of the character string portion, and displays a translated character string obtained by the translation in association with the image data. For this reason, since the characteristic part in the document is translated and displayed, the number of characters to be translated is reduced compared with the case of translating all the character strings in the document, so that the processing time can be shortened. it can. As a result, it is possible to provide a document reading apparatus that can efficiently translate character strings in a document.
好ましくは、画像データ中で抽出されたが文字領域の部分が有する第1の特徴とは異なる第2の特徴を有する特徴領域を決定する特徴領域決定手段を、さらに備え、文字認識手段は、画像データ中の部分であって、決定された特徴領域を含む文字領域の部分を文字認識する。 Preferably, the image processing apparatus further includes a feature region determination unit that determines a feature region that is extracted from the image data but has a second feature that is different from the first feature of the character region portion. Character recognition is performed on the portion of the character area including the determined feature area in the data.
この局面に従えば、文字領域の特徴とは異なる特徴を有する特徴領域を決定するので、文字領域に含まれる文字列のうちから特徴的な文字列を決定することができる。 According to this aspect, since the feature region having a feature different from the feature of the character region is determined, a characteristic character string can be determined from the character strings included in the character region.
好ましくは、特徴領域は、画像データ中で文字の形状または背景が他の部分と異なる部分である。 Preferably, the characteristic region is a portion in which the shape or background of the character is different from other portions in the image data.
好ましくは、対象文字列決定手段は、文字認識して得られる文字列のうち特徴領域に含まれる文字列を文字列部分に決定する。 Preferably, the target character string determining means determines a character string included in the feature region among character strings obtained by character recognition as a character string portion.
この局面に従えば、画像データ中の文字領域の部分から認識された文字列のうち特徴領域に含まれる文字列が文字列部分に決定され、翻訳されるので、原稿に含まれる文字列のうち特徴的な文字列を翻訳して表示することができる。 According to this aspect, the character string included in the feature region among the character strings recognized from the character region portion in the image data is determined and translated into the character string portion. Character strings can be translated and displayed.
好ましくは、対象文字列決定手段は、特徴領域に含まれる文字列であっても予め定められた文字列は文字列部分に決定しない。 Preferably, the target character string determining means does not determine a predetermined character string as a character string portion even if it is a character string included in the feature region.
この局面に従えば、予め定められた文字列は文字列部分に決定しないので、翻訳の対象となる文字列を制限することができる。 According to this aspect, since the predetermined character string is not determined as the character string portion, the character string to be translated can be limited.
好ましくは、関連表示制御手段は、画像データを表示手段に表示した原稿画像中に決定された特徴領域を示す識別画像を表示手段に表示する。 Preferably, the related display control means displays on the display means an identification image indicating the determined characteristic area in the document image in which the image data is displayed on the display means.
この局面に従えば、画像データを表示した原稿画像中に特徴領域を示す識別画像を表示するので、特徴領域をユーザーに通知することができる。 According to this aspect, since the identification image indicating the characteristic area is displayed in the document image displaying the image data, the characteristic area can be notified to the user.
好ましくは、関連表示制御手段は、画像データを表示手段に表示した原稿画像の特徴領域に対応する部分に翻訳文字列の画像を重畳して表示手段に表示する。 Preferably, the related display control means superimposes the translated character string image on the portion corresponding to the feature area of the original image displayed on the display means and displays the image data on the display means.
この局面に従えば、画像データを表示した原稿画像の特徴領域に対応する部分に翻訳文字列の画像が重畳して表示されるので、特徴領域のみが翻訳された文字列で表示される。このため、翻訳された部分をユーザーに通知することができる。 According to this aspect, the translated character string image is superimposed on the portion corresponding to the feature area of the document image displaying the image data, so that only the feature area is displayed as the translated character string. For this reason, the translated part can be notified to the user.
好ましくは、関連表示制御手段は、画像データを表示手段に表示した原稿画像の特徴領域に対応する部分のサイズ以下のサイズで、翻訳文字列の画像を生成する。 Preferably, the related display control unit generates an image of the translated character string with a size equal to or smaller than the size of the portion corresponding to the feature region of the document image in which the image data is displayed on the display unit.
この局面に従えば、原稿画像中で特徴領域に対応する部分以外の部分を変更することなく、翻訳文字列の画像を表示することができる。 According to this aspect, an image of the translated character string can be displayed without changing any part other than the part corresponding to the feature region in the document image.
好ましくは、画像表示制御手段は、原稿読取手段が複数ページの原稿を連続して読み取る場合、原稿読取手段が連続して出力する複数ページの画像データそれぞれを、原稿読取手段が出力する順に、第1の期間ずつ表示手段に表示し、関連表示制御手段は、翻訳文字列を、それが対応するページの画像データと関連付けて表示手段に表示し、画像読取装置は、翻訳手段が翻訳に要する翻訳時間を、複数のページごとに計時する計時手段を、さらに備え、特徴領域決定手段は、計時された翻訳時間に応じて、特徴領域を決定する精度を変更する。 Preferably, when the document reading unit continuously reads a plurality of pages of the document, the image display control unit outputs each of the plurality of pages of image data continuously output by the document reading unit in the order in which the document reading unit outputs them. The related display control means displays the translated character string on the display means in association with the image data of the corresponding page, and the image reading device has the translation means required for translation by the translation means. The information processing apparatus further includes timing means for measuring time for each of a plurality of pages, and the feature area determination means changes the accuracy of determining the feature area according to the measured translation time.
この局面に従えば、翻訳時間に応じて、特徴領域を決定する精度を変更するので、翻訳時間が長くなれば精度を低くして特徴領域を決定するための処理時間を短くすることができる。このため、複数ページの画像を表示してから表示が終了するまでの期間の変動を少なくすることができる。 According to this aspect, since the accuracy for determining the feature region is changed according to the translation time, the processing time for determining the feature region can be shortened by decreasing the accuracy if the translation time is increased. For this reason, the fluctuation | variation of the period after displaying the image of several pages until a display is complete | finished can be reduced.
好ましくは、画像表示制御手段は、原稿読取手段が複数ページの原稿を連続して読み取る場合、原稿読取手段が連続して出力する複数ページの画像データそれぞれを、原稿読取手段が出力する順に、第1の期間ずつ表示手段に表示し、関連表示制御手段は、翻訳文字列を、それが対応するページの画像データと関連付けて表示手段に表示する。 Preferably, when the document reading unit continuously reads a plurality of pages of the document, the image display control unit outputs each of the plurality of pages of image data continuously output by the document reading unit in the order in which the document reading unit outputs them. The related display control means displays the translated character string on the display means in association with the image data of the corresponding page.
この局面に従えば、複数ページの原稿を連続して読み取って出力される複数ページの画像データそれぞれを、出力される順に第1の期間ずつ表示する場合に、ページの画像データが表示されている間に、そのページの画像データ中の一部を翻訳した文字列を表示することができる。 According to this aspect, page image data is displayed when each of a plurality of pages of image data output by continuously reading a plurality of pages of documents is displayed in a first period in the order of output. In the meantime, a character string obtained by translating a part of the image data of the page can be displayed.
好ましくは、翻訳手段は、決定された文字列部分が、それが含まれる画像データのページ以前のページの画像データに基づいて翻訳された文字列と同じ場合は翻訳しない。 Preferably, the translation means does not translate when the determined character string portion is the same as the character string translated based on the image data of the page before the page of the image data including the character string portion.
この局面に従えば、翻訳する文字列を少なくして、1ページ当たりの翻訳時間を短くすることができる。 If this situation is followed, the character string to translate can be decreased and the translation time per page can be shortened.
好ましくは、画像表示制御手段は、関連表示制御手段により翻訳文字列が表示手段に表示されてから第2の期間が経過する前に、翻訳文字列に対応するページの画像データが表示手段に表示されてから第1の期間が経過する場合、第2の期間が経過するまで翻訳文字列に対応するページの画像データを表示手段に表示する。 Preferably, the image display control means displays the image data of the page corresponding to the translated character string on the display means before the second period elapses after the translated character string is displayed on the display means by the related display control means. When the first period elapses after the image is displayed, the image data of the page corresponding to the translated character string is displayed on the display means until the second period elapses.
この局面に従えば、翻訳文字列が表示されてから第2の期間が経過するまで翻訳文字列に対応するページの画像データを表示するので、翻訳文字列の画像を少なくとも第2の期間表示することができる。 According to this aspect, since the image data of the page corresponding to the translated character string is displayed until the second period elapses after the translated character string is displayed, the translated character string image is displayed at least for the second period. be able to.
好ましくは、翻訳手段が翻訳に要する翻訳時間を、複数のページごとに計時する計時手段を、さらに備え、対象文字列決定手段は、計時された翻訳時間に応じて、1ページ当たりで決定する文字列部分の数を変更する。 Preferably, the translation unit further includes a timing unit that counts the translation time required for translation for each of a plurality of pages, and the target character string determination unit determines the character determined per page according to the measured translation time. Change the number of column parts.
この局面に従えば、前のページの翻訳時間に応じて、文字列部分の数を変更するので、複数ページの画像データの表示を開始してから終了するまでの期間の変動を少なくすることができる。 According to this aspect, since the number of character string portions is changed according to the translation time of the previous page, the variation in the period from the start to the end of the display of the image data of a plurality of pages can be reduced. it can.
好ましくは、翻訳手段は、決定された文字列部分に加えて文字列部分の前後の文字列を用いて決定された文字列部分を翻訳する。 Preferably, the translating means translates the character string portion determined using the character strings before and after the character string portion in addition to the determined character string portion.
この局面に従えば、文字列部分に加えて文字列部分の前後の文字列を用いて文字列部分を翻訳するので、文字列部分を翻訳する精度を高めることができる。 According to this aspect, since the character string portion is translated using the character string before and after the character string portion in addition to the character string portion, the accuracy of translating the character string portion can be improved.
好ましくは、対象文字列決定手段は、特徴領域に含まれる文字列であっても翻訳手段により翻訳の対象とされた文字列と同じ文字列は文字列部分に決定しない。 Preferably, the target character string determination unit does not determine the character string portion that is the same as the character string subjected to translation by the translation unit even if the character string is included in the feature region.
この局面に従えば、以前のページで翻訳された文字列を翻訳しないので、翻訳時間を短くすることができる。 According to this aspect, since the character string translated in the previous page is not translated, the translation time can be shortened.
好ましくは、関連表示制御手段は、翻訳文字列の文法が正常でない場合、翻訳文字列を表示手段に表示しない。 Preferably, the related display control means does not display the translated character string on the display means when the grammar of the translated character string is not normal.
この局面に従えば、誤って翻訳された文字列の画像を表示しないので、誤った情報を通知するのを防止することができる。 If this aspect is followed, since the image of the character string translated by mistake is not displayed, it can prevent reporting incorrect information.
この発明のさらに他の局面によれば表示制御方法は、原稿を読み取り、画像データを出力する原稿読取手段を備えた原稿読取装置で実行される表示制御方法であって、原稿読取手段が複数ページの原稿を連続して読み取って出力する複数ページの画像データそれぞれを、原稿読取手段が出力する順に、第1の期間だけ表示手段に表示する画像表示制御ステップと、複数ページのいずれかの画像データが表示されている間に、表示されたページの画像データ中でユーザーにより指示された位置を検出する位置検出ステップと、位置検出ステップにおいて位置が検出されることに応じて、表示されたるページの画像データから文字が表された1以上の文字領域を決定する文字領域決定ステップと、表示されたページの画像データ中で決定された1以上の文字領域のうちから位置検出ステップにおいて検出された位置を含む文字領域の部分を文字認識する文字認識ステップと、文字認識して得られる文字列を所定の言語に翻訳する翻訳ステップと、翻訳して得られる翻訳文字列を、表示されたページの画像データと関連付けて表示手段に表示する関連表示制御ステップと、を含む。 According to still another aspect of the present invention, a display control method is a display control method executed by a document reading apparatus including a document reading unit that reads a document and outputs image data, and the document reading unit includes a plurality of pages. An image display control step for displaying each of a plurality of pages of image data to be read and output continuously on the display means in the order that the document reading means outputs, and any one of the plurality of pages of image data While the is displayed, a position detection step for detecting the position designated by the user in the image data of the displayed page, and the position of the displayed page according to the detection of the position in the position detection step. A character region determination step for determining one or more character regions in which characters are represented from the image data, and 1 determined in the image data of the displayed page A character recognition step for recognizing a part of the character area including the position detected in the position detection step from the upper character area, a translation step for translating a character string obtained by character recognition into a predetermined language, and a translation A related display control step of displaying the translated character string obtained in this manner on the display means in association with the image data of the displayed page.
この局面に従えば、複数枚の原稿の画像を順に表示しつつ、原稿の一部を翻訳して表示することが可能な表示制御方法を提供することができる。 According to this aspect, it is possible to provide a display control method capable of translating and displaying a part of a document while sequentially displaying images of a plurality of documents.
この発明のさらに他の局面によれば表示制御方法は、原稿を読み取り、画像データを出力する原稿読取手段を備えた原稿読取装置で実行される表示制御方法であって、原稿読取手段が出力する画像データを表示手段に表示する画像表示制御ステップと、原稿読取手段が出力する画像データから文字が表された文字領域を決定する文字領域決定ステップと、画像データ中で決定された文字領域の部分を文字認識する文字認識ステップと、文字認識ステップにおいて文字認識して得られる文字列のうちで、画像データ中で対応する部分が所定の特徴を有する文字列部分を決定する対象文字列決定ステップと、決定された文字列部分に含まれる文字列を所定の言語に翻訳する翻訳ステップと、翻訳して得られる翻訳文字列を、画像データと関連付けて表示手段に表示する関連表示制御ステップと、を含む。 According to still another aspect of the present invention, a display control method is a display control method executed by a document reading apparatus including a document reading unit that reads a document and outputs image data, and the document reading unit outputs the display control method. An image display control step for displaying the image data on the display means, a character area determination step for determining a character area representing the character from the image data output from the document reading means, and a portion of the character area determined in the image data A character recognition step for recognizing a character, and a character string determination step for determining a character string portion in which the corresponding portion in the image data has a predetermined characteristic among character strings obtained by character recognition in the character recognition step; The translation step of translating the character string included in the determined character string portion into a predetermined language and the translated character string obtained by the translation are associated with the image data It includes an associated display control step of displaying on the display means.
この局面に従えば、原稿中の文字列を効率的に翻訳することが可能な表示制御方法を提供することができる。 According to this aspect, it is possible to provide a display control method capable of efficiently translating a character string in a document.
この発明のさらに他の局面によれば表示制御プログラムは、原稿を読み取り、画像データを出力する原稿読取手段を備えた原稿読取装置を制御するコンピューターで実行される表示制御プログラムであって、原稿読取手段が複数ページの原稿を連続して読み取って出力する複数ページの画像データそれぞれを、原稿読取手段が出力する順に、第1の期間だけ表示手段に表示する画像表示制御ステップと、複数ページのいずれかの画像データが表示されている間に、表示されたページの画像データ中でユーザーにより指示された位置を検出する位置検出ステップと、位置検出ステップにおいて位置が検出されることに応じて、表示されたページの画像データから文字が表された1以上の文字領域を決定する文字領域決定ステップと、表示されたページの画像データ中で決定された1以上の文字領域のうちから位置検出ステップにおいて検出された位置を含む文字領域の部分を文字認識する文字認識ステップと、文字認識して得られる文字列を所定の言語に翻訳する翻訳ステップと、翻訳して得られる翻訳文字列を、表示されたページの画像データと関連付けて表示手段に表示する関連表示制御ステップと、をコンピューターに実行させる。 According to still another aspect of the present invention, a display control program is a display control program executed by a computer that controls a document reading device including a document reading unit that reads a document and outputs image data. An image display control step for displaying each of a plurality of pages of image data output by the means for continuously reading a plurality of pages of the document on the display means for the first period in the order that the document reading means is output. While the image data is being displayed, a position detection step for detecting a position designated by the user in the image data of the displayed page, and a display in response to the position being detected in the position detection step A character area determining step for determining one or more character areas in which characters are represented from the image data of the displayed page; A character recognition step for recognizing a portion of the character region including the position detected in the position detection step from one or more character regions determined in the image data of the page, and a character string obtained by character recognition The computer is caused to execute a translation step for translating into a predetermined language and a related display control step for displaying the translated character string obtained by the translation on the display means in association with the image data of the displayed page.
この局面に従えば、複数枚の原稿の画像を順に表示しつつ、原稿の一部を翻訳して表示することが可能な表示制御プログラムを提供することができる。 According to this aspect, it is possible to provide a display control program capable of translating and displaying a part of a document while sequentially displaying images of a plurality of documents.
この発明のさらに他の局面によれば表示制御プログラムは、原稿を読み取り、画像データを出力する原稿読取手段を備えた原稿読取装置を制御するコンピューターで実行される表示制御プログラムであって、原稿読取手段が出力する画像データを表示手段に表示する画像表示制御ステップと、原稿読取手段が出力する画像データから文字が表された文字領域を決定する文字領域決定ステップと、画像データ中で決定された文字領域の部分を文字認識する文字認識ステップと、文字認識ステップにおいて文字認識して得られる文字列のうちで、画像データ中で対応する部分が所定の特徴を有する文字列部分を決定する対象文字列決定ステップと、決定された文字列部分に含まれる文字列を所定の言語に翻訳する翻訳ステップと、翻訳して得られる翻訳文字列を、画像データと関連付けて表示手段に表示する関連表示制御ステップと、をコンピューターに実行させる。 According to still another aspect of the present invention, a display control program is a display control program executed by a computer that controls a document reading device including a document reading unit that reads a document and outputs image data. An image display control step for displaying the image data output by the means on the display means, a character area determination step for determining a character area representing a character from the image data output by the document reading means, and a determination in the image data A character recognition step for recognizing a character area portion, and a target character for determining a character string portion having a predetermined characteristic in a corresponding portion of image data among character strings obtained by character recognition in the character recognition step A column determination step, a translation step for translating the character string included in the determined character string portion into a predetermined language, and The translated strings to execute the associated display control step of displaying on the display means in association with the image data, to the computer.
この局面に従えば、原稿中の文字列を効率的に翻訳することが可能な表示制御プログラムを提供することができる。 According to this aspect, it is possible to provide a display control program that can efficiently translate a character string in a document.
以下、本発明の実施の形態について図面を参照して説明する。以下の説明では同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
図1は、本発明の実施の形態の1つにおけるMFPの外観を示す斜視図である。図2は、本発明の実施の形態の1つにおけるMFPのハードウェア構成の概要を示すブロック図である。図1および図2を参照して、MFP100は、メイン回路110と、原稿を読み取るための原稿読取部130と、原稿を原稿読取部130に搬送するための自動原稿搬送装置120と、画像形成部140と、画像形成部140に用紙を供給するための給紙部150と、画像が形成された用紙を処理する後処理部155と、ユーザーインターフェースとしての操作パネル160とを含む。
FIG. 1 is a perspective view showing an appearance of an MFP according to one embodiment of the present invention. FIG. 2 is a block diagram showing an outline of the hardware configuration of the MFP according to one embodiment of the present invention. 1 and 2,
自動原稿搬送装置120は、原稿トレイに載置された原稿を、原稿読取部130に供給する。自動原稿搬送装置120は、原稿トレイに複数枚の原稿が載置される場合、複数枚の原稿をさばいて、1枚ずつ順に原稿読取部130に搬送する。
The
原稿読取部130は、CCD(Charge Coupled Device)等の光電変換素子を含み、自動原稿搬送装置120から搬送される原稿を光学的に読取って電子データとしての画像を出力する。
The
画像形成部140は、レーザプリンタであり、原稿読取部130が出力する画像またはHDD115に記憶された画像を、給紙部150から供給される紙などの記録媒体に形成することにより、可視化する。画像形成部140は、カラープリントの場合には、イエロー、マゼンタ、シアン、ブラックの4色のトナーで画像を形成する。なお、画像形成部140は、インクジェットプリンタであってもよい。
The
後処理部155は、画像形成部140により画像が形成された1以上の用紙を並び替えて排紙するソート処理、パンチ穴加工するパンチ処理、ステープル針を打ち込むステープル処理を実行する。
The
メイン回路110は、CPU111と、通信インターフェース(I/F)部112と、ROM113と、RAM114と、大容量記憶装置としてのハードディスクドライブ(HDD)115と、ファクシミリ部116と、CD−ROM118が装着される外部記憶装置117と、を含む。CPU111は、自動原稿搬送装置120、原稿読取部130、画像形成部140、給紙部150、後処理部155および操作パネル160と接続され、MFP100の全体を制御する。
The
ROM113は、CPU111が実行するプログラム、またはそのプログラムを実行するために必要なデータを記憶する。RAM114は、CPU111がプログラムを実行する際の作業領域として用いられる。さらに、RAM114は,設定値記憶領域と設定画面記憶領域とを含む。設定値記憶領域は、処理を実行するための設定値を記憶する領域である。設定画面記憶領域は、表示部161に表示する設定画面の記憶する領域である。また、RAM114は、原稿読取部130から連続的に送られてくる読取データ(画像データ)を一時的に記憶する。
The
通信I/F部112は、MFP100をネットワークに接続するためのインターフェースである。CPU111は、通信I/F部112を介して、ネットワークに接続されたコンピューターとの間で通信し、データを送受信する。また、通信I/F部112は、ネットワークを介してインターネットに接続されたコンピューターと通信が可能である。
Communication I /
ファクシミリ部116は、公衆交換電話網(PSTN)に接続され、PSTNにファクシミリデータを送信する、またはPSTNからファクシミリデータを受信する。ファクシミリ部116は、受信したファクシミリデータを、HDD115に記憶する、または画像形成部140に出力する。画像形成部140は、ファクシミリ部116により受信されたファクシミリデータを用紙にプリントする。また、ファクシミリ部116は、HDD115に記憶されたデータをファクシミリデータに変換して、PSTNに接続されたファクシミリ装置に送信する。
The
外部記憶装置117は、CD−ROM(Compact Disk ROM)118が装着される。CPU111は、外部記憶装置117を介してCD−ROM118にアクセス可能である。CPU111は、外部記憶装置117に装着されたCD−ROM118に記録されたプログラムをRAM114にロードして実行する。なお、CPU111が実行するプログラムを記憶する媒体としては、CD−ROM118に限られず、光ディスク(MO(Magnetic Optical Disc)/MD(Mini Disc)/DVD(Digital Versatile Disc))、ICカード、光カード、マスクROM、EPROM(Erasable Programmable ROM)、EEPROM(Electrically EPROM)などの半導体メモリであってもよい。
The
また、CPU111が実行するプログラムは、CD−ROM118に記録されたプログラムに限られず、HDD115に記憶されたプログラムをRAM114にロードして実行するようにしてもよい。この場合、通信I/F部112を介してネットワークに接続された他のコンピューターが、MFP100のHDD115に記憶されたプログラムを書換える、または、新たなプログラムを追加して書き込むようにしてもよい。さらに、MFP100が、通信I/F部112を介してネットワークに接続された他のコンピューターからプログラムをダウンロードして、そのプログラムをHDD115に記憶するようにしてもよい。ここでいうプログラムは、CPU111が直接実行可能なプログラムだけでなく、ソースプログラム、圧縮処理されたプログラム、暗号化されたプログラム等を含む。
Further, the program executed by the
操作パネル160は、MFP100の上面に設けられる。図3は、操作パネルの一例を示す平面図である。なお、図3中の点線は、操作パネル160中でハードキー部167が配置される領域を示すために付したもので、実際には存在しない。図3を参照して、操作パネル160は、表示部161と操作部163とを含む。表示部161は、例えば、液晶表示装置(LCD)であり、ユーザーに対する指示メニューや取得した画像データに関する情報等を表示する。
操作部163は、タッチパネル165と、ハードキー部167とを含む。タッチパネル165は、表示部161の上面または下面に表示部161に重畳して設けられる。ハードキー部167は、複数のハードキーを含む。ハードキーは、例えば接点スイッチである。タッチパネル165は、表示部161の表示面中でユーザーにより指示された位置を検出する。ユーザーがMFP100を操作する場合は直立した姿勢となる場合が多いので、表示部161の表示面、タッチパネル165の操作面およびハードキー部167は、上方を向いて配置される。ユーザーが表示部161の表示面を容易に視認することができ、ユーザーが指で操作部163を容易に指示することができるようにするためである。
The
図4は、第1の実施の形態におけるMFPが備えるCPUの機能の一例を示すブロック図である。図4に示す機能は、MFP100が備えるCPU111が、ROM113、HDD115、CD−ROM118に記憶された表示制御プログラムを実行することにより、CPU111に形成される機能である。図4を参照して、CPU111は、原稿読取制御部11と、画像表示制御部13と、文字領域決定部15と、文字認識部17と、翻訳部23と、チェック部25と、関連表示制御部27と、位置検出部71と、を含む。
FIG. 4 is a block diagram illustrating an example of the functions of the CPU provided in the MFP according to the first embodiment. The functions shown in FIG. 4 are functions formed in
原稿読取制御部11は、自動原稿搬送装置120および原稿読取部130を制御し、原稿読取部130に原稿を読み取らせ、原稿読取部130が原稿を読み取って出力する画像データを、画像表示制御部13および文字領域決定部15に出力する。原稿読取制御部11は、原稿読取部130に複数枚の原稿を読み取らせる場合、原稿読取部130は複数枚の原稿を1枚ずつ順に読み取る。原稿読取部130は、複数枚の原稿を1枚ずつ読み取った順に複数ページの画像データを出力する。原稿読取制御部11は、原稿読取部130が1枚の原稿に対応する1ページの画像データを出力するごとに、1ページの画像データを画像表示制御部13および文字領域決定部15に出力する。
The document
画像表示制御部13は、原稿読取制御部11から画像データが入力され、表示部161を制御し、原稿読取制御部11から入力された画像データに基づいて、表示部161に表示するための原稿画像を生成し、原稿画像を表示部161に表示する。また、画像表示制御部13は、原稿画像の表示部161の表示面中の位置を、関連表示制御部27に出力する。画像表示制御部13は、原稿読取制御部11から入力される画像データに基づいて、表示部161に表示可能なサイズの原稿画像を生成し、原稿画像を表示部161に表示する。また、画像表示制御部13は、原稿読取制御部11から複数ページの画像データが順に入力される場合、複数ページの画像データにそれぞれ対応する複数ページの原稿画像をそれぞれ第1の時間だけ表示する。第1の時間は、限定するものではないが、原稿読取部130が1枚の原稿を読み取る読取時間よりも長くするのが好ましい。これにより、原稿読取部130が複数ページの原稿を読み取っている間、表示部161に複数ページの原稿にそれぞれ対応する複数ページの原稿画像を順に表示することができる。
The image
位置検出部71は、タッチパネル165を制御し、ユーザーが表示部161の表示面を指示した位置を検出し、検出した位置を指示位置として文字領域決定部15に出力する。
The
文字領域決定部15は、原稿読取制御部11から複数ページの画像データが1つずつ順に入力され、位置検出部71から指示位置が入力される。文字領域決定部15は、位置検出部71から指示位置が入力される直前に原稿読取制御部11から入力されたページの画像データを、処理対象に設定し、処理対象に設定されたページの画像データ中で文字が表された1以上の文字領域を決定する。
The character
さらに、文字領域決定部15は、処理対象に設定されたページの画像データ中で位置検出部71から入力される指示位置で特定される原稿画像中の位置に対応する位置を特定する。文字領域決定部15は、決定された1以上の文字領域のうちから、特定した位置を含む文字領域を処理対象に決定する。換言すれば、処理対象に設定されたページの画像データに含まれる1以上の文字領域のうち、原稿画像中でユーザーにより指示された位置に対応する文字領域を処理対象に決定する。文字領域決定部15は、処理対象に決定された文字領域に対応する画像データの部分と、位置情報とを文字認識部17に出力する。位置情報は、文字領域が、原稿読取制御部11から入力される画像データ中で占める位置を示す。画像データ中の文字領域を決定する処理は周知である。例えば、限定するものではないが、画像データを2値化し、2値化した画像データの黒画素の数を縦横方向それぞれにカウントした射影ヒストグラムの黒画素の度数が多い山を検出することにより文字領域を決定する。
Further, the character
文字認識部17は、文字領域決定部15から入力される画像データ中の文字領域の部分を文字認識し、文字認識して得られる文字列と、文字領域決定部15から入力される位置情報との組を翻訳部23に出力する。画像データ中の文字領域の部分から文字を認識する技術は周知である。例えば、限定するものではないが、パターンマッチング技術を用いることができる。
The
翻訳部23は、文字認識部17から文字列と位置情報との組が入力されることに応じて、文字列を、予め定められた言語に翻訳する。翻訳前の言語と翻訳後の言語とを予め定めておき、文字認識部17から入力される文字列が、翻訳前の言語として予め定められている場合に、その文字列を、翻訳後の言語として予め定められた言語に翻訳する。翻訳部23は、文字認識部17から入力される文字列を翻訳した文字列である翻訳文字列と、位置情報との組をチェック部25に出力する。
The
チェック部25は、翻訳部23から翻訳文字列と、位置情報との組が入力され、翻訳文字列が正しく翻訳されているか否かを判断する。翻訳が正しいか否かを判断する技術は周知なのでここでは説明を繰り返さないが、例えば、翻訳部23から文字認識部17から入力される翻訳文字列の文法をチェックし、文法が正しいか否かを判断する。チェック部25は、翻訳文字列と、位置情報と、チェック結果との組を、関連表示制御部27に出力する。
The
関連表示制御部27は、画像表示制御部13から原稿画像の表示部161の表示面中の位置が入力され、チェック部25から翻訳文字列と位置情報とチェック結果との組が入力される。関連表示制御部27は、翻訳文字列の画像を文字列画像として原稿画像に関連付けて表示部161に第2の時間表示する。第2の期間は、原稿画像が表示される第1の期間より短くするのが好ましい。文字列画像は、原稿画像が表示されるよりも後に生成されるからである。関連表示制御部27は、文字列画像を表示してからの経過時間を画像表示制御部13に出力する。関連表示制御部27は、複数の文字列画像を表示する場合、複数の文字列画像のうち最後に表示された文字列画像が表示されてからの経過時間を画像表示制御部13に出力する。
The related
関連表示制御部27は、誤訳時非表示部51と、並列表示部53と、重畳表示部55と、を含む。関連表示制御部27は、並列表示部53と、重畳表示部55とのいずれか一方を有効に機能させる。並列表示部53と、重畳表示部55とのいずれを機能させるかは、ユーザーにより予め定められた設定に従うようにすればよい。
The related
誤訳時非表示部51は、チェック部25から入力されるチェック結果が、文法が正しくないと判断されたことを示す場合、文字列画像を表示しない。具体的には、誤訳時非表示部51は、チェック部25から入力されるチェック結果が、文法が正しいことを示す場合のみ、並列表示部53および重畳表示部55に表示指示を出力し、チェック部25から入力されるチェック結果が、文法が正しくないことを示す場合は、並列表示部53および重畳表示部55に表示指示を出力しない。表示指示は、チェック結果と組になる位置情報を含む。
The
並列表示部53は、第1文字列画像生成部61と、第1サイズ決定部63と、対応部分指示部65と、を含む。第1サイズ決定部63は、文字列画像のサイズを、原稿画像のサイズを基準にして決定する。例えば、表示部161に1つの原稿画像を表示する場合、表示部161の表示面中で原稿画像以外の余白領域を決定し、文字列画像のサイズを、余白領域以下のサイズに決定する。
The
第1文字列画像生成部61は、サイズ決定部63によって決定されたサイズで、チェック部25から入力される翻訳文字列の画像を、文字列画像として生成する。第1文字列画像生成部61は、文字列画像と原稿画像とを同時に表示する。第1文字列画像生成部61は、文字列画像と原稿画像とを、それらが重ならない位置に、並べて表示する。文字列画像を、原稿画像に並べる方向は、原稿画像の上下左右のいずれの方向であってもよい。また、第1文字列画像生成部61は、文字列画像が、原稿画像中の位置情報で特定される位置に対応することを示すために、余白領域中で原稿画像中の位置情報で特定される位置から最も近い位置に文字列画像を配置する。
The first character string
対応部分指示部65は、原稿画像中で、位置情報により特定される文字領域に対応する領域に識別画像を合成する。識別画像は、原稿画像中の文字領域に対応する領域を囲む線である。また、識別画像は、原稿画像中の文字領域に対応する領域内を単色で表した画像であってもよい。これにより、文字領域に対応する領域に識別画像が合成されるので、原稿画像中で文字列画像に対応する領域をユーザーに通知することができる。また、文字列画像が複数の場合であっても、複数の文字列画像それぞれに対応する領域に識別画像が合成されるので、複数の文字列画像それぞれに対して原稿画像中で対応する部分をユーザーに通知することができる。
The corresponding
重畳表示部55は、第2文字列画像生成部67と、第2サイズ決定部68と、を含む。第2サイズ決定部68は、文字列画像のサイズを、原稿画像中の特徴領域に対応する部分のサイズに決定する。
The superimposed
第2文字列画像生成部67は、第2サイズ決定部68によって決定されたサイズで、チェック部25から入力される翻訳文字列の画像を、文字列画像として生成する。第2文字列画像生成部67は、文字列画像を原稿画像に重畳して表示する。このため、原稿画像の特定領域に対応する部分が文字列画像によって置き換えられる。
The second character string
画像表示制御部13は、表示期間延長部14を含む。画像表示制御部13は、原稿画像を第1の期間表示するが、関連表示制御部27から入力される経過時間が第2の期間経過する前に第1の時間が経過する場合がある。関連表示制御部27により文字列画像が表示されるタイミングが、原稿画像が表示されるタイミングよりも後だからである。表示期間延長部14は、原稿画像を表示してから第1の期間が経過する場合であっても、関連表示制御部27から入力される経過時間が第2の期間に満たない場合、関連表示制御部27から入力される経過時間が第2の期間を超えるまで、原稿画像を表示する期間を延長する。これにより、関連表示制御部27によって表示される文字列画像を、少なくとも第2の期間表示することができる。
The image
図5は、表示制御処理の流れの一例を示すフローチャートである。表示制御処理は、MFP100が備えるCPU111が、ROM113、HDD115、CD−ROM118に記憶された制御プログラムを実行することにより、CPU111により実行される処理である。図5を参照して、CPU111は、スキャン指示を受け付けたか否かを判断する(ステップS01)。ユーザーが操作部163に原稿の読み取りを指示する操作を入力すると、スキャン指示を受け付ける。例えば、操作部163か備えるハードキー部167が有する複数のハードキーのうち、原稿の読み取りを指示する操作が割り当てられたキー、例えばスタートキーが指示されると、スキャン指示を受け付ける。スキャン指示を受け付けるまで待機状態となり(ステップS01でNO)、スキャン指示を受け付けると(ステップS01でYES)、処理をステップS02に進める。
FIG. 5 is a flowchart illustrating an example of the flow of display control processing. The display control process is a process executed by
ステップS02においては、原稿の読み取りを開始する。自動原稿搬送装置120および原稿読取部130を制御して、自動原稿搬送装置120により搬送される原稿を原稿読取部130に読み取らせる。自動原稿搬送装置120に複数枚の原稿が置かれる場合、自動原稿搬送装置120は、複数枚の原稿を1枚ずつ原稿読取部130に搬送するので、原稿読取部130は、1枚の原稿を読み取るごとに1つの画像データを出力する。
In step S02, reading of a document is started. The
ステップS03においては、関連情報表示指示を受け付けたか否かを判断する。関連情報表示指示を受け付けたならば処理をステップS04に進めるが、そうでなければ処理をステップS06に進める。ユーザーが操作部163に関連情報の表示を指示する操作を入力すると、関連情報表示指示を受け付ける。例えば、操作部163か備えるハードキー部167が有する複数のハードキーのうち、関連情報の表示を指示する操作が割り当てられたキーが指示されると、関連情報表示指示を受け付ける。
In step S03, it is determined whether a related information display instruction has been accepted. If a related information display instruction is accepted, the process proceeds to step S04; otherwise, the process proceeds to step S06. When the user inputs an operation to instruct display of related information to the
ステップS04においては、翻訳言語を設定する。翻訳前の言語と、翻訳後の言語とを設定する。例えば、英語を日本語に翻訳する場合、翻訳前の言語に英語を設定し、翻訳後の言語に日本語を設定する。翻訳言語は、設定画面を表示部161に表示し、ユーザーが操作部163に入力する操作に従って設定するようにしても良いし、予めデフォルトの値として設定しておくようにしても良い。
In step S04, a translation language is set. Set the language before translation and the language after translation. For example, when English is translated into Japanese, English is set as the language before translation, and Japanese is set as the language after translation. The translation language may be set according to an operation input by the user to the
ステップS05においては、関連情報表示モードに設定し、処理をステップS06に進める。ステップS06においては、ステップS02において開始した原稿読み取り処理が完了したか否かを判断する。自働原稿搬送装置120に置かれた複数枚の原稿のすべてが原稿読取部130によって読み取られた場合に、原稿読み取り処理が終了したと判断する。原稿読取処理が終了していなければ処理をステップS03に戻し、原稿読取処理が終了したならば処理を終了する。
In step S05, the related information display mode is set, and the process proceeds to step S06. In step S06, it is determined whether or not the document reading process started in step S02 is completed. When all of a plurality of documents placed on
図6は、第1の実施の形態におけるプレビュー表示制御処理の流れの一例を示すフローチャートである。プレビュー表示制御処理は、MFP100が備えるCPU111が、ROM113、HDD115、CD−ROM118に記憶された表示制御プログラムを実行することにより、CPU111により実行される処理である。プレビュー表示制御処理は、図5に示した表示制御処理と並列に実行される。
FIG. 6 is a flowchart illustrating an example of a preview display control process according to the first embodiment. The preview display control process is a process executed by
図6を参照して、CPU111は、原稿読取部130が出力する画像データを取得したか否かを判断する(ステップS11)。原稿読取部130が出力する画像データを取得するまで待機状態となり(ステップS11でNO)、画像データを取得すると(ステップS11でYES)、処理をステップS12に進める。
Referring to FIG. 6,
ステップS12においては、原稿画像を表示部161に表示し、処理をステップS13に進める。ステップS11において原稿読取部130から取得された画像データを原稿画像に変換し、原稿画像を表示部161に表示する。原稿画像は、原稿読取部130が出力する画像データから表示部161に表示可能なサイズで生成した画像である。
In step S12, the document image is displayed on
ステップS13においては、タイマーET1をリセットする。タイマーET1は、原稿画像を表示してからの時間を計時する。タイマーET1の値は、原稿画像を表示してからの経過時間を示す。次のステップS14においては、指示位置を検出したか否かを判断する。タッチパネル165を制御し、ユーザーが表示部161の表示面を指示した位置を指示位置として検出する。指示位置を検出したならば処理をステップS15に進めるが、そうでなければ処理をステップS23に進める。ステップS23においては、タイマーET1の値がしきい値ETH1以上か否かを判断する。タイマーET1の値がしきい値ETH1以上ならば処理をステップS11に戻すが、そうでなければ処理をステップS14に戻す。
In step S13, the timer ET1 is reset. The timer ET1 measures the time after displaying the document image. The value of the timer ET1 indicates an elapsed time after displaying the document image. In the next step S14, it is determined whether or not the indicated position has been detected. The
ステップS15においては、関連情報表示処理を実行し、処理をステップS16に進める。関連情報表示処理の詳細は後述するが、原稿画像中でユーザーにより指示された位置の部分を翻訳した翻訳文字列の画像を表示する処理である。ステップS16においては、タイマーET2をリセットし、処理をステップS17に進める。タイマーET2は、翻訳文字列の画像を表示してからの時間を計時する。タイマーET2の値は、翻訳文字列の画像を表示してからの経過時間を示す。 In step S15, a related information display process is executed, and the process proceeds to step S16. Although the details of the related information display process will be described later, it is a process of displaying an image of a translated character string obtained by translating a portion at a position designated by the user in a document image. In step S16, timer ET2 is reset and the process proceeds to step S17. The timer ET2 measures the time after displaying the translated character string image. The value of the timer ET2 indicates the elapsed time after displaying the translated character string image.
ステップS17においては、タイマーET1の値がしきい値ETH1以上か否かを判断する。タイマーET1の値がしきい値ETH1以上になるまで待機状態となり(ステップS17でNO)、タイマーET1の値がしきい値ETH1以上になると(ステップS17でYES)、処理をステップS18に進める。ステップS18においては、タイマーET2の値がしきい値ETH2以上か否かを判断する。タイマーET2の値がしきい値ETH2以上になるまで待機状態となり(ステップS18でNO)、タイマーET2の値がしきい値ETH2以上になると(ステップS18でYES)、処理をステップS11に戻す。 In step S17, it is determined whether the value of timer ETI is equal to or greater than threshold value ETH1. The process waits until the value of timer ETI is equal to or greater than threshold value ETH1 (NO in step S17), and when the value of timer ETH is equal to or greater than threshold value ETH1 (YES in step S17), the process proceeds to step S18. In step S18, it is determined whether or not the value of timer ETH2 is equal to or greater than threshold value ETH2. The process waits until the value of timer ETH is equal to or greater than threshold value ETH2 (NO in step S18), and when the value of timer ETH is equal to or greater than threshold value ETH2 (YES in step S18), the process returns to step S11.
図7は、第1の実施の形態における関連情報表示処理の流れの一例を示すフローチャートである。第1の実施の形態における関連情報表示処理は、図6に示した第1の実施の形態におけるプレビュー表示制御処理のステップS15において実行される処理である。プレビュー表示制御処理が実行される前の段階で、原稿読取部130が原稿を読み取って出力する画像データが取得されており、原稿画像中でユーザーにより指示された指示位置が検出されている。プレビュー表示制御処理が実行される前の段階で取得される画像データは、原稿読取部130が原稿を読み取って出力する画像データであって、対応する原稿画像中の位置がユーザーにより指示された画像である。
FIG. 7 is a flowchart illustrating an example of the flow of related information display processing according to the first embodiment. The related information display process in the first embodiment is a process executed in step S15 of the preview display control process in the first embodiment shown in FIG. Before the preview display control process is executed, the image data output by the
図7を参照して、CPU111は、原稿読取部130が出力する画像データ中の文字領域を決定する(ステップS31)。原稿読取部130が原稿を読み取って出力する画像データを、処理対象に設定し、処理対象に設定された画像データ中で文字が表された1以上の文字領域を決定する。次のステップS32においては、1以上の文字領域のうちから原稿画像中でユーザーにより指示された位置に対応する文字領域を決定する。具体的には、原稿読取部130が原稿を読み取って出力する画像データ中で、原稿画像中でユーザーにより指示された指示位置で特定される原稿画像中の位置に対応する位置を含む文字領域を決定する。
Referring to FIG. 7,
次のステップS33においては、原稿読取部130が原稿を読み取って出力する画像データ中で、ステップS32において決定された文字領域の部分を文字認識する。そして、ステップS34においては、文字認識された文字列を翻訳する。文字列を翻訳して得られる文字列を翻訳文字列という。
In the next step S33, the portion of the character area determined in step S32 is recognized in the image data output by the
次のステップS35においては、翻訳文字列の文法をチェックする。そして、文法をチェックした結果が正常か否かを判断する。文法チェックの結果が正常であるならば処理をステップS37に進めるが、そうでなければ処理を、プレビュー表示制御処理に戻す。ステップS37においては、関連表示モードによって処理を分岐させる。関連表示モードが並列表示モードに設定されていれば処理をステップS38に進め、関連表示モードが重畳表示モードに設定されていれば処理をステップS39に進める。ステップS38においては、第1の実施の形態における並列表示処理を実行し、処理をプレビュー表示制御処理に戻す。ステップS39においては、第1の実施の形態における重畳表示処理を実行し、処理をプレビュー表示制御処理に戻す。 In the next step S35, the grammar of the translated character string is checked. Then, it is determined whether the result of checking the grammar is normal. If the result of the grammar check is normal, the process proceeds to step S37; otherwise, the process returns to the preview display control process. In step S37, the process branches depending on the related display mode. If the related display mode is set to the parallel display mode, the process proceeds to step S38. If the related display mode is set to the superimposed display mode, the process proceeds to step S39. In step S38, the parallel display process in the first embodiment is executed, and the process returns to the preview display control process. In step S39, the superimposed display process in the first embodiment is executed, and the process returns to the preview display control process.
図8は、第1の実施の形態における並列表示処理の流れの一部を示すフローチャートである。並列表示処理は、図7のステップS38において実行される処理である。図8を参照して、CPU111は、文字列画像のサイズを決定する(ステップS71)。文字列画像は、次のステップS72において生成される画像である。文字列画像のサイズを、原稿画像のサイズを基準にして決定する。例えば、表示部161に1つの原稿画像を表示する場合、表示部161の表示面中で原稿画像以外の余白領域を決定し、翻訳文字列の画像のサイズを、余白領域以下のサイズに決定する。
FIG. 8 is a flowchart showing a part of the flow of parallel display processing in the first embodiment. The parallel display process is a process executed in step S38 in FIG. Referring to FIG. 8,
次のステップS72においては、文字列画像を生成する。ステップS71において決定されたサイズで、図7に示した関連情報表示処理のステップS34において翻訳して得られる翻訳文字列の画像を文字列画像として生成する。次のステップS73においては、生成された文字列画像を、原稿画像と重ならない位置に並べて表示する。文字列画像が、原稿画像中でユーザーにより指示された指示位置で特定される位置に対応することを示すために、原稿画像中の指示位置で特定される位置から最も近い位置に文字列画像を配置するのが好ましい。 In the next step S72, a character string image is generated. An image of the translated character string obtained by translating in step S34 of the related information display process shown in FIG. 7 with the size determined in step S71 is generated as a character string image. In the next step S73, the generated character string images are displayed side by side at positions that do not overlap the document image. In order to indicate that the character string image corresponds to the position specified at the indicated position instructed by the user in the document image, the character string image is positioned closest to the position specified at the indicated position in the document image. It is preferable to arrange.
次のステップS74においては、識別画像を原稿画像に合成し、処理を関連情報表示処理に戻す。原稿画像中の領域であって、図7に示した関連情報表示処理のステップS32において選択された文字領域に対応する領域に識別画像を合成する。識別画像は、原稿画像中で文字領域に対応する領域を囲む線である。また、識別画像は、原稿画像中で文字領域に対応する領域内を単色で表した画像であってもよい。文字領域に対応する領域に識別画像が合成されるので、原稿画像中で文字列画像に対応する領域をユーザーに通知することができる。 In the next step S74, the identification image is combined with the document image, and the process returns to the related information display process. The identification image is combined with an area in the original image corresponding to the character area selected in step S32 of the related information display process shown in FIG. The identification image is a line surrounding the area corresponding to the character area in the document image. Further, the identification image may be an image in which the area corresponding to the character area in the document image is represented by a single color. Since the identification image is synthesized with the area corresponding to the character area, the user can be notified of the area corresponding to the character string image in the document image.
図9は、第1の実施の形態における重畳表示処理の流れの一部を示すフローチャートである。第1の実施の形態における重畳表示処理は、図7のステップS39において実行される処理である。図9を参照して、CPU111は、文字列画像のサイズを決定する(ステップS71A)。文字列画像は、次のステップS72Aにおいて生成される画像である。文字列画像のサイズを、表示部161に表示されている原稿画像中で、図7に示した関連情報表示処理のステップS32において選択された文字領域に対応する領域と同じサイズに決定する。
FIG. 9 is a flowchart showing a part of the flow of the superimposed display process in the first embodiment. The superimposed display process in the first embodiment is a process executed in step S39 in FIG. Referring to FIG. 9,
次のステップS72Aにおいては、文字列画像を生成する。ステップS71Aにおいて決定されたサイズで、図7に示した関連情報表示処理のステップS34において翻訳して得られる翻訳文字列の画像を文字列画像として生成する。次のステップS73Aにおいては、原稿画像に文字列画像を合成し、処理を関連情報表示処理に戻す。ステップS72Aにおいて生成された文字列画像で、表示部161に表示されている原稿画像中で文字領域に対応する領域の画像を置き換える。これにより、表示部161に表示されている原稿画像の文字領域に対応する領域に文字列画像が合成されるので、原稿画像中に文字列画像が重畳して表示され、文字列画像の領域をユーザーに通知することができる。
In the next step S72A, a character string image is generated. An image of the translated character string obtained by translating in step S34 of the related information display processing shown in FIG. 7 with the size determined in step S71A is generated as a character string image. In the next step S73A, the character string image is synthesized with the document image, and the process returns to the related information display process. The character string image generated in step S72A replaces the image in the region corresponding to the character region in the document image displayed on the
図10は、原稿画像を含むプレビュー画面の一例を示す第1の図である。図10を参照して、プレビュー画面300は、原稿画像301を含む。原稿画像301は、日本語の文字が表された画像であり、3つの文字列領域303,305,307を含む。なお、図中の点線は、文字列領域303,305,307を示すために付したもので、実際には存在しない。プレビュー画面300は、原稿画像301が表示されてから第1の期間の間表示される。
FIG. 10 is a first diagram illustrating an example of a preview screen including a document image. Referring to FIG. 10,
図11は、並列表示モードにおいて原稿画像に文字列画像を追加したプレビュー画面の一例を示す第1の図である。図11に示すプレビュー画面310は、図10に示したプレビュー画面300の原稿画像301中の文字領域303がユーザーにより指示された後に、表示部161に表示される。図11を参照して、プレビュー画面310は、原稿画像301と、文字列画像313と、を含む。文字列画像313は、原稿画像301の文字領域303に含まれる文字列を翻訳した翻訳文字列から生成した画像である。また、原稿画像301は、識別画像303Aを含む。識別画像303Aは、文字領域303を囲む矩形の画像である。プレビュー画面310を見るユーザーは、文字列画像313から翻訳文字列を視認することができる。また、識別画像303Aから、文字列画像313に含まれる翻訳文字列が、原稿画像301内の文字領域303内の文字列を翻訳した文字列であることを認識することができる。
FIG. 11 is a first diagram illustrating an example of a preview screen in which a character string image is added to a document image in the parallel display mode. The
図12は、重畳モードにおいて原稿画像に文字列画像を追加したプレビュー画面の一例を示す第1の図である。図12に示すプレビュー画面310は、図9に示したプレビュー画面300の原稿画像301中の文字領域303がユーザーにより指示された後に、表示部161に表示される。図12を参照して、プレビュー画面320は、図9に示したプレビュー画面300の原稿画像301中の文字領域303に代えて文字列画像313Aを配置した原稿画像301Aを含む。原稿画像301Aは、文字列画像313Aと、2つの文字領域305,307を含む。文字列画像313Aは、原稿画像301中の文字領域303と同じサイズであり、原稿画像301の文字領域303に含まれる文字列を翻訳した翻訳文字列から生成した画像である。
FIG. 12 is a first diagram illustrating an example of a preview screen in which a character string image is added to a document image in the superposition mode. The
プレビュー画面320を見るユーザーは、文字列画像313Aから翻訳文字列を視認することができるとともに、文字列画像313Aが原稿画像301Aに配置される位置から文字列画像313に含まれる翻訳文字列が、原稿画像301内の文字領域303内の文字列を翻訳した文字列であることを認識することができる。
The user viewing the
<第1の変形例>
第1の実施の形態においては、複数枚の原稿を順に読み取り、読み取って得られる複数の画像データを読み取った順に原稿画像として表示部161に第1の期間だけ表示する。そして、画像データに含まれる1以上の文字領域のうち、表示部161に表示される原稿画像中でユーザーが指示した位置に対応する文字領域に含まれる文字列を翻訳する。
<First Modification>
In the first embodiment, a plurality of documents are read in order, and a plurality of image data obtained by reading are displayed on the
複数の原稿画像が1つずつ順に第1の期間表示されている最中に、ユーザーが指示した時点で表示されている原稿画像を、第1の期間より長い時間表示するようにしてもよい。また、表示部161に複数の原稿画像を表示する場合、例えば、2つの画像を表示することが可能な場合、複数の原稿画像それぞれを第1の期間表示するようにしてもよい。具体的には、第1ページの原稿画像を表示部161に表示し、第1ページの原稿画像を表示してから第1の期間の1/2が経過した時点で、第2ページの原稿画像を表示部161に表示する。この段階で、第1ページの原稿画像と第2ページの原稿画像とが表示部161に表示される。その後、第1ページの原稿画像を表示してから第1の期間が経過した時点で、第1ページの原稿画像の表示を終了し、第3ページの原稿画像を表示する。このように、第nページの原稿画像を表示してから第1の期間の1/2が経過した時点で、第(n+1)ページの原稿画像を表示し、第nページの原稿画像を表示してから第1の期間が経過した時点で、第nページの原稿画像の表示を終了し、第(n+2)ページの原稿画像を表示する。この場合に、第nページの原稿画像がユーザーにより指示されると、指示された文字領域に含まれる文字列を翻訳した翻訳文字列を、第nページの原稿画像に関連付けて表示する。また、第nページの原稿画像を、第1の期間より長い期間、表示するようにしてもよい。
While a plurality of document images are displayed one by one in order for the first period, the document image displayed at the time pointed by the user may be displayed for a longer time than the first period. When a plurality of document images are displayed on the
以上説明したように、第1の実施の形態におけるMFP100は、原稿読取装置として機能し、複数ページの原稿を連続して読み取って得られる複数ページの画像データそれぞれの原稿画像を第1の期間ずつ表示し、複数ページのいずれかの画像データが表示されている間に、表示しているページの画像データ中でユーザーにより指示された位置が検出されることに応じて、画像データ中で検出された位置を含む文字領域の部分を文字認識し、文字認識された文字列を所定の言語に翻訳し、翻訳された翻訳文字列を、原稿画像と関連付けて表示する。このため、表示されている原稿画像中でユーザーにより指示された位置を含む文字領域の画像を文字認識し、翻訳するので、文字認識および翻訳の処理量を少なくすることができ、処理時間を短くすることができる。したがって、複数枚の原稿の画像を順に表示しつつ、原稿の一部を翻訳して表示することができる。
As described above,
また、MFP100は、翻訳文字列の画像を、原稿画像に対して所定の相対位置に、表示された画像のサイズに対して相対的に定まるサイズで表示する。例えば、並列表示モードの場合には、翻訳文字列の画像を、原稿画像以外の余白領域以下のサイズで、余白領域内に翻訳文字列が対応する文字領域に最も近い位置に配置する。また、重畳表示モードの場合には、翻訳文字列の画像のサイズを翻訳文字列が対応する文字領域のサイズと同じにし、翻訳文字列の画像を文字列領域に重畳して表示する。このため、翻訳された文字列が画像中で対応する部分をユーザーに通知することができる。
In addition, the
また、MFP100は、複数ページの原稿を連続して読み取って出力される複数ページの画像データを、それらが出力される順に、それぞれを第1の期間ずつ原稿画像として表示する場合に、原稿画像が表示されている間に、その原稿画像中の一部を翻訳した文字列を表示することができる。
In addition, when the
また、MFP100は、翻訳文字列の画像が表示されてから第2の期間が経過する前に、原稿画像が表示されてから第1の期間が経過する場合、第2の期間が経過するまで原稿画像を表示するので、翻訳文字列の画像を少なくとも第2の期間表示することができる。
In addition, when the first period elapses after the document image is displayed before the second period elapses after the translation character string image is displayed, the
<第2の実施の形態>
第2の実施の形態におけるMFP100の外観およびハードウェア構成は、図1または図2にそれぞれ示した第1の実施の形態におけるMFP100の外観およびハードウェア構成と同じである。したがって、ここでは説明を繰り返さない。
<Second Embodiment>
The appearance and hardware configuration of
図13は、第2の実施の形態におけるMFPが備えるCPUの機能の一例を示すブロック図である。図13に示す機能が、図4に示した機能と異なる点は、文字領域決定部15、文字認識部17、翻訳部23および関連表示制御部27が、文字領域決定部15A、文字認識部17A、翻訳部23Aおよび関連表示制御部27Aにそれぞれ変更された点、特徴領域決定部19、対象文字列決定部21、および計時部29が追加された点である。その他の機能は、図4に示した機能と同じなので、ここでは説明を繰り返さない。
FIG. 13 is a block diagram illustrating an example of the functions of the CPU provided in the MFP according to the second embodiment. The function shown in FIG. 13 is different from the function shown in FIG. 4 in that the character
文字領域決定部15Aは、原稿読取制御部11から画像データが入力され、画像データ中で文字が表された文字領域を決定する。文字領域決定部15Aは、画像データの文字領域の部分と、位置情報とを文字認識部17Aおよび特徴領域決定部19に出力する。位置情報は、文字領域が、原稿読取制御部11から入力される画像データ中で占める位置を示す。画像データ中の文字領域を決定する処理は周知なので、ここでは説明を繰り返さない。文字領域決定部15は、1ページの画像データから複数の文字領域を決定する場合、1ページごとに文字領域の部分と位置情報との組を文字領域の数だけ文字認識部17Aおよび特徴領域決定部19に出力する。
The character
文字認識部17Aは、文字領域決定部15Aから入力される画像データ中の文字領域の部分を文字認識し、文字認識して得られる文字列と、文字領域と組になる位置情報との組を翻訳部23Aおよび対象文字列決定部21に出力する。画像中に存在する文字を認識する技術は周知なので、ここでは説明を繰り返さない。文字認識部17Aは、文字領域決定部15Aから画像データ中の文字領域の部分と位置情報との組が複数入力される場合、複数の組ごとに、画像データ中の文字領域の部分を文字認識し、文字認識して得られる文字列と、文字領域と組になる位置情報との組を翻訳部23Aおよび対象文字列決定部21に出力する。文字認識部17Aは、文字領域決定部15Aから画像データ中の文字領域の部分と位置情報との組が複数入力される場合、文字列と位置情報との組を文字領域決定部15Aから入力される組の数だけ翻訳部23Aおよび対象文字列決定部21に出力する。
The
特徴領域決定部19は、文字領域決定部15から画像データ中の文字領域の部分と位置情報との組が入力される。特徴領域決定部19は、文字領域決定部15から入力される画像データ中の文字領域の部分に基づいて特徴領域を決定する。特徴領域は、画像データ中の文字領域の部分に含まれる文字または、文字以外の部分である背景が、他の文字または背景と異なる文字または背景の領域である。特徴領域決定部19は、特徴領域を決定する場合、決定された特徴領域を特定する特徴領域情報と位置情報との組を対象文字列決定部21および関連表示制御部27Aに出力する。特徴領域決定部19は、特徴領域を決定しない場合、特徴領域を決定しなかったことを示す情報と位置情報との組を対象文字列決定部21および関連表示制御部27Aに出力する。特徴領域情報は、画像データ中の文字領域の部分に含まれる文字列中で、特徴領域に含まれる文字の位置を示す。特徴領域決定部19は、文字領域ごとに特徴領域を決定し、決定した特徴領域を特定する特徴領域情報と位置情報との組を、対象文字列決定部21および関連表示制御部27に出力する。特徴領域決定部19は、1つの文字領域の画像から複数の特徴領域を決定する場合、複数の特徴領域それぞれの特徴領域情報と位置情報との組を対象文字列決定部21および関連表示制御部27に出力する。
The feature
特徴領域決定部19は、文字基準決定部31と、背景基準決定部33と、を含む。文字基準決定部31は、画像データ中の文字領域の部分で他の文字とフォント、色、サイズおよび線の太さの少なくとも1つが異なる文字を含む領域を特徴領域に決定する。具体的には、文字基準決定部31は、画像データ中の文字領域の部分に含まれる複数の文字を抽出する。さらに、文字基準決定部31は、抽出された複数の文字それぞれのフォントを決定する。文字基準決定部31は、複数の文字それぞれに対して決定されたフォントを用いて、フォントが同じ文字の数が最小の文字を、他の文字とフォントが異なる文字に決定し、文字領域中で他の文字とフォントが異なる文字を含む部分を特徴領域に決定する。なお、文字認識部17Aにおいてフォントが決定される場合には、文字認識部17Aにおいて決定されたフォントを用いるようにしてもよい。
The feature
また、文字基準決定部31は、抽出された複数の文字それぞれの色を決定する。文字基準決定部31は、複数の文字それぞれに対して決定された色が所定の色と異なる色の文字を、他の文字と色が異なる文字に決定し、文字領域中で他の文字と色が異なる文字を含む部分を特徴領域に決定する。所定の色は、予め定められた色であり、例えば黒色である。また、文字基準決定部31は、複数の文字それぞれに対して決定された色を用いて、色が同じ文字の数が最小の文字を、他の文字と色が異なる文字に決定するようにしてもよい。
Further, the character
また、文字基準決定部31は、抽出された複数の文字それぞれのサイズを決定する。文字基準決定部31は、複数の文字それぞれに対して決定されたサイズを用いて、他の文字よりもサイズの大きな文字を決定し、文字領域中で他の文字よりも大きなサイズに決定された文字を含む部分を特徴領域に決定する。
Further, the character
また、文字基準決定部31は、抽出された複数の文字それぞれの線の太さを決定する。文字基準決定部31は、複数の文字それぞれに対して決定された線の太さを用いて、他の文字よりも線の太い文字を決定し、文字領域中で他の文字よりも線の太い文字を含む部分を特徴領域に決定する。
Moreover, the character reference |
背景基準決定部33は、画像データ中の文字領域の部分のうち背景が他の文字と異なる文字を含む部分を特徴部分に決定する。背景基準決定部33は、文字の背景に予め定められた形状の画像を含む文字の部分を特徴部分に決定する。予め定められた形状は、例えば下線、矩形の線である。具体的には、背景基準決定部33は、文字領域の画像中に含まれる複数の文字を抽出する。背景基準決定部33は、抽出された複数の文字のうち背景部分に線を含む文字を決定し、文字領域中で背景部分に線が付された文字を含む部分を特徴領域に決定する。
The background
また、背景基準決定部33は、文字の背景の色が他の文字の背景の色と異なる文字の部分を特徴部分に決定する。背景基準決定部33は、抽出された複数の文字それぞれの背景部分の色を決定し、複数の文字それぞれの背景の色が所定の色と異なる色の文字を、他の文字と背景の色が異なる文字に決定し、文字領域中で他の文字と背景の色が異なる文字を含む部分を特徴領域に決定する。所定の色は、予め定められ他色であり、例えば、白色である。また、文字基準決定部31は、複数の文字それぞれに対して決定された背景の色を用いて、背景の色が同じ文字の数が最小の文字を、他の文字と背景の色が異なる文字に決定するようにしてもよい。
In addition, the background
対象文字列決定部21は、文字認識部17Aから文字列と位置情報との組が入力され、特徴領域決定部19から特徴領域情報と位置情報との組、または特徴領域を決定しなかったことを示す情報と位置情報との組が入力される。位置情報は、文字領域の位置を示し、原稿読取制御部11が原稿読取部130に原稿を読み取らせて得られる画像データ中で文字領域が占める領域を示す。対象文字列決定部21は、文字認識部17から入力される文字列と組になる位置情報と同じ位置情報と組になる特徴領域情報を特定し、文字認識部17から入力される文字列のうち特徴領域情報で特定される文字列を対象文字列に決定する。対象文字列決定部21は、対象文字列と位置情報との組を翻訳部23Aに出力する。対象文字列決定部21は、文字認識部17から入力される文字列と組になる位置情報と同じ位置情報と特徴領域を決定しなかったことを示す情報とが組になる場合、その位置情報に対して対象文字列を決定しない。対象文字列決定部21は、対象文字列を決定しない場合は、対象文字列を決定しなかったことを示す情報と位置情報との組を翻訳部23Aに出力する。
The target character
対象文字列決定部21は、既定文字列除外部41と、同一文字列除外部43と、を含む。既定文字列除外部41は、文字認識部17から入力される文字列のうち特徴領域情報で特定される文字列が予め定められた文字列の場合は、その文字列を対象文字列に決定しない。対象文字列に決定しないように予め定められた文字列は、例えば、文章の見出しの順番を示すために使用される文字であり、見出しの順番を示す数字と組み合わせて用いられる文字列である。具体的には、「項目」の文字列、「章」の文字である。対象文字列に決定しないように予め定められた文字列は、ユーザーにより予め設定されていてもよい。既定文字列除外部41は、文字認識部17から入力される文字列のうち特徴領域情報で特定される文字列が予め定められた文字列の場合には、その文字列を翻訳部23Aに出力しない。
The target character
同一文字列除外部43は、原稿読取制御部11が出力する複数ページの画像のうち、処理済のページの画像データに基づいて対象文字列に決定された文字列と同一の文字列を、対象文字列に決定しない。同一文字列除外部43は、対象文字列に決定された文字列の履歴を記憶しておき、文字認識部17から入力される文字列のうち特徴領域に含まれる文字列を、履歴に含まれる対象文字列と比較し、履歴に含まれる対象文字列と同一の場合には、その文字列を翻訳部23Aに出力しない。
The same character
翻訳部23Aは、文字認識部17Aから文字列と位置情報との組が入力され、対象文字列決定部21から対象文字列と位置情報との組または、対象文字列を決定しなかったことを示す情報と位置情報との組が入力される。文字認識部17Aから入力される文字列は、位置情報で特定される文字領域に含まれる文字列である。翻訳部23Aは、対象文字列決定部21から対象文字列と位置情報との組が入力される場合、対象文字列を、予め定められた言語に翻訳する。翻訳前の言語と翻訳後の言語とを予め定めておき、文字認識部17Aから入力される文字列が、翻訳前の言語として予め定められている場合に、その文字列を、翻訳後の言語として予め定められた言語に翻訳する。
The
翻訳部23Aは、前後参照部47を含む。前後参照部47は、対象文字列決定部21から対象文字列と位置情報との組が入力される場合、その位置情報で特定される文字領域に含まれる文字列を翻訳し、翻訳後の文字列のうちから、同じ位置情報と組になる対象文字列に対応する部分を翻訳文字列に決定する。対象文字列は、文字認識部17から入力される文字列、換言すれば、位置情報で特定される文字領域に含まれる文字列の一部である。このため、翻訳部23は、対象文字列の前後の文字列を用いて翻訳するので、対象文字列を翻訳した後の候補が複数ある場合でも正確に翻訳することができる。翻訳部23Aは、文字領域に含まれる文字列を翻訳した文字列と、翻訳文字列と、位置情報との組をチェック部25Aに出力する。前後参照部47は、対象文字列決定部21から対象文字列を決定しなかったことを示す情報と位置情報との組が入力される場合、その位置情報で特定される文字領域に含まれる文字列を翻訳しない。この場合、前後参照部47は、対象文字列決定部21から対象文字列を決定しなかったことを示す情報と位置情報との組が入力される場合、チェック部25Aに何も出力しない。
The
チェック部25Aは、翻訳部23Aから文字領域に含まれる文字列を翻訳した文字列と、翻訳文字列と、位置情報との組が入力され、翻訳文字列が正しく翻訳されているか否かを判断する。翻訳が正しいか否かを判断する技術は周知なのでここでは説明を繰り返さないが、例えば、翻訳語の文字列の文法をチェックする。チェック部25Aは、文字領域に含まれる文字列を翻訳した文字列の文法をチェックすることにより、翻訳文字列が正しく翻訳されているか否かを判断する。チェック部25Aは、翻訳文字列と、位置情報と、チェック結果との組を、関連表示制御部27Aに出力する。
The
関連表示制御部27Aは、画像表示制御部13から原稿画像の表示部161の表示面中の位置が入力され、チェック部25Aから翻訳文字列と位置情報とチェック結果との組が入力され、特徴領域決定部19から特徴領域情報と位置情報との組が入力される。関連表示制御部27Aは、原稿画像に関連付けて翻訳文字列の画像を文字列画像として表示部161に第2の時間表示する。第2の期間は、原稿画像が表示される第1の期間より短くするのが好ましい。文字列画像は、原稿画像が表示されるよりも後に生成されるからである。関連表示制御部27は、文字列画像を表示してからの経過時間を画像表示制御部13に出力する。関連表示制御部27は、複数の文字列画像を表示する場合、複数の文字列画像のうち最後に定義された文字列画像が表示されてからの経過時間を画像表示制御部13に出力する。
The related
関連表示制御部27Aは、誤訳時非表示部51と、並列表示部53と、重畳表示部55と、を含む。関連表示制御部27は、並列表示部53と、重畳表示部55とのいずれか一方を有効に機能させる。並列表示部53と、重畳表示部55とのいずれを機能させるかは、ユーザーにより予め定められた設定に従うようにすればよい。ここでは、関連表示モードを、並列表示モードと重畳表示モードとのいずれかに設定するようにしており、関連表示制御部27Aは、関連表示モードが並列表示モードに設定されている場合に並列表示部53を機能させて重畳表示部55を機能させず、関連表示モードが重畳表示モードに設定されている場合に重畳表示部55を機能させ、並列表示部53を機能させない。
The related
誤訳時非表示部51Aは、チェック部25から入力されるチェック結果が、翻訳が正しくないことを示す場合、文字列画像を表示しない。具体的には、誤訳時非表示部51は、チェック部25から入力されるチェック結果が、翻訳が正しいことを示す場合のみ、並列表示部53および重畳表示部55に表示指示を出力し、チェック部25から入力されるチェック結果が、翻訳が正しくないことを示す場合は、並列表示部53および重畳表示部55に表示指示を出力しない。表示指示は、チェック結果と組になる位置情報を含む。
The mistranslation non-display unit 51A does not display the character string image when the check result input from the
並列表示部53Aは、第1文字列画像生成部61Aと、第1サイズ決定部63Aと、対応部分指示部65Aと、を含む。第1サイズ決定部63Aは、文字列画像のサイズを、原稿画像のサイズを基準にして決定する。例えば、表示部161に1つの原稿画像を表示する場合、表示部161の表示面中で原稿画像以外の余白領域を決定し、文字列画像のサイズを、余白領域以下のサイズに決定する。1ページの画像に対して複数の対象文字列が決定される場合があり、この場合には1つの原稿画像に対して、文字画像を複数配置するので、対象文字列の数に基づいて文字列画像のサイズを決定する。
The
第1文字列画像生成部61Aは、サイズ決定部63Aによって決定されたサイズで、チェック部25から入力される翻訳文字列から文字列画像を生成する。第1文字列画像生成部61Aは、文字列画像と原稿画像とを、同時に表示する。第1文字列画像生成部61Aは、文字列画像と原稿画像とを、それらが重ならないように並べて表示する。文字列画像を、原稿画像に並べる方向は、原稿画像の上下左右のいずれの方向であってもよい。また、第1文字列画像生成部61Aは、文字列画像が、原稿画像中の位置情報で特定される位置に対応することを示すために、余白領域中で原稿画像中の位置情報で特定される位置から最も近い位置に文字列画像を配置する。
The first character string
対応部分指示部65Aは、原稿画像中の特徴領域に対応する領域に識別画像を合成する。識別画像は、特徴領域に対応する領域を囲む線である。また、識別画像は、特徴領域に対応する領域内を単色で表した画像であってもよい。これにより、特徴領域に対応する領域に識別画像が合成されるので、原稿画像中で文字列画像に対応する領域をユーザーに通知することができる。また、文字列画像が複数の場合であっても、複数の文字列画像それぞれに対応する領域に識別画像が合成されるので、複数の文字列画像それぞれに対して原稿画像中で対応する領域をユーザーに通知することができる。
Corresponding
重畳表示部55Aは、第2文字列画像生成部67Aと、第2サイズ決定部68Aと、を含む。第2サイズ決定部68Aは、文字列画像のサイズを、原稿画像中の特定領域に対応する領域のサイズに決定する。
The superimposed
第2文字列画像生成部67Aは、第2サイズ決定部68Aによって決定されたサイズで、チェック部25Aから入力される翻訳文字列から文字列画像を生成する。第2文字列画像生成部67Aは、文字列画像を原稿画像の特徴領域に対応する領域に重畳して表示する。このため、原稿画像の特徴領域に対応する領域が文字列画像によって置き換えられる。
The second character string
計時部29は、翻訳部23Aが文字認識部17Aから入力される文字列を翻訳する時間を1ページの画像データごとに計時する。文字領域決定部15Aによって1つの画像データから1以上の文字領域が決定される場合、特徴領域決定部19によって1以上の特徴領域が決定される。翻訳部23Aは、特徴領域決定部19によって決定された1以上の特徴領域にそれぞれ対応する1以上の対象文字列を翻訳する。この場合、計時部29は、翻訳部23が、1ページの画像データにおいて、1以上の文字列を翻訳する時間を計時する。計時部29は、翻訳部23Aが1ページの画像データに対応する1以上の文字列のすべてを翻訳するごとに、計時した翻訳時間を対象文字列決定部21および特徴領域決定部19に出力する。
The
対象文字列決定部21は、文字列数制限部45をさらに含む。文字列数制限部45は、計時部29から入力される翻訳時間に応じて、対象文字列の数を制限する。文字列数制限部45は、計時部29から入力される翻訳時間が所定の値以上になると、文字認識部17Aから入力される複数の文字列の文字数の合計が所定の値を超えるまで、複数の文字列のうちから処理対象となる1以上の文字列を決定する。翻訳時間に対するしきい値を複数設けるようにしてもよい。この場合には、複数のしきい値それぞれに対して文字数のしきい値を予め定めておけばよい。文字列数制限部45は、文字認識部17Aから入力される複数の文字列を、文字認識部17Aから入力される順に、文字数の合計が所定の値になるまで処理対象に決定し、文字数の合計が所定以上になると、それ以降に文字認識部17Aから入力される文字列を廃棄する。また、文字認識部17Aから文字列とともに入力される位置情報に基づき、処理対象となる1以上の文字列を決定するようにしてもよい。文字認識部17Aから入力される複数の文字列を、位置情報が原稿の画像の上側のものから順に、文字数の合計が所定の値になるまで処理対象に決定し、文字数の合計が所定以上になると、それより下方の位置情報と組になる文字列を廃棄する。翻訳部23Aによって翻訳する文字列を少なくするので、翻訳時間が長くなった後には、翻訳時間を所定の時間以内にすることができる。このため、原稿画像が表示されてから文字列画像が表示されるまでの時間の変動を少なくすることができる。
The target character
特徴領域決定部19は、検出精度変更部35を含む。検出精度変更部35は、計時部29から入力される翻訳時間に応じて、特徴領域を決定する精度を変更する。検出精度変更部35は、翻訳時間が長くなると特徴領域を決定する精度を低くし、翻訳時間が短くなると特徴領域を決定する精度を高くする。特徴領域を決定する精度が高い場合は、精度が低い場合に比較して、特徴領域を決定するまでの時間が長い。このため、翻訳時間が長い場合には、特徴領域を決定する時間が短くなり、翻訳時間が短い場合には特徴領域を決定する時間が長くなるので、原稿画像が表示されてから文字列画像が表示されるまでの時間の変動を少なくすることができる。検出精度を変更する方法は限定するものではないが、例えば、文字基準決定部31および背景基準決定部33が処理対象とする画像データの文字領域の部分の解像度を変更する。検出精度変更部35は、翻訳時間が長くなると文字領域の画像の解像度を小さくし、翻訳時間が短くなると文字領域の画像の解像度を高くする。
The feature
第2の実施の形態におけるMFP100が備えるCPU111は、図5に示した表示制御処理を実行する。
図14は、第2の実施の形態におけるプレビュー表示制御処理の流れの一例を示すフローチャートである。図14を参照して、図6に示した第2の実施の形態におけるプレビュー表示制御処理と異なる点は、ステップS18の後に、ステップS19〜ステップS21が追加された点である。その他の処理は、図6に示した処理と同じなので、ここでは説明を繰り返さない。 FIG. 14 is a flowchart illustrating an example of a preview display control process according to the second embodiment. Referring to FIG. 14, the difference from the preview display control process in the second embodiment shown in FIG. 6 is that steps S19 to S21 are added after step S18. Other processing is the same as the processing shown in FIG. 6, and therefore description thereof will not be repeated here.
第2の実施の形態におけるMFP100が備えるCPU111は、ステップS18において、タイマーET2の値がしきい値ETH2以上になると判断する場合、処理をステップS19に進める。ステップS19においては、翻訳時間がしきい値TTTH以上か否かを判断する。翻訳時間は、後述する関連情報表示処理において計時される時間であり、1ページの画像に対して対象文字列を翻訳するために要した時間である。翻訳時間がしきい値TTTH以上ならば処理をステップS20に進めるが、そうでなければ処理をステップS11に戻す。ステップS20においては、文字数削減フラグをONに設定し処理をステップS21に進める。ステップS21においては、精度低減フラグをONに設定し、処理をステップS11に戻す。
If
図15および図16は、第2の実施の形態における関連情報表示処理の流れの一例を示すフローチャートである。第2の実施の形態における関連情報表示処理は、図14に示した第2の実施の形態におけるプレビュー表示制御処理のステップS15に置いて実行される処理である。プレビュー表示制御処理が実行される前の段階で、原稿読取部130が原稿を読み取って出力する画像が取得されている。
FIG. 15 and FIG. 16 are flowcharts illustrating an example of the flow of related information display processing in the second embodiment. The related information display process in the second embodiment is a process executed in step S15 of the preview display control process in the second embodiment shown in FIG. Prior to the execution of the preview display control process, an image output by the
図15および図16を参照して、CPU111は、原稿読取部130が出力する画像中の文字領域を決定する(ステップS41)。原稿読取部130が原稿を読み取って出力する画像を、処理対象に設定し、処理対象に設定された画像中で文字が表された1以上の文字領域を決定する。次のステップS42においては、1以上の文字領域のうちから1つを処理対象に選択する。そして、画像データ中の処理対象に選択された文字領域の部分を文字認識する(ステップS43)。文字認識して得られる文字列を、処理対象に選択された文字領域の文字列に決定する(ステップS44)。ステップS45においては、精度低減フラグがONに設定されているか否かを判断する。精度低減フラグがONに設定されているならば処理をステップS46に進めるが、そうでなければステップS46をスキップして処理をステップS47に進める。ステップS46においては、画像データ中の文字領域の部分の解像度を低下する。これにより、画像データ中の文字領域の部分の画像が縮小され、画素数が少なくなるので、次のステップS47において実行される特徴領域を決定する処理の検出精度が低下し、特徴領域を決定する処理する速度が速くなる。
Referring to FIGS. 15 and 16,
精度低減フラグがONに設定されているのは、1つ前のページを翻訳した時間がしきい値TTTH以上となる場合である。このため、翻訳時間がしきい値TTTHを超えたページの次のページで特徴領域を検出する精度を低下させることにより、特徴領域を決定する処理の時間が短くなる。これにより、複数の原稿を読み取って表示するトータルの期間ができるだけ長くならないようにすることができる。 The accuracy reduction flag is set to ON when the time for translating the previous page is equal to or greater than the threshold value TTTH. For this reason, the processing time for determining the feature region is shortened by reducing the accuracy of detecting the feature region in the next page after the page whose translation time exceeds the threshold value TTTH. As a result, the total period for reading and displaying a plurality of documents can be kept as long as possible.
次のステップS47においては、画像データ中でステップS42において選択された文字領域の部分、ステップS46が実行される場合には解像度を低下した後の文字領域の部分を処理して特徴領域を決定する。画像データ中の文字領域の部分から特徴領域が決定される場合と、決定されない場合とがある。次のステップS48においては、特徴領域が決定されたか否かを判断する。ステップS47において特徴領域が決定されたならば処理をステップS49に進めるが、そうでなければ処理をステップS52に進める。 In the next step S47, the character region portion selected in step S42 in the image data, or the character region portion after the resolution is lowered when step S46 is executed, the feature region is determined. . There are cases where the characteristic area is determined from the character area portion in the image data and where the characteristic area is not determined. In the next step S48, it is determined whether or not a feature region has been determined. If the feature region is determined in step S47, the process proceeds to step S49. If not, the process proceeds to step S52.
ステップS49においては、文字数Nをカウントする。文字数Nに、ステップS42において選択された文字領域に含まれる文字数を加算する。文字数Nは、原稿読取部130が出力する画像データ中で、翻訳の対象となる文字数の合計を示す変数である。次のステップS50においては、文字数削減フラグがONに設定されているか否かを判断する。文字数削減フラグがONに設定されているならば処理をステップS51に進めるが、そうでなければ処理をステップS52に進める。ステップS51においては、文字数Nがしきい値NTH以下か否かを判断する。文字数Nがしきい値NTH以下ならば処理をステップS52に進めるが、そうでなければ処理をステップS53に進める。
In step S49, the number of characters N is counted. The number of characters included in the character area selected in step S42 is added to the number of characters N. The number N of characters is a variable indicating the total number of characters to be translated in the image data output from the
ステップS52においては、ステップS41において決定された1以上の文字領域のうちにステップS42において処理対象に選択されていない文字領域が存在するか否かを判断する。未処理の文字領域が存在するならば処理をステップS42に戻すが、そうでなければ処理をステップS53に進める。 In step S52, it is determined whether or not there is a character area not selected as a processing target in step S42 among the one or more character areas determined in step S41. If there is an unprocessed character area, the process returns to step S42; otherwise, the process proceeds to step S53.
文字数削減フラグがONに設定されている場合には、文字数Nがしきい値NTHを超えると、未処理の文字領域を処理対象に選択しない。文字数削減フラグがONに設定されるのは、1つ前のページを翻訳した時間がしきい値TTTH以上となる場合である。文字数Nは、1ページ当たりで翻訳対象となる文字数を示す。このため、翻訳時間がしきい値TTTHを超えたページの次のページで翻訳する文字数をしきい値NTHに制限して、翻訳処理の時間が長くならないようする。これにより、複数の原稿を読み取って表示するトータルの期間ができるだけ長くならないようにすることができる。 When the character count reduction flag is set to ON, if the character count N exceeds the threshold value NTH, an unprocessed character area is not selected as a processing target. The character number reduction flag is set to ON when the time for translating the previous page is equal to or greater than the threshold value TTTH. The number of characters N indicates the number of characters to be translated per page. For this reason, the number of characters to be translated on the next page after the page whose translation time exceeds the threshold value TTTH is limited to the threshold value NTH so that the translation processing time does not increase. As a result, the total period for reading and displaying a plurality of documents can be kept as long as possible.
ステップS53においては、タイマーTTをリセットする。タイマーTTは、1ページの画像に対して文字列を翻訳するために要する翻訳時間を計時する。次のステップS54においては、ステップS44において文字領域に対して決定された文字列のうちから1つを処理対象に選択する。次のステップS55においては、選択された文字列に対応する文字領域からステップS47において特徴領域が決定されているか否かを判断する。特徴領域が決定されているならば処理をステップS56に進めるが、そうでなければ処理をステップS54に戻す。 In step S53, the timer TT is reset. The timer TT measures the translation time required to translate the character string for one page image. In the next step S54, one of the character strings determined for the character area in step S44 is selected as a processing target. In the next step S55, it is determined whether or not a feature region has been determined in step S47 from the character region corresponding to the selected character string. If the feature region has been determined, the process proceeds to step S56; otherwise, the process returns to step S54.
ステップS56においては、対象文字列を決定する。ステップS53において選択された文字列のうち、その文字列に対応する文字領域からステップS47において決定された特徴領域に含まれる文字列を対象文字列に決定する。そして、対象文字列が翻訳済か否かを判断する(ステップS57)。図5に示した表示制御処理において、ステップS01において複数枚の原稿の読取が開始されてから翻訳の対象となった対象文字列を翻訳済の文字列として記憶しておき、ステップS56において決定された対象文字列と同じ翻訳済の文字列が記憶されていれば、翻訳済と判断する。翻訳済ならば処理をステップS54に戻すが、そうでなければ処理をステップS58に進める。 In step S56, the target character string is determined. Of the character strings selected in step S53, the character string included in the feature area determined in step S47 is determined as the target character string from the character area corresponding to the character string. Then, it is determined whether or not the target character string has been translated (step S57). In the display control process shown in FIG. 5, the target character string to be translated after the reading of a plurality of documents is started in step S01 is stored as a translated character string, and determined in step S56. If the same translated character string as the target character string is stored, it is determined that the character string has been translated. If translated, the process returns to step S54; otherwise, the process proceeds to step S58.
ステップS58においては、対象文字列が既定文字か否かを判断する。既定文字列は、予め定められた文字列であり、例えば項目を示す文字である。対象文字列が既定文字ならば、処理をステップS54に戻すが、そうでなければ処理をステップS59に進める。ステップS59においては、ステップS54において処理対象に選択されている文字列を翻訳する。次のステップS60においては、翻訳文字列を決定する。ステップS59において翻訳された翻訳後の文字列のうち、対象文字列に対応する文字列を翻訳文字列に決定する。次のステップS61においては、翻訳が正しいか否かをチェックし、処理をステップS62に進める。ステップS59において翻訳された翻訳後の文字列の文法をチェックすることにより、翻訳が正しいか否かを判断する。 In step S58, it is determined whether the target character string is a default character. The default character string is a predetermined character string, for example, a character indicating an item. If the target character string is a default character, the process returns to step S54; otherwise, the process proceeds to step S59. In step S59, the character string selected as the processing target in step S54 is translated. In the next step S60, a translated character string is determined. Of the translated character strings translated in step S59, the character string corresponding to the target character string is determined as the translated character string. In the next step S61, it is checked whether or not the translation is correct, and the process proceeds to step S62. It is determined whether or not the translation is correct by checking the grammar of the translated character string translated in step S59.
ステップS62においては、ステップS41において決定された文字領域のうち、ステップS54において処理対象に選択されていない文字領域が存在するか否かを判断する。処理対象に選択されていない文字領域が存在するならば処理をステップS54に戻すが、そうでなければ処理をステップS63に進める。 In step S62, it is determined whether or not there is a character area not selected as a processing target in step S54 among the character areas determined in step S41. If there is a character area not selected as a processing target, the process returns to step S54; otherwise, the process proceeds to step S63.
ステップS63においては、翻訳時間にタイマーTTの値を設定する。翻訳時間は、図14に示したプレビュー表示制御処理のステップS19において使用される。次のステップS64においては、ステップS60において決定された翻訳文字列のうちから処理対象となる翻訳文字列を選択する。そして、選択された翻訳文字列に対してステップS61においてチェックされた翻訳結果によって処理を分岐させる。翻訳結果が正しいことを示すならば処理をステップS66に進めるが、そうでなければ処理をステップS64に戻す。 In step S63, the value of timer TT is set as the translation time. The translation time is used in step S19 of the preview display control process shown in FIG. In the next step S64, a translation character string to be processed is selected from the translation character strings determined in step S60. Then, the process branches depending on the translation result checked in step S61 for the selected translated character string. If the translation result indicates correctness, the process proceeds to step S66; otherwise, the process returns to step S64.
ステップS66においては、関連表示モードによって処理を分岐させる。関連表示モードが並列表示モードに設定されていれば処理をステップS67に進め、関連表示モードが重畳表示モードに設定されていれば処理をステップS68に進める。ステップS67においては、第2の実施の形態における並列表示処理を実行し、処理をステップS69に進める。ステップS68においては、第2の実施の形態における重畳表示処理を実行し、処理をステップS69に進める。ステップS69においては、処理対象に選択されていない翻訳文字列が存在するか否かを判断する。ステップS60において決定された翻訳文字列のうち、ステップS64において処理対象に選択されていない翻訳文字列が存在すれば、処理をステップS64に戻すが、そうでなければ処理をプレビュー画像表示処理に戻す。 In step S66, the process branches depending on the related display mode. If the related display mode is set to the parallel display mode, the process proceeds to step S67. If the related display mode is set to the superimposed display mode, the process proceeds to step S68. In step S67, the parallel display process in the second embodiment is executed, and the process proceeds to step S69. In step S68, the superimposed display process in the second embodiment is executed, and the process proceeds to step S69. In step S69, it is determined whether there is a translated character string that is not selected as a processing target. If there is a translated character string not selected as a processing target in step S64 among the translated character strings determined in step S60, the process returns to step S64. Otherwise, the process returns to the preview image display process. .
図17は、第2の実施の形態における並列表示処理の流れの一部を示すフローチャートである。第2の実施の形態における並列表示処理は、図15および図16に示した関連情報表示処理のステップS68において実行される処理である。図17を参照して、CPU111は、ステップS81において、文字列画像のサイズを決定する。文字列画像は、次のステップS82において生成される画像である。図14に示した第2の実施の形態におけるプレビュー表示制御処理のステップS12において原稿画像が表示部161に表示されており、文字列画像のサイズを、原稿画像のサイズを基準にして決定する。例えば、表示部161に1つの原稿画像を表示する場合、表示部161の表示面中で原稿画像以外の余白領域を決定し、翻訳文字列の画像のサイズを、余白領域以下のサイズに決定する。
FIG. 17 is a flowchart illustrating a part of the flow of parallel display processing according to the second embodiment. The parallel display process in the second embodiment is a process executed in step S68 of the related information display process shown in FIGS. Referring to FIG. 17,
次のステップS82においては、文字列画像を生成する。ステップS81において決定されたサイズで、図15および図16に示した関連情報表示処理のステップS58において決定された翻訳文字列の画像を文字列画像として生成する。次のステップS83においては、生成された文字列画像を、原稿画像と重ならない位置に並べて表示する。文字列画像が、原稿画像中でユーザーにより指示された指示位置で特定される位置に対応することを示すために、原稿画像中の指示位置で特定される位置から最も近い位置に文字列画像を配置するのが好ましい。 In the next step S82, a character string image is generated. The translated character string image determined in step S58 of the related information display processing shown in FIGS. 15 and 16 is generated as a character string image with the size determined in step S81. In the next step S83, the generated character string images are displayed side by side at positions that do not overlap the document image. In order to indicate that the character string image corresponds to the position specified at the indicated position instructed by the user in the document image, the character string image is positioned closest to the position specified at the indicated position in the document image. It is preferable to arrange.
次のステップS84においては、識別画像を原稿画像に合成し、処理を関連情報表示処理に戻す。図15および図16に示した関連情報表示処理のステップS47において決定された特徴領域であって、翻訳文字列に対応する特徴領域を特定する。そして、原稿画像中の領域であって、特定された特徴領域に対応する領域に識別画像を合成する。識別画像は、特徴領域に対応する領域を囲む線である。また、識別画像は、特徴領域に対応する領域内を単色で表した画像であってもよい。これにより、原稿画像中で翻訳文字列に対応する領域に識別画像が合成されるので、原稿画像中で文字列画像に対応する領域をユーザーに通知することができる。 In the next step S84, the identification image is combined with the document image, and the process returns to the related information display process. The feature region determined in step S47 of the related information display process shown in FIGS. 15 and 16 and corresponding to the translated character string is specified. Then, the identification image is combined with an area in the document image corresponding to the specified feature area. The identification image is a line surrounding an area corresponding to the feature area. Further, the identification image may be an image in which the area corresponding to the feature area is expressed in a single color. As a result, the identification image is synthesized with the region corresponding to the translated character string in the document image, so that the user can be notified of the region corresponding to the character string image in the document image.
図18は、第2の実施の形態における重畳表示処理の流れの一部を示すフローチャートである。第2の実施の形態における重畳表示処理は、図15および図16に示した関連情報表示処理のステップS69において実行される処理である。図18を参照して、CPU111は、文字列画像のサイズを決定する(ステップS81A)。文字列画像は、次のステップS82Aにおいて決定される処理である。図15および図16に示した関連情報表示処理のステップS47において決定された特徴領域であって、翻訳文字列に対応する特徴領域を特定する。文字列画像のサイズを、表示部161に表示されている原稿画像中で、特定された特徴領域に対応する領域と同じサイズに決定する。
FIG. 18 is a flowchart illustrating a part of the flow of the superimposed display process according to the second embodiment. The superimposed display process in the second embodiment is a process executed in step S69 of the related information display process shown in FIGS. Referring to FIG. 18,
次のステップS82Aにおいては、文字列画像を生成する。ステップS81Aにおいて決定されたサイズで、図15および図16に示した関連情報表示処理のステップS60において決定された翻訳文字列の画像を文字列画像として生成する。次のステップS83Aにおいては、原稿画像に文字列画像を合成し、処理を関連情報表示処理に戻す。ステップS82Aにおいて生成された文字列画像で、表示部161に表示されている原稿画像中で特徴領域に対応する領域の画像を置き換える。これにより、表示部161に表示されている原稿画像の特徴領域に対応する領域に文字列画像が合成されるので、原稿画像中で文字列画像に対応する領域をユーザーに通知することができる。
In the next step S82A, a character string image is generated. The translated character string image determined in step S60 of the related information display process shown in FIGS. 15 and 16 is generated as a character string image with the size determined in step S81A. In the next step S83A, the character string image is synthesized with the document image, and the process returns to the related information display process. The character string image generated in step S82A replaces the image in the region corresponding to the feature region in the document image displayed on the
図19は、原稿画像を含むプレビュー画面の一例を示す第2の図である。図19を参照して、プレビュー画面330は、原稿画像331を含む。原稿画像331は、日本語の文字が表された画像であり、4つの文字列領域333,335,337,339を含む。なお、図中の点線は、文字列領域333,335,337,339を示すために付したもので、実際には存在しない。プレビュー画面330は、原稿画像331が表示されてから第1の期間の間表示される。
FIG. 19 is a second diagram illustrating an example of a preview screen including a document image. Referring to FIG. 19,
図20は、並列表示モードにおいて原稿画像に文字列画像を追加したプレビュー画面の一例を示す第2の図である。図20に示すプレビュー画面340は、図19に示したプレビュー画面330の原稿画像331が表示された後に、表示部161に表示される。図20を参照して、プレビュー画面340は、原稿画像331と、4つの文字列画像343,345,347,349と、を含む。文字列画像343は、原稿画像331の文字領域333に含まれる文字列のうち太文字の文字列を翻訳した翻訳文字列から生成した画像である。文字列画像345は、原稿画像331の文字領域335に含まれる文字列のうち太文字の文字列を翻訳した翻訳文字列から生成した画像である。文字列画像347は、原稿画像331の文字領域337に含まれる文字列のうち太文字の文字列を翻訳した翻訳文字列から生成した画像である。文字列画像349は、原稿画像331の文字領域339に含まれる文字列のうち太文字の文字列を翻訳した翻訳文字列から生成した画像である。
FIG. 20 is a second diagram illustrating an example of a preview screen in which a character string image is added to a document image in the parallel display mode. A
また、原稿画像331は、4つの識別画像333A、335A,337A,339Aを含む。識別画像333Aは、文字領域333に含まれる文字列のうち太文字の文字列を囲む矩形の画像である。プレビュー画面310を見るユーザーは、文字列画像343から翻訳文字列を視認することができる。また、識別画像333Aから、文字列画像343に含まれる翻訳文字列が、原稿画像301内の文字領域333に含まれる文字列のうち太文字の文字列を翻訳した文字列であることを認識することができる。
The
同様に、識別画像335A,337A,339Aは、文字領域335,337,339それぞれに含まれる文字列のうち太文字の文字列を囲む矩形の画像である。プレビュー画面310を見るユーザーは、文字列画像345,347,349から翻訳文字列を視認することができる。また、識別画像335Aから、文字列画像345に含まれる翻訳文字列が、原稿画像301内の文字領域335に含まれる文字列のうち太文字の文字列を翻訳した文字列であること、識別画像337Aから、文字列画像347に含まれる翻訳文字列が、原稿画像301内の文字領域337に含まれる文字列のうち太文字の文字列を翻訳した文字列であること、識別画像339Aから、文字列画像349に含まれる翻訳文字列が、原稿画像301内の文字領域339に含まれる文字列のうち太文字の文字列を翻訳した文字列であること、を認識することができる。
Similarly, the
図21は、重畳モードにおいて原稿画像に文字列画像を追加したプレビュー画面の一例を示す第2の図である。図21に示すプレビュー画面350は、図19に示したプレビュー画面330の原稿画像331が表示された後に、表示部161に表示される。図21を参照して、プレビュー画面350は、図19に示したプレビュー画面330の原稿画像331中の文字領域333,335,337,339の太文字に代えて、文字列画像343A、345A,347A,349Aをそれぞれ配置した原稿画像331Aを含む。文字列画像343Aは、原稿画像331中の文字領域333の太文字が表された領域と同じサイズであり、原稿画像331中の文字領域333の太文字の文字列を翻訳した翻訳文字列から生成した画像である。同様に、文字列画像345Aは、原稿画像331中の文字領域335の太文字が表された領域と同じサイズであり、原稿画像331中の文字領域335の太文字の文字列を翻訳した翻訳文字列から生成した画像である。文字列画像347Aは、原稿画像331中の文字領域337の太文字が表された領域と同じサイズであり、原稿画像331中の文字領域337の太文字の文字列を翻訳した翻訳文字列から生成した画像である。文字列画像349Aは、原稿画像331中の文字領域339の太文字が表された領域と同じサイズであり、原稿画像331中の文字領域339の太線の文字列を翻訳した翻訳文字列から生成した画像である。
FIG. 21 is a second diagram illustrating an example of a preview screen in which a character string image is added to a document image in the superposition mode. The
プレビュー画面320を見るユーザーは、文字列画像343Aから翻訳文字列を視認することができるとともに、文字列画像343Aが原稿画像331Aに配置される位置から文字列画像343Aに含まれる翻訳文字列が、原稿画像331内の文字領域333内の太線の文字列を翻訳した文字列であることを認識することができる。同様に、文字列画像345Aから翻訳文字列を視認することができるとともに、文字列画像345Aが原稿画像331Aに配置される位置から文字列画像345Aに含まれる翻訳文字列が、原稿画像331内の文字領域335内の太線の文字列を翻訳した文字列であることを認識することができる。文字列画像347Aから翻訳文字列を視認することができるとともに、文字列画像347Aが原稿画像331Aに配置される位置から文字列画像347Aに含まれる翻訳文字列が、原稿画像331内の文字領域337内の太線の文字列を翻訳した文字列であることを認識することができる。文字列画像349Aから翻訳文字列を視認することができるとともに、文字列画像349Aが原稿画像331Aに配置される位置から文字列画像349Aに含まれる翻訳文字列が、原稿画像331内の文字領域339内の太線の文字列を翻訳した文字列であることを認識することができる。
The user viewing the
以上説明したように第2の実施の形態におけるMFP100は、原稿を読み取って得られる画像データ中の文字領域を決定し、画像データ中の文字領域の部分を文字認識し、認識された文字列のうちで、画像データ中で対応する部分が所定の特徴を有する文字列部分を決定し、文字列部分の文字列を所定の言語に翻訳し、翻訳された言語の文字列を、画像データと関連付けて表示する。このため、原稿中の特徴的な部分を翻訳して表示するので、原稿中の文字列の全部を翻訳する場合に比較して翻訳対象となる文字数が少なくなるので、処理時間を短くすることができる。したがって、原稿中の文字列を効率的に翻訳することができる。
As described above,
また、MFP100は、文字領域の画像の特徴とは異なる特徴を有する特徴領域を決定する。例えば、MFP100は、原稿を読み取って得られる画像データ中で、文字の形状または背景が他の部分と異なる画像の部分を特徴領域に決定する。このため、文字領域に含まれる文字列のうちから特徴的な文字列を決定することができる。
In addition,
また、MFP100は、画像データ中で文字領域の部分から認識された文字列のうち特徴領域に含まれる文字列を文字列部分に決定し、翻訳するので、原稿に含まれる文字列のうち特徴的な文字列のみを翻訳することができる。
In addition, since
また、MFP100は、特徴領域に含まれる文字列であっても予め定められた文字列は文字列部分に決定しないので、翻訳の対象となる文字列を制限することができる。
Further, since
また、MFP100は、並列表示モードの場合には、原稿画像中に特徴領域を示す識別画像を表示するので、翻訳文字列に対応する原稿画像中の特徴領域をユーザーに通知することができる。
Further, in the parallel display mode,
また、MFP100は、重畳表示モードの場合には、原稿画像の特徴領域を翻訳文字列の画像で置換するので、原稿画像中で特徴領域は翻訳文字列の画像が表示される。このため、翻訳された部分をユーザーに通知することができる。
Further, in the superimposed display mode, the
また、MFP100は、重畳表示モードの場合には、翻訳文字列の画像のサイズを特徴領域のサイズ以下のサイズで、翻訳文字列の画像を生成するので、原稿中で特徴領域以外の部分を変更することなく、翻訳文字列の画像を表示することができる。原稿中の文字列が配置されるフォーマットを維持することができる。
In addition, in the superimposed display mode, the
また、MFP100は、複数のページごとに翻訳に要する翻訳時間を計時し、翻訳時間に応じて、特徴領域を決定する精度を変更するので、翻訳時間が長くなれば精度を低くして特徴領域を決定するための処理時間を短くすることができる。このため、複数ページの原稿画像を表示してから表示が終了するまでの期間の変動を少なくすることができる。
In addition, the
また、MFP100は、文字列部分を含む文字領域に含まれる文字列を翻訳するので、特徴領域に含まれる文字列部分の前後の文字列を用いて文字列部分を翻訳する。このため、文字列部分を翻訳する精度を高めることができる。
Further, since
また、MFP100は、文字列部分が以前に読み取られたページの原稿で翻訳した文字列と同じ場合は翻訳しないので、翻訳する文字列を少なくして、1ページ当たりの翻訳時間を短くすることができる。
Further, since
また、MFP100は、翻訳文字列の画像が表示されてから第2の期間が経過する前に、原稿画像が表示されてから第1の期間が経過する場合、第2の期間が経過するまで原稿画像を表示するので、翻訳文字列の画像を少なくとも第2の期間表示することができる。
In addition, when the first period elapses after the document image is displayed before the second period elapses after the translation character string image is displayed, the
また、MFP100は、翻訳手段が翻訳に要する翻訳時間を、複数のページごとに計時し、翻訳時間に応じて、1ページ当たりで決定する文字列部分の数を変更するので、複数ページの原稿画像を表示してから表示が終了するまでの期間の変動を少なくすることができる。
In addition,
また、MFP100は、特徴領域に含まれる文字列であっても翻訳の対象とされた文字列と同じ文字列は文字列部分に決定しないので、以前のページで翻訳された文字列を翻訳しない。これによって、翻訳時間を短くすることができる。
Further, since
また、MFP100は、翻訳された文字列の文法が正常でない文字列の画像を表示しないので、誤った情報を通知するのを防止することができる。
Further, since
なお、上述した実施の形態においては、原稿読取装置の一例としてMFP100を例に説明したが、図5〜図9に示した第1の実施の形態における処理、または、図14〜図17に示した処理を、MFP100に実行させる表示制御方法、その表示制御方法をMFP100を制御するCPU111に実行させる表示制御プログラムとして、発明を捉えることができるのは言うまでもない。
In the above-described embodiment, the
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
<付記>
(1) 前記第2の特徴を有する画像は、他の文字とフォントおよびサイズの少なくとも1つが異なる文字を含む画像である、請求項5に記載の原稿読取装置。
(2) 前記第2の特徴を有する画像は、背景に予め定められた形状の画像を含む画像である、請求項5または(1)に記載の原稿読取装置。
(5) 前記第2の特徴を有する画像は、背景に他の背景に付された色と異なる色が付された画像である、請求項5、(1)または(2)に記載の原稿読取装置。
<Appendix>
(1) The document reading apparatus according to claim 5, wherein the image having the second feature is an image including a character having at least one of a font and a size different from those of other characters.
(2) The document reading apparatus according to (5) or (1), wherein the image having the second feature is an image including an image having a predetermined shape as a background.
(5) The document reading according to claim 5, (1) or (2), wherein the image having the second feature is an image in which a color different from a color added to another background is added to a background. apparatus.
100 MFP、110 メイン回路、111 CPU、112 通信I/F部、113 ROM、114 RAM、115 HDD、116 ファクシミリ部、117 外部記憶装置、120 自動原稿搬送装置、130 原稿読取部、140 画像形成部、150 給紙部、155 後処理部、160 操作パネル、161 表示部、163 操作部、165 タッチパネル、165 ハードキー部、167 ハードキー部、11 原稿読取制御部、13 画像表示制御部、14 表示期間延長部、15,15A 文字領域決定部、17,17A 文字認識部、19 特徴領域決定部、21 対象文字列決定部、23,23A 翻訳部、25,25A チェック部、27,27A 関連表示制御部、29 計時部、31 文字基準決定部、33 背景基準決定部、35 検出精度変更部、41 既定文字列除外部、43 同一文字列除外部、45 文字列数制限部、47 前後参照部、51,51A 誤訳時非表示部、53,53A 並列表示部、55,55A 重畳表示部、61,61A 文字列画像生成部、63,63A サイズ決定部、65,65A 対応部分指示部、67,67A 文字列画像生成部、68,68A サイズ決定部、71 位置検出部。
100 MFP, 110 Main circuit, 111 CPU, 112 Communication I / F unit, 113 ROM, 114 RAM, 115 HDD, 116 Facsimile unit, 117 External storage device, 120 Automatic document feeder, 130 Document reading unit, 140 Image forming unit , 150 paper feed unit, 155 post-processing unit, 160 operation panel, 161 display unit, 163 operation unit, 165 touch panel, 165 hard key unit, 167 hard key unit, 11 document reading control unit, 13 image display control unit, 14 display Period extension section, 15, 15A character area determination section, 17, 17A character recognition section, 19 feature area determination section, 21 target character string determination section, 23, 23A translation section, 25, 25A check section, 27, 27A related display control Part, 29 timing part, 31 character reference determining part, 33 background reference determining part, 35 detection accuracy changing part, 41 default character string exclusion unit, 43 identical character string exclusion unit, 45 character string number limiting unit, 47 front and rear reference unit, 51, 51A mistranslation non-display unit, 53, 53A parallel display unit, 55, 55A superimposed display unit, 61 , 61A character string image generation unit, 63, 63A size determination unit, 65, 65A corresponding portion instruction unit, 67, 67A character string image generation unit, 68, 68A size determination unit, 71 position detection unit.
Claims (22)
前記原稿読取手段が複数ページの原稿を連続して読み取って出力する複数ページの画像データそれぞれを、前記原稿読取手段が出力する順に、第1の期間ずつ表示手段に表示する画像表示制御手段と、
前記複数ページのいずれかの画像データが表示されている間に、前記表示されたページの画像データ中でユーザーにより指示された位置を検出する位置検出手段と、
前記位置検出手段により位置が検出されることに応じて、前記表示されたページの画像データから文字が表された1以上の文字領域を決定する文字領域決定手段と、
前記表示されたページの画像データ中で前記決定された1以上の文字領域のうちから前記位置検出手段により検出された位置を含む文字領域の部分を文字認識する文字認識手段と、
前記文字認識して得られる文字列を所定の言語に翻訳する翻訳手段と、
前記翻訳して得られる翻訳文字列を、前記表示されたページの画像データと関連付けて前記表示手段に表示する関連表示制御手段と、を備えた原稿読取装置。 A document reading means for reading a document and outputting image data;
Image display control means for displaying each of a plurality of pages of image data output by the document reading means by continuously reading a plurality of pages of documents on the display means in order of output by the document reading means;
Position detecting means for detecting a position designated by a user in the image data of the displayed page while any one of the image data of the plurality of pages is displayed;
A character region determination unit that determines one or more character regions in which characters are represented from the image data of the displayed page in response to detection of a position by the position detection unit;
A character recognizing means for recognizing a character area portion including a position detected by the position detecting means from the one or more character areas determined in the image data of the displayed page;
Translation means for translating a character string obtained by the character recognition into a predetermined language;
A document reading apparatus comprising: a related display control unit that displays the translated character string obtained by the translation on the display unit in association with the image data of the displayed page.
前記原稿読取手段が出力する画像データを表示手段に表示する画像表示制御手段と、
前記原稿読取手段が出力する画像データから文字が表された文字領域を決定する文字領域決定手段と、
前記画像データ中で前記決定された文字領域の部分を文字認識する文字認識手段と、
前記文字認識して得られる文字列のうちで、前記画像データ中で対応する部分が所定の特徴を有する文字列部分を決定する対象文字列決定手段と、
前記決定された文字列部分に含まれる文字列を所定の言語に翻訳する翻訳手段と、
前記翻訳して得られる翻訳文字列を、前記画像データと関連付けて前記表示手段に表示する関連表示制御手段と、を備えた原稿読取装置。 A document reading means for reading a document and outputting image data;
Image display control means for displaying on the display means image data output by the document reading means;
A character area determining means for determining a character area representing a character from the image data output by the document reading means;
A character recognition means for recognizing characters of the determined character region in the image data;
Among character strings obtained by the character recognition, target character string determining means for determining a character string portion in which the corresponding portion in the image data has a predetermined characteristic;
A translation means for translating a character string included in the determined character string portion into a predetermined language;
A document reading apparatus comprising: a related display control unit that displays the translated character string obtained by the translation in association with the image data on the display unit.
前記文字認識手段は、前記画像データ中の部分であって、前記決定された特徴領域を含む前記文字領域の部分を文字認識する、請求項3に記載の原稿読取装置。 A feature region determining means for determining a feature region having a second feature different from the first feature of the character region extracted in the image data;
The document reading apparatus according to claim 3, wherein the character recognition unit recognizes a character in a portion of the image data that includes the determined characteristic region.
前記関連表示制御手段は、前記翻訳文字列を、それが対応するページの画像データと関連付けて前記表示手段に表示し、
前記画像読取装置は、前記翻訳手段が翻訳に要する翻訳時間を、前記複数のページごとに計時する計時手段を、さらに備え、
前記特徴領域決定手段は、前記計時された翻訳時間に応じて、前記特徴領域を決定する精度を変更する、請求項4〜10のいずれかに記載の原稿読取装置。 When the document reading unit continuously reads a plurality of pages of the document, the image display control unit sequentially outputs each of the plurality of pages of image data output by the document reading unit in the order that the document reading unit outputs. Display on the display means for each first period,
The related display control means displays the translated character string on the display means in association with the image data of the corresponding page,
The image reading apparatus further includes a time measuring unit that measures a translation time required for translation by the translating unit for each of the plurality of pages.
11. The document reading apparatus according to claim 4, wherein the characteristic area determination unit changes the accuracy of determining the characteristic area according to the measured translation time.
前記関連表示制御手段は、前記翻訳文字列を、それが対応するページの画像データと関連付けて前記表示手段に表示する、請求項3〜10のいずれかに記載の原稿読取装置。 When the document reading unit continuously reads a plurality of pages of the document, the image display control unit sequentially outputs each of the plurality of pages of image data output by the document reading unit in the order that the document reading unit outputs. Display on the display means for each first period,
11. The document reading apparatus according to claim 3, wherein the related display control unit displays the translated character string on the display unit in association with image data of a page corresponding to the translated character string.
前記対象文字列決定手段は、前記計時された翻訳時間に応じて、1ページ当たりで決定する前記文字列部分の数を変更する、請求項14に記載の原稿読取装置。 The translation means further comprises a time measuring means for measuring the translation time required for translation for each of the plurality of pages,
The document reading apparatus according to claim 14, wherein the target character string determination unit changes the number of the character string portions determined per page according to the measured translation time.
前記原稿読取手段が複数ページの原稿を連続して読み取って出力する複数ページの画像データそれぞれを、前記原稿読取手段が出力する順に、第1の期間だけ表示手段に表示する画像表示制御ステップと、
前記複数ページのいずれかの画像データが表示されている間に、前記表示されたページの画像データ中でユーザーにより指示された位置を検出する位置検出ステップと、
前記位置検出ステップにおいて位置が検出されることに応じて、前記表示されたるページの画像データから文字が表された1以上の文字領域を決定する文字領域決定ステップと、
前記表示されたページの画像データ中で前記決定された1以上の文字領域のうちから前記位置検出ステップにおいて検出された位置を含む文字領域の部分を文字認識する文字認識ステップと、
前記文字認識して得られる文字列を所定の言語に翻訳する翻訳ステップと、
前記翻訳して得られる翻訳文字列を、前記表示されたページの画像データと関連付けて前記表示手段に表示する関連表示制御ステップと、を含む表示制御方法。 A display control method executed by an original reading apparatus provided with an original reading means for reading an original and outputting image data,
An image display control step for displaying each of a plurality of pages of image data output by the document reading unit continuously reading and outputting a plurality of pages on the display unit in the order in which the document reading unit outputs;
A position detecting step of detecting a position instructed by a user in the image data of the displayed page while any of the image data of the plurality of pages is displayed;
A character region determination step for determining one or more character regions in which characters are represented from the image data of the displayed page in response to detection of a position in the position detection step;
A character recognition step for recognizing a portion of the character region including the position detected in the position detection step from the one or more character regions determined in the image data of the displayed page;
A translation step of translating a character string obtained by the character recognition into a predetermined language;
A display control method including a related display control step of displaying the translated character string obtained by the translation in association with the image data of the displayed page on the display means.
前記原稿読取手段が出力する画像データを表示手段に表示する画像表示制御ステップと、
前記原稿読取手段が出力する画像データから文字が表された文字領域を決定する文字領域決定ステップと、
前記画像データ中で前記決定された文字領域の部分を文字認識する文字認識ステップと、
前記文字認識ステップにおいて文字認識して得られる文字列のうちで、画像データ中で対応する部分が所定の特徴を有する文字列部分を決定する対象文字列決定ステップと、
前記決定された文字列部分に含まれる文字列を所定の言語に翻訳する翻訳ステップと、
前記翻訳して得られる翻訳文字列を、前記画像データと関連付けて前記表示手段に表示する関連表示制御ステップと、を含む表示制御方法。 A display control method executed by an original reading apparatus provided with an original reading means for reading an original and outputting image data,
An image display control step of displaying on the display means the image data output by the document reading means;
A character region determining step for determining a character region in which characters are represented from the image data output by the document reading unit;
A character recognition step for recognizing a portion of the determined character region in the image data;
Among character strings obtained by character recognition in the character recognition step, a target character string determination step for determining a character string portion whose corresponding portion in image data has a predetermined characteristic;
A translation step of translating a character string included in the determined character string portion into a predetermined language;
A display control method including a related display control step of displaying the translated character string obtained by the translation in association with the image data on the display means.
前記原稿読取手段が複数ページの原稿を連続して読み取って出力する複数ページの画像データそれぞれを、前記原稿読取手段が出力する順に、第1の期間だけ前記表示手段に表示する画像表示制御ステップと、
前記複数ページのいずれかの画像データが表示されている間に、前記表示されたページの画像データ中でユーザーにより指示された位置を検出する位置検出ステップと、
前記位置検出ステップにおいて位置が検出されることに応じて、前記表示されたページの画像データから文字が表された1以上の文字領域を決定する文字領域決定ステップと、
前記表示されたページの画像データ中で前記決定された1以上の文字領域のうちから前記位置検出ステップにおいて検出された位置を含む文字領域の部分を文字認識する文字認識ステップと、
前記文字認識して得られる文字列を所定の言語に翻訳する翻訳ステップと、
前記翻訳して得られる翻訳文字列を、前記表示されたページの画像データと関連付けて前記表示手段に表示する関連表示制御ステップと、を前記コンピューターに実行させる表示制御プログラム。 A display control program that is executed by a computer that controls a document reading device including a document reading unit that reads a document and outputs image data.
An image display control step of displaying each of a plurality of pages of image data output by the document reading unit continuously reading a plurality of pages of documents on the display unit only in a first period in the order of output by the document reading unit; ,
A position detecting step of detecting a position instructed by a user in the image data of the displayed page while any of the image data of the plurality of pages is displayed;
A character region determination step for determining one or more character regions in which characters are represented from the image data of the displayed page in response to detection of a position in the position detection step;
A character recognition step for recognizing a portion of the character region including the position detected in the position detection step from the one or more character regions determined in the image data of the displayed page;
A translation step of translating a character string obtained by the character recognition into a predetermined language;
A display control program for causing the computer to execute an associated display control step of displaying the translated character string obtained by the translation in association with the image data of the displayed page on the display means.
前記原稿読取手段が出力する画像データを表示手段に表示する画像表示制御ステップと、
前記原稿読取手段が出力する画像データから文字が表された文字領域を決定する文字領域決定ステップと、
前記画像データ中で前記決定された文字領域の部分を文字認識する文字認識ステップと、
前記文字認識ステップにおいて文字認識して得られる文字列のうちで、画像データ中で対応する部分が所定の特徴を有する文字列部分を決定する対象文字列決定ステップと、
前記決定された文字列部分に含まれる文字列を所定の言語に翻訳する翻訳ステップと、
前記翻訳して得られる翻訳文字列を、前記画像データと関連付けて前記表示手段に表示する関連表示制御ステップと、を前記コンピューターに実行させる表示制御プログラム。 A display control program that is executed by a computer that controls a document reading device including a document reading unit that reads a document and outputs image data.
An image display control step of displaying on the display means the image data output by the document reading means;
A character region determining step for determining a character region in which characters are represented from the image data output by the document reading unit;
A character recognition step for recognizing a portion of the determined character region in the image data;
Among character strings obtained by character recognition in the character recognition step, a target character string determination step for determining a character string portion whose corresponding portion in image data has a predetermined characteristic;
A translation step of translating a character string included in the determined character string portion into a predetermined language;
A display control program for causing the computer to execute an associated display control step of displaying the translated character string obtained by the translation in association with the image data on the display means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015048326A JP6497138B2 (en) | 2015-03-11 | 2015-03-11 | Document reading apparatus, display control method, and display control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015048326A JP6497138B2 (en) | 2015-03-11 | 2015-03-11 | Document reading apparatus, display control method, and display control program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2016171379A true JP2016171379A (en) | 2016-09-23 |
| JP6497138B2 JP6497138B2 (en) | 2019-04-10 |
Family
ID=56984140
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015048326A Active JP6497138B2 (en) | 2015-03-11 | 2015-03-11 | Document reading apparatus, display control method, and display control program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6497138B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019114024A (en) * | 2017-12-22 | 2019-07-11 | キヤノン株式会社 | Device, method and program for setting information related to scan image |
| WO2026023567A1 (en) * | 2024-07-26 | 2026-01-29 | キヤノン株式会社 | Image-forming device |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63109591A (en) * | 1986-10-27 | 1988-05-14 | Sharp Corp | optical character reader |
| JPH0478957A (en) * | 1990-07-20 | 1992-03-12 | Matsushita Electric Ind Co Ltd | Translating device |
| JP2006031448A (en) * | 2004-07-16 | 2006-02-02 | Fuji Xerox Co Ltd | Automatic translation apparatus and automatic translation system |
| JP2011091466A (en) * | 2009-10-20 | 2011-05-06 | Konica Minolta Business Technologies Inc | Image forming composite device |
| JP2012022571A (en) * | 2010-07-15 | 2012-02-02 | Toshiba Tec Corp | Translation control device and translation control method |
| JP2012048302A (en) * | 2010-08-24 | 2012-03-08 | Ricoh Co Ltd | Stencil printing system |
| JP2013005154A (en) * | 2011-06-15 | 2013-01-07 | Konica Minolta Business Technologies Inc | Image reader, control method of image reader, and control program of image reader |
| JP2013254258A (en) * | 2012-06-05 | 2013-12-19 | Fuji Xerox Co Ltd | Information processor and information processing program |
-
2015
- 2015-03-11 JP JP2015048326A patent/JP6497138B2/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63109591A (en) * | 1986-10-27 | 1988-05-14 | Sharp Corp | optical character reader |
| JPH0478957A (en) * | 1990-07-20 | 1992-03-12 | Matsushita Electric Ind Co Ltd | Translating device |
| JP2006031448A (en) * | 2004-07-16 | 2006-02-02 | Fuji Xerox Co Ltd | Automatic translation apparatus and automatic translation system |
| JP2011091466A (en) * | 2009-10-20 | 2011-05-06 | Konica Minolta Business Technologies Inc | Image forming composite device |
| JP2012022571A (en) * | 2010-07-15 | 2012-02-02 | Toshiba Tec Corp | Translation control device and translation control method |
| JP2012048302A (en) * | 2010-08-24 | 2012-03-08 | Ricoh Co Ltd | Stencil printing system |
| JP2013005154A (en) * | 2011-06-15 | 2013-01-07 | Konica Minolta Business Technologies Inc | Image reader, control method of image reader, and control program of image reader |
| JP2013254258A (en) * | 2012-06-05 | 2013-12-19 | Fuji Xerox Co Ltd | Information processor and information processing program |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019114024A (en) * | 2017-12-22 | 2019-07-11 | キヤノン株式会社 | Device, method and program for setting information related to scan image |
| JP7030505B2 (en) | 2017-12-22 | 2022-03-07 | キヤノン株式会社 | Devices, methods, and programs for setting information related to scanned images |
| WO2026023567A1 (en) * | 2024-07-26 | 2026-01-29 | キヤノン株式会社 | Image-forming device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6497138B2 (en) | 2019-04-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11341733B2 (en) | Method and system for training and using a neural network for image-processing | |
| JP5672953B2 (en) | Image processing apparatus, image processing method, and image processing program | |
| US11418658B2 (en) | Image processing apparatus, image processing system, image processing method, and storage medium | |
| JP6066108B2 (en) | Electronic document generation system and program | |
| US11496635B2 (en) | Information processing system for obtaining read data of handwritten characters, training a model based on the characters, and producing a font for printing using the model | |
| US12406515B2 (en) | Information processing apparatus, information processing method and non-transitory storage medium | |
| JP6497138B2 (en) | Document reading apparatus, display control method, and display control program | |
| US10638001B2 (en) | Information processing apparatus for performing optical character recognition (OCR) processing on image data and converting image data to document data | |
| JP2020099030A (en) | Information processing apparatus and information processing method | |
| JP4420877B2 (en) | Image processing method, image processing apparatus, and image output apparatus | |
| US10706337B2 (en) | Character recognition device, character recognition method, and recording medium | |
| JP2017116974A (en) | Image processing device and image processing program | |
| US9641723B2 (en) | Image processing apparatus with improved slide printout based on layout data | |
| US12148234B2 (en) | Information processing with iteratively improved estimates of data attributes based on user modifications, and apparatus, method, and storage medium thereof | |
| JP7570843B2 (en) | IMAGE PROCESSING APPARATUS, IMAGE FORMING SYSTEM, IMAGE PROCESSING METHOD, AND PROGRAM | |
| JP6606885B2 (en) | Image processing apparatus and image processing program | |
| JP2012204906A (en) | Image processing device and program | |
| US11849086B2 (en) | Image processing apparatus capable of extracting portion of document image specified by preset index and subjecting character string in extracted portion to processing associated with index | |
| JP2021135868A (en) | Tampering detection system and tampering detection method | |
| US20240249546A1 (en) | Information processing apparatus, information processing system, and storage medium | |
| JP6541410B2 (en) | Image processing device | |
| JP6504104B2 (en) | Image processing device | |
| JP6002618B2 (en) | Image processing apparatus, image forming apparatus, and image processing program | |
| US11238305B2 (en) | Information processing apparatus and non-transitory computer readable medium storing program | |
| JP7434981B2 (en) | Information processing device and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180219 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180928 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181023 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20181120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181204 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190122 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190212 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190225 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6497138 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |