JP2006344066A - Figure code reading device - Google Patents

Figure code reading device Download PDF

Info

Publication number
JP2006344066A
JP2006344066A JP2005170025A JP2005170025A JP2006344066A JP 2006344066 A JP2006344066 A JP 2006344066A JP 2005170025 A JP2005170025 A JP 2005170025A JP 2005170025 A JP2005170025 A JP 2005170025A JP 2006344066 A JP2006344066 A JP 2006344066A
Authority
JP
Japan
Prior art keywords
cell size
graphic code
information
history information
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005170025A
Other languages
Japanese (ja)
Inventor
Takeharu Muramatsu
健晴 村松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2005170025A priority Critical patent/JP2006344066A/en
Publication of JP2006344066A publication Critical patent/JP2006344066A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a figure code reading device capable of deciding a position relationship, etc. of a distance between a figure code and an imaging lens to an appropriate distance when the figure code reading fails, based on one or two or more of a cell size calculation result, history information of the decision result in the degree of focusing, and both the cell size calculation result and the history information of the decision result in the degree of focusing, and capable of outputting an appropriate instruction for adjusting the positions based on the above results. <P>SOLUTION: Based on one or a plurality of the cell size calculation result, the history information of the decision result in the degree of focusing, and both the cell size calculation result and the history information of the decision result in the degree of focusing; the position relationship, etc. are decided on the distance between the figure code and the imaging lens to the appropriate distance. Based on the above results, the appropriate instruction of the position adjustment is output. By outputting the appropriate instruction of the position adjustment to a user, the time required for reading the figure code can be reduced. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、携帯端末装置における図形コード読取装置に関する。   The present invention relates to a graphic code reading device in a portable terminal device.

現在、携帯端末装置の一つである携帯電話のカメラ機能を利用して、図形コードを読み取ることが可能となっている。図形コードを正しく読み取るには、読取対象となる図形コードが撮像レンズに対し適切な距離にある必要がある。適切な距離とは、図形コードが撮像レンズの焦点の合う合焦範囲にあり、図形コードの最小構成単位であるセルが、ある一定数以上の画素数で撮像レンズから入力される距離である。従来、ハンディタイプのバーコードリーダの場合は、カメラ周辺に設置したLED等の位置決め用の照明装置を用い、適切な距離になると照明の投影光が一つに重なるようにするなどして、ユーザに位置決めを行いやすくする為のガイドを提供してきた。それに対して、一般的にカメラ付き携帯電話での図形コード読取では、このような位置決め用の照明を設置することが困難であるため、携帯電話の表示部をファインダとし、その中に枠を表示し、図形コードが入るようにユーザに調整させている。
特開平5−128292
Currently, it is possible to read a graphic code by using a camera function of a mobile phone which is one of mobile terminal devices. In order to correctly read the graphic code, the graphic code to be read needs to be at an appropriate distance from the imaging lens. The appropriate distance is a distance in which the graphic code is in the in-focus range where the imaging lens is focused, and a cell, which is the minimum structural unit of the graphic code, is input from the imaging lens with a certain number of pixels or more. Conventionally, in the case of a handy type barcode reader, a positioning illumination device such as an LED installed around the camera is used, and the projection light of the illumination is overlapped when the distance is appropriate, so that the user can We have provided a guide to facilitate positioning. On the other hand, in general, it is difficult to set up such illumination for positioning when reading a figure code on a camera-equipped mobile phone. Therefore, the mobile phone display unit is used as a viewfinder and a frame is displayed in it. Then, the user is adjusted so that the figure code can be entered.
JP 5-128292

しかし、携帯電話においてはカメラの解像度よりも表示部の解像度の方が低いので、画像は縮小されて表示されることになり、焦点が合っているかどうかファインダを見て判定することが困難な場合がある。そのため、距離が適切でない場合は、図形コードの読み取りは失敗する。図形コードの読み取りは連続して行われ、適切な位置に調整できれば読み取りは成功するが、読み取りが失敗した場合、ユーザにとって、もっと近づけた方が良いのか、あるいは遠ざけた方が良いのかの判定がつかず、近づけたり、遠ざけたりと何度も調整しないと読み取りが成功せず、読み取りに時間がかかってしまう、という問題がある。   However, in mobile phones, the resolution of the display unit is lower than the resolution of the camera, so the image will be reduced and displayed, and it is difficult to determine whether the image is in focus by looking at the viewfinder There is. Therefore, when the distance is not appropriate, reading of the graphic code fails. The figure code is read continuously, and if it can be adjusted to an appropriate position, the reading will be successful, but if the reading fails, it will be determined whether the user should be closer or farther away. There is a problem that reading will not be successful and reading will take time unless it is adjusted many times, such as not touching, approaching, or moving away.

上記課題を解決するために、本発明は、図形コード読取に失敗した場合に、セルサイズ算出結果、合焦度合判定結果履歴情報、セルサイズ算出結果履歴情報と合焦度合判定結果履歴情報のいずれか一または二以上に基づいて、図形コードと撮像レンズとの距離の、適切な距離に対する位置関係などを判定し、その結果に基づいて位置調整の適切な指示を出力することのできる、図形コード読取装置を提供する。   In order to solve the above-described problem, the present invention provides a cell size calculation result, an in-focus degree determination result history information, a cell size calculation result history information, and an in-focus degree determination result history information when graphic code reading fails. Graphic code that can determine the positional relationship of the distance between the graphic code and the imaging lens relative to the appropriate distance based on one or two or more and output an appropriate instruction for position adjustment based on the result A reader is provided.

以上のような構成をとる本発明によって、図形コードと撮像レンズの距離が図形コードの読取可能な距離にない場合には、位置調整の適切な指示が出力されるため、ユーザは、位置調整が容易となり、図形コード読取の操作性が向上し、読み取りにかかる時間を短縮することができる。   According to the present invention configured as described above, when the distance between the graphic code and the imaging lens is not within the readable distance of the graphic code, an appropriate instruction for position adjustment is output. It becomes easy, the operability of the graphic code reading is improved, and the time required for reading can be shortened.

以下に、携帯端末装置における図形コード読取を、カメラ付き携帯電話によるQRコード読取を例にして、図を用いて本発明の実施の形態について説明する。QRコード(登録商標)は、高速読取を重視した二次元コードとして株式会社デンソーウェーブにより開発された図形コードである。JIS規格となっており、携帯電話によるQRコード読取は一般的となっている。なお、本発明はこれら実施の形態に何ら限定されるものではなく、その要旨を逸脱しない範囲において、種々なる態様で実施しうる。   In the following, an embodiment of the present invention will be described with reference to the drawings, taking graphic code reading in a mobile terminal device as an example of QR code reading by a camera-equipped mobile phone. QR code (registered trademark) is a graphic code developed by DENSO WAVE INCORPORATED as a two-dimensional code that emphasizes high-speed reading. It is JIS standard, and QR code reading by mobile phones is common. Note that the present invention is not limited to these embodiments, and can be implemented in various modes without departing from the spirit of the present invention.

図1に示すのは、本発明に示す図形コード読取装置の概念の一例を説明するための図である。携帯電話(0101)の背面底部に撮像レンズ(0103)が設置されている場合のQRコード読取を示している。QRコード(0102)を読み取ろうとした場合、図1左に示すように、携帯電話のファインダ(0106)に映像が映し出されるため、ユーザ自身がその映像を見ながらQRコードが読み取れるまで携帯電話を上下することになる。この時、紙等(0105)に印刷されたQRコード(0102)と撮像レンズ(0103)の距離と、QRコード読取の関係は図1右に示すようになる。(a)ではQRコード(0102)と撮像レンズ(0103)の距離が近すぎるため、QRコードの画像(0104)の焦点が合っていない。逆に(c)ではQRコード(0102)撮像レンズ(0103)の距離が遠すぎるため、読取可能な大きさよりもQRコードの画像(0104)が小さくコードが不鮮明となる。そのため(a)や(c)の場合はQRコードの読み取りに失敗してしまう。それに対して、(b)に示すようにQRコード(0102)と撮像レンズ(0103)が適切な距離にあるときは読み取りが成功し、QRコード内の情報がファインダ(0106)に表示される。本発明は(a)や(c)のような図形コードの読取失敗の原因が図形コードと撮像レンズとの距離にある場合に、ユーザに撮像レンズを適切な方向に動かすように出力する図形コード読取装置である。例えば、(a)の場合には「遠ざけてください」、(c)の場合には「近づけてください」などの位置調整情報(0107)をファインダ(0106)に出力する。   FIG. 1 is a diagram for explaining an example of the concept of the graphic code reader shown in the present invention. The QR code reading in the case where the imaging lens (0103) is installed at the bottom of the back surface of the cellular phone (0101) is shown. When trying to read the QR code (0102), as shown in the left of FIG. 1, since the video is displayed on the finder (0106) of the mobile phone, the mobile phone is moved up and down until the user can read the QR code while watching the video. Will do. At this time, the relationship between the QR code (0102) printed on paper or the like (0105) and the imaging lens (0103) and the QR code reading are as shown on the right in FIG. In (a), since the distance between the QR code (0102) and the imaging lens (0103) is too short, the QR code image (0104) is not in focus. Conversely, in (c), the QR code (0102) and the imaging lens (0103) are too far away, so that the QR code image (0104) is smaller than the readable size and the code is unclear. Therefore, in the cases (a) and (c), reading of the QR code fails. On the other hand, as shown in (b), when the QR code (0102) and the imaging lens (0103) are at an appropriate distance, reading is successful, and information in the QR code is displayed on the finder (0106). The present invention provides a graphic code that is output to the user so that the imaging lens is moved in an appropriate direction when the cause of the failure in reading the graphic code is the distance between the graphic code and the imaging lens, such as (a) and (c). It is a reading device. For example, position adjustment information (0107) such as “Please move away” in the case of (a) and “Please move closer” in the case of (c) is output to the finder (0106).

なお、実施形態1は、主に請求項1,8、9について説明する。実施形態2は、主に請求項2、10について説明する。実施形態3は、主に請求項3、11について説明する。さらに詳しく、実施形態3−1は、請求項4、12について説明する。実施形態3−2では、主に請求項5,13について説明する。実施形態3−3は、主に請求項6,14について説明する。実施形態3−4は、主に請求項7,15について説明する。図26に各実施形態の概念をまとめている。実施形態1の図形コード読取装置は、撮像レンズが読取不可領域(A1)にあるのか、読取可能領域(A2、A3、A4)にあるのかを判定することができる。実施形態2の図形コード読取装置は、読取可能領域のなかでさらに合焦方向に移動しているのか(B1)、合焦方向に移動していないのか(B2)を判定することができる。実施形態3の図形コード読取装置は、さらに合焦領域よりも図形コードと撮像レンズの距離が近距離であるのか(C1、C4)、遠距離であるのか(C2、C3)を判定することができる。また、図27には、各請求項における構成要件を示している。
≪実施形態1≫
<実施形態1の概要>
In the first embodiment, claims 1, 8, and 9 will be mainly described. The second embodiment will mainly describe claims 2 and 10. The third embodiment will mainly describe claims 3 and 11. In more detail, Embodiment 3-1 explains Claims 4 and 12. In the embodiment 3-2, claims 5 and 13 will be mainly described. The embodiment 3-3 will mainly describe claims 6 and 14. Embodiment 3-4 will mainly describe claims 7 and 15. FIG. 26 summarizes the concept of each embodiment. The graphic code reader of Embodiment 1 can determine whether the imaging lens is in the unreadable area (A1) or in the readable area (A2, A3, A4). The graphic code reading apparatus according to the second embodiment can determine whether it is further moved in the in-focus direction within the readable area (B1) or not in the in-focus direction (B2). The graphic code reader according to the third embodiment further determines whether the distance between the graphic code and the imaging lens is shorter (C1, C4) or longer (C2, C3) than the in-focus area. it can. Further, FIG. 27 shows the configuration requirements in each claim.
Embodiment 1
<Outline of Embodiment 1>

図2は、本実施形態の概念の一例を示すものである。図2(a)のように紙等に印刷された図形コードと、携帯端末装置の撮像レンズとの距離が読取可能な距離よりも遠い場合、ファインダには図2(b)のように表示され、図形コードの画像は小さく不鮮明となっており、図形コード読取に失敗してしまう。本実施形態は、セルサイズ算出部からのセルサイズが設定した最小値よりも小さいという算出結果に基づいて、図形コードが適切な距離に対して遠すぎると判定し、ユーザに撮像レンズをもっと近づけるように、例えば「近づけてください」のような位置調整情報を出力する図形コード読取装置を有する携帯端末装置である。
<実施形態1の構成>
FIG. 2 shows an example of the concept of this embodiment. When the distance between the graphic code printed on paper or the like and the imaging lens of the mobile terminal device is longer than the readable distance as shown in FIG. 2A, the finder displays as shown in FIG. 2B. The graphic code image is small and unclear, and graphic code reading fails. In the present embodiment, based on the calculation result that the cell size from the cell size calculation unit is smaller than the set minimum value, it is determined that the graphic code is too far from the appropriate distance, and the imaging lens is brought closer to the user. Thus, for example, it is a portable terminal device having a graphic code reading device that outputs position adjustment information such as “Please move closer”.
<Configuration of Embodiment 1>

図3に本実施形態での機能ブロックの一例を示した。本実施形態の「図形コード読取装置」(0300)は、「カメラ部」(0301)と、「図形コード情報出力部」(0302)と、「セルサイズ算出部」(0303)と、「読取可否判定部」(0304)と、「調整情報出力部」(0305)を有する。   FIG. 3 shows an example of functional blocks in the present embodiment. The “graphic code reading device” (0300) of the present embodiment includes a “camera unit” (0301), a “graphic code information output unit” (0302), a “cell size calculation unit” (0303), and “readability”. It has a “determination unit” (0304) and an “adjustment information output unit” (0305).

「カメラ部」(0301)は、撮像レンズから入力した図形コードの画像の画像信号を出力するように構成されている。撮像レンズは、図形コードの光学像を撮像素子の感光面上に結像させる。撮像レンズの種類は、有効に図形コードを読み取ることのできる画質を提供できるものであればよく、例えば、プラスチックレンズやガラスレンズを用いることができる。また、ズーム機能やマクロ機能を有しているものが好ましい。撮像素子は、CMOS(相補型金属酸化膜半導体)やCCD(電化結合素子)などを用いることができる。図形コードは、数字、記号、文字、画像などの情報を含んだ図形で、本発明の読み取り対象をいう。例えば、JANコードに代表されるバーコードや、QRコードに代表される二次元コードがある。本発明においては、その種類は限定されない。また、画像信号とは、撮像された画像を変換してデジタル信号としたものをいう。   The “camera unit” (0301) is configured to output an image signal of an image of a graphic code input from the imaging lens. The imaging lens forms an optical image of the graphic code on the photosensitive surface of the imaging device. Any type of imaging lens may be used as long as it can provide an image quality capable of effectively reading a graphic code. For example, a plastic lens or a glass lens can be used. Moreover, what has a zoom function and a macro function is preferable. As the imaging device, a CMOS (complementary metal oxide semiconductor), a CCD (electrically coupled device), or the like can be used. The figure code is a figure including information such as numbers, symbols, characters, images, and the like, which is a reading target of the present invention. For example, there are a barcode represented by a JAN code and a two-dimensional code represented by a QR code. In the present invention, the type is not limited. The image signal means a digital signal obtained by converting a captured image.

「図形コード情報出力部」(0302)は、前記カメラ部(0301)から出力される画像信号に基づいて、図形コード情報を出力するように構成されている。図形コード情報とは、カメラ部から出力された画像信号のうち、ファインダパターンの画像信号のみを抽出した情報をいう。ファインダパターンとは、図形コードの種類により既知であり、図形コードの位置、大きさ等を特定するための図形をいう。図4にQRコードのファインダパターンを示す。QRコードのファインダパターン(0400)は、一辺が7セルで構成される正方形の図形で、中心部を通るように横方向へ移動した場合の黒:白:黒:白:黒の幅の比率は、1:1:3:1:1と規定されている。セルとは、図形コードの最小構成単位であり、前記比率において縦横ともに1となる升目である。図4において、黒あるいは白で示されているが、セルの色は2値化できるものであれば、黒と白の組み合わせに限られない。カメラ部から出力される画像信号には、撮像したファインダ内のすべての信号が含まれるため、図形コード読取に必要のないまわりの文字等の信号も含まれる可能性があるが、図形コード情報出力部は、その中からファインダパターンの画像信号のみを抽出し、出力する機能を有する。図形コード情報の抽出は、ファインダパターンに特徴的な黒:白:黒:白:黒の幅の1:1:3:1:1という比率を検出することにより行う。   The “graphic code information output unit” (0302) is configured to output graphic code information based on the image signal output from the camera unit (0301). The figure code information refers to information obtained by extracting only the image signal of the finder pattern from the image signal output from the camera unit. A finder pattern is a figure that is known from the type of figure code and for specifying the position, size, etc. of the figure code. FIG. 4 shows a QR code finder pattern. The QR code finder pattern (0400) is a square figure consisting of 7 cells on one side, and the ratio of black: white: black: white: black width when moving laterally through the center is 1: 1: 3: 1: 1. A cell is the smallest structural unit of a figure code, and is a cell that is 1 both vertically and horizontally in the ratio. Although shown in black or white in FIG. 4, the cell color is not limited to a combination of black and white as long as the cell color can be binarized. Since the image signal output from the camera unit includes all the signals in the captured viewfinder, it may also include signals such as surrounding characters that are not necessary for graphic code reading. The unit has a function of extracting and outputting only the image signal of the finder pattern from among them. The figure code information is extracted by detecting a ratio of black: white: black: white: black width 1: 1: 3: 1: 1 which is characteristic of the finder pattern.

「セルサイズ算出部」(0303)は、前記図形コード情報出力部(0302)から出力された図形コード情報に基づいて、セルサイズを算出するように構成されている。QRコードの一辺の長さや1辺を構成するセル数が変化してもファインダパターンの幅の比率は変化しないため、図形コード情報を用いることにより、必ずセルサイズを算出することができる。セルサイズとは、1セルを構成する撮像素子の画素数をいう。セルサイズは、図形コード画像情報であるファインダパターンを構成しているセルの画素数から計算することによって求める。例えば、ファインダパターンの幅から1セルの幅を計算することによって求めたり、あるいは中心部の一辺が3セルの黒の正方形を形成している9セル分の画素数から求めることもできる。その他1セルを構成する画素数を効率よく算出することのできる方法であれば、これらに限られない。したがって、図形コードのセル幅が大きいほどセルサイズは大きくなり、図形コードのセル幅が小さいほどセルサイズは小さくなる。すなわち、セルサイズが大きいときは図形コードと撮像レンズが近距離にあり、セルサイズが小さいときは図形コードと撮像レンズが遠距離にあることになる。   The “cell size calculation unit” (0303) is configured to calculate the cell size based on the graphic code information output from the graphic code information output unit (0302). Since the ratio of the width of the finder pattern does not change even if the length of one side of the QR code or the number of cells constituting one side changes, the cell size can always be calculated by using graphic code information. The cell size refers to the number of pixels of the image sensor that constitutes one cell. The cell size is obtained by calculating from the number of pixels of the cells constituting the finder pattern that is graphic code image information. For example, it can be obtained by calculating the width of one cell from the width of the finder pattern, or it can be obtained from the number of pixels for nine cells forming a black square with one side of the center part. Any other method may be used as long as it can efficiently calculate the number of pixels constituting one cell. Therefore, the cell size increases as the cell width of the graphic code increases, and the cell size decreases as the cell width of the graphic code decreases. That is, when the cell size is large, the graphic code and the imaging lens are at a short distance, and when the cell size is small, the graphic code and the imaging lens are at a long distance.

なお、上記の機能の説明はQRコードを例としたものであるが、本発明においては、ファインダパターンはスタートコードやストップコード、セルはバーやモジュール、のようなバーコードの場合において同様の機能を指す用語の意味をも含むものとする。   In the above description of the function, the QR code is used as an example. In the present invention, the same function is used when the finder pattern is a start code or stop code, and the cell is a bar code such as a bar or module. Including the meaning of the term.

「読取可否判定部」(0304)は、前記セルサイズ算出部(0303)にて算出したセルサイズ算出結果から、算出したセルサイズが設定した最小値より小さいために、合焦の有無に関わらず読み取りが不可であるか否かを判定するように構成されている。図形コード読取の可能な距離とは、図形コードの情報を読み取ることのできる距離をいう。読取可能である最小のセルサイズは、サンプリング定理より2画素であるが、入力画像のノイズやボケの影響を抑えるため、2画素+数画素を設定するのが好ましい。例えば、最小のセルサイズを3画素とすることができる(特許文献1)。本実施形態の読取可否判定部は、セルサイズが設定した最小値よりも小さく読み取りが不可であると判定した場合は、撮像レンズが図形コード読取の可能な距離にないと判定する。   The “readability determination unit” (0304) determines whether the calculated cell size is smaller than the set minimum value from the cell size calculation result calculated by the cell size calculation unit (0303). It is configured to determine whether reading is impossible. The distance at which the graphic code can be read refers to the distance at which the graphic code information can be read. The minimum cell size that can be read is 2 pixels according to the sampling theorem, but it is preferable to set 2 pixels + several pixels in order to suppress the influence of noise and blur of the input image. For example, the minimum cell size can be 3 pixels (Patent Document 1). When the readability determination unit of the present embodiment determines that the cell size is smaller than the set minimum value and cannot be read, the readability determination unit determines that the imaging lens is not within a distance where the graphic code can be read.

「調整情報出力部」(0305)は、前記読取可否判定部(0304)での判定結果に基づいて、ユーザに撮像のための位置調整情報を出力する。読取可否判定部において図形コードが図形コード読取の可能な距離にないと判定された場合は、図形コードと撮像レンズの距離をもっと近づけるように位置調整情報を出力する。調整情報の出力方法は、文字による表示に限られず、図形、音声、振動、光、画面の色などでもよい。出力方法の一例を図5(A)に示す。(a)のように文字により出力する場合には「近づけてください」や「DOWN」等のように、撮像の妨げとならないようにファインダに表示することができる。ユーザに気づかせやすいように点滅等させてもよい。また、(b)のように矢印等の図形で表すこともできる。振動や光によって出力する場合には、振動の間隔や光の色の変化などを設定しておき、あるいはユーザ自身が設定することにより行うことができるようにしてもよい。   The “adjustment information output unit” (0305) outputs position adjustment information for imaging to the user based on the determination result of the readability determination unit (0304). If it is determined by the readability determination unit that the graphic code is not within a distance where the graphic code can be read, position adjustment information is output so that the distance between the graphic code and the imaging lens is closer. The output method of the adjustment information is not limited to display by characters, but may be graphics, voice, vibration, light, screen color, or the like. An example of the output method is shown in FIG. When outputting in characters as in (a), it can be displayed on the viewfinder so as not to interfere with imaging, such as “Please move closer” or “DOWN”. You may make it blink etc. so that a user may notice easily. It can also be represented by a figure such as an arrow as shown in (b). In the case of outputting by vibration or light, the interval of vibration, change in color of light, or the like may be set, or may be set by the user himself / herself.

「携帯端末装置」とは、図形コード読取機能を備えた持ち運びのできる機器をいう。例えば、携帯電話やPDAなどがある。
<実施形態1の処理の流れ>
A “portable terminal device” refers to a portable device having a graphic code reading function. For example, there are mobile phones and PDAs.
<Processing flow of Embodiment 1>

図6は実施形態1での処理の流れの一例を示したものである。この図にあるように、まず撮影によって入力された図形コードの画像を出力し(図形コード画像出力ステップ S0601)、得られた画像情報から図形コード情報を出力する(図形コード情報出力ステップ S0602)。次に、図形コード情報出力ステップにて得られた図形コード情報に基づいてセルサイズを算出する(セルサイズ算出ステップ S0603)。続いて、前記セルサイズ算出ステップにて算出したセルサイズ算出結果から、算出したセルサイズが読み取りが不可であるかを判定する(読取可否判定ステップ S0604)。最後に、読取可否判定ステップにて判定された読取可否判定結果に基づいて、撮像のための位置調整情報を出力する(調整情報出力ステップ S0605)。   FIG. 6 shows an example of the flow of processing in the first embodiment. As shown in this figure, first, an image of a graphic code input by photographing is output (graphic code image output step S0601), and graphic code information is output from the obtained image information (graphic code information output step S0602). Next, the cell size is calculated based on the graphic code information obtained in the graphic code information output step (cell size calculation step S0603). Subsequently, it is determined from the cell size calculation result calculated in the cell size calculation step whether or not the calculated cell size is unreadable (readability determination step S0604). Finally, position adjustment information for imaging is output based on the readability determination result determined in the readability determination step (adjustment information output step S0605).

上記の各処理を具体例をあげて説明する。以下の具体的な処理方法は一例であり、本発明の実施形態はこれらに限られない。図形コード画像出力ステップ(S0601)では、撮像レンズから取り込まれた図形コードの画像は、CCD等の撮像素子に結合され、A/D変換によりアナログ信号からデジタル信号へと変換し、出力される。次に図形コード情報出力ステップ(S0602)では、パターンマッチングを行い、図形コード画像出力ステップにて出力された画像情報の中から、1:1:3:1:1という規定の比率の信号を有するファインダパターンの画像信号のみを抽出し、図形コード情報だけを出力する。セルサイズ算出ステップ(S0603)では、図形コード情報出力ステップ(S0602)にて出力された図形コード情報に基づいて、その輪郭の座標から各セルの位置座標を計算し、一辺を構成する画素数、あるいは中心部の黒の9セル分を構成する画素数から、計算によってセルサイズを算出する。このとき、セルサイズ算出ステップ(S0603)にて算出したセルサイズが設定した最小値よりも小さい場合には、読取可否判定ステップ(S0604)にて撮像レンズが図形コード読取の可能な距離にないと判定し、調整情報出力ステップ(S0605)にて撮像レンズをもっと近づけるように位置調整情報を出力する。   Each of the above processes will be described with specific examples. The following specific processing methods are examples, and embodiments of the present invention are not limited to these. In the graphic code image output step (S0601), the graphic code image captured from the imaging lens is coupled to an image sensor such as a CCD, converted from an analog signal to a digital signal by A / D conversion, and output. Next, in the graphic code information output step (S0602), pattern matching is performed, and a signal having a specified ratio of 1: 1: 3: 1: 1 is selected from the image information output in the graphic code image output step. Only the image signal of the finder pattern is extracted and only the graphic code information is output. In the cell size calculation step (S0603), based on the graphic code information output in the graphic code information output step (S0602), the position coordinates of each cell are calculated from the coordinates of the contour, and the number of pixels constituting one side, Alternatively, the cell size is calculated by calculation from the number of pixels constituting nine black cells in the center. At this time, if the cell size calculated in the cell size calculation step (S0603) is smaller than the set minimum value, the image pickup lens is not within a distance where the graphic code can be read in the readability determination step (S0604). In the adjustment information output step (S0605), position adjustment information is output so as to bring the imaging lens closer.

以上の処理は、計算機に実行させるためのプログラムで実行させることができ、また、このプログラムを計算機によって読み取り可能な記録媒体に記録することができる。(本明細書の全体を通して同様である。)
<実施形態1の効果>
The above processing can be executed by a program for causing a computer to execute, and this program can be recorded on a recording medium readable by the computer. (The same applies throughout the specification.)
<Effect of Embodiment 1>

従来、図形コード読取に失敗した場合、その原因が何であるかをユーザが判定できず、図形コードに対して撮像レンズを近づけた方が良いのか遠ざけた方が良いのかの判定が困難であった。しかし、本実施形態の図形コード読取装置においては、図形コードと撮像レンズの距離が遠すぎるために図形コード読取に失敗した場合は、調整情報出力部から撮像レンズを近づけるように指示が出力されるため、ユーザは容易に図形コードと撮像レンズの距離を調整することができる。
≪実施形態2≫
<実施形態2の概要>
Conventionally, when graphic code reading fails, the user cannot determine what is the cause, and it has been difficult to determine whether it is better to move the imaging lens closer to or away from the graphic code. . However, in the graphic code reader according to the present embodiment, if the graphic code reading fails because the distance between the graphic code and the imaging lens is too long, an instruction is output from the adjustment information output unit to bring the imaging lens closer. Therefore, the user can easily adjust the distance between the graphic code and the imaging lens.
<< Embodiment 2 >>
<Outline of Embodiment 2>

図7は本実施形態の概念の一例を示すものである。本実施形態は、合焦していないことにより図形コード読取に失敗した場合に、合焦度合いの変化の履歴から、ユーザの携帯端末装置を動かしている方向が正しい方向であるのか、間違った方向であるのかを判定し、その後どう携帯端末装置を動かせばよいのかを、例えば「そのまま動かしてください」のように出力する図形コード読取装置である。
<実施形態2の構成>
FIG. 7 shows an example of the concept of this embodiment. In the present embodiment, when the graphic code reading fails due to being out of focus, whether or not the direction in which the user's mobile terminal device is moving is the correct direction or the wrong direction It is a graphic code reading device that determines whether or not the mobile terminal device should be moved thereafter, for example, “Please move it as it is”.
<Configuration of Embodiment 2>

図8に本実施形態の機能ブロックの一例を示した。前記実施形態1を基本として、さらに合焦度合判定部と合焦度合履歴情報保持部を有することを特徴とする。本実施形態の「図形コード読取装置」(0800)は、「カメラ部」(0801)と、「図形コード情報出力部」(0802)と、「セルサイズ算出部」(0803)と、「読取可否判定部」(0804)と、「合焦度合判定部」(0805)と、「合焦度合判定結果履歴情報保持部」(0806)と、「適切方向判定部」(0807)と、「調整情報出力部」(0808)を有する。   FIG. 8 shows an example of functional blocks of the present embodiment. Based on the first embodiment, it further includes an in-focus degree determination unit and an in-focus degree history information holding unit. The “graphic code reading device” (0800) of this embodiment includes a “camera unit” (0801), a “graphic code information output unit” (0802), a “cell size calculation unit” (0803), and “readability”. “Determining unit” (0804), “Focus degree determination unit” (0805), “Focus degree determination result history information holding unit” (0806), “Appropriate direction determination unit” (0807), “Adjustment information” Output section "(0808).

「合焦度合判定部」(0805)は、前記カメラ部(0801)における図形コードの画像の合焦度合いを判定するように構成されている。合焦度合いとは、焦点の合っている程度をいい、コントラスト比(明るい部分と暗い部分の明暗比)により決まる。例えば、合焦度合いが大きいとは、コントラスト比が大きいことをいう。また、コントラスト比が図形コード読取に必要な閾値以上であるときを、合焦状態(焦点が合っている状態)であるという。すなわち、図形コードと撮像レンズの距離が近すぎたり遠すぎたりする場合には、合焦度合いは小さく、ある一定の距離範囲にある場合に、合焦度合いは大きい。マクロ機能を有する携帯端末の場合、ある一定の距離で合焦するように設定されているため、その距離から離れるほど合焦度合いは小さくなる。また、画像が合焦しており、図形コードに組み込まれた数字や文字等の情報を読み取ることのできる距離を、適切な距離という。撮像レンズと図形コードとが近すぎる場合には、焦点が合わないために図形コードの情報が読み取れず、適切な距離とはいえない。逆に、撮像レンズと図形コードとが遠すぎる場合には図形コードの情報を読み取ることのできるだけの解像度が得られず、適切な距離とはいえない。言い換えれば、撮像レンズと図形コードとが近すぎず、また遠すぎもしない距離が、適切な距離といえる。   The “focusing degree determination unit” (0805) is configured to determine the degree of focusing of the graphic code image in the camera unit (0801). The degree of focus refers to the degree of focus and is determined by the contrast ratio (brightness / darkness ratio between bright and dark areas). For example, a large degree of focus means that the contrast ratio is large. Further, when the contrast ratio is equal to or greater than a threshold value necessary for reading the graphic code, it is referred to as an in-focus state (in-focus state). That is, when the distance between the graphic code and the imaging lens is too close or too far, the degree of focus is small, and when the distance is within a certain distance range, the degree of focus is large. In the case of a mobile terminal having a macro function, since it is set to focus at a certain distance, the degree of focusing decreases as the distance from the distance increases. The distance at which the image is in focus and information such as numbers and characters incorporated in the graphic code can be read is called an appropriate distance. If the imaging lens and the graphic code are too close, the focus cannot be achieved and the graphic code information cannot be read, which is not an appropriate distance. On the other hand, when the imaging lens and the graphic code are too far from each other, a resolution sufficient to read the graphic code information cannot be obtained, and it cannot be said that the distance is appropriate. In other words, an appropriate distance is a distance where the imaging lens and the graphic code are neither too close nor too far away.

「合焦度合判定結果履歴情報保持部」(0806)は、前記合焦度合判定部(0805)からの合焦度合いの変化の履歴である合焦度合判定結果履歴情報を保持するように構成されている。図9は時間と合焦度合いの関係を示した一例である。(a)の場合には、焦点が合っていくという合焦度合判定結果履歴情報を保持し、(b)の場合には、焦点が合わなくなっていくという合焦度合判定結果履歴情報を保持する。   The “in-focus degree determination result history information holding unit” (0806) is configured to hold in-focus degree determination result history information that is a history of changes in the in-focus degree from the in-focus degree determination unit (0805). ing. FIG. 9 shows an example of the relationship between time and the degree of focus. In the case of (a), the in-focus degree determination result history information that the focus is achieved is held, and in the case of (b), the in-focus degree determination result history information that the focus is lost is retained. .

「適切方向判定部」(0807)は、前記合焦度合判定結果履歴情報保持部(0806)に記録された合焦度合判定結果履歴情報に基づいて、撮像レンズと図形コードとの過去の相対的移動が合焦方向の移動であったか、合焦方向の移動でなかったかを判定するように構成されている。合焦度合判定結果履歴情報が合焦度合いが大きくなっているという情報である場合には、合焦方向に移動していると判定し、逆に合焦度合判定結果履歴情報が合焦度合いが小さくなっているという情報である場合には、合焦方向に移動していないと判定する。   The “appropriate direction determination unit” (0807) is based on the in-focus degree determination result history information recorded in the in-focus degree determination result history information holding unit (0806). It is configured to determine whether the movement is in the in-focus direction or not in the in-focus direction. If the in-focus degree determination result history information is information that the degree of in-focus is large, it is determined that the in-focus direction is moving, and conversely, the in-focus degree determination result history information has an in-focus degree. If the information is smaller, it is determined that the movement is not in the in-focus direction.

調整情報出力部(0808)は、実施形態1で示した機能に加え、さらに前記読取可否判定部(0804)の判定結果及び適切方向判定部(0807)からの判定結果に基づいて、ユーザに撮像のための位置調整情報を出力するように構成されている。読取可否判定部において撮像レンズが図形コード読取の可能な距離にあると判定され、適切方向判定部において合焦方向に移動していると判定した場合には、撮像レンズを現在ユーザが動かしている方向にそのまま動かし続けるように出力する。また、読取可否判定部において図形コードが図形コード読取の可能な距離にあると判定され、適切方向判定部において合焦方向に移動していないと判定した場合には、撮像レンズを現在ユーザが動かしている方向とは逆方向に動かすように出力する。調整情報の出力方法には、実施形態1と同様に文字、図形、音声、振動、光、画面の色などを用いる。例えば、図5(C)のように文字による場合には「そのまま動かしてください」や「逆方向に動かしてください」と表示する。   The adjustment information output unit (0808) captures images based on the determination result from the readability determination unit (0804) and the determination result from the appropriate direction determination unit (0807) in addition to the function described in the first embodiment. Is configured to output position adjustment information. If it is determined that the image pickup lens is within a distance where the graphic code can be read by the readability determination unit, and the appropriate direction determination unit determines that it is moving in the in-focus direction, the user is currently moving the image pickup lens. Output to continue moving in the direction. In addition, when the readability determination unit determines that the graphic code is within the distance that the graphic code can be read, and the appropriate direction determination unit determines that it has not moved in the in-focus direction, the user moves the imaging lens now. The output is made to move in the direction opposite to the current direction. The adjustment information output method uses characters, graphics, voice, vibration, light, screen color, and the like, as in the first embodiment. For example, in the case of characters as shown in FIG. 5C, “Please move as it is” or “Please move in the opposite direction” is displayed.

その他の各部の処理については、実施形態1と同様である。
<実施形態2の処理の流れ>
Other processes are the same as those in the first embodiment.
<Processing flow of Embodiment 2>

図10は実施形態2の処理の流れを示したものである。まず撮像した図形コードの画像を出力し(図形コード画像出力ステップ S1001)、得られた画像情報に基づいて図形コード情報を出力する(図形コード情報出力ステップ S1002)。次に、図形コード情報出力ステップにて得られた図形コード情報から、セルサイズを算出し(セルサイズ算出ステップ S1003)、前記セルサイズ算出ステップにて算出したセルサイズ算出結果から、算出されたセルサイズが読取可能であるかを判定する(読取可否判定ステップ S1004)。前記読取可否判定ステップにて読取可能と判定された場合に、図形コード画像出力ステップにて出力された図形コード画像の合焦度合いを判定し(合焦度合判定ステップ S1005)、その合焦度合判定結果の履歴情報を保持する(合焦度合判定結果履歴情報記録ステップ S1006)。さらに、前記合焦度合判定結果履歴情報記録ステップにて記録された合焦度合判定結果履歴情報に基づいて、撮像レンズと図形コードとの過去の相対的移動が合焦方向の移動であったか、合焦方向の移動でなかったかを判定する(適切方向判定ステップ S1007)。最後に、適切方向判定ステップにて判定された判定結果に基づいて、撮像のための位置調整情報を出力する(調整情報出力ステップ S1008)。   FIG. 10 shows the processing flow of the second embodiment. First, an image of the captured graphic code is output (graphic code image output step S1001), and graphic code information is output based on the obtained image information (graphic code information output step S1002). Next, the cell size is calculated from the figure code information obtained in the figure code information output step (cell size calculation step S1003), and the cell calculated from the cell size calculation result calculated in the cell size calculation step is calculated. It is determined whether the size is readable (readability determination step S1004). When it is determined that reading is possible in the readability determination step, the degree of focus of the graphic code image output in the graphic code image output step is determined (focusing degree determination step S1005), and the degree of focusing is determined. Result history information is held (focusing degree determination result history information recording step S1006). Further, based on the in-focus degree determination result history information recorded in the in-focus degree determination result history information recording step, whether the past relative movement between the imaging lens and the figure code is a movement in the in-focus direction. It is determined whether the movement was in the focal direction (appropriate direction determination step S1007). Finally, based on the determination result determined in the appropriate direction determination step, position adjustment information for imaging is output (adjustment information output step S1008).

上記の各処理を具体例をあげて説明する。図形コード画像出力ステップ、図形コード情報出力ステップ、セルサイズ算出ステップ、読取可否判定ステップについては実施形態1と同様である。読取可否判定ステップ(S1004)にて、撮像レンズが図形コード読取の可能な距離にあると判定された場合、図形コード画像出力ステップにて出力された図形コード画像のコントラスト比を計算することにより、合焦度合いを判定し(合焦度合判定ステップ S1005)、その変化を合焦度合判定結果履歴情報として記録媒体に保持する(合焦度合判定結果履歴情報記録ステップ S1006)。このとき、合焦度合判定結果履歴情報が合焦度合いが大きくなっていくという履歴情報である場合には、適切方向判定ステップ(S1007)にて、合焦方向に移動していると判定し、調整情報出力ステップ(S1008)にて、現在動かしている方向にそのまま動かし続けるように出力する。一方、合焦度合判定結果履歴情報が合焦度合いが小さくなっていくという履歴情報である場合には、適切方向判定ステップ(S1007)にて、合焦方向に移動していないと判定し、調整情報出力ステップ(S1008)にて、現在動かしている方向とは逆の方向に動かすように出力する。なお、図形コード読取に成功した場合には、記録媒体に記録されたデータは消去される。
<実施形態2の効果>
Each of the above processes will be described with specific examples. The graphic code image output step, graphic code information output step, cell size calculation step, and readability determination step are the same as in the first embodiment. When it is determined in the readability determination step (S1004) that the imaging lens is at a distance where the graphic code can be read, by calculating the contrast ratio of the graphic code image output in the graphic code image output step, The degree of focus is determined (focus level determination step S1005), and the change is held in the recording medium as focus level determination result history information (focus level determination result history information recording step S1006). At this time, if the in-focus degree determination result history information is history information that the in-focus degree increases, it is determined in the appropriate direction determination step (S1007) that the in-focus direction is moving, In the adjustment information output step (S1008), output is performed so as to continue the movement in the currently moving direction. On the other hand, if the in-focus degree determination result history information is history information that the in-focus degree is decreasing, it is determined in the appropriate direction determination step (S1007) that the movement is not in the in-focus direction, and adjustment is performed. In the information output step (S1008), output is performed so as to move in the direction opposite to the currently moving direction. If the graphic code is successfully read, the data recorded on the recording medium is erased.
<Effect of Embodiment 2>

本実施形態の図形コード読取装置においては、図形コード画像が合焦していないことによって図形コード読取に失敗した場合、ユーザの動きにあわせて調整情報出力部に撮像レンズの位置調整方向の指示が出力されるため、ユーザは容易に撮像レンズの位置を調整することができる。
≪実施形態3≫
<実施形態3の概要>
In the graphic code reading apparatus of the present embodiment, when the graphic code reading fails because the graphic code image is not focused, an instruction for the position adjustment direction of the imaging lens is given to the adjustment information output unit in accordance with the movement of the user. Since it is output, the user can easily adjust the position of the imaging lens.
<< Embodiment 3 >>
<Outline of Embodiment 3>

図11は、本実施形態の概念の一例を示すものである。本実施形態は、合焦していないことにより図形コード読取に失敗した場合に、合焦方向への移動か否かの判定結果に、セルサイズ算出結果履歴情報を加えることで、図形コードと撮像レンズとの遠近を判定することができることを特徴とする。遠近判定結果に基づいて、例えば「そのまま近づけてください」や「逆に近づけてください」のように実施形態2よりも詳しく位置調整情報を出力する図形コード読取装置である。
<実施形態3の構成>
FIG. 11 shows an example of the concept of the present embodiment. In the present embodiment, when reading of the graphic code fails due to the fact that it is not in focus, the graphic code and imaging are added by adding cell size calculation result history information to the determination result of whether or not the movement is in the in-focus direction. The distance from the lens can be determined. Based on the perspective determination result, for example, it is a graphic code reading device that outputs position adjustment information in more detail than in the second embodiment, such as “Please move closer as it is” or “Please move closer”.
<Configuration of Embodiment 3>

図12に本実施形態の機能ブロックの一例を示した。本実施形態は、前記実施形態2を基本として、さらにセルサイズ算出結果履歴情報保持部を有することを特徴とする。本実施形態の「図形コード読取装置」(1200)は、「カメラ部」(1201)と、「図形コード情報出力部」(1202)と、「セルサイズ算出部」(1203)と、「読取可否判定部」(1204)と、「セルサイズ算出結果履歴情報保持部」(1205)と、「合焦度合判定部」(1206)と、「合焦度合判定結果履歴情報保持部」(1207)と、「適切方向判定部」(1208)と、「遠近判定部」(1209)と、「調整情報出力部」(1210)を有する。   FIG. 12 shows an example of functional blocks of this embodiment. The present embodiment is based on the second embodiment, and further includes a cell size calculation result history information holding unit. The “graphic code reading device” (1200) of the present embodiment includes a “camera unit” (1201), a “graphic code information output unit” (1202), a “cell size calculation unit” (1203), and “readability”. A “determination unit” (1204), a “cell size calculation result history information holding unit” (1205), a “focus degree determination unit” (1206), and a “focus degree determination result history information holding unit” (1207). , “Appropriate direction determination unit” (1208), “Perspective determination unit” (1209), and “Adjustment information output unit” (1210).

「セルサイズ算出結果履歴情報保持部」(1205)は、前記セルサイズ算出部(1203)において算出したセルサイズ算出結果の履歴情報を記録するように構成されている。セルサイズ算出結果の履歴情報とは、セルサイズの変化の履歴をいう。例えば、撮像レンズを図形コードに近づけた場合には、20画素から25画素、40画素のように、セルサイズが大きくなっていくという変化の情報である。また、撮像レンズを図形コードから遠ざけた場合には、50画素から45画素、30画素のように、セルサイズが小さくなっていくという変化の履歴の情報である。   The “cell size calculation result history information holding unit” (1205) is configured to record history information of the cell size calculation result calculated by the cell size calculation unit (1203). The cell size calculation result history information refers to a cell size change history. For example, when the image pickup lens is brought close to a graphic code, the cell size increases from 20 pixels to 25 pixels and 40 pixels. In addition, when the imaging lens is moved away from the graphic code, the change history information indicates that the cell size is reduced from 50 pixels to 45 pixels and 30 pixels.

「遠近判定部」(1209)は、前記適切方向判定部(1208)からの判定結果と、前記セルサイズ算出結果履歴情報保持部(1205)に記録されたセルサイズ算出結果履歴情報とに基づいて、撮像レンズと図形コードとの距離の適切な距離に対する遠近を判定するように構成されている。適切方向判定部(1208)からの判定結果が、合焦方向に移動しているという情報である場合、セルサイズ算出結果履歴情報保持部(1205)に記録されたセルサイズ算出結果履歴情報が、セルサイズが小さくなっているという情報であるときには、撮像レンズが適切な距離に対して近距離にあると判定し、セルサイズが大きくなっているという情報であるときには、撮像レンズが適切な距離に対して遠距離にあると判定する。また、適切方向判定部(1208)からの判定結果が、合焦方向に移動していないという情報である場合、セルサイズ算出結果履歴情報保持部(1205)に記録されたセルサイズ算出結果履歴情報が、セルサイズが小さくなっているという情報であるときには、撮像レンズが適切な距離に対して遠距離にあると判定し、セルサイズが大きくなっているという情報であるときには、撮像レンズが適切な距離に対して近距離にあると判定する。   The “distance determination unit” (1209) is based on the determination result from the appropriate direction determination unit (1208) and the cell size calculation result history information recorded in the cell size calculation result history information holding unit (1205). The distance between the imaging lens and the graphic code is determined with respect to an appropriate distance. When the determination result from the appropriate direction determination unit (1208) is information that the movement is in the in-focus direction, the cell size calculation result history information recorded in the cell size calculation result history information holding unit (1205) When the information indicates that the cell size is small, it is determined that the imaging lens is close to an appropriate distance. When the information indicates that the cell size is large, the imaging lens is set at an appropriate distance. On the other hand, it determines with being in a long distance. Further, when the determination result from the appropriate direction determination unit (1208) is information that the movement is not in the in-focus direction, the cell size calculation result history information recorded in the cell size calculation result history information holding unit (1205). However, when the information indicates that the cell size is small, it is determined that the imaging lens is far from the appropriate distance, and when the information indicates that the cell size is large, the imaging lens is appropriate. It is determined that there is a short distance with respect to the distance.

調整情報出力部(1210)は、実施形態1及び2で示した機能に加え、さらに前記遠近判定部(1209)の判定結果に基づいて、ユーザに撮像のための位置調整情報を出力するように構成されている。遠近判定部(1209)において、撮像レンズが適切な距離に対して近距離であると判定した場合には、図形コードと撮像レンズの距離をもっと遠ざけるように位置調整情報を出力する。逆に、撮像レンズが適切な距離に対して遠距離であると判定した場合には、図形コードと撮像レンズの距離をもっと近づけるように位置調整情報を出力する。例えば、遠距離であると判定した場合には、実施形態1で示したのと同様に図5(A)のように出力する。近距離であると判定した場合の出力方法の一例を図5(B)に示している。(a)のように文字により出力する場合には「遠ざけてください」や「UP」等の文字を表示する。また、(b)のように矢印等の図形で表すこともできる。振動や光により出力する場合は、実施形態1と同様に行うことができる。さらに、前記遠近判定部の判定結果には、適切方向判定結果も含まれているため、「そのまま近づけてください」や「逆に遠ざけてください」のように、上記に示したものよりも詳しく出力することも可能である。   The adjustment information output unit (1210) outputs position adjustment information for imaging to the user based on the determination result of the perspective determination unit (1209) in addition to the functions shown in the first and second embodiments. It is configured. When the distance determination unit (1209) determines that the imaging lens is close to an appropriate distance, position adjustment information is output so that the distance between the graphic code and the imaging lens is further increased. Conversely, if it is determined that the imaging lens is far away from the appropriate distance, position adjustment information is output so that the distance between the graphic code and the imaging lens is closer. For example, when it is determined that it is a long distance, it is output as shown in FIG. An example of the output method when it is determined that the distance is short is shown in FIG. When outputting in characters as in (a), characters such as “Please keep away” and “UP” are displayed. It can also be represented by a figure such as an arrow as shown in (b). When outputting by vibration or light, it can be performed in the same manner as in the first embodiment. In addition, since the judgment result of the perspective judgment unit also includes the appropriate direction judgment result, it outputs more detailed information than the one shown above, such as “Please keep it as it is” or “Please keep it away” It is also possible to do.

その他の各部の処理については、実施形態1と同様である。
<実施形態3の処理の流れ>
Other processes are the same as those in the first embodiment.
<Processing flow of Embodiment 3>

図13は実施形態3の処理の流れを示したものである。まず撮像した図形コードの画像を出力し(図形コード画像出力ステップ S1301)、得られた画像情報に基づいて図形コード情報を出力する(図形コード情報出力ステップ S1302)。次に、図形コード情報出力ステップにて得られた図形コード情報から、セルサイズを算出し(セルサイズ算出ステップ S13303)、算出したセルサイズ算出結果から、算出したセルサイズが設定した最小値より大きいかを判定する(読取可否判定ステップ S1304)。前記読取可否判定ステップにて読取可能と判定された場合に、セルサイズ算出ステップにて算出したセルサイズ算出結果の履歴情報を記録する(セルサイズ算出結果履歴情報記録ステップ S1305)。続いて、図形コード画像出力ステップにて出力された図形コード画像の合焦度合いを判定し(合焦度合判定ステップ S1306)、その合焦度合判定結果の履歴情報を記録する(合焦度合判定結果履歴情報記録ステップ S1307)。さらに、前記合焦度合判定結果履歴情報記録ステップにて記録された合焦度合判定結果履歴情報に基づいて、撮像レンズと図形コードとの過去の相対的移動が合焦方向の移動であったか、合焦方向の移動でなかったかを判定する(適切方向判定ステップ S0908)。さらに次に、適切方向判定ステップにて判定された判定結果と、前記セルサイズ算出結果履歴情報保持部に記録されたセルサイズ算出結果履歴情報と、に基づいて、撮像レンズと図形コードとの距離の、適切な距離に対する遠近を判定する(遠近判定ステップ S0909)。最後に、前記遠近判定ステップにて取得される判定結果に基づいて、ユーザに撮像のための位置調整情報を出力する(調整情報出力ステップ S0910)。
≪実施形態3−1≫
<実施形態3−1の概要>
FIG. 13 shows the processing flow of the third embodiment. First, an image of the captured graphic code is output (graphic code image output step S1301), and graphic code information is output based on the obtained image information (graphic code information output step S1302). Next, the cell size is calculated from the figure code information obtained in the figure code information output step (cell size calculation step S13303), and the calculated cell size is larger than the set minimum value from the calculated cell size calculation result. (Readability determination step S1304). When it is determined that reading is possible in the readability determination step, history information of the cell size calculation result calculated in the cell size calculation step is recorded (cell size calculation result history information recording step S1305). Subsequently, the degree of focus of the figure code image output in the figure code image output step is determined (focus degree determination step S1306), and history information of the focus degree determination result is recorded (focus degree determination result). History information recording step S1307). Further, based on the in-focus degree determination result history information recorded in the in-focus degree determination result history information recording step, whether the past relative movement between the imaging lens and the figure code is a movement in the in-focus direction. It is determined whether the movement was in the focal direction (appropriate direction determination step S0908). Next, based on the determination result determined in the appropriate direction determination step and the cell size calculation result history information recorded in the cell size calculation result history information holding unit, the distance between the imaging lens and the graphic code The perspective of the appropriate distance is determined (perspective determination step S0909). Finally, based on the determination result acquired in the perspective determination step, position adjustment information for imaging is output to the user (adjustment information output step S0910).
<< Embodiment 3-1 >>
<Outline of Embodiment 3-1>

以下に実施形態3をより具体的な実施例をあげて説明する。図14は、本実施形態の概念の一例を示すものである。図において、図形コードと撮像レンズとの適切な距離は、斜線部で示している。図14(a)のように、携帯端末装置による図形コード読取おいて、紙等に印刷された図形コードと撮像レンズとの距離が、合焦度合いは大きくなっているが、図形コードの読取可能な適切な距離に対して近距離にある場合は、ファインダには図14(b)のように表示され、図形コード画像が大きすぎてぼやけているため図形コード読取に失敗してしまう。本実施形態は、前記実施形態2を基本として、セルサイズが設定した最小値よりも大きく、またセルサイズが小さくなっていくという履歴情報と、合焦度合いが大きくなっていくという履歴情報を取得した場合に、図形コードと撮像レンズの距離が適切な距離に対して近すぎると判定し、図14のように、ユーザに撮像レンズをもっと遠ざけるように位置調整情報を出力する図形コード読取装置である。
<実施形態3−1の構成>
Embodiment 3 will be described below with a more specific example. FIG. 14 shows an example of the concept of this embodiment. In the drawing, an appropriate distance between the graphic code and the imaging lens is indicated by a hatched portion. As shown in FIG. 14 (a), when the graphic code is read by the portable terminal device, the distance between the graphic code printed on the paper or the like and the imaging lens is large, but the graphic code can be read. If it is close to an appropriate distance, it is displayed on the finder as shown in FIG. 14B, and the graphic code image is too large and blurred, so that the graphic code reading fails. The present embodiment is based on the second embodiment, and obtains history information that the cell size is larger than the set minimum value and the cell size becomes smaller, and history information that the degree of focusing becomes larger. In such a case, the graphic code reader determines that the distance between the graphic code and the imaging lens is too close to the appropriate distance, and outputs position adjustment information to move the imaging lens further away from the user as shown in FIG. is there.
<Configuration of Embodiment 3-1>

図15に本実施形態の機能ブロックの一例を示した。本実施形態は、前記実施形態3を基本として、遠近判定部がさらに第一遠近判定手段を有することを特徴とする。ここでは、遠近判定部が、第一遠近判定手段のみを有する場合について説明する。本実施形態の「図形コード読取装置」(1500)は、「カメラ部」(1501)と、「図形コード情報出力部」(1502)と、「セルサイズ算出部」(1503)と、「読取可否判定部」(1504)と、「セルサイズ算出結果履歴情報保持部」(1505)と、「合焦度合判定部」(1506)と、「合焦度合判定結果履歴情報保持部」(1507)と、「適切方向判定部」(1508)と、「遠近判定部」(1509)と、「調整情報出力部」(1510)を有し、さらに遠近判定部は、「第一遠近判定手段」(1511)を有する。   FIG. 15 shows an example of functional blocks of this embodiment. The present embodiment is characterized in that, based on the third embodiment, the perspective determination unit further includes first perspective determination means. Here, a case where the perspective determination unit has only the first perspective determination means will be described. The “graphic code reading device” (1500) of the present embodiment includes a “camera unit” (1501), a “graphic code information output unit” (1502), a “cell size calculation unit” (1503), and “readability”. A “determination unit” (1504), a “cell size calculation result history information holding unit” (1505), a “focus degree determination unit” (1506), and a “focus degree determination result history information holding unit” (1507). , “Appropriate direction determination unit” (1508), “perspective determination unit” (1509), and “adjustment information output unit” (1510), and the perspective determination unit further includes “first perspective determination unit” (1511). ).

「第一遠近判定手段」(1511)は、前記遠近判定部(1510)を構成し、前記適切方向判定部(1508)からの合焦方向に移動しているという情報と、セルサイズ算出結果履歴情報保持部(1505)からのセルサイズが小さくなっていくという情報とを取得した場合、図形コードが適切な距離に対して近距離にあると判定する機能を有する。図16(a)は合焦度合いとセルサイズの関係を示した一例である。この図において、読取可能なセルサイズの最小値をCmin、合焦閾値をFminとした。セルサイズがセルサイズ最小値Cmin以上であり、さらに合焦度合いが合焦閾値Fmin以上であるときが、図形コードと撮像レンズの適切な距離であり、図形コードの読取可能な範囲である(以下、図19、22、25において同様)。第一遠近判定手段は、撮像レンズが読取可能領域にあり、セルサイズが小さくなっていくに従い合焦度合いが大きくなっていくという情報を取得した場合、すなわち図16中の点Xが矢印の方向に動いているとういう情報を取得した場合、図形コードが適切な距離に対して近距離にあると判定する機能を有する。
<実施形態3−1の処理の流れ>
The “first perspective determination means” (1511) constitutes the perspective determination unit (1510), information indicating that it is moving in the in-focus direction from the appropriate direction determination unit (1508), and cell size calculation result history When the information that the cell size is decreasing from the information holding unit (1505) is acquired, the graphic code has a function of determining that the graphic code is close to an appropriate distance. FIG. 16A is an example showing the relationship between the degree of focusing and the cell size. In this figure, the minimum cell size that can be read is C min , and the focusing threshold is F min . When the cell size is equal to or larger than the cell size minimum value C min and the in-focus level is equal to or larger than the focusing threshold value F min, it is an appropriate distance between the graphic code and the imaging lens, and the graphic code can be read. (The same applies to FIGS. 19, 22, and 25). When the first perspective determination unit acquires information that the imaging lens is in the readable region and the degree of focus increases as the cell size decreases, that is, the point X in FIG. 16 indicates the direction of the arrow. When the information indicating that the graphic code is moving is acquired, the graphic code has a function of determining that the graphic code is close to an appropriate distance.
<Processing Flow of Embodiment 3-1>

実施形態3−1の処理の流れは、実施形態3の図13と同様である。本実施形態においては、適切方向判定ステップ(1308)にて撮像レンズが合焦方向に移動しているという判定結果であり、セルサイズ算出結果履歴情報記録ステップ(S1305)にて記録されるセルサイズ算出結果履歴情報がセルサイズが小さくなっていくという履歴情報である場合には、遠近判定ステップ(S1309)にて図形コードが適切な距離に対して近距離にあると判定する。この場合には、調整情報出力ステップ(S1310)にて撮像レンズを遠ざけるように位置調整情報を出力する。
<実施形態3−1の効果>
The processing flow of the embodiment 3-1 is the same as that of FIG. In this embodiment, the cell size recorded in the cell size calculation result history information recording step (S1305) is a determination result that the imaging lens is moving in the in-focus direction in the appropriate direction determination step (1308). If the calculation result history information is history information indicating that the cell size is decreasing, it is determined in the perspective determination step (S1309) that the graphic code is close to an appropriate distance. In this case, in the adjustment information output step (S1310), position adjustment information is output so as to move the imaging lens away.
<Effect of Embodiment 3-1>

図形コードと撮像レンズとの距離が、適切な距離に対して近すぎるために図形コード読取に失敗した場合、調整情報出力部に撮像レンズを遠ざけるように指示が出力されるため、ユーザは容易に撮像レンズの位置を調整することができる。
≪実施形態3−2≫
<実施形態3−2の概要>
If the graphic code reading fails because the distance between the graphic code and the imaging lens is too close to the appropriate distance, an instruction is output to the adjustment information output unit to move the imaging lens away, so the user can easily The position of the imaging lens can be adjusted.
<< Embodiment 3-2 >>
<Outline of Embodiment 3-2>

図17は、本実施形態の概念の一例を示すものである。図17(a)のように、携帯端末装置による図形コード読取おいて、紙等に印刷された図形コードと撮像レンズとの距離が、合焦度合いは大きくなっているが適切な距離に対して遠距離にある場合は、ファインダには図17(b)のように表示され、図形コードの画像は小さく不鮮明となり図形コード読取に失敗してしまう。本実施形態は、セルサイズが設定した最小値よりも大きく、またセルサイズが大きくなっていくという履歴情報と、合焦度合いが大きくなっていくという履歴情報を取得した場合に、図形コードと撮像レンズの距離が適切な距離に対して遠すぎると判定し、ユーザに撮像レンズをもっと近づけるように位置調整情報を出力する図形コード読取装置である。
<実施形態3−2の構成>
FIG. 17 shows an example of the concept of this embodiment. As shown in FIG. 17 (a), when the graphic code is read by the mobile terminal device, the distance between the graphic code printed on the paper or the like and the imaging lens is large, but the focus degree is large, but the appropriate distance. If it is at a long distance, it will be displayed on the viewfinder as shown in FIG. 17B, and the graphic code image will be small and unclear, and graphic code reading will fail. In the present embodiment, when the history information that the cell size is larger than the set minimum value and the cell size becomes larger and the history information that the degree of focusing becomes larger is acquired, the graphic code and the imaging are acquired. It is a graphic code reading device that determines that the distance of the lens is too far from an appropriate distance and outputs position adjustment information so as to bring the imaging lens closer to the user.
<Configuration of Embodiment 3-2>

図18に本実施形態の機能ブロックの一例を示した。本実施形態は実施形態3を基本として、遠近判定部がさらに第二遠近判定手段を有することを特徴とする。ここでは遠近判定部が第二遠近判定手段のみを有する場合について説明する。「図形コード読取装置」(1800)は、「カメラ部」(1801)と、「図形コード情報出力部」(1802)と、「セルサイズ算出部」(1803)と、「読取可否判定部」(1804)と、「セルサイズ算出結果履歴情報保持部」(1805)と、「合焦度合判定部」(1806)と、「合焦度合判定結果履歴情報保持部」(1807)と、「適切方向判定部」(1808)と、「調整情報出力部」(1809)を有し、さらに適切方向判定部は、「遠近判定部」(1810)を有し、遠近判定部は「第二遠近判定手段」(1811)を有する。なお、本実施形態は実施形態3に限られず、実施形態3−1を基本としてもよい。   FIG. 18 shows an example of functional blocks of the present embodiment. The present embodiment is based on the third embodiment, and the perspective determination unit further includes second perspective determination means. Here, a case where the perspective determination unit has only the second perspective determination means will be described. The “graphic code reader” (1800) includes a “camera unit” (1801), a “graphic code information output unit” (1802), a “cell size calculation unit” (1803), and a “readability determination unit” ( 1804), “cell size calculation result history information holding unit” (1805), “focus degree determination unit” (1806), “focus degree determination result history information holding unit” (1807), “appropriate direction” It has a “determination unit” (1808) and an “adjustment information output unit” (1809), the appropriate direction determination unit has a “perspective determination unit” (1810), and the perspective determination unit is “second perspective determination means”. (1811). The present embodiment is not limited to the third embodiment, and may be based on the embodiment 3-1.

「第二遠近判定手段」(1811)は、遠近判定部(1810)を構成し、前記適切方向判定部(1808)からの合焦方向に移動しているという情報と、セルサイズ算出結果履歴情報保持部(1805)からのセルサイズが大きくなっていくという情報とを取得した場合、図形コードが適切な距離に対して遠距離にあると判定する機能を有する。撮像レンズが読取可能な範囲にあり、合焦度合いが大きくなっていくに従いセルサイズが大きくなっていくという履歴情報を取得した場合、すなわち、図19中の点Xが矢印の方向に動いているとういう情報を取得した場合、図形コードが適切な距離に対して遠距離にあると判定する機能を有する。   "Second perspective determination means" (1811) constitutes a perspective determination unit (1810), information indicating that it is moving in the in-focus direction from the appropriate direction determination unit (1808), and cell size calculation result history information When the information that the cell size increases from the holding unit (1805) is acquired, the graphic code has a function of determining that the graphic code is at a long distance from an appropriate distance. When history information that the imaging lens is in a readable range and the cell size increases as the degree of focus increases, that is, the point X in FIG. 19 moves in the direction of the arrow. When such information is acquired, it has a function of determining that the graphic code is at a long distance with respect to an appropriate distance.

その他の各部の処理については、実施形態1、2と同様である。
<実施形態3−2の処理の流れ>
The processing of other parts is the same as in the first and second embodiments.
<Processing Flow of Embodiment 3-2>

実施形態3−2の処理の流れは、実施形態3の図13と同様である。本実施形態においては、適切方向判定ステップ(1308)にて撮像レンズが合焦方向に移動しているという判定結果であり、セルサイズ算出結果履歴情報記録ステップ(S1305)にて記録されるセルサイズ算出結果履歴情報がセルサイズが大きくなっていくという履歴情報である場合には、遠近判定ステップ(S1309)にて図形コードが適切な距離に対して遠距離にあると判定する。この場合には、調整情報出力ステップ(S1310)にて撮像レンズを近づけるように位置調整情報を出力する。
(実施形態4の効果)
The processing flow of the embodiment 3-2 is the same as that of FIG. 13 of the embodiment 3. In this embodiment, the cell size recorded in the cell size calculation result history information recording step (S1305) is a determination result that the imaging lens is moving in the in-focus direction in the appropriate direction determination step (1308). If the calculation result history information is history information indicating that the cell size is increasing, it is determined in the perspective determination step (S1309) that the graphic code is far from an appropriate distance. In this case, position adjustment information is output so as to bring the imaging lens closer in the adjustment information output step (S1310).
(Effect of Embodiment 4)

図形コードと撮像レンズとの距離が、適切な距離に対して遠すぎるために図形コード読取に失敗した場合、調整情報出力部に撮像レンズを近づけるように指示が出力されるため、ユーザは容易に撮像レンズの位置を調整することができる。
≪実施形態3−3≫
<実施形態3−3の概要>
When the figure code reading fails because the distance between the figure code and the imaging lens is too far from the appropriate distance, an instruction is output to bring the imaging lens closer to the adjustment information output unit, so that the user can easily The position of the imaging lens can be adjusted.
<< Embodiment 3-3 >>
<Outline of Embodiment 3-3>

図20は、本実施形態の概念の一例を示すものである。図20(a)のように、携帯端末装置による図形コード読取おいて、紙等)に印刷された図形コードと撮像レンズとの距離が、適切な距離に対して遠距離にあり、さらに合焦度合いも小さくなっている場合は、ファインダには図20(b)のように表示され、図形コードの画像は小さく不鮮明となり図形コード読取に失敗してしまう。本実施形態は、セルサイズが設定した最小値よりも大きく、またセルサイズが小さくなっていくという履歴情報と、合焦度合いが小さくなっていくという履歴情報を取得した場合に、図形コードと撮像レンズとの距離が適切な距離に対して遠すぎると判定し、ユーザに撮像レンズをもっと近づけるように位置調整情報を出力する図形コード読取装置である。
<実施形態3−3の構成>
FIG. 20 shows an example of the concept of this embodiment. As shown in FIG. 20A, when the graphic code is read by the portable terminal device, the distance between the graphic code printed on the paper or the like and the imaging lens is far from an appropriate distance, and further focusing is performed. When the degree is also small, it is displayed on the finder as shown in FIG. 20B, and the graphic code image becomes small and unclear, and the graphic code reading fails. In the present embodiment, when the history information that the cell size is larger than the set minimum value and the cell size becomes smaller and the history information that the degree of focusing becomes smaller is acquired, the graphic code and the imaging are acquired. It is a graphic code reading device that determines that the distance to the lens is too far from an appropriate distance and outputs position adjustment information so that the imaging lens is closer to the user.
<Configuration of Embodiment 3-3>

図21に本実施形態の機能ブロックの一例を示した。本実施形態は実施形態3を基本として、遠近判定部がさらに第三遠近判定手段を有することを特徴とする。ここでは遠近判定部が第三遠近判定手段のみを有する場合について説明する。本実施形態の「図形コード読取装置」(2100)は、「カメラ部」(2101)と、「図形コード情報出力部」(2102)と、「セルサイズ算出部」(2103)と、「読取可否判定部」(2104)と、「セルサイズ算出結果履歴情報保持部」(2105)と、「合焦度合判定部」(2106)と、「合焦度合判定結果履歴情報保持部」(2107)と、「適切方向判定部」(2108)と、「遠近判定部」(2109)と、「調整情報出力部」(2110)を有し、さらに遠近判定部は「第三遠近判定手段」(2111)を有する。なお、本実施形態は実施形態3に限られず、実施形態3−1または3−2を基本としてもよい。   FIG. 21 shows an example of functional blocks of the present embodiment. The present embodiment is based on the third embodiment, and the perspective determination unit further includes a third perspective determination unit. Here, a case where the perspective determination unit has only the third perspective determination means will be described. The “graphic code reading device” (2100) of the present embodiment includes a “camera unit” (2101), a “graphic code information output unit” (2102), a “cell size calculation unit” (2103), and “readability”. “Determining unit” (2104), “Cell size calculation result history information holding unit” (2105), “Focus degree determination unit” (2106), “Focus degree determination result history information holding unit” (2107) , “Appropriate direction determination unit” (2108), “perspective determination unit” (2109), and “adjustment information output unit” (2110), and the perspective determination unit is “third perspective determination unit” (2111) Have The present embodiment is not limited to the third embodiment, and may be based on the embodiment 3-1 or 3-2.

「第三遠近判定手段」(2111)は、前記適切方向判定部(2108)からの合焦方向に移動していないという情報と、セルサイズ算出結果履歴情報保持部(2105)からのセルサイズが小さくなっていくという情報とを取得した場合、図形コードが適切な距離に対して遠距離にあると判定する機能を有する。撮像レンズが読取可能な範囲にあり、合焦度合いが小さくなっていくに従いセルサイズが小さくなっていくという情報を取得した場合、すなわち、図22中の点Xが矢印の方向に動いているとういう情報を取得した場合、図形コードが適切な距離に対して遠距離にあると判定する機能を有する。   The “third perspective determination means” (2111) has information indicating that it has not moved in the in-focus direction from the appropriate direction determination unit (2108) and the cell size from the cell size calculation result history information holding unit (2105). When the information indicating that the size is getting smaller is acquired, the graphic code has a function of determining that the figure code is far away from an appropriate distance. When information is obtained that the imaging lens is in a readable range and the cell size is reduced as the degree of focus is reduced, that is, the point X in FIG. 22 is moving in the direction of the arrow. When the information is acquired, it has a function of determining that the graphic code is at a long distance with respect to an appropriate distance.

その他の各部の処理については、実施形態1、2と同様である。
<実施形態3−3の流れ>
The processing of other parts is the same as in the first and second embodiments.
<Flow of Embodiment 3-3>

実施形態3−2の処理の流れは、実施形態3の図13と同様である。本実施形態においては、適切方向判定ステップ(1308)にて撮像レンズが合焦方向に移動していないという判定結果であり、セルサイズ算出結果履歴情報記録ステップ(S1305)にて記録されるセルサイズ算出結果履歴情報がセルサイズが小さくなっていくという履歴情報である場合には、遠近判定ステップ(S1309)にて図形コードが適切な距離に対して遠距離にあると判定する。この場合には、調整情報出力ステップ(S1310)にて撮像レンズを近づけるように位置調整情報を出力する。
(実施形態3−3の効果)
The processing flow of the embodiment 3-2 is the same as that of FIG. 13 of the embodiment 3. In the present embodiment, the cell size recorded in the cell size calculation result history information recording step (S1305) is a determination result that the imaging lens has not moved in the in-focus direction in the appropriate direction determination step (1308). If the calculation result history information is history information indicating that the cell size is decreasing, it is determined in the perspective determination step (S1309) that the graphic code is far from an appropriate distance. In this case, position adjustment information is output so as to bring the imaging lens closer in the adjustment information output step (S1310).
(Effect of Embodiment 3-3)

図形コードと撮像レンズとの距離が、適切な距離に対して遠すぎるために図形コード読取に失敗した場合、調整情報出力部に撮像レンズを近づけるように指示が出力されるため、ユーザは容易に撮像レンズの位置を調整することができる。
≪実施形態3−4≫
<実施形態3−4の概要>
When the figure code reading fails because the distance between the figure code and the imaging lens is too far from the appropriate distance, an instruction is output to bring the imaging lens closer to the adjustment information output unit, so that the user can easily The position of the imaging lens can be adjusted.
<< Embodiment 3-4 >>
<Outline of Embodiment 3-4>

図23は、本実施形態の概念の一例を示すものである。図23(a)のように、携帯端末装置による図形コード読取おいて、紙等に印刷された図形コードと撮像レンズとの距離が、適切な距離に対して近距離にあり、さらに合焦度合いも小さくなっている場合は、ファインダには図23(b)のように表示され、図形コード画像が大きすぎてぼやけているため図形コード読取に失敗してしまう。本実施形態は、セルサイズが設定した最小値よりも大きく、またセルサイズが大きくなっていくという履歴情報と、合焦度合いが小さくなっていくという履歴情報を取得した場合に、図形コードと撮像レンズとの距離が適切な距離に対して近すぎると判定し、ユーザに撮像レンズをもっと遠ざけるように位置調整情報を出力する図形コード読取装置である。なお、本実施形態は実施形態3に限られず、実施形態3−1から3−3のいずれか一を基本としてもよい。
<実施形態3−4の構成>
FIG. 23 shows an example of the concept of this embodiment. As shown in FIG. 23A, when the graphic code is read by the mobile terminal device, the distance between the graphic code printed on paper or the like and the imaging lens is close to an appropriate distance, and the degree of focus is further increased. If it is smaller, it is displayed on the finder as shown in FIG. 23B, and the graphic code image is too large and blurred, so that the graphic code reading fails. In the present embodiment, when the history information that the cell size is larger than the set minimum value and the cell size becomes larger and the history information that the degree of focusing becomes smaller is acquired, the graphic code and the imaging are acquired. It is a graphic code reading device that determines that the distance from the lens is too close to an appropriate distance and outputs position adjustment information so that the imaging lens is further away from the user. The present embodiment is not limited to the third embodiment, and may be based on any one of the embodiments 3-1 to 3-3.
<Configuration of Embodiment 3-4>

図24に本実施形態の機能ブロックの一例を示した。本実施形態は実施形態3のいずれか一を基本として、遠近判定部がさらに第四遠近判定手段を有することを特徴とする。ここでは遠近判定部が第四遠近判定手段のみを有する場合について説明する。本実施形態の「図形コード読取装置」(2400)は、「カメラ部」(2401)と、「図形コード情報出力部」(2402)と、「セルサイズ算出部」(2403)と、「読取可否判定部」(2404)と、「セルサイズ算出結果履歴情報保持部」(2405)と、「合焦度合判定部」(2406)と、「合焦度合判定結果履歴情報保持部」(2407)と、「適切方向判定部」(2408)と、「遠近判定部」(2409)と、「調整情報出力部」(2410)を有し、さらに遠近判定部は、「第四遠近判定手段」(2411)を有する。   FIG. 24 shows an example of functional blocks of the present embodiment. The present embodiment is based on any one of the third embodiment, and the perspective determination unit further includes fourth perspective determination means. Here, a case where the perspective determination unit has only the fourth perspective determination means will be described. The “graphic code reading device” (2400) of this embodiment includes a “camera unit” (2401), a “graphic code information output unit” (2402), a “cell size calculation unit” (2403), and “readability”. “Determining unit” (2404), “Cell size calculation result history information holding unit” (2405), “Focus degree determination unit” (2406), “Focus degree determination result history information holding unit” (2407) , “Appropriate direction determination unit” (2408), “perspective determination unit” (2409), and “adjustment information output unit” (2410), and the perspective determination unit further includes “fourth perspective determination unit” (2411). ).

「第四遠近判定手段」(2411)は、遠近判定部(2410)を構成し、前記適切方向判定部(2408)からの合焦方向に移動していないという情報と、セルサイズ算出結果履歴情報保持部(2405)からのセルサイズが大きくなっていくという情報とを取得した場合、図形コードが適切な距離に対して近距離にあると判定する機能を有する。撮像レンズが読取可能な範囲にあり、合焦度合いが小さくなっていくに従いセルサイズが大きくなっていくという情報を取得した場合、すなわち、図25中の点Xが矢印の方向に動いているとういう情報を取得した場合、図形コードが適切な距離に対して近距離にあると判定する機能を有する。   The “fourth perspective determination means” (2411) constitutes a perspective determination unit (2410), information indicating that it has not moved in the in-focus direction from the appropriate direction determination unit (2408), and cell size calculation result history information When the information that the cell size is increased from the holding unit (2405) is acquired, it has a function of determining that the graphic code is close to an appropriate distance. When information is acquired that the imaging lens is in a readable range and the cell size increases as the degree of focus decreases, that is, the point X in FIG. 25 moves in the direction of the arrow. When the information is acquired, it has a function of determining that the graphic code is close to an appropriate distance.

その他の各部の処理については、実施形態1、2と同様である。
<実施形態3−4の流れ>
The processing of other parts is the same as in the first and second embodiments.
<Flow of Embodiment 3-4>

実施形態3−4の処理の流れは、実施形態3の図13と同様である。本実施形態においては、適切方向判定ステップ(1307)にて撮像レンズが合焦方向に移動していないという判定結果であり、セルサイズ算出結果履歴情報記録ステップ(S1305)にて記録されるセルサイズ算出結果履歴情報がセルサイズが大きくなっていくという履歴情報である場合には、遠近判定ステップ(S1308)にて図形コードが適切な距離に対して近距離にあると判定する。この場合には、調整情報出力ステップ(S1309)にて撮像レンズを遠ざけるように位置調整情報を出力する。
<実施形態3−4の効果>
The processing flow of the embodiment 3-4 is the same as that in FIG. 13 of the embodiment 3. In the present embodiment, the cell size recorded in the cell size calculation result history information recording step (S1305) is a determination result that the imaging lens has not moved in the in-focus direction in the appropriate direction determination step (1307). If the calculation result history information is history information indicating that the cell size is increasing, it is determined in the perspective determination step (S1308) that the graphic code is close to an appropriate distance. In this case, in the adjustment information output step (S1309), position adjustment information is output so as to move the imaging lens away.
<Effect of Embodiment 3-4>

図形コードと撮像レンズとの距離が、適切な距離に対して近すぎるために図形コード読取に失敗した場合、調整情報出力部に撮像レンズを遠ざけるように指示が出力されるため、ユーザは容易に撮像レンズの位置を調整することができる。   If the graphic code reading fails because the distance between the graphic code and the imaging lens is too close to the appropriate distance, an instruction is output to the adjustment information output unit to move the imaging lens away, so the user can easily The position of the imaging lens can be adjusted.

図26には、各実施形態の概念をまとめている。図は図形コード(最下線)からの撮像レンズの距離を表し、B,Cに示されている線の矢印は合焦度合いの履歴方向を示している。また細くなっていく矢印はセルサイズが小さくなっていくという履歴を示し、太くなっていく矢印は、セルサイズが大きくなっていくという履歴を示している。実施形態1の図形コード読取装置は、セルサイズ算出結果に基づいて、読取不可領域(A1)にあるのか、読取可能領域(A2、A3、A4)にあるのかを判定することができる。実施形態2の図形コード読取装置は、読取可能領域にある場合に、さらに合焦度合判定結果履歴情報に基づいて、合焦方向に移動しているのか(B1)、合焦方向に移動していないのか(B2)を判定することができる。実施形態3の図形コード読取装置は、さらにセルサイズ算出結果履歴情報に基づいて、合焦領域よりも図形コードと撮像レンズの距離が近距離であるのか(C1、C4)、遠距離であるのか(C2、C3)を判定することができる。   FIG. 26 summarizes the concept of each embodiment. The figure shows the distance of the imaging lens from the graphic code (bottom line), and the arrows of the lines shown in B and C indicate the history direction of the degree of focus. Moreover, the arrow which becomes thin shows the log | history that cell size becomes small, The arrow which becomes thick shows the log | history that cell size becomes large. The graphic code reader according to the first embodiment can determine whether it is in the unreadable area (A1) or in the readable area (A2, A3, A4) based on the cell size calculation result. When the graphic code reading apparatus of the second embodiment is in the readable area, it is further moved in the in-focus direction (B1) based on the in-focus degree determination result history information, or in the in-focus direction. Whether or not there is (B2) can be determined. The graphic code reading device of the third embodiment further determines whether the distance between the graphic code and the imaging lens is shorter than the in-focus area (C1, C4) or far based on the cell size calculation result history information. (C2, C3) can be determined.

図27には、各請求項における構成要件を示している。○は必須構成要件を示し、(○)は選択構成要件を示している。   FIG. 27 shows the configuration requirements in each claim. ○ indicates required configuration requirements, and (○) indicates selected configuration requirements.

図形コード読取の概念を説明する図Diagram explaining the concept of figure code reading 実施形態1の概念を説明する図The figure explaining the concept of Embodiment 1 実施形態1を説明する機能ブロック図Functional block diagram for explaining the first embodiment ファインダパターンを説明する図Diagram explaining viewfinder pattern 位置調整情報の出力方法の例を示した図The figure which showed the example of the output method of position adjustment information 実施形態1の処理の流れを説明する図The figure explaining the flow of processing of Embodiment 1. 実施形態2の概念を説明する図The figure explaining the concept of Embodiment 2. 実施形態2を説明する機能ブロック図Functional block diagram for explaining the second embodiment 実施形態2の合焦度合判定結果履歴情報を説明する図The figure explaining the focus degree determination result history information of Embodiment 2. 実施形態2の処理の流れを説明する図The figure explaining the flow of processing of Embodiment 2. 実施形態3の概念を説明する図The figure explaining the concept of Embodiment 3 実施形態3を説明する機能ブロック図Functional block diagram for explaining the third embodiment 実施形態3のセルサイズと合焦度合いの関係の一例を示した図The figure which showed an example of the relationship between the cell size of Embodiment 3, and a focus degree 実施形態3−1の概念を説明する図The figure explaining the concept of Embodiment 3-1. 実施形態3−1を説明する機能ブロック図Functional block diagram for explaining the embodiment 3-1. 実施形態3−1のセルサイズと合焦度合いの関係の一例を示した図The figure which showed an example of the relationship between the cell size of Embodiment 3-1, and a focus degree 実施形態3−2の概念を説明する図The figure explaining the concept of Embodiment 3-2 実施形態3−2を説明する機能ブロック図Functional block diagram for explaining the embodiment 3-2 実施形態3−2のセルサイズと合焦度合いの関係の一例を示した図The figure which showed an example of the relationship between the cell size of Embodiment 3-2 and a focus degree 実施形態3−3の概念を説明する図The figure explaining the concept of Embodiment 3-3 実施形態3−3を説明する機能ブロック図Functional block diagram for explaining the embodiment 3-3 実施形態3−3のセルサイズと合焦度合いの関係の一例を示した図The figure which showed an example of the relationship between the cell size of Embodiment 3-3 and a focus degree 実施形態3−4の概念を説明する図The figure explaining the concept of Embodiment 3-4 実施形態3−4を説明する機能ブロック図Functional block diagram for explaining the embodiment 3-4 実施形態3−4のセルサイズと合焦度合いの関係の一例を示した図The figure which showed an example of the relationship between the cell size of Embodiment 3-4 and a focus degree 本発明の概念をまとめた図Diagram summarizing the concept of the present invention 本発明の構成要件をまとめた図Diagram summarizing the configuration requirements of the present invention

符号の説明Explanation of symbols

0300 図形コード読取装置
0301 カメラ部
0302 図形コード情報出力部
0303 セルサイズ算出部
0304 適切方向判定部
0305 調整情報出力部
0300 Graphic code reading device 0301 Camera unit 0302 Graphic code information output unit 0303 Cell size calculation unit 0304 Appropriate direction determination unit 0305 Adjustment information output unit

Claims (15)

撮像レンズから入力した図形コードの画像の画像信号を出力するカメラ部と、
前記カメラ部から出力される画像信号に基づいて、図形コード情報を出力する図形コード情報出力部と、
前記図形コード情報出力部から出力される図形コード情報に基づいて図形コードの最小構成単位であるセルのセルサイズを算出するセルサイズ算出部と、
前記セルサイズ算出部にて算出したセルサイズ算出結果から、算出したセルサイズが最小値より小さいために、合焦の有無に関わらず読み取りが不可であるか判定する読取可否判定部と、
前記読取可否判定部の判定結果に基づいて、ユーザに撮像のための位置調整情報を出力する調整情報出力部と、
を有する図形コード読取装置。
A camera unit that outputs an image signal of a graphic code image input from an imaging lens;
Based on an image signal output from the camera unit, a graphic code information output unit that outputs graphic code information;
A cell size calculation unit that calculates a cell size of a cell that is a minimum structural unit of the graphic code based on the graphic code information output from the graphic code information output unit;
From the cell size calculation result calculated by the cell size calculation unit, because the calculated cell size is smaller than the minimum value, a readability determination unit that determines whether reading is possible regardless of the presence of focus,
An adjustment information output unit that outputs position adjustment information for imaging to the user based on the determination result of the readability determination unit;
A graphic code reader.
前記カメラ部から出力される図形コードの画像の合焦度合いを判定する合焦度合判定部と、
前記合焦度合判定部の判定結果から合焦度合いの変化の履歴である合焦度合判定結果履歴情報を保持する合焦度合判定結果履歴情報保持部と、
前記合焦度合判定結果履歴情報保持部に保持された合焦度合判定結果履歴情報に基づいて、撮像レンズと図形コードとの過去の相対的移動が合焦方向の移動であったか、合焦方向の移動でなかったかを判定する適切方向判定部と、をさらに有し、
前記調整情報出力部は、さらに前記適切方向判定部の判定結果にも基づいて、ユーザに撮像のための位置調整情報を出力する請求項1に記載の図形コード読取装置。
An in-focus degree determining unit that determines the in-focus degree of the graphic code image output from the camera unit;
An in-focus degree determination result history information holding unit that holds in-focus degree determination result history information that is a history of changes in the in-focus degree from the determination result of the in-focus degree determination unit;
Based on the in-focus degree determination result history information held in the in-focus degree determination result history information holding unit, whether the past relative movement between the imaging lens and the figure code has been in the in-focus direction, An appropriate direction determination unit that determines whether the movement has occurred,
The graphic code reading device according to claim 1, wherein the adjustment information output unit further outputs position adjustment information for imaging to a user based on a determination result of the appropriate direction determination unit.
前記セルサイズ算出部の算出結果からセルサイズの変化の履歴であるセルサイズ算出結果履歴情報を保持するセルサイズ算出結果履歴情報保持部と、
前記適切方向判定部からの判定結果と、前記セルサイズ算出結果履歴情報保持部に保持されたセルサイズ算出結果履歴情報と、に基づいて、撮像レンズと図形コードとの距離の、適切な距離に対する遠近を判定する遠近判定部と、をさらに有し、
前記調整情報出力部は、さらに前記遠近判定部の判定結果にも基づいて、ユーザに撮像のための位置調整情報を出力する請求項2に記載の図形コード読取装置。
A cell size calculation result history information holding unit for holding cell size calculation result history information which is a history of cell size change from the calculation result of the cell size calculation unit;
Based on the determination result from the appropriate direction determination unit and the cell size calculation result history information held in the cell size calculation result history information holding unit, the distance between the imaging lens and the figure code with respect to an appropriate distance A perspective determination unit for determining perspective, and
The graphic code reading device according to claim 2, wherein the adjustment information output unit further outputs position adjustment information for imaging to a user based on a determination result of the perspective determination unit.
前記適切方向判定部からの判定結果が、合焦方向に移動しているという情報であり、
前記セルサイズ算出結果履歴情報保持部に保持されているセルサイズ算出結果履歴情報が、時間的に後のセルサイズの算出結果ほど、セルサイズが小さくなっていくという情報である場合には、
前記遠近判定部は、図形コードが適切な距離よりも近距離にあると判定する第一遠近判定手段を有する請求項3に記載の図形コード読取装置。
The determination result from the appropriate direction determination unit is information that the movement is in the in-focus direction,
When the cell size calculation result history information held in the cell size calculation result history information holding unit is information that the cell size becomes smaller as the cell size calculation result later in time,
The graphic code reading device according to claim 3, wherein the perspective determination unit includes first perspective determination means that determines that the graphic code is closer than an appropriate distance.
前記適切方向判定部からの判定結果が、合焦方向に移動しているという情報であり、
前記セルサイズ算出結果履歴情報保持部に保持されているセルサイズ算出結果履歴情報が、時間的に後のセルサイズの算出結果ほど、セルサイズが大きくなっていくという情報である場合には、
前記遠近判定部は、図形コードが適切な距離よりも遠距離にあると判定する第二遠近判定手段を有する請求項3又は4に記載の図形コード読取装置。
The determination result from the appropriate direction determination unit is information that the movement is in the in-focus direction,
When the cell size calculation result history information held in the cell size calculation result history information holding unit is information that the cell size becomes larger as the calculation result of the cell size later in time,
The graphic code reading device according to claim 3, wherein the perspective determination unit includes a second perspective determination unit that determines that the graphic code is located at a longer distance than an appropriate distance.
前記適切方向判定部からの判定結果が、合焦方向に移動していないという情報であり、
前記セルサイズ算出結果履歴情報保持部に保持されているセルサイズ算出結果履歴情報が、時間的に後のセルサイズの算出結果ほど、セルサイズが小さくなっていくという情報である場合には、
前記遠近判定部は、図形コードが適切な距離よりも遠距離にあると判定する第三遠近判定手段を有する請求項3から5のいずれか一に記載の図形コード読取装置。
The determination result from the appropriate direction determination unit is information that the movement is not in the in-focus direction,
When the cell size calculation result history information held in the cell size calculation result history information holding unit is information that the cell size becomes smaller as the cell size calculation result later in time,
The graphic code reading device according to any one of claims 3 to 5, wherein the perspective determination unit includes a third perspective determination unit that determines that the graphic code is farther than an appropriate distance.
前記適切方向判定部からの判定結果が、合焦方向に移動していないという情報であり、
前記セルサイズ算出結果履歴情報保持部に保持されているセルサイズ算出結果履歴情報が、時間的に後のセルサイズの算出結果ほど、セルサイズが大きくなっていくという情報である場合には、
前記遠近判定部は、図形コードが適切な距離よりも近距離にあると判定する第四遠近判定手段を有する請求項3から6のいずれか一に記載の図形コード読取装置。
The determination result from the appropriate direction determination unit is information that the movement is not in the in-focus direction,
When the cell size calculation result history information held in the cell size calculation result history information holding unit is information that the cell size becomes larger as the calculation result of the cell size later in time,
The graphic code reading device according to claim 3, wherein the perspective determination unit includes a fourth perspective determination unit that determines that the graphic code is closer than an appropriate distance.
請求項1から7のいずれか一に記載の図形コード読取装置を有する携帯端末装置。   A portable terminal device comprising the graphic code reading device according to claim 1. 図形コードの画像を出力する図形コード画像出力ステップと、
前記図形コード画像出力ステップにて出力された図形コード画像に基づいて図形コード情報を出力する図形コード情報出力ステップと、
前記図形コード情報出力ステップにて出力される図形コード情報に基づいてセルサイズを算出するセルサイズ算出ステップと、
前記セルサイズ算出ステップでのセルサイズ算出結果から、算出したセルサイズが最小値より小さいために、合焦の有無に関わらず読み取りが不可であるか判定する読取可否判定ステップと、
前記読取可否判定ステップにて取得される判定結果に基づいて、ユーザに撮像のための位置調整情報を出力する調整情報出力ステップと、
を含む図形コード読取装置の動作方法。
A graphic code image output step for outputting a graphic code image;
A graphic code information output step for outputting graphic code information based on the graphic code image output in the graphic code image output step;
A cell size calculating step for calculating a cell size based on the graphic code information output in the graphic code information output step;
From the cell size calculation result in the cell size calculation step, because the calculated cell size is smaller than the minimum value, a readability determination step for determining whether reading is possible regardless of the presence or absence of focusing;
An adjustment information output step for outputting position adjustment information for imaging to the user based on the determination result acquired in the readability determination step;
A method of operating a graphic code reader including
図形コードの画像を出力する図形コード画像出力ステップと、
前記図形コード画像出力ステップにて出力された図形コード画像に基づいて図形コード情報を出力する図形コード情報出力ステップと、
前記図形コード情報出力ステップにて出力される図形コード情報に基づいてセルサイズを算出するセルサイズ算出ステップと、
前記セルサイズ算出ステップでのセルサイズ算出結果から、算出したセルサイズが最小値より小さいために、合焦の有無に関わらず読み取りが不可であるか判定する読取可否判定ステップと、
前記読取可否判定ステップにて読取可能と判断された場合に、
前記カメラ部にて出力される図形コード画像に基づいて図形コードの画像の合焦度合いを判定する合焦度合判定ステップと、
前記合焦度合判定ステップにて判定した合焦度合いの経時的な変化の履歴である合焦度合判定結果履歴情報を記録する合焦度合判定結果履歴情報記録ステップと、
前記合焦度合判定結果履歴情報記録ステップにて記録された合焦度合判定結果履歴情報に基づいて、撮像レンズと図形コードとの過去の相対的移動が合焦方向の移動であったか、合焦方向の移動でなかったか、を判定する適切方向判定ステップと、
前記適切方向判定ステップにて取得される判定結果にも基づいて、ユーザに撮像のための位置調整情報を出力する調整情報出力ステップと、
を含む図形コード読取装置の動作方法。
A graphic code image output step for outputting a graphic code image;
A graphic code information output step for outputting graphic code information based on the graphic code image output in the graphic code image output step;
A cell size calculating step for calculating a cell size based on the graphic code information output in the graphic code information output step;
From the cell size calculation result in the cell size calculation step, because the calculated cell size is smaller than the minimum value, a readability determination step for determining whether reading is possible regardless of the presence or absence of focusing;
When it is determined that reading is possible in the reading permission determination step,
An in-focus degree determination step for determining the in-focus degree of the image of the graphic code based on the graphic code image output by the camera unit;
In-focus degree determination result history information recording step for recording in-focus degree determination result history information, which is a history of changes in the in-focus degree determined in the in-focus degree determination step,
Based on the in-focus degree determination result history information recorded in the in-focus degree determination result history information recording step, whether the past relative movement between the imaging lens and the figure code was in the in-focus direction, or the in-focus direction An appropriate direction determination step for determining whether the movement was
An adjustment information output step for outputting position adjustment information for imaging to the user based on the determination result acquired in the appropriate direction determination step;
A method of operating a graphic code reader including
図形コードの画像を出力する図形コード画像出力ステップと、
前記図形コード画像出力ステップにて出力された図形コード画像に基づいて図形コード情報を出力する図形コード情報出力ステップと、
前記図形コード情報出力ステップにて出力される図形コード情報に基づいてセルサイズを算出するセルサイズ算出ステップと、
前記セルサイズ算出ステップでのセルサイズ算出結果から、算出したセルサイズが最小値より小さいために、合焦の有無に関わらず読み取りが不可であるか判定する読取可否判定ステップと、
前記読取可否判定ステップにて読取可能と判断された場合に、
前記セルサイズ算出ステップにて算出したセルサイズの経時的な変化の履歴であるセルサイズ算出結果履歴情報を記録するセルサイズ算出結果履歴情報記録ステップと、
前記カメラ部にて出力される図形コード画像に基づいて図形コードの画像の合焦度合いを判定する合焦度合判定ステップと、
前記合焦度合判定ステップにて判定した合焦度合いの経時的な変化の履歴である合焦度合判定結果履歴情報を記録する合焦度合判定結果履歴記録記録ステップと、
前記合焦度合判定結果履歴情報記録ステップにて保持された合焦度合判定結果履歴情報に基づいて撮像レンズと図形コードとの過去の相対的移動が合焦方向の移動であったか、合焦方向の移動でなかったか、を判定する適切方向判定ステップと、
前記適切方向判定ステップにて判定した判定結果と、前記セルサイズ算出結果履歴情報保持部に記録されたセルサイズ算出結果履歴情報と、に基づいて、撮像レンズと図形コードとの距離の、適切な距離に対する遠近を判定する遠近判定ステップと、
前記遠近判定ステップにて取得される判定結果にも基づいて、ユーザに撮像のための位置調整情報を出力する調整情報出力ステップと、
を含む図形コード読取装置の動作方法。
A graphic code image output step for outputting a graphic code image;
A graphic code information output step for outputting graphic code information based on the graphic code image output in the graphic code image output step;
A cell size calculating step for calculating a cell size based on the graphic code information output in the graphic code information output step;
From the cell size calculation result in the cell size calculation step, because the calculated cell size is smaller than the minimum value, a readability determination step for determining whether reading is possible regardless of the presence or absence of focusing;
When it is determined that reading is possible in the reading permission determination step,
A cell size calculation result history information recording step for recording cell size calculation result history information which is a history of changes in cell size over time calculated in the cell size calculation step;
An in-focus degree determination step for determining the in-focus degree of the image of the graphic code based on the graphic code image output by the camera unit;
A focus degree determination result history record recording step for recording focus degree determination result history information which is a history of a change in the degree of focus determined in the focus degree determination step over time;
Based on the in-focus degree determination result history information stored in the in-focus degree determination result history information recording step, whether the past relative movement between the imaging lens and the figure code was in the in-focus direction, An appropriate direction determination step for determining whether or not it was a movement;
Based on the determination result determined in the appropriate direction determination step and the cell size calculation result history information recorded in the cell size calculation result history information holding unit, an appropriate distance between the imaging lens and the graphic code is determined. A perspective determination step for determining perspective with respect to a distance;
An adjustment information output step for outputting position adjustment information for imaging to the user based on the determination result acquired in the perspective determination step;
A method of operating a graphic code reader including
前記適切方向判定ステップにて取得される判定結果が、合焦方向に移動しているという情報であり、
前記セルサイズ算出結果履歴情報記録ステップにて記録されるセルサイズ算出結果履歴情報が、時間的に後のセルサイズの算出結果ほどセルサイズが小さくなっていくという情報である場合には、
前記図形コードが適切な距離よりも近距離にあると判定し、
ユーザに撮像レンズを遠ざけるように出力する請求項11に記載の図形コード読取装置の動作方法。
The determination result acquired in the appropriate direction determination step is information that the movement is in the in-focus direction,
When the cell size calculation result history information recorded in the cell size calculation result history information recording step is information that the cell size becomes smaller as the cell size calculation result later in time,
Determining that the graphic code is closer than the appropriate distance;
The operation method of the graphic code reader according to claim 11, wherein output is performed so as to move the imaging lens away from the user.
前記適切方向判定ステップにて取得される判定結果が、合焦方向に移動しているという情報であり、
前記セルサイズ算出結果履歴情報記録ステップにて記録されるセルサイズ算出結果履歴情報が、時間的に後のセルサイズの算出結果ほどセルサイズが大きくなっていくという情報である場合には、
前記図形コードが適切な距離よりも遠距離にあると判定し、
ユーザに撮像レンズを近づけるように出力する請求項11又は12に記載の図形コード読取装置の動作方法。
The determination result acquired in the appropriate direction determination step is information that the movement is in the in-focus direction,
When the cell size calculation result history information recorded in the cell size calculation result history information recording step is information that the cell size increases as the cell size calculation result later in time,
Determining that the graphic code is at a distance greater than the appropriate distance;
The operation method of the graphic code reading device according to claim 11 or 12, wherein an image pickup lens is output so as to be close to a user.
前記適切方向判定ステップにて取得される判定結果が、合焦方向に移動していないという情報であり、
前記セルサイズ算出結果履歴情報記録ステップにて記録されるセルサイズ算出結果履歴情報が、時間的に後のセルサイズの算出結果ほどセルサイズが小さくなっていくという情報である場合には、
前記図形コードが適切な距離よりも遠距離にあると判定し、
ユーザに撮像レンズを近づけるように出力する請求項11から13のいずれか一に記載の図形コード読取装置の動作方法。
The determination result acquired in the appropriate direction determination step is information that the movement is not in the in-focus direction,
When the cell size calculation result history information recorded in the cell size calculation result history information recording step is information that the cell size becomes smaller as the cell size calculation result later in time,
Determining that the graphic code is at a distance greater than the appropriate distance;
The operation method of the graphic code reading apparatus according to claim 11, wherein the operation is performed so that the imaging lens is brought closer to the user.
前記適切方向判定ステップにて取得される判定結果が、合焦方向に移動していないという情報であり、
前記セルサイズ算出結果履歴情報記録ステップにて記録されるセルサイズ算出結果履歴情報が、時間的に後のセルサイズの算出結果ほどセルサイズが大きくなっていくという情報である場合には、
前記図形コードが適切な距離よりも近距離にあると判定し、
ユーザに撮像レンズを遠ざけるように出力する請求項11から14のいずれか一に記載の図形コード読取装置の動作方法。
The determination result acquired in the appropriate direction determination step is information that the movement is not in the in-focus direction,
When the cell size calculation result history information recorded in the cell size calculation result history information recording step is information that the cell size increases as the cell size calculation result later in time,
Determining that the graphic code is closer than the appropriate distance;
The operation method of the graphic code reading device according to claim 11, wherein the operation is performed so that the imaging lens is moved away from the user.
JP2005170025A 2005-06-09 2005-06-09 Figure code reading device Pending JP2006344066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005170025A JP2006344066A (en) 2005-06-09 2005-06-09 Figure code reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005170025A JP2006344066A (en) 2005-06-09 2005-06-09 Figure code reading device

Publications (1)

Publication Number Publication Date
JP2006344066A true JP2006344066A (en) 2006-12-21

Family

ID=37640981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005170025A Pending JP2006344066A (en) 2005-06-09 2005-06-09 Figure code reading device

Country Status (1)

Country Link
JP (1) JP2006344066A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009294769A (en) * 2008-06-03 2009-12-17 Denso Wave Inc Optical information reader
JP2010092211A (en) * 2008-10-07 2010-04-22 Casio Computer Co Ltd Symbol reading device and program
JP2010231436A (en) * 2009-03-26 2010-10-14 Toshiba Tec Corp Code symbol reader
JP2011165139A (en) * 2010-02-15 2011-08-25 Toshiba Tec Corp Code symbol reading apparatus and control program
JP2012185842A (en) * 2012-05-11 2012-09-27 Toshiba Tec Corp Scanner
JP2013101698A (en) * 2013-02-25 2013-05-23 Casio Comput Co Ltd Image pickup device and program
JP2014115939A (en) * 2012-12-12 2014-06-26 Sony Corp Information processing apparatus, program, and information processing method
WO2015145977A1 (en) * 2014-03-27 2015-10-01 日本電気株式会社 Information processing apparatus, information processing method, recording medium, and pos terminal apparatus
JP2016162351A (en) * 2015-03-04 2016-09-05 株式会社デンソーウェーブ Information transmission system
JP2016170599A (en) * 2015-03-12 2016-09-23 株式会社デンソーウェーブ Information code reading device
JP2016176846A (en) * 2015-03-20 2016-10-06 株式会社日立ハイテクノロジーズ Automatic analyzer
JP2020042506A (en) * 2018-09-10 2020-03-19 株式会社東芝 Code display device, code reading device, code display method, and program

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009294769A (en) * 2008-06-03 2009-12-17 Denso Wave Inc Optical information reader
JP2010092211A (en) * 2008-10-07 2010-04-22 Casio Computer Co Ltd Symbol reading device and program
JP2010231436A (en) * 2009-03-26 2010-10-14 Toshiba Tec Corp Code symbol reader
US8579199B2 (en) 2010-02-15 2013-11-12 Toshiba Tec Kabushiki Kaisha Code symbol reading apparatus and reading method
JP2011165139A (en) * 2010-02-15 2011-08-25 Toshiba Tec Corp Code symbol reading apparatus and control program
JP2012185842A (en) * 2012-05-11 2012-09-27 Toshiba Tec Corp Scanner
US9465971B2 (en) 2012-12-12 2016-10-11 Sony Corporation Information processing device, program, and information processing method
JP2014115939A (en) * 2012-12-12 2014-06-26 Sony Corp Information processing apparatus, program, and information processing method
JP2013101698A (en) * 2013-02-25 2013-05-23 Casio Comput Co Ltd Image pickup device and program
WO2015145977A1 (en) * 2014-03-27 2015-10-01 日本電気株式会社 Information processing apparatus, information processing method, recording medium, and pos terminal apparatus
JPWO2015145977A1 (en) * 2014-03-27 2017-04-13 日本電気株式会社 Information processing apparatus, image processing method and program, and POS terminal apparatus
JP2016162351A (en) * 2015-03-04 2016-09-05 株式会社デンソーウェーブ Information transmission system
JP2016170599A (en) * 2015-03-12 2016-09-23 株式会社デンソーウェーブ Information code reading device
JP2016176846A (en) * 2015-03-20 2016-10-06 株式会社日立ハイテクノロジーズ Automatic analyzer
JP2020042506A (en) * 2018-09-10 2020-03-19 株式会社東芝 Code display device, code reading device, code display method, and program
JP7309334B2 (en) 2018-09-10 2023-07-18 株式会社東芝 Code display device, code display method, and program

Similar Documents

Publication Publication Date Title
JP2006344066A (en) Figure code reading device
US11283979B2 (en) Mobile device case and techniques for multi-view imaging
US8289403B2 (en) Image processing system
US8879639B2 (en) Adaptive video capture decode system
KR100967855B1 (en) System and method for checking framing and sharpness of a digital image
US9549126B2 (en) Digital photographing apparatus and control method thereof
CN111163261B (en) Target detection method, circuit, visual impairment assistance device, electronic device, and medium
JP2011199662A (en) Image processing apparatus, image processing method, image processing program, and recording medium having image processing program recorded therein
US11496670B2 (en) Electronic device with display screen capable of reliable detection of a user selected displayed eye region in a scene to be captured, and region selection method
CN106030366A (en) Imaging device, and focus control method
KR20150019393A (en) Method of capturing an iris image, Computer readable storage medium of recording the method and an iris image capture device
CN113840076A (en) Shooting zooming method, electronic equipment and storage medium
JP2006094082A (en) Image photographing device, and program
WO2012014946A1 (en) Image processing device and image processing program
JP2008293079A (en) Guide device and camera
US20130076940A1 (en) Photographing apparatus and method of detecting distortion thereof
JP4793459B2 (en) Symbol reader and program
JP2005277643A (en) Imaging device
JP2015102915A (en) Information processing apparatus, control method, and computer program
JP2008178031A (en) Imaging apparatus
JP2009130840A (en) Imaging apparatus, control method thereof ,and program
JP5440532B2 (en) Image capturing apparatus and program
US20130141613A1 (en) Digital image processing apparatus and digital photographing apparatus including the same
JP4892362B2 (en) Character recognition program, character recognition device, and character recognition method
KR20130118704A (en) The method and aparatue to process the digital image of document for electrical archiving and transmission