JP2005260663A - Digital camera and program - Google Patents
Digital camera and program Download PDFInfo
- Publication number
- JP2005260663A JP2005260663A JP2004070607A JP2004070607A JP2005260663A JP 2005260663 A JP2005260663 A JP 2005260663A JP 2004070607 A JP2004070607 A JP 2004070607A JP 2004070607 A JP2004070607 A JP 2004070607A JP 2005260663 A JP2005260663 A JP 2005260663A
- Authority
- JP
- Japan
- Prior art keywords
- image
- digital camera
- determination
- character
- acquired
- 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
Images
Landscapes
- Character Input (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、デジタルカメラに関し、特に、文書の電子化に好適なデジタルカメラに関する。 The present invention relates to a digital camera, and more particularly to a digital camera suitable for digitizing a document.
従来、用紙などに記された文書を電子化するには、フラットベッドスキャナなどで読み込むことが一般的であったが、近年、高画素のデジタルカメラが低価格で入手できるようになったことにより、スキャナやメモの代わりとしてデジタルカメラが利用されつつある。撮影した画像をデジタルデータとして記録することができるデジタルカメラの特徴を活かし、用紙に印刷されている文書や、街中の看板などに記されている文字などをデジタルカメラで撮影することで、文書情報を手軽に電子化することができる。また、フラットベッドスキャナなどと異なり、デジタルカメラは携帯性にすぐれているため、対象とする文書の形態にかかわらず、いつでもどこでも文書の電子化を実施することができる。また、デジタルデータで記録することができるので、所定の文字認識処理などにより、利便性の高いテキストデータへの変換なども容易におこなうことができる。 Conventionally, in order to digitize documents on paper etc., it was common to read them with a flatbed scanner, etc., but in recent years, high-pixel digital cameras have become available at low prices. Digital cameras are being used instead of scanners and memos. Taking advantage of the features of a digital camera that can record the captured image as digital data, document information can be obtained by shooting a document printed on paper or characters on a signboard in the city with a digital camera. Can be easily digitized. In addition, unlike a flatbed scanner or the like, a digital camera is excellent in portability, so that it is possible to digitize a document anytime and anywhere regardless of the form of the target document. Further, since it can be recorded as digital data, it can be easily converted into convenient text data by a predetermined character recognition process or the like.
しかしながら、対象との距離などが常に一定であるフラットベッドスキャナなどとは異なり、デジタルカメラによる撮影では、撮影条件が撮影毎に異なるため、文字認識処理で必要とされる画像品質を常に得ることは困難である。すなわち、デジタルカメラによる撮影では、外光、レンズ性能、手ブレ、などの影響があり、フラットベッドスキャナなどのように一定条件の画像を常に得ることが困難である。その結果、必要な画像品質を得られないことがあり、文字認識処理に適さない画像を記録してしまうことがある。 However, unlike flatbed scanners where the distance to the target is always constant, shooting with digital cameras has different shooting conditions for each shooting, so it is always possible to obtain the image quality required for character recognition processing. Have difficulty. In other words, shooting with a digital camera is affected by external light, lens performance, camera shake, and the like, and it is difficult to always obtain an image under certain conditions as in a flatbed scanner. As a result, necessary image quality may not be obtained, and an image that is not suitable for character recognition processing may be recorded.
したがって、デジタルカメラを用いて文書情報を記録する場合には、従来、(1)同じ撮影対象を複数枚撮影して、最も画像品質のよいものを撮影後に選択したり、(2)撮影毎に画面で画像品質を確認し、画像品質が悪い場合には撮り直しする、などの作業によって対応していた。(1)の方法では、画像品質の低い画像データまでも記録しておかなければならないため、メモリ領域を無駄に占有してしまい、本当に必要な画像の記録に支障をきたすことがある。また、デジタルカメラに備えられている画面(液晶表示装置など)は解像度が低いことが多く、画像品質を確認するためには、画像を拡大表示させたりスクロールしなければならない。したがって、(2)の方法では確認のための作業時間が長くなってしまい、撮影効率を低下させてしまう。また、いずれの方法もユーザ(撮影者)がおこなう作業であるため、ユーザの労力を要し、負担となっていた。 Therefore, when document information is recorded using a digital camera, conventionally, (1) a plurality of images of the same object to be imaged are selected and the image with the best image quality is selected after shooting, or (2) each image is captured. The work was done by checking the image quality on the screen and re-taking the image if the image quality was bad. In the method (1), even image data with low image quality must be recorded, so that the memory area is occupied unnecessarily, which may hinder the recording of a really necessary image. In addition, a screen (such as a liquid crystal display device) provided in a digital camera often has a low resolution, and in order to check the image quality, the image must be enlarged or scrolled. Therefore, in the method (2), the work time for confirmation becomes long and the photographing efficiency is lowered. In addition, since both methods are operations performed by the user (photographer), the user's labor is required and is a burden.
このような不都合を解消するため、所定の画像品質であるか否かを画像処理によって自動的に判断する技術(例えば、特許文献1、2)などが提案されている。しかしながら、これらの手法では、取得した画像データに画像処理をおこなうことで画像品質を判断しているため、処理に時間を要し、撮影時に処理を待たなければならないことがある。このため、迅速な撮影を行うことができず、撮影効率が低下してしまう。この結果、文書の電子化にかかる作業効率も低下してしまい、デジタルカメラの利便性を十分に活かすことができなかった。
In order to eliminate such inconveniences, techniques (for example,
また、デジタルカメラによる撮影では、レンズ収差の影響により、画像の縁部付近で歪みや滲みが発生することがある。このような画像から文字を切り出して文字サイズを特定する場合、本来同じサイズの文字であっても、画像上の位置によってはことなるサイズとして特定されてしまうことがある。したがって、上記従来技術のように、画像中の文字を一義的に切り出して文字サイズを特定する方法では、レンズ性能による影響を考慮していないため、正確に文字サイズを特定することが困難である。すなわち、上記従来技術による画像品質の判断は正確性に欠け、誤った判断となる場合があった。 Further, in photographing with a digital camera, distortion and blur may occur near the edge of an image due to the influence of lens aberration. When character size is specified by cutting out characters from such an image, even a character of the same size may be specified as a different size depending on the position on the image. Therefore, as in the conventional technique described above, the method of unambiguously cutting out characters in an image and specifying the character size does not consider the influence of lens performance, so it is difficult to specify the character size accurately. . In other words, the determination of the image quality according to the above prior art is not accurate and may be erroneous.
さらに、撮影した文書画像の利用用途は、撮影対象やユーザによって異なることが多い。すなわち、文字認識処理によるテキストデータの取得を目的とする場合がある一方、画像を表示等させるだけでよい場合もある。文字認識処理によって高い認識率で文字認識させたい場合、通常、比較的高い画像品質が要求される。一方、人間の目視による判読性の許容範囲はこれよりも広く、文字認識処理で要求される画像品質よりも低い画像品質の画像であっても認識することができる。すなわち、文字認識処理を目的とする場合と目視認識を目的とする場合とでは、必要とされる画像品質のレベルに差がある。 Furthermore, the usage of the photographed document image is often different depending on the photographing object and the user. That is, there are cases where the purpose is to acquire text data by character recognition processing, while there are cases where it is only necessary to display an image or the like. When it is desired to perform character recognition at a high recognition rate by character recognition processing, a relatively high image quality is usually required. On the other hand, the permissible range of human legibility is wider than this, and even an image having an image quality lower than the image quality required in the character recognition process can be recognized. That is, there is a difference in the level of image quality required between the case of character recognition processing and the case of visual recognition.
しかしながら、従来技術では、画像品質の判断基準が一律であったため、必要十分な画像品質が得られるにもかかわらず、撮り直しなどを強いられてしまう場合があった。すなわち、文字認識処理で要求されるレベルを基準とした場合、目視認識に十分な画像品質の画像が撮影できるにもかかわらず、画像品質が低いと判断されてしまうことがある。この場合、ユーザは判断にしたがって撮り直し等をすることとなるが、目視認識を目的としている場合には無駄な作業となり撮影効率が低下する。
本発明は上記実状に鑑みてなされたもので、文書撮影をおこなう場合に画像品質を迅速かつ適切に判定して通知することができるデジタルカメラおよびプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a digital camera and a program capable of quickly and appropriately determining and notifying image quality when taking a document.
またに、文書撮影をおこなう場合に画像品質を正確かつ適切に判定して通知することができるデジタルカメラおよびプログラムを提供することを目的とする。 It is another object of the present invention to provide a digital camera and a program capable of accurately and appropriately determining and notifying image quality when taking a document.
上記目的を達成するため、本発明の第1の観点に係るデジタルカメラは、
入射光をデジタルデータに変換して画像データを取得するデジタルカメラにおいて、
撮影時の前記デジタルカメラの動きを検出する検出手段と、
少なくとも前記検出手段の検出結果に基づいて、取得する画像に示される文字の判読可否を判定する判定手段と、
前記判定手段の判定結果に基づいて、所定の動作を実行する実行手段と、を備え、
前記判定手段は、
少なくとも前記検出手段の検出結果に基づいて、取得される画像上の手ブレ量を算出する手ブレ量算出手段と、
判定の基準を示す判定基準情報を記憶する判定基準記憶手段と、をさらに備え、
前記手ブレ量算出手段が算出した手ブレ量と前記判定基準記憶手段に記憶されている判定基準情報とに基づいて文字の判読可否を判定し、
前記実行手段は、前記判定手段の判定結果に基づいて、所定の通知情報を出力する出力手段をさらに備える、
ことを特徴とする。
In order to achieve the above object, a digital camera according to the first aspect of the present invention provides:
In a digital camera that acquires image data by converting incident light into digital data,
Detecting means for detecting movement of the digital camera at the time of shooting;
Determination means for determining whether or not the character shown in the image to be acquired can be read based on at least the detection result of the detection means;
Execution means for executing a predetermined operation based on the determination result of the determination means,
The determination means includes
A camera shake amount calculating means for calculating a camera shake amount on the acquired image based on at least the detection result of the detecting means;
A determination criterion storage means for storing determination criterion information indicating a criterion for determination;
Determining whether or not the character can be read based on the camera shake amount calculated by the camera shake amount calculating unit and the criterion information stored in the criterion storage unit;
The execution unit further includes an output unit that outputs predetermined notification information based on a determination result of the determination unit.
It is characterized by that.
上記デジタルカメラにおいて、
前記判定基準記憶手段は、取得する画像の用途に応じた複数の判定基準情報を記憶し、
前記判定手段は、前記手ブレ量算出手段が算出した手ブレ量と前記判定基準記憶手段に記憶されている判定基準情報とに基づき、前記画像の用途に応じて、文字の判読可否を判定することが望ましい。
In the above digital camera,
The determination criterion storage means stores a plurality of determination criterion information according to the use of the image to be acquired,
The determination means determines whether or not the character can be read based on the use of the image based on the camera shake amount calculated by the camera shake amount calculation means and the determination reference information stored in the determination reference storage means. It is desirable.
上記デジタルカメラにおいて、
前記手ブレ量算出手段は、少なくとも前記検出手段の検出結果と当該撮影時に設定されたシャッタスピードとに基づいて手ブレ量を算出することが望ましい。
In the above digital camera,
It is desirable that the camera shake amount calculating unit calculates the camera shake amount based on at least a detection result of the detecting unit and a shutter speed set at the time of the photographing.
上記デジタルカメラにおいて、
前記手ブレ量算出手段は、取得する画像のサイズに応じて手ブレ量を算出することが望ましい。
In the above digital camera,
It is desirable that the camera shake amount calculating means calculates the camera shake amount according to the size of the image to be acquired.
上記デジタルカメラにおいて、
前記検出手段は、前記デジタルカメラの揺れを検出することが望ましい。
In the above digital camera,
It is desirable that the detection means detects a shake of the digital camera.
上記デジタルカメラにおいて、
前記判定手段は、
取得される画像上に所定の領域を設定する領域設定手段と、
取得される画像に示される文字を、前記領域設定手段が設定した領域毎に特定する文字特定手段と、
前記文字特定手段が特定した文字の前記画像上でのサイズを特定する文字サイズ特定手段と、をさらに備えていてもよく、この場合、
前記文字サイズ特定手段が特定した文字サイズと前記判定基準記憶手段に記憶されている判定基準情報とに基づいて、前記画像に示される文字の判読可否を判定することが望ましい。
In the above digital camera,
The determination means includes
Area setting means for setting a predetermined area on the acquired image;
Character specifying means for specifying the character shown in the acquired image for each area set by the area setting means;
Character size specifying means for specifying the size of the character specified by the character specifying means on the image may further be provided.
It is desirable to determine whether or not the character shown in the image can be read based on the character size specified by the character size specifying means and the determination reference information stored in the determination reference storage means.
上記デジタルカメラにおいて、
前記領域設定手段は、前記デジタルカメラのレンズ性能に基づいて、前記領域を設定することが望ましい。
In the above digital camera,
The area setting means preferably sets the area based on lens performance of the digital camera.
上記デジタルカメラにおいて、
前記判定基準記憶手段は、取得される画像の用途、および、当該画像上の位置に応じた複数の判定基準情報を記憶し、
前記判定手段は、前記文字サイズ特定手段が特定した文字サイズと前記判定基準記憶手段に記憶されている判定基準情報とに基づいて、前記画像に示される文字の判読可否を前記用途に応じて判定することが望ましい。
In the above digital camera,
The determination criterion storage means stores a plurality of determination criterion information according to the use of the acquired image and the position on the image,
The determination means determines whether or not the character shown in the image is legible based on the character size specified by the character size specification means and the determination reference information stored in the determination reference storage means according to the application. It is desirable to do.
上記デジタルカメラにおいて、
前記文字サイズ特定手段は、前記取得する画像のサイズに応じて、当該画像上の文字サイズを特定することが望ましい。
In the above digital camera,
The character size specifying means preferably specifies the character size on the image according to the size of the acquired image.
上記デジタルカメラは、
ユーザからの指示を入力する入力手段をさらに備えていることが望ましく、この場合、
前記判定基準記憶手段は、前記入力手段に入力されたユーザの指示に応じて、判定基準情報を更新することが望ましい。
The above digital camera
It is desirable to further include an input means for inputting an instruction from the user.
It is desirable that the determination criterion storage unit updates the determination criterion information in accordance with a user instruction input to the input unit.
上記デジタルカメラにおいて、
前記出力手段は、前記判定手段の判定結果に応じて、取得する画像における文字の判読可否を示す情報を撮影時に出力することが望ましい。
In the above digital camera,
It is desirable that the output means outputs information indicating whether or not the characters in the acquired image can be read at the time of photographing according to the determination result of the determination means.
上記デジタルカメラにおいて、
前記出力手段は、前記判定手段の判定結果に応じて、前記取得される画像に示される文字を、目視で判読可能か否か、コンピュータによる文字認識で判読可能か否か、及び/又は、当該画像の全域で判読可能か否か、を示す情報を前記通知情報として出力する、ことが望ましい。
In the above digital camera,
The output means, according to the determination result of the determination means, whether or not the characters shown in the acquired image can be visually read, whether or not the characters can be read by computer recognition, and / or It is desirable to output information indicating whether or not the entire image can be read as the notification information.
上記デジタルカメラにおいて、
前記判定基準記憶手段は、前記取得される画像に示される文字を、目視で判読可能か否かを判定するための判定基準と、コンピュータによる文字認識が可能か否かを判定するための判定基準と、を示す判定基準情報を記憶することが望ましい。
In the above digital camera,
The determination criterion storage means includes a determination criterion for determining whether or not the characters shown in the acquired image can be visually read and a determination criterion for determining whether or not character recognition by a computer is possible It is desirable to store determination criterion information indicating
上記目的を達成するため、本発明の第2の観点にかかるプログラムは、
入射光をデジタルデータに変換して画像データを取得するデジタルカメラを制御するコンピュータに、
取得する画像に示される文字の判読可否を判定するための基準を示す判定基準情報を、当該画像の用途に応じて設定して記憶するステップと、
手ブレの要因となる前記デジタルカメラの動きを示す情報を取得するステップと、
前記デジタルカメラの動きに基づいて、取得される画像上の手ブレ量を、当該画像のサイズに応じて算出するステップと、
算出した手ブレ量と前記判定基準情報とに基づいて、前記取得する画像に示される文字の判読可否を、前記用途に応じて判定するステップと、
判定結果に応じた所定の通知情報を出力するステップと、
を実行させることを特徴とする。
In order to achieve the above object, a program according to the second aspect of the present invention is:
To a computer that controls a digital camera that converts incident light into digital data and acquires image data,
A step of setting and storing determination criterion information indicating a criterion for determining whether or not the character shown in the image to be acquired can be read, according to the use of the image;
Obtaining information indicating movement of the digital camera that causes camera shake;
Calculating the amount of camera shake on the acquired image based on the movement of the digital camera according to the size of the image;
Based on the calculated amount of camera shake and the determination criterion information, determining whether or not the character shown in the acquired image is readable according to the application;
Outputting predetermined notification information according to the determination result;
Is executed.
上記目的を達成するため、本発明の第3の観点にかかるプログラムは、
入射光をデジタルデータに変換して画像データを取得するデジタルカメラを制御するコンピュータに、
取得する画像に示される文字の判読可否を判定するための基準を示す判定基準情報を、当該画像の用途および画像上の位置に応じて設定して記憶するステップと、
取得する画像上に、前記デジタルカメラのレンズ性能に基づく所定の領域を設定するステップと、
前記取得する画像に示される文字を前記設定された領域毎に特定して、当該画像上での文字サイズを特定するステップと、
特定された文字サイズと前記判定基準情報とに基づいて、前記取得する画像上に示される文字の判読可否を前記用途に応じて判定するステップと、
判定結果に応じた所定の通知情報を出力するステップと、
を実行させることを特徴とするプログラム。
In order to achieve the above object, a program according to the third aspect of the present invention is:
To a computer that controls a digital camera that converts incident light into digital data and acquires image data,
Setting and storing determination criterion information indicating a criterion for determining whether or not the character shown in the acquired image is readable according to the use of the image and the position on the image;
Setting a predetermined area based on the lens performance of the digital camera on the image to be acquired; and
Specifying the characters shown in the image to be acquired for each of the set areas, and specifying the character size on the image;
Based on the specified character size and the determination criterion information, determining whether or not the character shown on the acquired image is readable according to the application;
Outputting predetermined notification information according to the determination result;
A program characterized by having executed.
本発明によれば、撮影時のデジタルカメラの動きを検出して手ブレ量を算出し、画像中に示される文字の判読可否を判定して通知するので、文書を撮影する場合に画像品質を迅速に判定して通知することができる。また、撮影画像上に領域を割り当て、領域毎に文字サイズを特定して文字の判読可否を判定するので、画像品質を正確に判定して通知することができる。さらに、撮影画像の利用用途に応じて判定基準値を設定できるので、画像品質を適切に判定して通知することができる。この結果、撮影効率の向上や、撮影時あるいは後処理における省力化を図ることができるとともに、メモリ領域の浪費などを防止することができる。 According to the present invention, the amount of camera shake is detected by detecting the movement of the digital camera at the time of shooting, and it is determined and notified whether or not the characters shown in the image can be read. Judgment can be made quickly. In addition, since an area is allocated on the photographed image and the character size is specified for each area to determine whether or not the character can be read, the image quality can be accurately determined and notified. Furthermore, since the determination reference value can be set according to the usage of the captured image, it is possible to appropriately determine and notify the image quality. As a result, it is possible to improve shooting efficiency, save labor in shooting or post-processing, and prevent waste of the memory area.
(実施形態1)
本発明にかかる実施形態を、以下図面を参照して説明する。本実施形態では、CCD(Charge Coupled Device:電荷結合素子)などの撮像素子を用いて画像データを取得するデジタルカメラ(撮像装置)によって文字や文書を撮影する場合(以下、「文書撮影」とする)を例に以下説明する。本実施形態において「文書撮影」とは、例えば、用紙や看板などに記されている文字をデジタルカメラで撮影し、スキャナなどによる取り込みやメモなどの代用として文書情報(文字情報)を記録することをいうものとする。また、文書撮影により取得された画像を「文書画像」とする。このような文書画像は所定の文字認識処理に供せられることでテキストデータなどに変換される。すなわち、デジタルカメラで文書を撮影することで、文書情報の電子化を図るものである。
(Embodiment 1)
Embodiments according to the present invention will be described below with reference to the drawings. In this embodiment, when a character or document is photographed by a digital camera (imaging device) that acquires image data using an imaging device such as a CCD (Charge Coupled Device) (hereinafter referred to as “document photographing”). ) As an example. In this embodiment, “document shooting” refers to, for example, shooting characters written on paper, billboards, etc. with a digital camera, and recording document information (character information) as a substitute for taking in with a scanner or a memo. It shall be said. In addition, an image acquired by document shooting is referred to as a “document image”. Such a document image is converted into text data by being subjected to a predetermined character recognition process. That is, document information is digitized by photographing a document with a digital camera.
本実施形態に係るデジタルカメラの構成を図1、図2を参照して説明する。図1は本実施形態にかかるデジタルカメラ100のシステム構成(内部構成)を示すブロック図であり、図2はデジタルカメラ100の外観例を示す図(図2(a)は正面図、図2(b)は背面図)である。図示するように、本実施形態にかかるデジタルカメラ100は、制御部110と、撮像部120と、入力部130、出力部140と、画像記録部150と、記憶部160と、センサ部170と、を備える。
The configuration of the digital camera according to this embodiment will be described with reference to FIGS. FIG. 1 is a block diagram showing a system configuration (internal configuration) of a
制御部110は、例えば、CPU(Central Processing Unit:中央演算処理装置)などから構成され、デジタルカメラ100の各部を制御する。ここで、制御部110は、記憶部160に格納された動作プログラムを実行することで後述する各処理が実現される。なお、制御部110は、動作時に必要なデータや動作プログラムなどを展開(ロード)するための記憶領域を備えているものとする。この記憶領域(以下「ワークエリア」とする)は、例えば、レジスタやキャッシュメモリ、および、RAM(Random Access Memory)などから構成される。
The
撮像部120は、制御部110の制御によって撮像動作をおこなうものであり、本実施形態では、図1に示すように、レンズユニット121、測距・測光部122、撮像素子123、などを備える。
The
レンズユニット121は、レンズ群や絞り羽根などから構成される光学的部材や、光学的部材を駆動する駆動部などから構成される。駆動部は、制御部110の制御により光学的部材を駆動する。例えば、設定された絞り(F値)となるよう絞り羽根を駆動する。また、レンズユニット121がAF(Auto Focus:オートフォーカス)機能を備えている場合は、撮影対象に合焦するよう光学的部材を駆動し、ズーム機能を備えている場合には、ユーザのズーム操作に応じて光学的部材を駆動する。
The
測距・測光部122は、例えば、赤外線照射部、受光部、距離センサ、光センサなどから構成され、デジタルカメラ100から撮影対象(被写体)までの距離や光量(EV値)などを測定する。
The distance measuring /
撮像素子123は、例えば、CCD(Charge Coupled Device:電荷結合素子)などから構成され、レンズユニット121を介して入光した可視光(入射光)を光電変換により電荷に変換して蓄積する。ここで撮像素子123は、所定のAD変換回路などを備えるものとし、蓄積された電荷量に基づいてデジタルデータに変換する。すなわち、変換されたデジタルデータは、入射光から得られる「画像データ」を構成することとなる。
The
入力部130は、ユーザによって操作される部材から構成され、ユーザからの指示を受け付ける。入力部130は、操作に応じた所定の信号を制御部110に送出することで、ユーザの指示を制御部110に入力する。本実施形態では、入力部130は、少なくとも、シャッタボタン131と操作入力部132とを備える。
The
シャッタボタン131は、ユーザによる押下に応じて上下方向に可動するボタンなどから構成され、ユーザに押下されることによって、撮影開始などを指示する信号(以下、「シャッタ信号」とする)を制御部110に送出する。なお、シャッタボタン131は、いわゆる「半押し」状態と「全押し」状態の2つの状態に応じて異なる信号を制御部110に送出するものとする。ここで「半押し」とはシャッタボタン131の可動ストロークの半ばまで押された状態をいい、「全押し」とはシャッタボタン131が完全に押し込まれた状態をいうものとする。
The
通常のカメラと同様、本実施形態にかかるデジタルカメラ100においても、「半押し」で測距・測光やピント合わせ(合焦)など(以下、「撮像準備動作」とする)をおこない、「全押し」で撮像・記録(以下、「撮像動作」とする)をおこなう。したがって、シャッタボタン131が半押しされたときには、その旨を示すシャッタ信号(以下、「半押し信号」とする)が制御部110に送出され、制御部110はこれに応じて合焦動作の開始などを実行する。また、シャッタボタン131が全押しされたときには、その旨を示すシャッタ信号(以下、「全押し信号」とする)が制御部110に送出され、制御部110は撮像・記録動作の開始などを実行する。すなわち、制御部110は、シャッタボタン131から送出された信号の受信を契機に撮像のための各動作を開始する。
As with a normal camera, the
操作入力部132は、例えば、所定の操作ボタンやダイヤル、カーソルキー、などから構成され、ユーザの操作により、種々の設定を変更する指示などが入力される。本実施形態においては、撮影モードをはじめとする各種モードの変更・設定に用いられる他、文書画像における文字の判読可否の判定基準の設定に用いられる。また、本実施形態では、撮影モードとして「文書撮影モード」が用意されるものとし、デジタルカメラ100で文書撮影をおこなう場合は、操作入力部132を操作して文書撮影モードにする。
The
出力部140は、ユーザに対して通知される種々の情報を出力するものであり、本実施形態では、画像を出力する表示部141と、音声を出力する報音部142と、点灯や点滅などの発光をおこなうインジケータ部143、を備える。表示部141、報音部142、インジケータ部143は、図2(b)に示すように、デジタルカメラ100の背面側に構成される。すなわち、出力された情報を撮影者(ユーザ)に伝達可能な位置に構成されることが望ましい。
The
表示部141は、例えば、液晶表示装置などから構成され、画像情報を表示出力する。本実施形態では、撮像素子123によって得られた画像や画像記録部150に記録された画像を表示する他、設定変更をおこなうためのメニュー画面、および、設定状態やユーザに対する警告を示す情報(例えば、文字やアイコン)などが表示される。本実施形態では、文書画像の判読可否に応じたユーザへの警告や案内を示す画像や文字情報が表示される。なお、表示部141がタッチパネルなどから構成される場合には、操作入力部132と同等の入力装置として機能させてもよい。
The
報音部142は、例えば、スピーカなどから構成され、所定の音声情報を出力する。ここでは、デジタルカメラ100による撮影時の各種動作(例えば、合焦、シャッタ押下など)に応じた音声(アラーム音など)が出力される他、本実施形態では、文書画像の判読可否に応じたユーザへの警告や案内を示す音声などが出力される。
The
インジケータ部143は、例えば、LED(Light Emitting Diode:発光ダイオード)などから構成され、デジタルカメラ100による撮影時の各種動作(例えば、合焦、シャッタ押下など)に応じて所定の色や明滅パターンで発光される他、本実施形態では、文書画像の判読可否に応じたユーザへの警告・案内時などにも発光する。
The
なお、文書画像の判読可否に応じた警告や案内の出力は、表示部141、報音部142、インジケータ部143のすべてによって行われてもよく、あるいは、これらのいずれかによって行われてもよい。また、いずれの出力装置を用いるかはユーザによって任意に選択・設定可能であるものとする。
It should be noted that the warning and guidance output depending on whether the document image can be read may be performed by all of the
画像記録部150は、例えば、ROM(Read Only Memory)、もしくは、フラッシュメモリなどの記憶装置を備えるメモリカードなどから構成され、撮像素子123のAD変換回路によって変換されたデジタルデータを記録することで、撮像部120の撮像動作によって得られた画像データを記録する。また、画像記録部150は、撮像素子123によって得られた画像データを一時的に保持する記憶領域(以下、「バッファ」とする)を有しているものとする。
The
記憶部160は、例えば、ROMやフラッシュメモリなどの記憶装置から構成され、制御部110が実行するプログラムや、各処理に必要なデータ(以下、「処理データ」とする)などを記憶する。ここでは、撮像準備動作および撮像動作のための各種制御を実行するプログラム(以下、「撮像プログラム」とする)の他、本実施形態では、文書画像に示される文字の判読可否を判定して通知するためのプログラムが格納される。より詳細には、以下のようなプログラムが格納される。
(P1)「手ブレ量算出プログラム」:センサ部170による検出値や撮影パラメータなどに基づいて、文書画像上の手ブレ量を算出するためのプログラム
(P2)「判読可否判定プログラム」:算出された手ブレ量などに基づいて、文書画像の画像品質を判定し、文書画像に示されている文字が判読可能か否かを判定するためのプログラム
(P3)「判定基準設定プログラム」:判読可否の判定に用いる基準値を設定するためのプログラム
(P4)「通知情報出力プログラム」:判読可否の判定結果に基づいて所定の通知情報を出力するためのプログラム
The
(P1) “Camera shake amount calculation program”: A program for calculating the amount of camera shake on a document image based on the detection value by the
このようなプログラムを制御部110が実行することで、制御部110は以下のような機能を実現する。
(F1)「撮像機能」:撮像部120を動作させ、レンズユニット121から入光した入射光に基づく画像データを取得する機能
(F2)「手ブレ検出機能」:センサ部170の検出値に基づいて、手ブレの有無を検出するとともに、文書画像中の手ブレ量を算出する機能
(F3)「判読可否判定機能」:手ブレ量などに基づいて、文書画像の画像品質を判定し、文書画像にに示される文字が判読可能か否かを判定する機能
(F4)「判定基準設定機能」:判読可否の判定基準をユーザの任意入力などで設定する機能
(F5)「出力機能」:判読可否の判定結果に応じて、ユーザへの通知情報を出力する機能
When the
(F1) “Imaging function”: a function for operating the
なお、本実施形態では、制御部110がプログラムを実行することによるソフトウェア処理で上記各機能を実現するが、例えば、これらの各機能をそれぞれ専門的に処理する回路等(いわゆる「ASIC」(Application Specific Integrated Circuit))をデジタルカメラ100に構成することにより、ハードウェア処理によって上記各機能が実現されてもよい。
In the present embodiment, each function is realized by software processing by the
また、記憶部160には、「処理データ」として、例えば、撮影時の露光量(EV値)に対する絞り値(F値)やシャッタスピードの組み合わせなどといった撮影時に必要となる諸設定を示す情報(以下、「撮影パラメータ」という)などが記憶される他、本実施形態では、上記「判読可否判定機能」による判定時の基準を示す情報(以下、「判定基準情報」とする)が記憶される。すなわち、本実施形態では、後述する各処理により、撮影時の手ブレの程度に基づいて当該文字の判読性を判定するが、この手ブレ判定における基準を示す情報が記憶部160に予め記憶される。ここで、判定基準情報に示される基準は、例えば、所定の数値などで示され、判読可否の閾値として機能する。
Further, in the
なお、本発明の実施形態における「判読」とは、取得した文書画像を表示等させたときに「ユーザ(人間)が目視により文字を認識可能である」ことをいう他、コンピュータによる文字認識処理において「一定以上の認識率(許容し得る認識率)で文字が認識される」ことをいうものとする。以下、人間の目視による認識(判読)を「目視認識」とし、コンピュータによる文字認識処理での認識(判読)を「機械認識」とする。 Note that “reading” in the embodiment of the present invention means “a user (human) can visually recognize a character” when displaying an acquired document image or the like, or a character recognition process by a computer. In the above, “characters are recognized at a certain recognition rate (acceptable recognition rate)”. Hereinafter, human visual recognition (interpretation) is referred to as “visual recognition”, and computer recognition (interpretation) is referred to as “machine recognition”.
本実施形態では、撮影時の手ブレの度合を示す「手ブレ量」基づいて、撮影した文書画像の判読可否を判定する(詳細後述)。したがって、本実施形態にかかる判定基準情報は、手ブレ量についての所定の基準値を示す。ここでは、手ブレ量の単位として「ピクセル」を採用するものとする。すなわち、手ブレによって画像にブレが生じた場合、このブレの幅(ブレ幅)を画像を構成するピクセルの数で規定する。 In the present embodiment, whether or not the captured document image is decipherable is determined based on “the amount of camera shake” indicating the degree of camera shake at the time of shooting (details will be described later). Therefore, the determination criterion information according to the present embodiment indicates a predetermined reference value for the amount of camera shake. Here, “pixel” is adopted as the unit of the amount of camera shake. That is, when a blur occurs in an image due to camera shake, the blur width (blur width) is defined by the number of pixels constituting the image.
このような判定基準情報は、例えば、図3(a)に示すような「判定基準情報テーブル」に設定されて記憶部160に格納される。ここで、「判定基準情報テーブル」には、デジタルカメラ100が取得する文書画像の利用用途に応じて判定基準値が設定される。本実施形態では、文書画像の利用用途として「目視認識」と「機械認識」を想定する。したがって、図3(a)に示すように、判定基準値が設定される「設定値」の欄には、「目視認識」と「機械認識」の項目が用意され、それぞれについて独立に判定基準値が設定される。
Such determination criterion information is set in, for example, a “determination criterion information table” as shown in FIG. Here, a determination reference value is set in the “determination reference information table” according to the use application of the document image acquired by the
上述したように、判定基準値は判読可否の閾値として機能し、また、これらの数値は画像上でのブレ幅を示す。したがって、例えば、「判定基準情報テーブル」の「目視認識」に設定されている値以上のブレ幅となる手ブレが生じた場合には、「目視での文字認識ができない」と判定されることになる。同様に、「機械認識」に設定されている値以上のブレ幅となる手ブレが生じた場合には、「文字認識処理において所望する認識精度で認識できない」と判定されることになる。すなわち、判定基準値を上回るブレが生じている場合、「所望する画像品質ではない」ということとなる。 As described above, the determination reference value functions as a threshold for legibility, and these numerical values indicate the blur width on the image. Therefore, for example, if a camera shake with a blur width that is greater than or equal to the value set for “visual recognition” in the “determination criterion information table” occurs, it is determined that “character recognition cannot be performed visually”. become. Similarly, when a camera shake having a blur width equal to or greater than the value set in “machine recognition” occurs, it is determined that “cannot be recognized with a desired recognition accuracy in the character recognition process”. That is, if blurring that exceeds the determination reference value occurs, it means “not desired image quality”.
「判定基準情報テーブル」に設定される判定基準値は、デジタルカメラ100の製造者によって予め定められる他、ユーザによっても任意に設定可能であるものとする。したがって、図3(a)に示すように、製造者による設定値は「デフォルト値」として記録され、ユーザによる設定値は「ユーザ設定値」として記録される。
The determination reference value set in the “determination reference information table” is determined in advance by the manufacturer of the
ユーザによる設定は、操作入力部132および表示部141を用いて行われる。すなわち、図4に示すような設定画面を表示部141に表示し、操作入力部132を操作することにより、ユーザが所望する判定基準値が入力される。入力された情報は、「判定基準情報テーブル」の「ユーザ設定値」に記録される。なお、ユーザによる設定の要否は任意であるため、「ユーザ設定値」に設定がない場合は「デフォルト値」に設定されている値が判定に採用され、「ユーザ設定値」に設定がある場合は「ユーザ設定値」に設定されている値が判定に採用されるものとする。
Setting by the user is performed using the
なお、このような判定基準値の設定は一例であり、判定基準値として設定する値や単位、および、設定方法などは任意である。例えば、「機械認識」に設定する判定基準値は、文字認識処理をおこなうプログラムや装置の認識精度などに応じて設定することができる。この場合、ユーザが操作入力部132を操作して設定可能なことはもとより、例えば、デジタルカメラ100と当該文字認識プログラムとの連携(協働)によって、「機械認識」の判定基準値が自動的に設定されるようにしてもよい。
Such setting of the determination reference value is an example, and the value and unit set as the determination reference value, the setting method, and the like are arbitrary. For example, the determination reference value to be set to “machine recognition” can be set according to a character recognition processing program, device recognition accuracy, and the like. In this case, the determination reference value of “machine recognition” is automatically set by, for example, cooperation (cooperation) between the
また、本実施形態では、判読可否の判定に用いる「手ブレ量」を、デジタルカメラ100の揺れに基づいて制御部110が演算するが(詳細後述)、画像上での手ブレ量は、例えば、撮影時の焦点距離(f値)や記録画素数(画像サイズ)などに応じて異なる。すなわち、レンズの焦点距離が長い(すなわち、望遠側)ほど手ブレの影響を受けやすいため、デジタルカメラ100の揺れの度合が同じであっても、焦点距離が異なれば、画像上での手ブレ量(ブレ幅)も異なる。また、撮像素子123の有効画素数を制御することで複数種類の画像サイズに切替可能である場合、画像サイズ毎に解像度が異なることとなる。したがって、本実施形態のようにブレ幅をピクセル数で表す場合、解像度が異なれば、ブレ度合が同じであっても、それを表すピクセル数が異なる。
In this embodiment, the
すなわち、手ブレの要因となるデジタルカメラ100の揺れ(方向や量)が同じであっても、そのときの焦点距離や画像サイズなどの条件が異なれば、画像上でのブレ度合やそれを表すピクセル数が異なってくる。したがって、手ブレ量を演算する際には、撮影時の諸条件に応じた所定の定数(以下、「手ブレ量定数C」とする)を用いることで適正な手ブレ量を求める。そのため、本実施形態では、この「手ブレ量定数C」を規定するための「手ブレ量定数テーブル」が記憶部160に作成される(図3(b))。
That is, even if the shake (direction and amount) of the
「手ブレ量定数テーブル」には、図3(b)に示すように、デジタルカメラ100のレンズ性能(例えば、焦点距離f)と記録可能な画像サイズ(記録画素数)との組み合わせに対応する手ブレ量定数Cが設定されている。なお、本実施形態にかかるデジタルカメラ100は、焦点距離fが可変の、いわゆるズーム機能を有しているものとし、また、撮像素子123の有効画素数を制御することで複数種類の画像サイズ(解像度)に切替可能であるものとする。このような場合、図3(b)に示すように、「手ブレ量定数テーブル」には、ズーム範囲(焦点距離範囲)を、例えば、所定のステップ(1〜n)で区分し、各ステップと画像サイズの種類(例えば、1〜m種類)の組み合わせに応じて「手ブレ量定数C」が対応付けられる。
As shown in FIG. 3B, the “camera shake amount constant table” corresponds to a combination of lens performance (for example, focal length f) of the
すなわち、「手ブレ量定数テーブル」は、デジタルカメラ100の性能に応じて設定されるものであり、レンズの焦点距離や取得可能な画像サイズなどに応じて適宜設定される。また、撮像素子123の総画素数なども影響するため、撮像素子123の性能も考慮して設定される。このような設定値は、例えば、デジタルカメラ100の製造者が得た実測値に基づいて決定される。なお、撮影時に選択されている画像サイズを示す情報は、撮影パラメータとして記憶部160に記憶されるものとする。
That is, the “camera shake amount constant table” is set according to the performance of the
また記憶部160には、出力部140が出力する「通知情報」が記憶される。本実施形態では、後述する処理によって判定される判読可否に応じて、所定の通知情報が出力される。したがって、本実施形態では、判読可否の判定結果を示す情報と出力される通知情報とが対応付けられた、図3(c)に示すような「通知情報テーブル」が記憶部160に用意される。「通知情報テーブル」の項目「通知情報」には、所定のメッセージを示すテキストデータ(もしくは画像データ)が記録される他、必要に応じてアイコンなどの画像データが記録される。
The
また、本実施形態では、判定基準値を「目視認識」と「機械認識」とで独立に設定しているので、各用途毎の判定結果に応じて通知情報が用意される。例えば、「目視認識は可能だが機械認識は不可」である旨を示すメッセージ(通常「機械認識」での判定基準の方が「目視認識」での判定基準よりシビアであるため)や、「目視認識、機械認識ともに不可」である旨のメッセージなどが通知情報として記録され、用途毎の判定結果に応じて選択的に出力される。なお、図3(c)の例では、判定結果が「判読不可」である場合を「NG」と表記し、「判読可」である場合を「OK」と表記している。 In the present embodiment, since the determination reference value is set independently for “visual recognition” and “machine recognition”, notification information is prepared according to the determination result for each application. For example, a message indicating that “visual recognition is possible but machine recognition is not possible” (since the judgment standard in “machine recognition” is usually more severe than the judgment standard in “visual recognition”) A message indicating that “recognition and machine recognition are both impossible” is recorded as notification information, and is selectively output according to a determination result for each application. In the example of FIG. 3C, the case where the determination result is “unreadable” is described as “NG”, and the case where it is “readable” is described as “OK”.
また、「通知情報テーブル」には、設定されている通知方式がいずれであるかを示す情報も記録される。ここで「通知方式」とは、通知情報の出力形態であり、デジタルカメラ100が有する出力部140の構成に応じて用意される。本実施形態では、例えば、「メッセージ表示」、「アイコン表示」、「インジケータ発光」、「音声通知」、「アラーム通知」、などが通知方式として用意される(詳細後述)。これらの通知方式は、ユーザによって任意に選択されるものであり、操作入力部132などの操作によって、ユーザが所望する通知方式が選択・設定される。なお、「通知方式」として「インジケータ発光」や「アラーム通知」が用意される場合は、例えば、発光パターンや報音パターンなどを示す情報が「通知情報テーブル」の「通知情報」欄に記録されているものとする。
In the “notification information table”, information indicating which notification method is set is also recorded. Here, the “notification method” is an output form of notification information, and is prepared according to the configuration of the
センサ部170は、例えば、加速度センサや角速度センサ(ジャイロセンサ)などから構成され、撮影時の手ブレの要因となるデジタルカメラ100の動き(「揺れ」など)を検出するセンサ(揺れセンサ)である。本実施形態では、加速度センサから構成されるものとし、デジタルカメラ100の揺れを検出し、その度合を示す加速度(mm/s)を検出値として随時制御部110に送出する。
The
すなわち、センサ部170により撮影時の手ブレの有無が検出され、手ブレが発生した場合にはその度合が検出される。ここで、「手ブレ」は、撮影時のデジタルカメラ100に働く外力(例えば、シャッタ押下などのユーザの動作)によりデジタルカメラ100が動くことで、撮影した画像にブレが生じることである。手ブレが発生することで、画像品質が低下し、文書撮影においては、取得される文書画像の判読性が低下することとなる。センサ部170は、このような手ブレを物理的な検出動作により撮影時に検出する。なお、撮影時の手ブレを検出できるのであれば、センサの種類や検出方法は任意である。
That is, the
なお、上記の各構成は、本発明の実施に必要な要部であり、デジタルカメラ100には、これらの他に、デジタルカメラとして必要な構成や機能、および、その他の付加的な構成や機能が、必要に応じて備えられているものとする。
Note that each of the above-described configurations is a main part necessary for carrying out the present invention, and in addition to these, the
次に、上記のように構成されたデジタルカメラ100の動作を図面を参照して以下説明する。後述する各処理は、記憶部160に格納されている動作プログラムを制御部110が実行することで実現される。
Next, the operation of the
本発明の実施形態1にかかる「文書撮影処理(1)」を図5、図6に示すフローチャートを参照して説明する。ここでは、用紙や看板などに記された文字(以下、「文書」とする)をデジタルカメラ100で撮影し、当該文書の内容を示す画像データとして保存する。保存された画像データは、例えば、所定の文字認識プログラムで処理されることにより、テキストデータなどに変換して抽出することで、従来のメモやスキャナによる取り込みの代用として利用される。このような目的で文書を撮影することを「文書撮影」とし、文書撮影によって得られる画像を「文書画像」とする。以下に説明する「文書撮影処理(1)」は、撮影モードとして「文書撮影モード」が選択された状態で、制御部110がシャッタボタン131からシャッタ信号を受信することを契機に開始される。なお、「文書撮影モード」が選択されている状態では、撮像素子123がレンズユニット121を介して入光する入射光を受光し、受光した素子の電荷に応じた画像を表示部141に表示する。
The “document shooting process (1)” according to the first embodiment of the present invention will be described with reference to the flowcharts shown in FIGS. Here, characters (hereinafter referred to as “document”) written on a sheet of paper or a signboard are photographed by the
ユーザは、表示部141に表示されている画像をもとに、デジタルカメラ100の位置調整やズーム操作などにより構図や画角などを決定すると、シャッタボタン131を押下(半押し)する。これに応じて、シャッタボタン131からは、半押し信号が制御部110に送出される。制御部110は、シャッタボタン131から半押し信号を受信したことを契機に撮影準備動作を開始する(ステップS101)。
When the user determines the composition, the angle of view, or the like by adjusting the position of the
ここでは、測距・測光部122による測距・測光動作に基づいて、レンズユニット121が駆動されて文書に対するピント合わせ(合焦)などが行われるとともに、適正なシャッタスピードと絞り値(撮影パラメータ)が特定される。また、ズーム操作によって決定された焦点距離(f値)を特定する。なお、ユーザがシャッタボタン131を半押し状態にしている間、半押し信号がシャッタボタン131から制御部110に送出され続けるものとする。
Here, based on the distance measurement / photometry operation by the distance measurement /
文書に合焦されると、ユーザはシャッタボタン131を全押しにすることで、撮影を指示する。これに応じ、シャッタボタン131から全押し信号が制御部110に送出される。制御部110は、シャッタボタン131から全押し信号を受信すると、ユーザから撮影指示であると判別し(ステップS102:Yes)、ステップS101で特定した絞りとなるようレンズユニット121を駆動するとともに、特定されたシャッタスピードに応じて撮像素子123を露光させる。これにより、特定された撮影パラメータで撮像が行われ、入射光に対応する画像データ(撮像画像)が取得され、画像記録部150のバッファに格納される(ステップS103)。
When the document is in focus, the user instructs shooting by pressing the
なお、例えば、撮影中断などでユーザがシャッタボタン131の半押し状態を解除すると、シャッタボタン131からのシャッタ信号が途絶え、これにより制御部110は、ユーザからの撮影指示がないと判別して(ステップS102:No)、処理を終了する。
For example, when the user releases the half-pressed state of the
撮影指示があった場合、制御部110は、ステップS103での撮像動作と同時に、センサ部170からその時点の検出値を取得する(ステップS104)。より詳細には、全押し信号を受信した時点から、ステップS101で特定したシャッタスピードに対応する時間(秒)経過するまでの間のデジタルカメラ100の揺れを示す検出値を取得する。
When there is a shooting instruction, the
制御部110は、ステップS104で取得した検出値と、ステップS101で特定したシャッタスピードおよび焦点距離(f)に基づいて、ステップS103で取得した撮像画像上の手ブレ量を算出する(ステップS105)。上述したように、本実施形態では、画像データ上での手ブレ量として、ブレ幅を示すピクセル数で求める。ここでは、「手ブレ量(ピクセル)=検出値(mm/s)×シャッタスピード(s)×手ブレ量定数C」を制御部110が演算することにより手ブレ量を求める。
The
すなわち、例えば、ユーザによるシャッタボタン131の押下に伴うデジタルカメラ100への荷重印加などによってデジタルカメラ100に揺れが生じると、センサ部170が揺れによるデジタルカメラ100の移動量を加速度(mm/s)として検出する。ここでは、秒間の移動量を示しているので、これに露光時間であるシャッタスピード(秒)を乗じることで、撮像素子123に露光している間のデジタルカメラ100の移動量(揺れ量)が求まる。さらに、記憶部160の「手ブレ量定数テーブル」から、撮影時の焦点距離(f)と選択されている画像サイズに対応する手ブレ量定数Cを特定して乗じることで、画像上に生じるブレのブレ幅(手ブレ量)を示すピクセル数を求めることができる。
That is, for example, when the
手ブレ量が求まると、制御部110は、記憶部160の「判定基準情報テーブル」を参照し、「目視認識」に設定されている判定基準値と、求めた手ブレ量とを比較する(ステップS106)。ここで、「判定基準情報テーブル」の「ユーザ設定値」に判定基準値が設定されている場合にはその判定基準値と比較し、設定されていない場合には「デフォルト値」に設定されている判定基準値と比較する。
When the camera shake amount is obtained, the
求めた手ブレ量が判定基準値未満である場合(図6、ステップS107:Yes)、制御部110は「目視認識」では「判読可」であると判定する(ステップS108)。一方、手ブレ量が判定基準値以上である場合(ステップS107:No)は、制御部110は「目視認識」では「判読不可」であると判定する(ステップS109)。
When the calculated camera shake amount is less than the determination reference value (FIG. 6, Step S107: Yes), the
次に制御部110は、「判定基準情報テーブル」の「機械認識」に設定されている判定基準値と、求めた手ブレ量とを比較する(ステップS110)。「ユーザ設定値」か「デフォルト値」かの選択は上記と同様である。
Next, the
求めた手ブレ量が判定基準値未満である場合(ステップS111:Yes)、制御部110は「機械認識」では「判読可」であると判定する(ステップS112)。一方、手ブレ量が判定基準値以上である場合(ステップS111:No)は、制御部110は「機械認識」では「判読不可」であると判定する(ステップS113)。
When the calculated amount of camera shake is less than the determination reference value (step S111: Yes), the
制御部110は、ステップS108またはS109、および、ステップS112またはS113での判定結果に「判読不可」があるか否かを判別する(ステップS114)。
The
ここで、いずれの判定結果にも「判読不可」がない場合(ステップS114:No)、制御部110は、ステップS103でバッファに格納した画像データを画像記録部150に記録し(ステップS117)、処理を終了する。すなわち、今回の撮影では、手ブレが生じなかったか、あるいは、手ブレが生じていても「目視認識」、「機械認識」ともに判読可能なレベルであるため、ステップS102でのユーザの撮影指示で取得された画像を「文書画像」として画像記録部150に保存する。
If there is no “unreadable” in any of the determination results (step S114: No), the
一方、いずれかの判定結果に「判読不可」があった場合は(ステップS114:Yes)、制御部110は、判定結果に応じた通知情報を出力部140から出力する(ステップS115)。ここでは、制御部110が記憶部160の「通知情報テーブル」から、各判定結果に対応する通知情報を選択し、設定されている通知方式で出力部140から出力する。
On the other hand, if any of the determination results includes “unreadable” (step S114: Yes), the
ここで、通知方式として、例えば、「メッセージ表示」、「アイコン表示」、「インジケータ発光」、「音声通知」、「アラーム通知」などが用意されるものとする。これらの通知方式は、ユーザの所望に応じて任意に選択される。すなわち、操作入力部132などを操作することで、通知方式をいずれにするかが予め設定される。なお、これらの通知方式のうち、1つが選択されてもよく、あるいは、複数が組み合わされて選択されてもよい。
Here, for example, “message display”, “icon display”, “indicator emission”, “voice notification”, “alarm notification”, and the like are prepared as notification methods. These notification methods are arbitrarily selected according to the user's desire. In other words, the notification method is set in advance by operating the
「メッセージ表示」が選択されている場合、選択された通知情報に示されるメッセージが表示部141に表示される。
When “message display” is selected, the message shown in the selected notification information is displayed on the
「アイコン表示」が選択されている場合、選択された通知情報に示される所定のアイコン(絵文字)が表示部141に表示される。
When “icon display” is selected, a predetermined icon (pictogram) shown in the selected notification information is displayed on the
「インジケータ発光」が選択されている場合、選択された通知情報に対応する所定の発光パターンで、インジケータ部143が点灯または点滅する。この場合、規定されている発光パターンが通知情報として機能する。ここで、発光パターンとして、例えば、発光色や明滅パターンなどが予め規定される。例えば、インジケータ部143が「緑」と「赤」の2色のLEDから構成されている場合、いずれの色をどのように明滅させるか(明滅速度など)が規定されており、デジタルカメラ100における種々の検出事象(例えば、合焦、バッテリ切れ、など)とが予め対応付けられる。
When “indicator light emission” is selected, the
「音声通知」が選択されている場合、選択された通知情報に示されるメッセージが報音部142から出力される。この場合、出力された音声が通知情報として機能する。ここでは、「メッセージ表示」の場合に取得されるテキストデータが取得され、所定の音声合成手法により、当該テキストデータで示されるメッセージが、あたかも人が発話しているように報音部142から出力される。あるいは、「通知情報テーブル」に、発話された各メッセージのサンプリングデータなどが音声ファイルとして格納されている場合には、該当する音声ファイルを再生することで音声出力する。
When “voice notification” is selected, a message indicated by the selected notification information is output from the
「アラーム通知」が選択している場合、選択された通知情報に対応する所定の報音パターンでアラーム音が報音部142から出力される。この場合、規定されている報音パターンが通知情報として機能する。報音パターンは、例えば、音色や音程、あるいは、音の長さなどから規定される。
When “alarm notification” is selected, an alarm sound is output from the
本実施形態では、通知方式として「メッセージ表示」が選択されているものとして、表示例を以下に説明する。 In the present embodiment, a display example will be described below assuming that “message display” is selected as the notification method.
「目視認識」、「機械認識」ともに「判読不可」と判定された場合(ステップS109、S113)は、図7(a)に示すようなメッセージが表示部141に表示される。ここでは、手ブレにより目視認識も機械認識も困難である旨を示すメッセージが表示されるとともに、回避するための対応策などを示すアドバイス情報が表示される(MSG11)。すなわち、手ブレはデジタルカメラ100が安定していなかったり、光量が少ないためにシャッタスピードが長くなると発生しやすいので、三脚を用いたり、照明を当てるなどの対応策を表示する。
When both “visual recognition” and “machine recognition” are determined to be “unreadable” (steps S109 and S113), a message as shown in FIG. 7A is displayed on the
また、「目視認識」は「判読可」と判定され(ステップS108)、「機械認識」は「判読不可」と判定された場合(ステップS113)には、図7(b)に示すようなメッセージが表示部141に表示される。ここでは、目視認識での判読は可能であるが、手ブレにより機械認識は困難である旨のメッセージが表示されるとともに、上記と同様のアドバイス情報が表示される(MSG12)。
If “visual recognition” is determined as “readable” (step S108) and “machine recognition” is determined as “unreadable” (step S113), a message as shown in FIG. 7B is displayed. Is displayed on the
なお、図7に示す各メッセージは一例であり、また、その他の判定結果に応じたメッセージが用意されてもよい。 Each message shown in FIG. 7 is an example, and messages according to other determination results may be prepared.
また、図7に示す表示画面において、ユーザに画像の記録要否を問い合わせるメッセージと、この問い合わせに対する回答(「はい」および「いいえ」)を選択するための選択肢が表示される。すなわち、本実施形態では、いずれかの判定結果に「判定不可」がある場合に上記のようなメッセージを表示するが、上記のような問い合わせをすることで、表示したメッセージに応じてユーザが画像を記録するか否かの判断を促す。例えば、ユーザが取得する文書画像の利用目的として「目視認識」としている場合は、メッセージMSG12が表示されても、要求する画像品質が得られている。この場合、ユーザは撮影した画像の記録を所望するので、「画像記録要」であることを示す回答(「はい」)を選択する。ユーザによる回答の選択は、操作入力部132などを操作して行われる。
In addition, on the display screen shown in FIG. 7, a message for inquiring the user whether or not to record an image and options for selecting an answer (“Yes” and “No”) to the inquiry are displayed. That is, in the present embodiment, the message as described above is displayed when there is “determination impossible” in any of the determination results, but the user makes an image according to the displayed message by making an inquiry as described above. Prompts the user to decide whether or not to record. For example, when “visual recognition” is used as the purpose of use of the document image acquired by the user, the requested image quality is obtained even when the message MSG12 is displayed. In this case, since the user desires to record the photographed image, the user selects an answer (“Yes”) indicating “image recording is necessary”. The user selects an answer by operating the
操作入力部132の操作に応じて、問い合わせに対するユーザの回答が指示されると、回答内容を示す信号が制御部110に送出される。制御部110は、受信した信号に基づいて、ユーザによる記録指示の有無を判別する(ステップS116)。
When a user's answer to the inquiry is instructed according to the operation of the
ここで、ユーザによる記録指示がない場合(ステップS116:No)、すなわち、上記問い合わせに対する回答が「画像記録不要」である(「いいえ」)場合、制御部110は、バッファに格納されている画像データを削除して(ステップS118)、処理を終了する。
Here, when there is no recording instruction by the user (step S116: No), that is, when the answer to the inquiry is “no image recording required” (“No”), the
一方、ユーザによる記録指示がある場合(ステップS116:Yes)は、バッファに格納されている画像データを画像記録部150に保存して(ステップS117)、処理を終了する。 On the other hand, if there is a recording instruction from the user (step S116: Yes), the image data stored in the buffer is saved in the image recording unit 150 (step S117), and the process is terminated.
すなわち、「目視認識」と「機械認識」のそれぞれについての判読可否判定に応じたメッセージが表示されることで、ユーザは目的に応じて、撮影した画像の記録または破棄をその場で選択することができる。 That is, by displaying a message according to the readability determination for each of “visual recognition” and “machine recognition”, the user can select whether to record or discard the captured image on the spot according to the purpose. Can do.
上記「文書撮影処理(1)」によれば、撮影時の手ブレによる影響による判読可否を撮影時に判定し、判定結果に応じた通知情報を出力するので、ユーザはその場で撮影画像の記録または破棄を決定することができる。ここで、撮影した瞬間の手ブレの検出を、センサ部170からの検出値に基づいておこなっているため、取得した画像に画像処理をおこなうことで手ブレを検出する場合に比べ、高速に検出・判定することができる。このため、連続撮影する場合などには次の撮影を迅速におこなうことができ、撮影効率を低下させることがない。
According to the above-mentioned “document shooting process (1)”, whether or not to interpret due to the influence of camera shake at the time of shooting is determined at the time of shooting, and notification information corresponding to the determination result is output. Or you can decide to discard. Here, since camera shake detection at the moment of shooting is performed based on the detection value from the
また、判読可否の判定を、「目視認識」や「機械認識」などの用途に応じて独立しておこない、それぞれの判定結果に応じた通知情報を出力するので、ユーザは、用途に応じて、画像の記録または破棄を適切に選択することができる。また、判読可否判定の基準をユーザが任意に設定することができるので、ユーザの好みや利用する文字認識処理の精度などに応じて、適切に判読可否を判定することができる。 In addition, the determination of legibility is performed independently according to applications such as "visual recognition" and "machine recognition", and notification information according to each determination result is output. It is possible to appropriately select recording or discarding of images. Further, since the user can arbitrarily set the reference for determining the legibility, it is possible to appropriately determine the legibility according to the user's preference and the accuracy of the character recognition process to be used.
(実施形態2)
上記実施形態1では、文書画像の判読可否を手ブレにより判定したが、判読性の良否には手ブレ以外の要因もあり、手ブレのみでは判読可否を正確に判定することができない。このため、通常、撮影された文書画像に示される文字の大きさ(文字サイズ)に基づいて判読性を判別するが、デジタルカメラなどのレンズは、その性能によって収差などがあるため、本来の文字サイズが同じであっても、撮影された文書画像の全面において文字サイズが均一とならない場合がある。このような画像から文字サイズを特定しても不正確となるため、文字サイズに基づいた判読可否判断も不正確となる。
(Embodiment 2)
In the first embodiment, whether or not a document image can be read is determined by camera shake. However, there are other factors other than camera shake in the quality of readability. For this reason, the legibility is usually determined based on the character size (character size) shown in the photographed document image. However, a lens such as a digital camera has aberration due to its performance. Even if the sizes are the same, the character size may not be uniform over the entire surface of the photographed document image. Even if the character size is specified from such an image, it becomes inaccurate, so that the legibility determination based on the character size is also inaccurate.
本実施形態では、デジタルカメラ100を用いて、文字サイズに基づく判読可否判断をより正確におこなう場合を説明する。なお、デジタルカメラ100の構成、および、用語の定義などは実施形態1で示したものと同一であるが、実施形態1で示した動作プログラム(P1〜P4)に加え、本実施形態では以下のプログラムが記憶部160に格納される。
(P5)「文字サイズ特定プログラム」:文書画像に示されている文字のサイズを特定するためのプログラム
In the present embodiment, a case will be described in which the
(P5) “Character size specifying program”: a program for specifying the size of characters shown in the document image
また、制御部110が上記「文字サイズ特定プログラム」を実行することにより、実施形態1で示した各機能(F1〜F5)に加え、本実施形態では以下の機能が実現される。
(F6)「文字検出機能」:文書画像に示される文字部分を検出して文字サイズを特定するする機能
In addition to the functions (F1 to F5) shown in the first embodiment, the following functions are realized in the present embodiment by the
(F6) “Character detection function”: a function for detecting the character portion shown in the document image and specifying the character size
なお、本実施形態では、記憶部160に格納されている「判読可否判定プログラム(P2)」は、「特定された文字サイズなどに基づいて、文書画像の画像品質を判定し、文書画像に示されている文字が判読可能か否かを判定するためのプログラム」となり、このプログラムの実行により実現される「判読可否判定機能(F3)」は、「文字サイズなどに基づいて、文書画像の画像品質を判定し、文書画像に示される文字が判読可能か否かを判定する機能」となる。
In this embodiment, the “readable / unreadable program (P2)” stored in the
また、本実施形態では、手ブレ量ではなく文字サイズに基づいて判読可否を判定するため、記憶部160に用意される「判定基準情報テーブル」(図3(a))および「通知情報テーブル」(図3(c))の内容が実施形態1の場合と異なる。また、文字サイズによる判定をおこなうための他の処理データも記憶部160に用意される。本実施形態で記憶部160に用意される処理データの例を図面を参照して説明する。
Further, in the present embodiment, the “determination reference information table” (FIG. 3A) and the “notification information table” prepared in the
本実施形態では、図8(a)に示すような「判定基準情報テーブル」が記憶部160に用意される。本実施形態では、文書画像に示される文字サイズに基づいて、文書の判読可否が判定されるが、この判読可否を判定する際の基準となる文字サイズが予め規定されて「判定基準情報テーブル」に設定される。ここでは、文書などにおいて通常用いられる文字サイズ単位(例えば、「ポイント」や「ミリメートル」など。以下、「既定サイズ」とする)で指定する。 In the present embodiment, a “determination criterion information table” as shown in FIG. In the present embodiment, whether or not a document can be read is determined based on the character size indicated in the document image. A character size serving as a reference for determining whether or not the document can be read is defined in advance, and a “determination reference information table”. Set to Here, it is designated in character size units (for example, “point”, “millimeter”, etc., hereinafter referred to as “default size”) normally used in documents and the like.
実施形態1と同様、判定基準値は、文書画像の判読可否を判定する閾値として機能する。すなわち、取得された文書画像に示される文字のサイズが判定基準値未満である場合、当該文字を判読することができないと判定され、判定基準値以上である場合は、判読可能であると判定される。すなわち、判定基準値に基づいて、取得された文書画像の画像品質が判定されることとなる。 As in the first embodiment, the determination reference value functions as a threshold for determining whether or not a document image can be read. That is, when the size of the character shown in the acquired document image is less than the determination reference value, it is determined that the character cannot be read, and when it is greater than the determination reference value, it is determined that the character can be read. The That is, the image quality of the acquired document image is determined based on the determination reference value.
また、実施形態1と同様、「判定基準情報テーブル」の設定はデジタルカメラ100の製造者によって予めおこなわれる他、ユーザによって任意に設定可能であるものとする。ユーザによる設定は、操作入力部132および表示部141を用いて行われる。すなわち、図8(b)に示すような設定画面を表示部141に表示し、操作入力部132を操作することにより、ユーザが所望する判定基準値が入力される。入力された情報は、「判定基準情報テーブル」の「ユーザ設定値」に記録される。なお、ユーザによる設定の要否は任意であるため、「ユーザ設定値」に設定がない場合は「デフォルト値」に設定されている値が判定に採用され、「ユーザ設定値」に設定がある場合は「ユーザ設定値」に設定されている値が判定に採用されるものとする。
As in the first embodiment, the “determination criterion information table” is set in advance by the manufacturer of the
本実施形態では、実施形態1と同様、撮影した文書画像の利用用途(「目視認識」と「機械認識」)に応じて複数の判定基準値が設定される他、デジタルカメラ100のレンズ性能に応じて複数の判定基準値が設定される。
In the present embodiment, in the same manner as in the first embodiment, a plurality of determination reference values are set according to the usage (“visual recognition” and “machine recognition”) of the captured document image, and the lens performance of the
ここで「レンズ性能」として、レンズの収差を想定する。レンズには潜在的に収差が存在し、この収差の度合はレンズ性能に依存する。そして、レンズ収差の影響により、取得した画像の縁部で歪みや滲みが発生することがある。これにより、例えば、同じ文字サイズの文字で構成される文書を撮影した場合、取得された画像上では、中央部と縁部とで文字の大きさに差が生じることがある。すなわち、歪みが生じた部分の文字はいずれかの方向に引き伸ばされたようになり、この結果、歪みが生じていない部分の文字よりも、画像上での文字サイズが大きくなる。したがって、画像上の文字サイズに基づいて判読性の判定をおこなう場合、基準となる文字サイズを一律に規定しても正確な判定をすることができない。 Here, lens aberration is assumed as “lens performance”. Lenses potentially have aberrations, the degree of which depends on lens performance. Then, distortion and blur may occur at the edge of the acquired image due to the influence of lens aberration. Thereby, for example, when a document composed of characters of the same character size is photographed, there may be a difference in character size between the central portion and the edge portion on the acquired image. That is, the part of the character where the distortion occurs is stretched in either direction, and as a result, the character size on the image becomes larger than the part of the character where the distortion does not occur. Therefore, when determining the legibility based on the character size on the image, accurate determination cannot be made even if the reference character size is uniformly defined.
そこで、本実施形態では、図9(a)に示すように、取得される画像上で「中央部」と「縁部」の領域(以下、「判定領域」とする)を設定し、文字サイズの判定基準値をそれぞれの判定領域毎に独立して設定する。以下、画像中央部の判定領域を「判定領域C」とし、画像縁部の判定領域を「判定領域E」とする。 Therefore, in the present embodiment, as shown in FIG. 9A, areas of “central part” and “edge part” (hereinafter referred to as “determination area”) are set on the acquired image, and the character size is set. The determination reference value is set independently for each determination region. Hereinafter, the determination region at the center of the image is referred to as “determination region C”, and the determination region at the image edge is referred to as “determination region E”.
したがって、図8(a)に示すように、本実施形態にかかる「判定基準値テーブル」には、利用用途である「目視認識」と「機械認識」のそれぞれに、判定領域を示す項目(画像の中央部の判定領域を示す「中央」と、画像の縁部の判定領域を示す「縁部」)が用意され、それぞれに判定基準値が設定される。ここで、デジタルカメラ100の製造者が設定する「デフォルト値」には、例えば、デジタルカメラ100のレンズ性能についての実証結果などに基づいて判定基準値が設定される。
Therefore, as shown in FIG. 8A, the “determination reference value table” according to the present embodiment includes items (images) indicating determination areas for “visual recognition” and “machine recognition” which are usage applications. "Center" indicating the determination area at the center of the image and "edge" indicating the determination area at the edge of the image) are prepared, and a determination reference value is set for each. Here, for the “default value” set by the manufacturer of the
また、「ユーザ設定値」には、当該ユーザが使用する文字認識処理のためのプログラムや装置の認識率や性能などに応じて、任意に判定基準値が設定できる。また、デジタルカメラ100のレンズが交換式である場合やコンバージョンレンズを装着可能である場合は、交換レンズやコンバージョンレンズの性能に応じて、任意に設定することができる。このような場合、例えば、デジタルカメラ100の製造者により、複数のレンズ製品についての適正な判定基準値が予めデフォルト値として用意されていてもよい。
In addition, as the “user setting value”, a determination reference value can be arbitrarily set according to a character recognition processing program used by the user, the recognition rate or performance of the apparatus, and the like. In addition, when the lens of the
なお、文字サイズの判定基準値の設定にあたり、複数種類の単位に対応していることが望ましい。したがって、図8(b)に示すように、例えば、プルダウンメニューなどの選択手段によって、ユーザが所望する単位を選択できるようにする。いずれの単位が選択されたかを示す情報は、「判定基準値テーブル」に記録される(図8(a))。 In setting the character size determination reference value, it is desirable to support a plurality of types of units. Therefore, as shown in FIG. 8B, the user can select a desired unit by selecting means such as a pull-down menu. Information indicating which unit is selected is recorded in the “judgment reference value table” (FIG. 8A).
なお、このような判定基準値の設定は一例であり、判定基準値として設定する値や単位、および、設定方法などは任意である。また、本実施形態では、レンズ性能による影響を考慮し、画像の中央部と縁部とに判定領域を分け、それぞれの領域について判定基準値をするが、判定領域の分け方や面積などはレンズやデジタルカメラ100の性能に応じて規定される。
Such setting of the determination reference value is an example, and the value and unit set as the determination reference value, the setting method, and the like are arbitrary. In this embodiment, in consideration of the influence of lens performance, the determination area is divided into the center and the edge of the image, and the determination reference value is set for each area. Or the performance of the
したがって、図9(a)に示すような「中央部」と「縁部」に分ける方法に限られず、例えば、図9(b)に示すように、画像を複数の矩形領域に分けてもよい。この場合も各判定領域毎に判定基準値が設定される。このような領域分けの場合、例えば、看板やホワイトボードなどに記されている文書を斜め方向から撮影した場合、画像の横方向について遠近差が生じ、撮影した文書画像上では、遠方側の文字が小さく、近接側の文字が大きくなる。すなわち、元の文書上では同じ文字サイズであっても、撮影した画像上では位置によって文字サイズが異なってしまう。このような場合に、図9(b)に示す多分割領域のそれぞれに、遠近差に応じた判定基準値を設定することで、画像全体について、文字の判読可否を正確に判定することができる。 Therefore, the method is not limited to the method of dividing the “center portion” and the “edge portion” as shown in FIG. 9A. For example, as shown in FIG. 9B, the image may be divided into a plurality of rectangular regions. . Also in this case, a determination reference value is set for each determination region. In the case of such area division, for example, when a document written on a signboard or whiteboard is photographed from an oblique direction, a perspective difference occurs in the horizontal direction of the image, and on the photographed document image, a character on the far side Is small and the characters on the near side are large. That is, even if the character size is the same on the original document, the character size varies depending on the position on the captured image. In such a case, by setting a determination reference value corresponding to the perspective difference in each of the multi-divided areas shown in FIG. 9B, it is possible to accurately determine whether or not characters can be read for the entire image. .
このような領域分けについては、例えば、測距・測光部122による測光パターン(例えば、スポット測光や多分割測光など)を応用してもよい。なお、本実施形態では、図9(a)に示す判定領域を採用するものとして以下説明する。
For such area division, for example, a photometric pattern (for example, spot photometry or multi-division photometry) by the distance measurement /
次に、本実施形態で記憶部160に用意される「通知情報テーブル」を図10(a)を参照して説明する。本実施形態においても、実施形態1と同様に、判読可否の判定結果に応じた所定の通知情報が出力部140から出力される。したがって、本実施形態にかかる「通知情報テーブル」にも、実施形態1の場合と同様に、各判定結果に応じて設定された通知情報が記録される。なお、上述したように、本実施形態では、文書画像の利用用途に加え、レンズ性能を考慮した判定領域毎に判読可否の判定がなされるので、図10(a)に示すように、「目視認識」と「機械認識」のそれぞれについて、項目「中央」と項目「縁部」が用意され、各項目毎に判読可否の判定結果(「判読可」を示す「OK」もしくは「判読不可」を示す「NG」)に応じた通知情報が設定される。
Next, the “notification information table” prepared in the
なお、デジタルカメラ100で取得される画像はドット(ピクセル)から構成されるラスタ画像であるので、撮像された画像に示される文字のサイズはドット数によって規定される。ここで、判定基準値として設定した文字サイズの単位はポイントなどの既定の単位であるため、画像上で特定された文字サイズ(ドット)と判定基準値として設定されている文字サイズとを直接比較して判読可否を判定することはできない。
Since the image acquired by the
したがって、図10(b)に示すような、画像上のドット数と既定単位で示される文字サイズとを対応付けた「文字サイズ対応テーブル」が記憶部160に用意される。ここで、撮像素子123の有効画素数を制御することで複数種類の画像サイズで撮影できる場合、画像サイズ毎に解像度が異なることとなる。したがって、異なるサイズの画像上で示される文字の大きさが実質的に同じであっても、それを表すドット数(ピクセル数)は画像サイズによって異なる。したがって、図10(b)に示すように、「文字サイズ対応テーブル」では、デジタルカメラ100で選択可能な画像サイズ毎にドット数と既定文字サイズとが対応付けられている。これにより、画像サイズが異なる場合であっても、画一的に画像上の文字サイズを特定することができる。
Therefore, as shown in FIG. 10B, a “character size correspondence table” in which the number of dots on the image is associated with the character size indicated in the default unit is prepared in the
このような構成のデジタルカメラ100により文書撮影する場合の処理(「文書撮影処理(2)」)を図11〜図13に示すフローチャートを参照して説明する。
Processing when the
「文書撮影処理(2)」は、撮影モードとして「文書撮影モード」が選択された状態で、制御部110がシャッタボタン131からシャッタ信号を受信することを契機に開始される。なお、「文書撮影モード」が選択されている状態では、撮像素子123がレンズユニット121を介して入光する入射光を受光し、受光した素子の電荷に応じた画像を表示部141に表示する。
The “document shooting process (2)” is started when the
ユーザは、表示部141に表示されている画像をもとに、デジタルカメラ100の位置調整やズーム操作などにより構図や画角などを決定すると、シャッタボタン131を押下(半押し)する。これに応じて、シャッタボタン131からは、半押し信号が制御部110に送出される。制御部110は、シャッタボタン131から半押し信号を受信したことを契機に撮影準備動作を開始する(ステップS201)。
When the user determines the composition, the angle of view, or the like by adjusting the position of the
ここでは、測距・測光部122による測距・測光動作に基づいて、レンズユニット121が駆動されて文書に対するピント合わせ(合焦)などが行われるとともに、適正なシャッタスピードと絞り値(撮影パラメータ)が特定される。また、ズーム操作によって決定された焦点距離(f値)を特定する。なお、ユーザがシャッタボタン131を半押し状態にしている間、半押し信号がシャッタボタン131から制御部110に送出され続けるものとする。
Here, based on the distance measurement / photometry operation by the distance measurement /
制御部110は、特定された絞りとシャッタスピードで撮像素子123に露光し、その間に撮像素子123に蓄積された電荷量に基づくデジタルデータを取得して、判読可否を判定するための画像処理をおこなう画像(以下、「判定用画像」とする)として、画像記録部150のバッファに記録する(ステップS202)。
The
制御部110は、ステップS202で記録された判定用画像に図9(a)に示す判定領域(「判定領域C」および「判定領域E」)を設定し、各判定領域毎に文字部分を特定し、文字の切り出しをおこなう(ステップS203)。ここでの文字部分の特定および切り出しは、任意の周知・慣用技術を用いることができる。例えば、制御部110が判定用画像の背景色の階調を特定し、この階調とは異なる階調のピクセルが一様に密集して存在している部分を文字部分として特定する。そして、設定された判定領域のそれぞれから、1文字ずつ文字を切り出す。なお、切り出す文字の数は任意である。
The
制御部110は、各判定領域毎に切り出した文字のサイズをピクセル数(ドット数)により特定して、ワークエリアに保持する(ステップS204)。ここでは、切り出した文字の横方向のドット数を測定して文字サイズを示すドット数とする。なお、文字サイズを特定するためのドット数の測定方法は任意であり、例えば、文字の縦方向のドット数により文字サイズを特定してもよい他、横方向ドット数と縦方向ドット数の和や積などによって文字サイズを特定してもよい。
The
制御部110は、各判定領域毎に特定した文字サイズ(ドット数)と、現在選択されている画像サイズ(解像度)とに基づいて、記憶部160に格納されている「文字サイズ対応テーブル」(図10(c))から、当該文字サイズ(ドット数)を既定単位(「ポイント」など)の文字サイズに変換し、変換された文字サイズ(以下、「判定用文字サイズ」とする)を示す情報をワークエリアに保持する(ステップS205)。ここでは、「判定基準情報テーブル」(図8(a))に設定されている文字サイズ単位に対応する文字サイズに変換する。
Based on the character size (number of dots) specified for each determination area and the currently selected image size (resolution), the
制御部110は、記憶部160の「判定基準情報テーブル」(図8(a))に設定されている判定基準値と、各判定領域毎に取得した判定用文字サイズとを比較する(ステップS206)。ここでは、「ユーザ設定値」に判定基準値が設定されている場合には、当該判定基準値と比較し、設定されていない場合には、「デフォルト値」に設定された判定基準値と比較する。また、画像の利用用途である「目視認識」と「機械認識」のそれぞれについて、「中央」に設定されている判定基準値と判定領域Cについての判定用文字サイズとを比較し、「縁部」に設定されている判定基準値と判定領域Eについての判定用文字サイズとを比較する。
The
比較の結果、判定領域Cで特定された判定用文字サイズが、「目視認識」の「中央」に設定されている判定基準値未満である場合(図12、ステップS207:Yes)、制御部110は、画像中央部の文字を目視認識で「判読可」と判定する(ステップS208)。一方、判定基準値以上である場合(ステップS207:No)、制御部110は、画像中央部の文字を目視認識で「判読不可」と判定する(ステップS209)。
As a result of the comparison, when the determination character size specified in the determination region C is less than the determination reference value set to “center” of “visual recognition” (FIG. 12, Step S207: Yes), the
また、判定領域Eで特定された判定用文字サイズが、「目視認識」の「縁部」に設定されている判定基準値未満である場合(ステップS210:Yes)、制御部110は、画像縁部の文字を目視認識で「判読可」と判定する(ステップS211)。一方、判定基準値以上である場合(ステップS210:No)、制御部110は、画像縁部の文字を目視認識で「判読不可」と判定する(ステップS212)。
When the determination character size specified in the determination region E is less than the determination reference value set in the “edge” of “visual recognition” (step S210: Yes), the
また、判定領域Cで特定された判定用文字サイズが、「機械認識」の「中央」に設定されている判定基準値未満である場合(ステップS213:Yes)、制御部110は、画像中央部の文字を機械認識で「判読可」と判定する(ステップS214)。一方、判定基準値以上である場合(ステップS213:No)、制御部110は、画像中央部の文字を機械認識で「判読不可」と判定する(ステップS215)。
When the character size for determination specified in the determination region C is less than the determination reference value set to “center” of “machine recognition” (step S213: Yes), the
また、判定領域Eで特定された判定用文字サイズが、「機械認識」の「縁部」に設定されている判定基準値未満である場合(ステップS216:Yes)、制御部110は、画像縁部の文字を機械認識で「判読可」と判定する(ステップS217)。一方、判定基準値以上である場合(ステップS216:No)、制御部110は、画像縁部の文字を機械認識で「判読不可」と判定する(ステップS218)。
When the determination character size specified in the determination region E is less than the determination reference value set in the “edge” of “machine recognition” (step S216: Yes), the
制御部110は、各判定結果に応じた通知情報を出力部140から出力する(図13、ステップS219)。ここでは、制御部110が記憶部160の「通知情報テーブル」から、各判定結果に対応する通知情報を選択し、設定されている通知方式で出力部140から出力する。
The
「通知方式」については、実施形態1と同様である。ここでは、通知方式として「メッセージ表示」が選択されているものとして、表示例を以下に説明する。 The “notification method” is the same as in the first embodiment. Here, a display example will be described below assuming that “message display” is selected as the notification method.
すべての判定結果が「判読不可」と判定された場合(ステップS209、S212、S215、S218)は、図14(a)に示すようなメッセージが表示部141に表示される。ここでは、文字が小さいため、画像の全域で目視認識も機械認識も困難である旨を示すメッセージが表示される(MSG21)。
When all the determination results are determined as “unreadable” (steps S209, S212, S215, and S218), a message as shown in FIG. 14A is displayed on the
また、「目視認識」について、画像中央部では「判読可」だが、画像縁部では「判読不可」と判定された場合(ステップS208、S212)、図14(b)に示すようなメッセージが表示部141に表示される。ここでは、画像中央部の文字は目視認識で判読可能であるが、文字が小さいため、画像縁部の目視認識および画像全域での機械認識は困難である旨のメッセージが表示される(MSG22)。
As for “visual recognition”, when it is determined that “readable” in the center of the image but “unreadable” in the image edge (steps S208 and S212), a message as shown in FIG. 14B is displayed. Displayed on the
また、「目視認識」では画像全域で「判読可」と判定され(ステップS208、S211)、「機械認識」では画像全域で「判読不可」と判定された場合(ステップS215、S218)、図14(c)に示すようなメッセージが表示部141に表示される。ここでは、画像全域の文字を目視認識で判読可能であるが、文字が小さいため、機械認識は困難である旨のメッセージが表示される(MSG23)。
In “visual recognition”, it is determined that “reading is possible” in the entire image (steps S208 and S211), and in “machine recognition”, it is determined that “reading is impossible” in the entire image (steps S215 and S218), FIG. A message as shown in (c) is displayed on the
また、「目視認識」では画像全域で「判読可」と判定され(ステップS208、S211)、「機械認識」では画像縁部で「判読不可」と判定された場合(ステップS218)、図14(d)に示すようなメッセージが表示部141に表示される。ここでは、画像全域の文字を目視認識で判読可能であるが、文字が小さいため、画像縁部の機械認識は困難である旨のメッセージが表示される(MSG24)。
Further, in “visual recognition”, “readable” is determined for the entire image (steps S208 and S211), and in “machine recognition”, “readable” is determined at the image edge (step S218). A message as shown in d) is displayed on the
このような通知情報の出力は、撮像準備動作中(シャッタボタン131の半押し状態)におこなわれるので、ユーザは、出力された通知情報に応じて、撮影するか否かを判断する。そして、撮影を実行すると判断した場合、シャッタボタン131を全押しにする。すなわち、シャッタボタン131から全押し信号が制御部110に送出される。一方、ユーザが撮影条件の変更などのため、現在の撮影条件での撮影を行わない場合、シャッタボタン131の半押し状態を解除する。すなわち、シャッタボタン131から制御部110に送出されていた半押し信号が途絶える。
Since the output of such notification information is performed during the imaging preparation operation (half-pressed state of the shutter button 131), the user determines whether to shoot according to the output notification information. When it is determined that shooting is to be performed, the
制御部110は、シャッタボタン131からのシャッタ信号の状態に基づいて、ユーザからの撮影指示の有無を判別する(ステップS220)。すなわち、シャッタボタン131から全押し信号を受信すると、ユーザからの撮影指示が入力されたと判別する。また、シャッタボタン131からのシャッタ信号(半押し信号)が途絶えると、ユーザからの撮影指示がないと判別する。
Based on the state of the shutter signal from the
制御部110は、ユーザからの撮影指示がない場合(ステップS220:No)、バッファに格納した判定用画像を削除して(ステップS221)、処理を終了する。この場合、制御部110は、例えば、次の撮影準備動作の開始指示を待機する。
When there is no shooting instruction from the user (step S220: No), the
一方、ユーザの撮影指示がある場合(ステップS220:Yes)、制御部110は、バッファに格納した判定用画像を、撮影した文書画像として画像記録部150に記録して(ステップS222)、処理を終了する。
On the other hand, when there is a user's photographing instruction (step S220: Yes), the
すなわち、「目視認識」と「機械認識」のそれぞれについて、判読可能か否かを、出力された通知情報により知ることができるので、ユーザは目的に応じて、撮影の続行または中止をその場で選択することができる。また、レンズ性能の影響を考慮して判読可否の判定をおこなっているので、「目視認識」と「機械認識」のそれぞれについて画像の全域で判読可能である否かを知ることができるので、所望する画像品質を有さない画像を記録してしまうことを回避することができる。 That is, for each of “visual recognition” and “machine recognition”, it is possible to know from the output notification information whether or not it is legible, so that the user can continue or stop shooting on the spot according to the purpose. You can choose. In addition, since it is determined whether or not the image can be read in consideration of the influence of the lens performance, it is possible to know whether or not each of the “visual recognition” and “machine recognition” can be read in the entire area of the image. It is possible to avoid recording an image having no image quality.
上記「文書撮影処理(2)」によれば、対象としている文書を撮影した場合の判読可否を撮影時に判定し、判定結果に応じた通知情報を出力するので、ユーザはその場で撮影の是非を決定することができる。ここで、判読可否の判定を、「目視認識」や「機械認識」などの用途に応じて独立しておこない、それぞれの判定結果に応じた通知情報を出力するので、ユーザは、用途に応じて、撮影の是非を適切に選択することができる。さらに、デジタルカメラ100のレンズ性能に基づいて、撮影した場合の文書画像の全域で判読可能か否かを判定するので、正確に判読可否を判定することができる。また、判読可否判定の基準をユーザが任意に設定することができるので、ユーザの好みや利用する文字認識処理の精度などに応じて、適切に判読可否を判定することができる。
According to the above “document shooting process (2)”, whether or not to interpret when the target document is shot is determined at the time of shooting, and notification information corresponding to the determination result is output. Can be determined. Here, the judgment of legibility is performed independently according to the use such as “visual recognition” and “machine recognition”, and the notification information according to each judgment result is output. , You can choose the right or wrong of shooting. Furthermore, since it is determined based on the lens performance of the
上記各実施形態によれば、文書撮影時における文書画像の画像品質を撮影時に判定してユーザに通知するので、画像品質の低い画像を無駄に撮影・記録することがない。この結果、無駄な撮影動作や記憶領域の消費などを防止することができ、撮影時あるいは後処理における省力化や撮影効率の向上を図ることができる。 According to each of the above embodiments, the image quality of the document image at the time of document shooting is determined at the time of shooting and notified to the user, so that an image with low image quality is not taken and recorded unnecessarily. As a result, it is possible to prevent useless shooting operations and consumption of storage areas, and to save labor and improve shooting efficiency during shooting or post-processing.
すなわち、撮影時に何度も撮り直す必要がない他、何枚も撮影した画像から判読可能なものを選択する作業などをする必要がなくなり、ユーザの労力を軽減させることができる。また、デジタルカメラに備えられている表示装置で画像品質を判別することは困難であるが、上記処理では、センサ部170による検出値、および、撮像素子123で取得された画像データを用いて制御部110が判読可能か否かを判定して通知するので、迅速かつ正確に画像品質を判定することができる。
That is, it is not necessary to re-shoot many times at the time of shooting, and it is not necessary to select a legible one from the images that have been shot, and the user's labor can be reduced. In addition, although it is difficult to determine the image quality with a display device provided in the digital camera, in the above processing, control is performed using the detection value by the
上記実施形態で取得される文書画像は、文字認識処理(機械認識)にてテキストデータなどに変換することが好適であるが、このような文字認識処理の実行形態は任意である。例えば、パーソナルコンピュータなどのコンピュータ装置で文字認識処理を実行することができる。この場合、画像記録部150に記録された文書画像データをコンピュータ装置に転送するが、転送方法は任意であり、例えば、デジタルカメラ100に備えられている所定のインタフェース(例えば、USB(Universal Serial Bus))などを介してコンピュータ装置と接続することで文書画像データを転送することができる。また、画像記録部150が脱着可能なメモリカードから構成されている場合には、コンピュータ装置がメモリカードから文書画像データを読み取ることで転送させることができる。
The document image acquired in the above embodiment is preferably converted into text data or the like by character recognition processing (machine recognition), but the execution form of such character recognition processing is arbitrary. For example, the character recognition process can be executed by a computer device such as a personal computer. In this case, the document image data recorded in the
このような文字認識処理をデジタルカメラ100で実行してもよい。この場合、デジタルカメラ100の記憶部160に文字認識処理をおこなうためのプログラム(文字認識プログラム)を格納し、制御部110がこの文字認識プログラムを実行することで、文字認識処理をおこなう。デジタルカメラ100で文字認識処理を実行した場合、撮影したその場でテキストデータへの変換などを行うことができる。デジタルカメラ100で変換されたテキストデータなどは、画像記録部150に記録したり、コンピュータ装置などに転送することができる。
Such a character recognition process may be executed by the
上記実施形態では、判読可否の判定結果に応じて通知情報を出力するようにしたが、判定結果に応じてデジタルカメラ100の撮影動作を自動的に制御して、ユーザをアシストするようにしてもよい。例えば、「判読不可」と判定された場合に、制御部110がレンズユニット121を駆動し、ズーム機能によって文字サイズが大きくなるよう制御したり、光量不足により手ブレが生じる場合に自動的にフラッシュが発光するように制御してもよい。
In the above embodiment, the notification information is output according to the determination result of legibility. However, the photographing operation of the
また、動作プログラムの更新により機能の拡張を図ることができるデジタルカメラに上述した各処理を実現するプログラムを適用することで、既存のデジタルカメラを上記実施形態にかかるデジタルカメラ100として機能させることができる。この場合、上記実施形態にかかる動作プログラムを当該デジタルカメラにインストールし、当該デジタルカメラの制御部が実行する。これにより、上述の各処理が実行され、文書撮影時の画像品質を正確に判定して判読可否の判定および通知をおこなうことができる。このような動作プログラムを配布する方法は任意であり、例えば、CD−ROMやメモリカードなどの記録媒体に格納して配布可能であることはもとより、インターネットなどの通信媒体を介して配布することもできる。
In addition, by applying a program for realizing each process described above to a digital camera whose functions can be expanded by updating the operation program, the existing digital camera can function as the
さらに、上記実施形態1に示したセンサ部170を後付けの装置(モジュール)として提供してもよい。この場合、デジタルカメラの所定のインタフェースを介してセンサ部170を装着し、センサ部170を駆動制御するプログラムを適用することで、既存のデジタルカメラを上記実施形態1に記載のデジタルカメラ100として機能させることができる。
Furthermore, you may provide the
なお、上記実施形態1では、手ブレによる判読可否を判定し、実施形態2では文字サイズに基づく判読可否を判定したが、双方の判定処理を一連の処理として実行してもよい。この場合、例えば、まず実施形態1にかかる手ブレに基づいた判読可否判定をおこない、手ブレによる影響がない場合に実施形態2にかかる文字サイズに基づいた判読可否判定をおこなうようにしてもよい。 In the first embodiment, whether or not the image can be read by camera shake is determined, and in the second embodiment, whether or not the image can be read based on the character size is determined. However, both determination processes may be executed as a series of processes. In this case, for example, it is possible to first determine the readability based on the hand shake according to the first embodiment, and to perform the readability determination based on the character size according to the second embodiment when there is no influence due to the camera shake. .
以上説明したように、本発明を上記実施形態の如く適用することで、撮影時の手ブレによる文字の判読可否を迅速に判定して通知することができる。また、レンズ性能などに応じて文字の判読可否を正確に判定して通知することができる。さらに、撮影画像の利用用途に応じて文字の判読可否を適切に判定して通知することができる。この結果、撮影時の省力化や撮影効率の向上を図ることができるとともに、メモリ領域の浪費などを防止することができる。 As described above, by applying the present invention as in the above-described embodiment, it is possible to quickly determine and notify whether or not characters can be read by camera shake during shooting. Further, it is possible to accurately determine and notify whether or not the character can be read according to the lens performance or the like. Furthermore, it is possible to appropriately determine and notify whether or not the characters can be read according to the usage of the captured image. As a result, it is possible to save labor at the time of shooting and improve shooting efficiency, and to prevent the memory area from being wasted.
100…デジタルカメラ、110…制御部、120…撮像部、121…レンズユニット、122…測距・測光部、123…撮像素子、130…入力部、131…シャッタボタン、132…操作入力部、140…出力部、141…表示部、142…報音部、143…インジケータ部、150…画像記録部、160…記憶部、170…センサ部
DESCRIPTION OF
Claims (15)
撮影時の前記デジタルカメラの動きを検出する検出手段と、
少なくとも前記検出手段の検出結果に基づいて、取得する画像に示される文字の判読可否を判定する判定手段と、
前記判定手段の判定結果に基づいて、所定の動作を実行する実行手段と、を備え、
前記判定手段は、
少なくとも前記検出手段の検出結果に基づいて、取得される画像上の手ブレ量を算出する手ブレ量算出手段と、
判定の基準を示す判定基準情報を記憶する判定基準記憶手段と、をさらに備え、
前記手ブレ量算出手段が算出した手ブレ量と前記判定基準記憶手段に記憶されている判定基準情報とに基づいて文字の判読可否を判定し、
前記実行手段は、前記判定手段の判定結果に基づいて、所定の通知情報を出力する出力手段をさらに備える、
ことを特徴とするデジタルカメラ。 In a digital camera that acquires image data by converting incident light into digital data,
Detecting means for detecting movement of the digital camera at the time of shooting;
Determination means for determining whether or not the character shown in the image to be acquired can be read based on at least the detection result of the detection means;
Execution means for executing a predetermined operation based on the determination result of the determination means,
The determination means includes
A camera shake amount calculating means for calculating a camera shake amount on the acquired image based on at least the detection result of the detecting means;
A determination criterion storage means for storing determination criterion information indicating a criterion for determination;
Determining whether or not the character can be read based on the camera shake amount calculated by the camera shake amount calculating unit and the criterion information stored in the criterion storage unit;
The execution unit further includes an output unit that outputs predetermined notification information based on a determination result of the determination unit.
A digital camera characterized by that.
前記判定手段は、前記手ブレ量算出手段が算出した手ブレ量と前記判定基準記憶手段に記憶されている判定基準情報とに基づき、前記画像の用途に応じて、文字の判読可否を判定する、
ことを特徴とする請求項1に記載のデジタルカメラ。 The determination criterion storage means stores a plurality of determination criterion information according to the use of the image to be acquired,
The determination means determines whether or not the character can be read based on the use of the image based on the camera shake amount calculated by the camera shake amount calculation means and the determination reference information stored in the determination reference storage means. ,
The digital camera according to claim 1.
ことを特徴とする請求項1または2に記載のデジタルカメラ。 The camera shake amount calculating means calculates a camera shake amount based on at least the detection result of the detecting means and the shutter speed set at the time of shooting.
The digital camera according to claim 1, wherein the digital camera is a digital camera.
ことを特徴とする請求項1乃至3のいずれか1項に記載のデジタルカメラ。 The camera shake amount calculating means calculates a camera shake amount according to the size of the image to be acquired.
The digital camera according to claim 1, wherein the digital camera is a digital camera.
ことを特徴とする請求項1乃至4のいずれか1項に記載のデジタルカメラ。 The detecting means detects shaking of the digital camera;
The digital camera according to claim 1, wherein the digital camera is a digital camera.
取得される画像上に所定の領域を設定する領域設定手段と、
取得される画像に示される文字を、前記領域設定手段が設定した領域毎に特定する文字特定手段と、
前記文字特定手段が特定した文字の前記画像上でのサイズを特定する文字サイズ特定手段と、をさらに備え、
前記文字サイズ特定手段が特定した文字サイズと前記判定基準記憶手段に記憶されている判定基準情報とに基づいて、前記画像に示される文字の判読可否を判定する、
ことを特徴とする請求項1乃至5のいずれか1項に記載のデジタルカメラ。 The determination means includes
Area setting means for setting a predetermined area on the acquired image;
Character specifying means for specifying the character shown in the acquired image for each area set by the area setting means;
Character size specifying means for specifying the size of the character specified by the character specifying means on the image, and
Based on the character size specified by the character size specifying means and the determination reference information stored in the determination reference storage means, determine whether or not the characters shown in the image can be read;
The digital camera according to any one of claims 1 to 5, wherein:
ことを特徴とする請求項6に記載のデジタルカメラ。 The area setting means sets the area based on lens performance of the digital camera.
The digital camera according to claim 6.
前記判定手段は、前記文字サイズ特定手段が特定した文字サイズと前記判定基準記憶手段に記憶されている判定基準情報とに基づいて、前記画像に示される文字の判読可否を前記用途に応じて判定する、
ことを特徴とする請求項6または7に記載のデジタルカメラ。 The determination criterion storage means stores a plurality of determination criterion information according to the use of the acquired image and the position on the image,
The determination means determines whether or not the character shown in the image is legible based on the character size specified by the character size specification means and the determination reference information stored in the determination reference storage means according to the application. To
The digital camera according to claim 6 or 7, wherein
ことを特徴とする請求項6乃至8のいずれか1項に記載のデジタルカメラ。 The character size specifying means specifies the character size on the image according to the size of the image to be acquired.
The digital camera according to claim 6, wherein the digital camera is a digital camera.
前記判定基準記憶手段は、前記入力手段に入力されたユーザの指示に応じて、判定基準情報を更新する、
ことを特徴とする請求項1乃至9のいずれか1項に記載のデジタルカメラ。 It further comprises an input means for inputting an instruction from the user,
The determination criterion storage unit updates the determination criterion information in accordance with a user instruction input to the input unit.
The digital camera according to claim 1, wherein the digital camera is a digital camera.
ことを特徴とする請求項1乃至10のいずれか1項に記載のデジタルカメラ。 The output means outputs information indicating whether or not the characters in the acquired image are readable according to the determination result of the determination means,
The digital camera according to claim 1, wherein the digital camera is a digital camera.
ことを特徴とする請求項1乃至10のいずれか1項に記載のデジタルカメラ。 The output means, according to the determination result of the determination means, whether or not the characters shown in the acquired image can be visually read, whether or not the characters can be read by computer recognition, and / or Information indicating whether or not the entire image can be read is output as the notification information.
The digital camera according to claim 1, wherein the digital camera is a digital camera.
ことを特徴とする請求項1乃至12のいずれか1項に記載のデジタルカメラ。 The determination criterion storage means includes a determination criterion for determining whether or not the characters shown in the acquired image can be visually read and a determination criterion for determining whether or not character recognition by a computer is possible And storing criterion information indicating
The digital camera according to claim 1, wherein the digital camera is a digital camera.
取得する画像に示される文字の判読可否を判定するための基準を示す判定基準情報を、当該画像の用途に応じて設定して記憶するステップと、
手ブレの要因となる前記デジタルカメラの動きを示す情報を取得するステップと、
前記デジタルカメラの動きに基づいて、取得される画像上の手ブレ量を、当該画像のサイズに応じて算出するステップと、
算出した手ブレ量と前記判定基準情報とに基づいて、前記取得する画像に示される文字の判読可否を、前記用途に応じて判定するステップと、
判定結果に応じた所定の通知情報を出力するステップと、
を実行させることを特徴とするプログラム。 To a computer that controls a digital camera that converts incident light into digital data and acquires image data,
A step of setting and storing determination criterion information indicating a criterion for determining whether or not the character shown in the image to be acquired can be read, according to the use of the image;
Obtaining information indicating movement of the digital camera that causes camera shake;
Calculating the amount of camera shake on the acquired image based on the movement of the digital camera according to the size of the image;
Based on the calculated amount of camera shake and the determination criterion information, determining whether or not the character shown in the acquired image is readable according to the application;
Outputting predetermined notification information according to the determination result;
A program characterized by having executed.
取得する画像に示される文字の判読可否を判定するための基準を示す判定基準情報を、当該画像の用途および画像上の位置に応じて設定して記憶するステップと、
取得する画像上に、前記デジタルカメラのレンズ性能に基づく所定の領域を設定するステップと、
前記取得する画像に示される文字を前記設定された領域毎に特定して、当該画像上での文字サイズを特定するステップと、
特定された文字サイズと前記判定基準情報とに基づいて、前記取得する画像上に示される文字の判読可否を前記用途に応じて判定するステップと、
判定結果に応じた所定の通知情報を出力するステップと、
を実行させることを特徴とするプログラム。 To a computer that controls a digital camera that converts incident light into digital data and acquires image data,
Setting and storing determination criterion information indicating a criterion for determining whether or not the character shown in the acquired image is readable according to the use of the image and the position on the image;
Setting a predetermined area based on the lens performance of the digital camera on the image to be acquired; and
Specifying the characters shown in the image to be acquired for each of the set areas, and specifying the character size on the image;
Based on the specified character size and the determination criterion information, determining whether or not the character shown on the acquired image is readable according to the application;
Outputting predetermined notification information according to the determination result;
A program characterized by having executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004070607A JP4366484B2 (en) | 2004-03-12 | 2004-03-12 | Digital camera and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004070607A JP4366484B2 (en) | 2004-03-12 | 2004-03-12 | Digital camera and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2005260663A true JP2005260663A (en) | 2005-09-22 |
JP2005260663A5 JP2005260663A5 (en) | 2007-03-08 |
JP4366484B2 JP4366484B2 (en) | 2009-11-18 |
Family
ID=35085953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004070607A Expired - Fee Related JP4366484B2 (en) | 2004-03-12 | 2004-03-12 | Digital camera and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4366484B2 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007180988A (en) * | 2005-12-28 | 2007-07-12 | Casio Comput Co Ltd | Imaging apparatus, display method, shake image confirming method, program, and storage medium |
US7509038B2 (en) | 2005-09-29 | 2009-03-24 | Seiko Epson Corporation | Determining maximum exposure time to limit motion blur during image capture |
JP2009200712A (en) * | 2008-02-20 | 2009-09-03 | Fujifilm Corp | Imaging apparatus, and imaging control method |
JP2011070601A (en) * | 2009-09-28 | 2011-04-07 | Fujitsu Ltd | Device, and method for managing image, and computer program |
JP2014039241A (en) * | 2012-08-15 | 2014-02-27 | Fuji Xerox Co Ltd | Device, method, and program for analyzing preliminary image |
KR20160005320A (en) * | 2015-12-23 | 2016-01-14 | 삼성전자주식회사 | Recording medium, portable terminal and method for recognizing characters based on determining presence of user's hand tremor or intentional motion |
JP2016177364A (en) * | 2015-03-18 | 2016-10-06 | 京セラドキュメントソリューションズ株式会社 | Information processing device, and data structure of data to be obtained by imaging with respect to paper medium |
WO2020012961A1 (en) * | 2018-07-09 | 2020-01-16 | 株式会社ニコン | Imaging device |
WO2020012960A1 (en) * | 2018-07-09 | 2020-01-16 | 株式会社ニコン | Imaging device |
-
2004
- 2004-03-12 JP JP2004070607A patent/JP4366484B2/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7509038B2 (en) | 2005-09-29 | 2009-03-24 | Seiko Epson Corporation | Determining maximum exposure time to limit motion blur during image capture |
JP2007180988A (en) * | 2005-12-28 | 2007-07-12 | Casio Comput Co Ltd | Imaging apparatus, display method, shake image confirming method, program, and storage medium |
JP2009200712A (en) * | 2008-02-20 | 2009-09-03 | Fujifilm Corp | Imaging apparatus, and imaging control method |
JP2011070601A (en) * | 2009-09-28 | 2011-04-07 | Fujitsu Ltd | Device, and method for managing image, and computer program |
JP2014039241A (en) * | 2012-08-15 | 2014-02-27 | Fuji Xerox Co Ltd | Device, method, and program for analyzing preliminary image |
JP2016177364A (en) * | 2015-03-18 | 2016-10-06 | 京セラドキュメントソリューションズ株式会社 | Information processing device, and data structure of data to be obtained by imaging with respect to paper medium |
KR20160005320A (en) * | 2015-12-23 | 2016-01-14 | 삼성전자주식회사 | Recording medium, portable terminal and method for recognizing characters based on determining presence of user's hand tremor or intentional motion |
KR101667500B1 (en) | 2015-12-23 | 2016-10-18 | 삼성전자주식회사 | Recording medium, portable terminal and method for recognizing characters based on determining presence of user's hand tremor or intentional motion |
WO2020012961A1 (en) * | 2018-07-09 | 2020-01-16 | 株式会社ニコン | Imaging device |
WO2020012960A1 (en) * | 2018-07-09 | 2020-01-16 | 株式会社ニコン | Imaging device |
Also Published As
Publication number | Publication date |
---|---|
JP4366484B2 (en) | 2009-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6359650B1 (en) | Electronic camera having a tilt detection function | |
US20050134719A1 (en) | Display device with automatic area of importance display | |
EP2012528A1 (en) | Electronic camera | |
JP2006116943A (en) | Method and system for printing | |
JP4907740B2 (en) | Imaging device | |
JP2005159856A (en) | Digital camera | |
US20090086050A1 (en) | Image capture device and image capture method | |
JP5087936B2 (en) | camera | |
JP2009094946A (en) | Image pickup device and portrait right protection method in the same device | |
WO2005022901A1 (en) | Imaging system diagnosis device, imaging system diagnosis program, imaging system diagnosis program product, and imaging device | |
JP4366484B2 (en) | Digital camera and program | |
USRE44997E1 (en) | Photographing apparatus | |
US11140331B2 (en) | Image capturing apparatus, control method for image capturing apparatus, and control program for image capturing apparatus | |
JP5078446B2 (en) | Image processing apparatus, control method therefor, and program | |
JP2006019874A (en) | Blur, out of focus informing method and imaging apparatus | |
JP2008079193A (en) | Digital camera | |
JP4315024B2 (en) | Digital camera and program | |
JP2007049675A (en) | Digital camera printing system and digital camera used therefor | |
JP2006287517A (en) | Camera apparatus, photographing method, and photographing program | |
JP5034148B2 (en) | Electronic camera and camera system | |
JP2014204249A (en) | Imaging apparatus | |
JP3457993B2 (en) | Red eye correction device | |
JP4727526B2 (en) | Imaging device | |
JP4934983B2 (en) | Camera device, photographing method and photographing program | |
JP2008017127A (en) | Imaging device with object detecting function, and its control method, printing method, program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070123 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070123 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090428 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090622 |
|
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: 20090714 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090727 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120904 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130904 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |