JP2018055397A - Optical information reader - Google Patents

Optical information reader Download PDF

Info

Publication number
JP2018055397A
JP2018055397A JP2016190600A JP2016190600A JP2018055397A JP 2018055397 A JP2018055397 A JP 2018055397A JP 2016190600 A JP2016190600 A JP 2016190600A JP 2016190600 A JP2016190600 A JP 2016190600A JP 2018055397 A JP2018055397 A JP 2018055397A
Authority
JP
Japan
Prior art keywords
optical information
unit
imaging
information
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016190600A
Other languages
Japanese (ja)
Other versions
JP6638614B2 (en
Inventor
裕一 伊東
Yuichi Ito
裕一 伊東
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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2016190600A priority Critical patent/JP6638614B2/en
Publication of JP2018055397A publication Critical patent/JP2018055397A/en
Application granted granted Critical
Publication of JP6638614B2 publication Critical patent/JP6638614B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Discrimination (AREA)

Abstract

【課題】光学的情報までの距離を測定する装置を別途設けることなく光学的情報の読取精度を向上させ得る構成を提供する。
【解決手段】情報コードCを撮像した撮像画像において当該情報コードCが占める領域の特定部分に関する数値が取得され、情報コードCを撮像した撮像画像から取得された数値と、前回情報コードCを撮像した撮像画像から取得された数値との変化量Lが算出される。そして、算出された変化量Lが所定値Lth以下となる場合に、情報コードCのデコード結果が出力される。
【選択図】図3
A configuration capable of improving the reading accuracy of optical information without separately providing a device for measuring the distance to the optical information is provided.
A numerical value related to a specific portion of an area occupied by the information code C is acquired in a captured image obtained by imaging the information code C, and a numerical value acquired from the captured image obtained by imaging the information code C and the previous information code C are captured. The amount of change L from the numerical value acquired from the captured image is calculated. When the calculated change amount L is equal to or less than the predetermined value Lth, the decoding result of the information code C is output.
[Selection] Figure 3

Description

本発明は、光学的情報読取装置に関するものである。   The present invention relates to an optical information reader.

情報コード(バーコード及び二次元コード等)や文字情報等の光学的情報を光学的に読み取る光学的情報読取装置では、据え置いた状態で情報コード等をかざして使用する場合だけでなく、携帯して情報コード等に読取口を向けて使用する場合もある。このように光学的情報読取装置を携帯して使用する際、読取口を情報コード等に近づけている途中でその情報コード等が撮像されて解読されてしまうと、ぶれた状態で撮像された情報コード等を解読したために誤読等の問題が生じる可能性が有る。この問題は、携帯時だけでなく、据え置き状態の読取口に情報コード等を近づけている途中でその情報コード等が撮像されて解読されても同様の問題が生じる可能性が有る。   An optical information reader that optically reads optical information such as information codes (barcodes, two-dimensional codes, etc.) and character information is not only used when the information code is held up in a stationary state, but is also carried around. In some cases, the reading port is directed to the information code or the like. Thus, when the optical information reader is carried and used, if the information code or the like is imaged and decoded while the reading port is close to the information code or the like, the information captured in a blurred state There is a possibility that a problem such as misreading may occur because the code is decoded. This problem may occur not only when the information is carried but also when the information code or the like is captured and decoded while the information code or the like is brought close to the stationary reading port.

このため、光学的情報読取装置に対して相対移動している情報コード等の読み取りを防止する必要があり、このような問題を解決するため、例えば、下記特許文献1に開示されるバーコードスキャナが知られている。このバーコードスキャナは、バーコードラベルが適切な焦点位置にあるものは撮像画像において白・黒の境界部が急峻に変化するため高周波となり、適切な焦点位置から離れているものは白・黒の境界部が不明確でありなだらかに変化するため低周波となる傾向を利用して、バーコードラベルまでの距離を推定している。   For this reason, it is necessary to prevent reading of an information code or the like that is moving relative to the optical information reader. To solve such a problem, for example, a barcode scanner disclosed in Patent Document 1 below It has been known. This barcode scanner has a high frequency when the barcode label is at the proper focal position because the white / black boundary changes sharply in the captured image, and the one that is far from the appropriate focal position is white / black. The distance to the barcode label is estimated using the tendency to become low frequency because the boundary is unclear and changes gently.

特開2014−228345号公報JP 2014-228345 A

ところで、上記特許文献1に開示されるバーコードスキャナのような構成では、画像の周波数解析による周波数の偏りとバーコードラベルのバーコードスキャナからの距離との関係を、その距離毎に予め調べて距離・正規化対応表として記憶部に格納しておく必要がある。このように事前に距離を把握した上でデータベース化する必要があるため、読み取り対象が頻繁に変わる場合にはその分データベースを予め用意する必要があり、読取作業が煩雑になるだけでなく、汎用性が低いという問題がある。一方、光学的情報読取装置から情報コード等までの距離を測定する距離センサ等を別途設けることもできるが、部品点数が増え製造コストが増大するだけでなく装置が大型化してしまうという別の問題が生じてしまう。   By the way, in the configuration like the barcode scanner disclosed in Patent Document 1, the relationship between the frequency deviation by the frequency analysis of the image and the distance from the barcode scanner of the barcode label is examined in advance for each distance. It is necessary to store it in the storage unit as a distance / normalization correspondence table. Since it is necessary to grasp the distance in advance and create a database in this way, if the reading target changes frequently, it is necessary to prepare a database accordingly, which not only complicates the reading work but also general-purpose There is a problem that the nature is low. On the other hand, a distance sensor or the like for measuring the distance from the optical information reader to the information code or the like can be provided separately. However, the number of parts increases and the manufacturing cost increases. Will occur.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、光学的情報までの距離を測定する装置を別途設けることなく光学的情報の読取精度を向上させ得る構成を提供することにある。   The present invention has been made to solve the above-described problems, and an object of the present invention is to improve the reading accuracy of the optical information without separately providing a device for measuring the distance to the optical information. To provide a configuration.

上記目的を達成するため、特許請求の範囲の請求項1に記載の光学的情報読取装置(10)は、
光学的情報(C,M)を撮像する撮像部(23)と、
前記撮像部により撮像された前記光学的情報を解読する解読部(40)と、
前記解読部による解読結果を出力するための出力部(40,48)と、
前記撮像部により前記光学的情報を撮像した撮像画像において当該光学的情報が占める領域の特定部分に関する数値を取得する取得部(40)と、
前記撮像部により前記光学的情報を撮像した撮像画像から前記取得部により取得された数値と、前回以前に前記撮像部により前記光学的情報を撮像した撮像画像から前記取得部により取得された数値との変化量(L,ΔS)を算出する変化量算出部(40)と、
を備え、
前記出力部は、前記変化量算出部により算出された前記変化量が所定値(Lth,ΔSth)以下となる場合に、前記解読部による解読結果を出力することを特徴とする。
なお、上記各括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。
In order to achieve the above object, an optical information reading device (10) according to claim 1 of the claims includes:
An imaging unit (23) for imaging optical information (C, M);
A decoding unit (40) for decoding the optical information imaged by the imaging unit;
An output unit (40, 48) for outputting a result of decoding by the decoding unit;
An acquisition unit (40) for acquiring a numerical value relating to a specific portion of a region occupied by the optical information in a captured image obtained by imaging the optical information by the imaging unit;
A numerical value acquired by the acquisition unit from a captured image obtained by imaging the optical information by the imaging unit, and a numerical value acquired by the acquisition unit from a captured image obtained by imaging the optical information by the imaging unit before the previous time. A change amount calculation unit (40) for calculating a change amount (L, ΔS) of
With
The output unit outputs a decoding result by the decoding unit when the change amount calculated by the change amount calculation unit is a predetermined value (Lth, ΔSth) or less.
In addition, the code | symbol in each said parenthesis shows the correspondence with the specific means as described in embodiment mentioned later.

請求項1の発明では、撮像部により光学的情報を撮像した撮像画像において当該光学的情報が占める領域の特定部分に関する数値が取得部により取得され、撮像部により光学的情報を撮像した撮像画像から取得部により取得された数値と、前回以前に撮像部により光学的情報を撮像した撮像画像から取得部により取得された数値との変化量が変化量算出部により算出される。そして、変化量算出部により算出された変化量が所定値以下となる場合に、解読部による解読結果が出力部により出力される。   In the invention of claim 1, a numerical value related to a specific portion of a region occupied by the optical information in a captured image obtained by imaging optical information by the imaging unit is acquired by the acquisition unit, and from the captured image obtained by imaging the optical information by the imaging unit. The amount of change between the numerical value acquired by the acquisition unit and the numerical value acquired by the acquisition unit from the captured image obtained by imaging the optical information by the imaging unit before the previous time is calculated by the change amount calculation unit. Then, when the change amount calculated by the change amount calculation unit is equal to or less than a predetermined value, the decoding result by the decoding unit is output by the output unit.

撮像部に対して比較的近い位置での光学的情報を撮像した撮像画像において当該光学的情報が占める領域の特定部分に関する数値(例えば、各隅部の座標や一辺の長さ)は、比較的遠い位置での数値と異なる。すなわち、相対移動している光学的情報を撮像部により連続的に撮像すると、各撮像画像において当該光学的情報が占める領域の特定部分に関する数値が変化し、この数値の変化が大きいほど移動速度が大きくなる。このため、変化量算出部により算出された変化量が所定値以下となる場合、すなわち、光学的情報が相対移動していない場合かその相対移動が小さい場合に解読部による解読結果を出力することで、光学的情報の相対移動が大きな場合に撮像されて解読された解読結果が出力されることもない。したがって、光学的情報までの距離を測定する装置を別途設けることなく光学的情報の読取精度を向上させることができる。   The numerical values (for example, the coordinates of each corner and the length of one side) relating to the specific portion of the area occupied by the optical information in the captured image obtained by imaging the optical information at a position relatively close to the imaging unit are relatively It differs from the value at a distant position. That is, when optical information that is relatively moving is continuously imaged by the imaging unit, a numerical value related to a specific portion of a region occupied by the optical information in each captured image changes, and the moving speed increases as the change in the numerical value increases. growing. For this reason, when the amount of change calculated by the amount-of-change calculating unit is equal to or less than a predetermined value, that is, when the optical information is not relatively moved or the relative movement is small, the decoding result by the decoding unit is output. Thus, when the relative movement of the optical information is large, the decoding result obtained by imaging and decoding is not output. Therefore, the reading accuracy of the optical information can be improved without separately providing a device for measuring the distance to the optical information.

請求項2の発明では、撮像部により光学的情報を撮像した撮像画像から取得部により取得された数値と、2回以上前となる所定回前に撮像部により光学的情報を撮像した撮像画像から取得部により取得された数値との変化量が変化量算出部により算出される。これにより、前回の数値との変化量を算出する場合と比較して、変化量が大きく算出されやすくなるので、解読部による解読結果が出力される際に許容される相対移動量を容易に小さくでき、光学的情報の読取精度をより向上させることができる。   In the invention of claim 2, from the numerical value acquired by the acquisition unit from the captured image obtained by imaging the optical information by the imaging unit and the captured image obtained by imaging the optical information by the imaging unit a predetermined number of times before the second time. The amount of change from the numerical value acquired by the acquisition unit is calculated by the change amount calculation unit. As a result, the amount of change is easily calculated larger than when the amount of change from the previous value is calculated, so the relative movement amount allowed when the decoding result by the decoding unit is output can be easily reduced. It is possible to improve the reading accuracy of the optical information.

請求項3の発明では、変化量算出部により算出された変化量が所定値以下となる回数がカウント部によりカウントされ、カウント部によりカウントされた回数が所定回数以上となる場合に、解読部による解読結果が出力部により出力される。これにより、変化量算出部により算出された変化量が1度だけ所定値以下となっても解読部による解読結果が出力されず、光学的情報が相対移動していない状態かその相対移動が小さい状態の頻度が高い場合に解読部による解読結果が出力されるので、光学的情報の読取精度をより向上させることができる。   In the invention of claim 3, the number of times that the amount of change calculated by the amount of change calculator is less than or equal to a predetermined value is counted by the counter, and when the number of times counted by the counter is greater than or equal to the predetermined number, The decryption result is output by the output unit. As a result, even if the amount of change calculated by the amount of change calculation unit falls below a predetermined value only once, the decoding result by the decoding unit is not output, and the optical information is not relatively moved or its relative movement is small. Since the decoding result by the decoding unit is output when the frequency of the state is high, the reading accuracy of the optical information can be further improved.

請求項4の発明では、変化量算出部により算出された変化量が所定値を超えるとカウント部によりカウントされた回数がリセットされる。これにより、光学的情報が相対移動していない状態かその相対移動が小さい状態が継続していることから、変化量算出部により算出された変化量が連続して所定値以下となる場合に、解読部による解読結果が出力されるので、光学的情報の読取精度をより確実に向上させることができる。   In the invention of claim 4, when the amount of change calculated by the amount of change calculator exceeds a predetermined value, the number of times counted by the counter is reset. Thereby, since the state in which the optical information is not relatively moved or the state in which the relative movement is small continues, when the amount of change calculated by the amount-of-change calculating unit is continuously below a predetermined value, Since the decoding result by the decoding unit is output, the reading accuracy of the optical information can be improved more reliably.

請求項5の発明では、上記所定値は、撮像部により撮像された撮像画像において光学的情報が占める領域が小さくなるほど小さくなるように設定される。撮像部に対して比較的遠い位置での光学的情報を撮像した撮像画像において当該光学的情報が占める領域は、その光学的情報を比較的近い位置にて撮像した撮像画像の領域よりも小さくなる。すなわち、同じ距離移動していても、比較的遠い位置にて移動している場合に変化量算出部により算出された変化量は、比較的近い位置にて移動している場合の変化量よりも小さくなる。このため、出力可否判定基準となる上記所定値を、撮像部により撮像された撮像画像において光学的情報が占める領域が小さくなるほど小さくなるように設定することで、光学的情報との相対距離を考慮して解読結果の出力可否を判断することができる。   According to a fifth aspect of the present invention, the predetermined value is set so as to decrease as the area occupied by the optical information in the captured image captured by the imaging unit decreases. The area occupied by the optical information in the captured image obtained by imaging the optical information at a position relatively far from the imaging unit is smaller than the area of the captured image obtained by imaging the optical information at a relatively close position. . That is, even if the same distance is moved, the change amount calculated by the change amount calculation unit when moving at a relatively far position is larger than the change amount when moving at a relatively close position. Get smaller. For this reason, the relative value with respect to the optical information is taken into consideration by setting the predetermined value, which is a criterion for determining whether or not output is possible, as the area occupied by the optical information in the captured image captured by the imaging unit decreases. Thus, it can be determined whether or not the decryption result can be output.

請求項6の発明では、光学的情報は、特定パターンを有する情報コードであって、撮像部により情報コードを撮像した撮像画像において上記特定部分に関する数値として特定パターンに関する数値が取得部により取得される。これにより、光学的情報が情報コードであっても情報コードを撮像画像ごとに解読することなく取得部により数値を取得して変化量算出部により変化量を算出でき、情報コードの解読が失敗したために取得部により数値が取得されなくなることもないので、情報コードの撮像から解読結果の出力までの時間を短縮することができる。   In the invention of claim 6, the optical information is an information code having a specific pattern, and a numerical value related to the specific pattern is acquired by the acquisition unit as a numerical value related to the specific portion in the captured image obtained by imaging the information code by the imaging unit. . As a result, even if the optical information is an information code, a numerical value can be acquired by the acquisition unit without decoding the information code for each captured image, and the amount of change can be calculated by the amount of change calculation unit. Further, since the numerical value is not acquired by the acquisition unit, the time from imaging of the information code to the output of the decoding result can be shortened.

請求項7の発明では、光学的情報は、複数の文字情報であって、撮像部により複数の文字情報を撮像した撮像画像において未読文字領域を含めて複数の文字情報が占める領域の特定部分に関する数値が取得部により取得される。このため、複数の文字情報を順次撮像して解読する際に前回解読不能だった文字が今回解読されても、複数の文字情報が表示される表示媒体等に対して複数の文字情報が占める領域を前回と今回とで同じ範囲とすることができる。これにより、未読文字領域に起因して取得部にて取得される数値のばらつきをなくすことができる。   In the invention of claim 7, the optical information is a plurality of character information, and relates to a specific portion of a region occupied by a plurality of character information including an unread character region in a captured image obtained by capturing a plurality of character information by an imaging unit. A numerical value is acquired by the acquisition unit. Therefore, even when a character that was previously undecipherable is decoded this time when a plurality of character information is sequentially captured and decoded, the area occupied by the plurality of character information with respect to a display medium or the like on which the plurality of character information is displayed Can be in the same range as the previous time and this time. Thereby, the dispersion | variation in the numerical value acquired in an acquisition part resulting from an unread character area | region can be eliminated.

請求項8の発明では、変化量算出部により算出された変化量が所定値以下となった際に取得部により数値が取得された全ての光学的情報の解読部による解読結果が一致する場合に、解読部による解読結果が出力部により出力される。これにより、光学的情報が相対移動していない場合かその相対移動が小さい場合であってもそれぞれの解読結果が一致しなければ解読結果が出力されることもないので、光学的情報の差し替え等による誤読も防止でき、光学的情報の読取精度をさらに向上させることができる。   In the invention of claim 8, when the amount of change calculated by the amount of change calculator becomes equal to or less than a predetermined value, the decoding results by the decoding unit of all the optical information whose numerical values are acquired by the acquisition unit match. The result of decoding by the decoding unit is output by the output unit. As a result, even if the optical information is not relatively moved or the relative movement is small, if the respective decoding results do not match, the decoding results will not be output. Can be prevented, and the reading accuracy of optical information can be further improved.

本発明の第1実施形態に係る光学的情報読取装置を概略的に示す斜視図である。1 is a perspective view schematically showing an optical information reading apparatus according to a first embodiment of the present invention. 図1の光学的情報読取装置の電気的構成を概略的に示すブロック図である。FIG. 2 is a block diagram schematically showing an electrical configuration of the optical information reading device in FIG. 1. 第1実施形態において今回撮像した情報コード及び前回撮像した情報コードに関して変化量の算出方法を説明するための説明図である。It is explanatory drawing for demonstrating the calculation method of variation | change_quantity regarding the information code imaged this time in 1st Embodiment, and the information code imaged last time. 第1実施形態において光学的情報読取装置にて行われる読取処理の流れを例示するフローチャートである。4 is a flowchart illustrating a flow of reading processing performed by the optical information reading device in the first embodiment. 光学的情報読取装置と情報コードとの相対距離を説明する説明図である。It is explanatory drawing explaining the relative distance of an optical information reader and an information code. 光学的情報読取装置及び情報コードの相対距離と撮像画像との関係を説明する説明図であり、図6(A)は図5のT1での撮像画像を示し、図6(B)は図5のT2での撮像画像を示し、図6(C)は図5のT3での撮像画像を示し、図6(D)は図5のT4での撮像画像を示す。FIGS. 6A and 6B are explanatory diagrams for explaining the relationship between the optical information reading device and the relative distance between the information codes and the captured image. FIG. 6A shows the captured image at T1 in FIG. 5 and FIG. 6C shows a captured image at T2, FIG. 6C shows a captured image at T3 in FIG. 5, and FIG. 6D shows a captured image at T4 in FIG. 第1実施形態において算出される変化量Lの時間変化と所定値Lthとの関係を説明する説明図である。It is explanatory drawing explaining the relationship between the time change of the variation | change_quantity L calculated in 1st Embodiment, and the predetermined value Lth. 第2実施形態において光学的情報読取装置にて行われる読取処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the reading process performed with the optical information reader in 2nd Embodiment. 第2実施形態において算出される変化量Lの時間変化と所定値Lthとの関係を説明する説明図である。It is explanatory drawing explaining the relationship between the time change of the variation | change_quantity L calculated in 2nd Embodiment, and the predetermined value Lth. 第3実施形態において光学的情報読取装置にて行われる読取処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the reading process performed with the optical information reader in 3rd Embodiment. 前回撮像された複数の文字情報が占める方形状領域の上縁の長さと今回撮像された複数の文字情報が占める方形状領域の上縁の長さとを説明する説明図である。It is explanatory drawing explaining the length of the upper edge of the square area which the some character information imaged last time occupies, and the length of the upper edge of the square area which the some character information imaged this time occupies. 未読文字領域がある場合の前回撮像された複数の文字情報が占める方形状領域の上縁の長さと今回撮像された複数の文字情報が占める方形状領域の上縁の長さとを説明する説明図である。Explanatory drawing explaining the length of the upper edge of the rectangular area occupied by the plurality of character information captured last time and the length of the upper edge of the rectangular area occupied by the plurality of character information captured this time when there is an unread character area It is.

[第1実施形態]
以下、本発明に係る光学的情報読取装置を具現化した第1実施形態について、図面を参照して説明する。
図1及び図2に示す光学的情報読取装置10は、情報コード(バーコード及び二次元コード等)や文字情報等の光学的情報を光学的に読み取る携帯型の読取装置として構成されるものであり、いわゆるガンタイプとしての外観をなし、ABS樹脂等の合成樹脂からなるケース11の内部に各種電気部品等からなる回路部20が収容されている。
[First Embodiment]
Hereinafter, a first embodiment of an optical information reading apparatus according to the present invention will be described with reference to the drawings.
The optical information reader 10 shown in FIGS. 1 and 2 is configured as a portable reader that optically reads optical information such as information codes (bar codes, two-dimensional codes, etc.) and character information. There is an appearance as a so-called gun type, and a circuit unit 20 made of various electric parts and the like is housed in a case 11 made of a synthetic resin such as ABS resin.

光学的情報読取装置10は、端部に照明光及びその反射光を通過させる読取口13が形成されてなる本体部12と、本体部12における読取口13が形成される部位とは異なる部位に連結されて使用者によって把持される把持部15と、を備えている。本体部12における読取口13の下部には延出部14が設けられており、この延出部14は、その延出端部14aを情報コード等が付された読取対象に接触させてもその情報コード等を上方から視認できるように、上部が開口した略U字状となるように形成されている。把持部15は、本体部12の下側の壁部から下方に延びており、把持部15の上端部付近に押圧操作可能なトリガースイッチ42が配置され、把持部15の下端部付近にはインタフェース用のケーブル(図示略)が組み付けられる構造となっている。   The optical information reader 10 has a main body portion 12 formed with a reading port 13 that allows illumination light and reflected light to pass through at an end thereof, and a portion different from a portion of the main body portion 12 where the reading port 13 is formed. And a grip portion 15 that is connected and gripped by a user. An extension portion 14 is provided below the reading port 13 in the main body portion 12, and this extension portion 14 can be moved even if the extension end portion 14 a is brought into contact with a reading target to which an information code or the like is attached. The upper portion is formed in a substantially U shape so that the information code and the like can be viewed from above. The grip portion 15 extends downward from the lower wall portion of the main body portion 12, a trigger switch 42 that can be pressed is disposed near the upper end portion of the grip portion 15, and an interface is disposed near the lower end portion of the grip portion 15. Cable (not shown) is assembled.

次に、光学的情報読取装置10の電気的構成について、図面を参照して説明する。
図2に示すように、ケース11に収容される回路部20は、主に、照明光源21、受光センサ23、結像レンズ25等の光学系と、メモリ35、制御回路40等のマイクロコンピュータ(以下「マイコン」という)系とを備えている。
Next, the electrical configuration of the optical information reader 10 will be described with reference to the drawings.
As shown in FIG. 2, the circuit unit 20 accommodated in the case 11 mainly includes an optical system such as an illumination light source 21, a light receiving sensor 23, and an imaging lens 25, and a microcomputer (such as a memory 35 and a control circuit 40). (Hereinafter referred to as “microcomputer”).

光学系は、投光光学系と、受光光学系とに分かれている。投光光学系を構成する照明光源21は、照明光Lfを発光可能な照明手段として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられるレンズとから構成されている。   The optical system is divided into a light projecting optical system and a light receiving optical system. The illumination light source 21 constituting the light projecting optical system functions as illumination means capable of emitting the illumination light Lf, and is composed of, for example, a red LED and a lens provided on the emission side of the LED.

受光光学系は、受光センサ23、結像レンズ25などによって構成されている。受光センサ23は、例えば、C−MOSやCCD等の固体撮像素子である受光素子を二次元に配列したエリアセンサとして構成されるものであり、方形状の受光領域として受光面23aを有するように構成されている。この受光センサ23は、結像レンズ25を介して入射する入射光を受光面23aにて受光可能にプリント配線板(図示略)に実装されている。なお、受光センサ23は、「撮像部」の一例に相当し得る。   The light receiving optical system includes a light receiving sensor 23, an imaging lens 25, and the like. The light receiving sensor 23 is configured as an area sensor in which light receiving elements that are solid-state imaging elements such as C-MOS and CCD are two-dimensionally arranged, and has a light receiving surface 23a as a rectangular light receiving area. It is configured. The light receiving sensor 23 is mounted on a printed wiring board (not shown) so that incident light incident through the imaging lens 25 can be received by the light receiving surface 23a. The light receiving sensor 23 may correspond to an example of an “imaging unit”.

結像レンズ25は、外部から読取口13を介して入射する入射光を集光して受光センサ23の受光面23aに像を結像可能な結像光学系として機能するものである。本実施形態では、照明光源21から照射された照明光Lfが情報コードCやこの情報コードCが付された読取対象Rにて反射するようになっており、この反射光Lrを結像レンズ25で集光し、受光センサ23の受光面23aにコード像を結像させている。   The imaging lens 25 functions as an imaging optical system capable of condensing incident light incident from the outside via the reading port 13 and forming an image on the light receiving surface 23 a of the light receiving sensor 23. In the present embodiment, the illumination light Lf emitted from the illumination light source 21 is reflected by the information code C or the reading object R to which the information code C is attached, and the reflected light Lr is reflected by the imaging lens 25. And a code image is formed on the light receiving surface 23 a of the light receiving sensor 23.

マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、トリガースイッチ42、発光部43、ブザー44、バイブレータ45、通信インタフェース48等から構成されている。   The microcomputer system includes an amplification circuit 31, an A / D conversion circuit 33, a memory 35, an address generation circuit 36, a synchronization signal generation circuit 38, a control circuit 40, a trigger switch 42, a light emitting unit 43, a buzzer 44, a vibrator 45, and a communication interface 48. Etc.

光学系の受光センサ23から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅され、その後、A/D変換回路33に入力されてアナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、ROM、RAMなどの公知の記憶媒体によって構成されたメモリ35に入力され、所定の格納領域に蓄積される。なお、同期信号発生回路38は、受光センサ23およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。   An image signal (analog signal) output from the light receiving sensor 23 of the optical system is input to the amplifier circuit 31 to be amplified with a predetermined gain, and then input to the A / D conversion circuit 33 to be converted into a digital signal from the analog signal. Is converted to The digitized image signal, that is, image data (image information) is input to a memory 35 constituted by a known storage medium such as a ROM or a RAM, and is accumulated in a predetermined storage area. The synchronization signal generation circuit 38 is configured to generate a synchronization signal for the light receiving sensor 23 and the address generation circuit 36. The address generation circuit 36 is based on the synchronization signal supplied from the synchronization signal generation circuit 38. Thus, the storage address of the image data stored in the memory 35 can be generated.

制御回路40は、光学的情報読取装置10全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるもので、メモリ35とともに情報処理装置を構成し得るもので情報処理機能を有する。また、制御回路40は、内蔵された入出力インタフェースを介して種々の入出力装置と接続可能に構成されており、本実施形態の場合、トリガースイッチ42、発光部43、ブザー44、バイブレータ45、通信インタフェース48等が接続されている。これにより、例えば、トリガースイッチ42の監視や管理、発光部43の点灯、非点灯、ビープ音やアラーム音を発生可能なブザー44の鳴動のオンオフ、バイブレータ45の駆動制御、通信インタフェース48の制御等を可能にしている。   The control circuit 40 is a microcomputer capable of controlling the entire optical information reading device 10 and includes a CPU, a system bus, an input / output interface, and the like, and can constitute an information processing device together with the memory 35 and has an information processing function. . The control circuit 40 is configured to be connectable to various input / output devices via a built-in input / output interface. In the case of this embodiment, the trigger switch 42, the light emitting unit 43, the buzzer 44, the vibrator 45, A communication interface 48 or the like is connected. Thereby, for example, monitoring and management of the trigger switch 42, lighting and non-lighting of the light emitting unit 43, turning on / off of the buzzer 44 capable of generating a beep sound and an alarm sound, driving control of the vibrator 45, control of the communication interface 48, etc. Is possible.

次に、光学的情報読取装置10の制御回路40で行われる読取処理について説明する。
本実施形態における読取処理では、情報コードを撮像した撮像画像において当該情報コードが占める領域の特定部分に関する数値を取得し、この数値と前回同様に取得した数値との変化量が所定値以下となる場合に、情報コードのデコード結果を出力する。
Next, a reading process performed by the control circuit 40 of the optical information reading apparatus 10 will be described.
In the reading process in the present embodiment, a numerical value related to a specific portion of the area occupied by the information code in the captured image obtained by capturing the information code is acquired, and the amount of change between the numerical value and the numerical value acquired in the same manner as the previous time is equal to or less than a predetermined value. In this case, the decoding result of the information code is output.

光学的情報読取装置10(受光センサ23)に対して比較的近い位置での情報コードを撮像した撮像画像において当該情報コードが占める領域の特定部分に関する数値、具体的には、例えば、各隅部の座標は、比較的遠い位置での各隅部の座標(数値)と異なる。すなわち、相対移動している情報コードを受光センサ23により連続的に撮像すると、各撮像画像において当該情報コードが占める領域の特定部分に関する数値(例えば各隅部の座標)が変化し、この数値の変化が大きいほど移動速度が大きくなる。このように移動速度が大きな状態で撮像した情報コードは、ぶれて撮像されている可能性が高く、デコードが成功していたとしても、ぶれ等のために誤読している可能性がある。なお、本実施形態では、受光センサ23により、例えば、200ms間隔にて撮像画像が生成されるものとする。   A numerical value related to a specific portion of a region occupied by the information code in the captured image obtained by imaging the information code at a position relatively close to the optical information reader 10 (light receiving sensor 23), specifically, for example, each corner Are different from the coordinates (numerical values) of the corners at relatively distant positions. That is, when the information code that is relatively moving is continuously imaged by the light receiving sensor 23, the numerical value (for example, the coordinates of each corner) regarding the specific portion of the area occupied by the information code in each captured image changes. The greater the change, the greater the moving speed. In this way, an information code captured with a high moving speed is likely to be blurred, and even if decoding is successful, it may be misread due to blurring. In the present embodiment, it is assumed that captured images are generated by the light receiving sensor 23 at intervals of 200 ms, for example.

そこで、本実施形態では、情報コードが占める領域の特定部分に関する数値として各隅部の座標を採用し、前回取得した各隅部の座標との差分の合計値を変化量として算出する。例えば、図3に示すように、今回取得した各隅部の座標(X1a,Y1a)(X1b,Y1b)(X1c,Y1c)(X1d,Y1d)と前回取得した各隅部の座標(X0a,Y0a)(X0b,Y0b)(X0c,Y0c)(X0d,Y0d)との差分La,Lb,Lc,Ldの合計値を変化量L(=La+Lb+Lc+Ld)として算出する。なお、差分Laは、(X1a,Y1a)と(X0a,Y0a)との距離に相当し、差分Lbは、(X1b,Y1b)と(X0b,Y0b)との距離に相当し、差分Lcは、(X1c,Y1c)と(X0c,Y0c)との距離に相当し、差分Ldは、(X1d,Y1d)と(X0d,Y0d)との距離に相当する。   Therefore, in the present embodiment, the coordinates of each corner are adopted as numerical values related to the specific portion of the area occupied by the information code, and the total value of the differences from the coordinates of each corner acquired last time is calculated as the amount of change. For example, as shown in FIG. 3, the coordinates (X1a, Y1a) (X1b, Y1b) (X1c, Y1c) (X1d, Y1d) of each corner acquired this time and the coordinates (X0a, Y0a) of each corner acquired last time ) (X0b, Y0b) (X0c, Y0c) The sum of the differences La, Lb, Lc, and Ld from (X0d, Y0d) is calculated as a change amount L (= La + Lb + Lc + Ld). The difference La corresponds to the distance between (X1a, Y1a) and (X0a, Y0a), the difference Lb corresponds to the distance between (X1b, Y1b) and (X0b, Y0b), and the difference Lc is This corresponds to the distance between (X1c, Y1c) and (X0c, Y0c), and the difference Ld corresponds to the distance between (X1d, Y1d) and (X0d, Y0d).

そして、このように算出された変化量Lが所定値Lth以下となる場合、すなわち、情報コードが相対移動していない場合かその相対移動が小さい場合に、情報コードのデコード結果を出力することで、情報コードの相対移動(移動速度)が大きな場合に撮像されてデコードされたデコード結果の出力を防止する。なお、所定値Lthは、読取作業環境等に応じて、情報コードの相対移動が小さい場合の変化量Lに相当する値に設定されている。また、図3は、便宜上、今回撮像した情報コード(実線枠C1参照)と前回撮像した情報コード(二点鎖線枠C0参照)とを1つの撮像画像Pに含めた状態を示している。   When the calculated change amount L is equal to or less than the predetermined value Lth, that is, when the information code is not relatively moved or when the relative movement is small, the decoding result of the information code is output. When the relative movement (moving speed) of the information code is large, the output of the decoded result that is imaged and decoded is prevented. The predetermined value Lth is set to a value corresponding to the amount of change L when the relative movement of the information code is small according to the reading work environment or the like. Further, FIG. 3 shows a state in which the information code (refer to the solid line frame C1) captured this time and the information code (refer to the two-dot chain line frame C0) captured last time are included in one captured image P for convenience.

以下、本実施形態において制御回路40にて実行される読取処理について、図4に示すフローチャートを参照して具体的に詳述する。なお、以下では、情報コードCとしてバーコードが採用される場合について説明する。   Hereinafter, the reading process executed by the control circuit 40 in the present embodiment will be described in detail with reference to the flowchart shown in FIG. Hereinafter, a case where a barcode is employed as the information code C will be described.

情報コードCに対して読取口13(延出端部14a)を近づけるように光学的情報読取装置10を移動させながらトリガースイッチ42が押圧操作されることで制御回路40により読取処理が開始されると、まず、図4のステップS101に示す撮像処理がなされる。この処理では、照明光源21から照明光Lfが照射されて、情報コードC等からの反射光Lrが受光センサ23にて受光されることで撮像画像が生成される。続いて、ステップS103に示す解読処理にて、撮像画像に対して情報コードCを解読するための公知のデコード処理がなされ、例えば情報コードCまでの距離が遠すぎるためにデコード処理が失敗すると(S105でNo)、上記ステップS101からの処理が繰り返される。なお、上記ステップS103の処理を行う制御回路40は、「解読部」の一例に相当し得る。   A reading process is started by the control circuit 40 when the trigger switch 42 is pressed while moving the optical information reading device 10 so that the reading port 13 (extending end portion 14a) approaches the information code C. First, the imaging process shown in step S101 of FIG. 4 is performed. In this process, the illumination light Lf is emitted from the illumination light source 21 and the reflected light Lr from the information code C or the like is received by the light receiving sensor 23 to generate a captured image. Subsequently, in the decoding process shown in step S103, a known decoding process for decoding the information code C is performed on the captured image. For example, if the decoding process fails because the distance to the information code C is too far ( No in S105), the processing from step S101 is repeated. The control circuit 40 that performs the process of step S103 may correspond to an example of a “decoding unit”.

そして、撮像した情報コードCのデコードが成功すると(S105でYes)、ステップS107に示す数値取得処理がなされる。この処理では、上記ステップS101にて生成した撮像画像において、図3に例示するように、情報コードCが占める領域の特定部分に関する数値として、各隅部の座標(X1a,Y1a)(X1b,Y1b)(X1c,Y1c)(X1d,Y1d)が取得される。なお、上記ステップS107の処理を行う制御回路40は、「取得部」の一例に相当し得る。   When the captured information code C is successfully decoded (Yes in S105), the numerical value acquisition process shown in step S107 is performed. In this process, as shown in FIG. 3, in the captured image generated in step S101, the coordinates (X1a, Y1a) (X1b, Y1b) of each corner are used as numerical values related to the specific portion of the area occupied by the information code C. ) (X1c, Y1c) (X1d, Y1d) is acquired. Note that the control circuit 40 that performs the process of step S107 may correspond to an example of an “acquisition unit”.

続いて、ステップS109に示す判定処理にて、その情報コードCに対して取得された前回の各隅部の座標がメモリ35に記憶されているか否かについて判定される。ここで、初めて各隅部の座標を取得している場合には、ステップS109にてNoと判定されて、上記ステップS107にて取得された各隅部の座標が前回の各隅部の座標としてメモリ35に記憶される(S111)。そして、上記ステップS101からの処理が繰り返される。   Subsequently, in the determination process shown in step S <b> 109, it is determined whether or not the previous coordinates of each corner acquired for the information code C are stored in the memory 35. Here, when the coordinates of each corner are acquired for the first time, it is determined No in step S109, and the coordinates of each corner acquired in step S107 are the previous coordinates of each corner. It is stored in the memory 35 (S111). Then, the processing from step S101 is repeated.

そして、次に撮像された情報コードCの解読が成功し(S105でYes)、その撮像画像から各隅部の座標が取得され(S107)、前回の各隅部の座標がメモリ35に記憶されていることで(S109でYes)、ステップS113に示す変化量算出処理がなされる。この処理では、図3に例示するように、今回取得した各隅部の座標と前回取得した各隅部の座標との差分の合計値が変化量Lとして算出される。この変化量Lが上記所定値Lthを超えていると(S115でNo)、移動速度(相対移動)が大きな情報コードCを撮像しているとして、上記ステップS111以降の処理がなされる。すなわち、情報コードCに対して読取口13を近づけている途中であることから上記ステップS113にて算出される変化量Lが上記所定値Lthを超える間は、デコード結果が出力されなくなる。なお、上記ステップS113の処理を行う制御回路40は、「変化量算出部」の一例に相当し得る。   Then, the information code C captured next is successfully decoded (Yes in S105), the coordinates of each corner are acquired from the captured image (S107), and the previous coordinates of each corner are stored in the memory 35. (Yes in S109), the change amount calculation process shown in step S113 is performed. In this process, as illustrated in FIG. 3, the total value of the differences between the coordinates of each corner acquired this time and the coordinates of each corner acquired last time is calculated as the change amount L. If the amount of change L exceeds the predetermined value Lth (No in S115), the processing after step S111 is performed assuming that the information code C having a large moving speed (relative movement) is being imaged. That is, since the reading port 13 is in the process of approaching the information code C, the decoding result is not output while the change amount L calculated in step S113 exceeds the predetermined value Lth. The control circuit 40 that performs the process of step S113 may correspond to an example of a “change amount calculation unit”.

一方、情報コードCに対して読取口13を近づけ終えたためにその情報コードCが相対移動していないかその相対移動が小さくなると、上記ステップS113にて算出される変化量Lが小さくなる。そして、このように小さくなった変化量Lが上記所定値Lth以下となると(S115でYes)、ステップS117に示す出力処理がなされる。この処理では、今回の撮像画像について上記ステップS103にて解読されたデコード結果(解読結果)が、通信インタフェース48及びケーブルを介して外部機器等に出力される。なお、上記ステップS117の処理を行う制御回路40及び通信インタフェース48は、「出力部」の一例に相当し得る。   On the other hand, if the information code C has not moved relative to the information code C because the reading port 13 has been brought close to the information code C, or the relative movement is small, the change amount L calculated in step S113 is small. When the amount of change L thus reduced becomes equal to or smaller than the predetermined value Lth (Yes in S115), the output process shown in step S117 is performed. In this process, the decoding result (decoding result) decoded in step S103 for the current captured image is output to an external device or the like via the communication interface 48 and the cable. Note that the control circuit 40 and the communication interface 48 that perform the process of step S117 may correspond to an example of an “output unit”.

ここで、図5〜図7を用いて、変化量Lが上記所定値Lthを超えている状態から当該所定値Lth以下となる過程を、光学的情報読取装置10の移動を含めて説明する。なお、図5では、情報コードCに対して光学的情報読取装置10を近づける際の延出端部14aの位置を順にT1〜T4として示している。また、図6(A)は、図5のT1での撮像画像を示し、図6(B)は、図5のT2での撮像画像を示し、図6(C)は、図5のT3での撮像画像を示し、図6(D)は、図5のT4での撮像画像を示す。   Here, with reference to FIGS. 5 to 7, a process in which the change amount L exceeds the predetermined value Lth and below the predetermined value Lth will be described including the movement of the optical information reader 10. In FIG. 5, the positions of the extended end portions 14 a when the optical information reader 10 is brought close to the information code C are shown as T1 to T4 in order. 6A shows a captured image at T1 in FIG. 5, FIG. 6B shows a captured image at T2 in FIG. 5, and FIG. 6C shows T3 in FIG. FIG. 6D shows a captured image at T4 in FIG.

情報コードCに対して光学的情報読取装置10を近づける際、図5のT1の地点で撮像した撮像画像について初めて情報コードCのデコードが成功すると、前回の各隅部の座標がメモリ35に記憶されていないため(S109でNo)、変化量Lが算出されず、図6(A)に示す各隅部の座標がメモリ35に記憶される(S111)。そして、次のT2の地点で撮像した撮像画像について同じ情報コードCのデコードが成功して各隅部の座標が取得されると(S109でYes)、今回撮像されて取得された図6(B)に示す各隅部の座標とメモリ35に記憶される前回の各隅部の座標(図6(A)参照)との差分の合計値が変化量Lとして算出される(S113)。この場合、図6(A)及び図6(B)からわかるように上記差分が大きくなることから、図7のT2にて示すように、変化量Lが上記所定値Lthを超えてしまうため(S115でNo)、デコード結果が出力されることはない。   When the optical information reader 10 is brought close to the information code C, when the information code C is successfully decoded for the first time for the captured image taken at the point T1 in FIG. 5, the coordinates of the previous corners are stored in the memory 35. Since it is not performed (No in S109), the change amount L is not calculated, and the coordinates of each corner shown in FIG. 6A are stored in the memory 35 (S111). Then, when the same information code C is successfully decoded for the captured image captured at the next point T2, and the coordinates of each corner are acquired (Yes in S109), FIG. 6 (B) acquired and acquired this time. The total value of the difference between the coordinates of each corner shown in FIG. 6 and the previous coordinates of each corner (see FIG. 6A) stored in the memory 35 is calculated as the change amount L (S113). In this case, as shown in FIGS. 6 (A) and 6 (B), the difference becomes large, and therefore, as indicated by T2 in FIG. 7, the change amount L exceeds the predetermined value Lth ( No in S115), the decoding result is not output.

そして、次のT3の地点で撮像した撮像画像から取得された図6(C)に示す各隅部の座標とメモリ35に記憶される前回の各隅部の座標(図6(B)参照)との差分の合計値が変化量Lとして算出される(S113)。この場合、図6(B)及び図6(C)からわかるように上記差分が大きい状態が継続しており、図7のT3にて示すように、変化量Lが上記所定値Lthを超えてしまうため(S115でNo)、この撮像状態でもデコード結果が出力されることはない。   Then, the coordinates of each corner shown in FIG. 6C acquired from the captured image taken at the next point T3 and the previous coordinates of each corner stored in the memory 35 (see FIG. 6B). Is calculated as the change amount L (S113). In this case, as shown in FIGS. 6 (B) and 6 (C), the state in which the difference is large continues, and the change amount L exceeds the predetermined value Lth as indicated by T3 in FIG. Therefore, the decoding result is not output even in this imaging state.

そして、次のT4の地点で撮像した撮像画像から取得された図6(D)に示す各隅部の座標とメモリ35に記憶される前回の各隅部の座標(図6(C)参照)との差分の合計値が変化量Lとして算出される(S113)。この場合、図6(C)及び図6(D)からわかるように上記差分が小さくなり、図7のT4にて示すように、変化量Lが上記所定値Lth以下となるため(S115でYes)、光学的情報読取装置10が情報コードCに十分近づいており情報コードCが相対移動していないかその相対移動が小さくなっているとして、デコード結果が出力される(S117)。   Then, the coordinates of each corner shown in FIG. 6D acquired from the captured image taken at the next point T4 and the previous coordinates of each corner stored in the memory 35 (see FIG. 6C). Is calculated as the change amount L (S113). In this case, as can be seen from FIGS. 6C and 6D, the difference is small, and the change amount L is not more than the predetermined value Lth as indicated by T4 in FIG. 7 (Yes in S115). The decoding result is output assuming that the optical information reader 10 is sufficiently close to the information code C and the information code C is not relatively moved or its relative movement is small (S117).

以上説明したように、本実施形態に係る光学的情報読取装置10では、情報コードCを撮像した撮像画像において当該情報コードCが占める領域の特定部分に関する数値(各隅部の座標)が取得され(S107)、情報コードCを撮像した撮像画像から取得された数値と、前回情報コードCを撮像した撮像画像から取得された数値との変化量Lが算出される(S113)。そして、算出された変化量Lが所定値Lth以下となる場合に、情報コードCのデコード結果(解読結果)が出力される。   As described above, in the optical information reading apparatus 10 according to the present embodiment, numerical values (coordinates of each corner) regarding a specific portion of the area occupied by the information code C in the captured image obtained by capturing the information code C are acquired. (S107) The amount of change L between the numerical value acquired from the captured image obtained by capturing the information code C and the numerical value acquired from the captured image obtained by capturing the previous information code C is calculated (S113). When the calculated change amount L is equal to or less than the predetermined value Lth, the decoding result (decoding result) of the information code C is output.

このように、算出された変化量Lが所定値Lth以下となる場合、すなわち、情報コードCが相対移動していない場合かその相対移動が小さい場合にデコード結果を出力することで、情報コードCの相対移動が大きな場合に撮像されて解読されたデコード結果が出力されることもない。したがって、情報コードCまでの距離を測定する装置を別途設けることなく情報コードCの読取精度を向上させることができる。   As described above, when the calculated change amount L is equal to or smaller than the predetermined value Lth, that is, when the information code C is not relatively moved or when the relative movement is small, the decoding result is output, whereby the information code C When the relative movement of is large, a decoded result that is imaged and decoded is not output. Therefore, the reading accuracy of the information code C can be improved without separately providing a device for measuring the distance to the information code C.

なお、上記ステップS113の変化量算出処理では、今回取得した各隅部の座標に対して、前回取得した各隅部の座標との差分の合計値が変化量Lとして算出されることに限らず、2回以上前となる所定回前(例えば、2回前や3回前)に取得した各隅部の座標との差分の合計値が変化量Lとして算出されてもよい。なお、前回以前に取得した各隅部の座標(数値)とは、前回取得した各隅部の座標(数値)と2回以上前となる所定回前に取得した各隅部の座標(数値)とを含めたものとする。   In the change amount calculation process in step S113, the total value of the differences between the coordinates of each corner acquired this time and the coordinates of each corner acquired last time is not limited to being calculated as the change amount L. The total value of the differences from the coordinates of each corner acquired two or more times before a predetermined number of times (for example, two times before or three times before) may be calculated as the change amount L. The coordinates (numerical value) of each corner acquired before the previous time are the coordinates (numerical value) of each corner acquired last time and the coordinates (numerical value) of each corner acquired a predetermined number of times before two or more times. And include.

これにより、上述したような前回の数値との変化量Lを算出する場合と比較して、変化量Lが大きく算出されやすくなるので、デコード結果が出力される際に許容される相対移動量を容易に小さくでき、情報コードCの読取精度をより向上させることができる。   This makes it easier to calculate the amount of change L compared to the case of calculating the amount of change L from the previous numerical value as described above, so the relative movement amount allowed when the decoding result is output can be set. It can be easily reduced, and the reading accuracy of the information code C can be further improved.

[第2実施形態]
次に、本発明の第2実施形態に係る光学的情報読取装置について、図面を参照して説明する。
本第2実施形態では、変化量Lが上記所定値Lth以下となる状態が継続する場合に情報コードCのデコード結果(解読結果)を出力する点が主に上記第1実施形態と異なる。このため、第1実施形態と実質的に同様の構成部分には同一符号を付して説明を省略する。
[Second Embodiment]
Next, an optical information reading apparatus according to a second embodiment of the present invention will be described with reference to the drawings.
The second embodiment is mainly different from the first embodiment in that the decoding result (decoding result) of the information code C is output when the state where the change amount L is equal to or less than the predetermined value Lth continues. For this reason, substantially the same components as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

上記第1実施形態のように、算出された変化量Lが所定値Lth以下となったことで情報コードCのデコード結果(解読結果)を出力する場合、例えば、光学的情報読取装置10が情報コードCに十分近づいていない状態で光学的情報読取装置10の移動が一時的に小さくなったために変化量Lが所定値Lth以下となると、誤読の可能性のあるデコード結果が出力される場合がある。   When outputting the decoding result (decoding result) of the information code C because the calculated change amount L is equal to or less than the predetermined value Lth as in the first embodiment, for example, the optical information reading device 10 receives the information Since the movement of the optical information reader 10 is temporarily reduced in a state where it is not sufficiently close to the code C, if the change amount L is equal to or smaller than the predetermined value Lth, a decoding result that may be misread may be output. is there.

そこで、本実施形態では、算出された変化量Lが連続して所定値Lth以下となる場合に情報コードCのデコード結果を出力する。
以下、本実施形態において制御回路40にて実行される読取処理について、図8に示すフローチャートを参照して具体的に詳述する。
Therefore, in the present embodiment, the decoding result of the information code C is output when the calculated change amount L is continuously equal to or less than the predetermined value Lth.
Hereinafter, the reading process executed by the control circuit 40 in the present embodiment will be described in detail with reference to the flowchart shown in FIG.

上記第1実施形態と同様に、初めて情報コードCのデコードが成功して(図8のS105でYes)、各隅部の座標が取得されると(S107)、前回の各隅部の座標がメモリ35に記憶されていないため(S109でNo)、ステップS119にて、変化量Lが連続して所定値Lth以下となっている回数を示すNが0(ゼロ)にリセットされる。そして、上記ステップS111以降の処理がなされ、同じ情報コードCのデコードが成功して各隅部の座標が取得されることで算出された変化量Lが上記所定値Lth以下となると(S115でYes)、ステップS121にて回数Nがインクリメント(N=N+1)されるようにカウントされる。なお、上記ステップS121の処理を行う制御回路40は、「カウント部」の一例に相当し得る。   As in the first embodiment, when the information code C is successfully decoded for the first time (Yes in S105 in FIG. 8) and the coordinates of each corner are acquired (S107), the previous coordinates of each corner are changed. Since it is not stored in the memory 35 (No in S109), in step S119, N indicating the number of times the change amount L is continuously equal to or less than the predetermined value Lth is reset to 0 (zero). Then, when the processing after step S111 is performed and the change amount L calculated by successfully decoding the same information code C and acquiring the coordinates of each corner becomes equal to or less than the predetermined value Lth (Yes in S115) In step S121, the count N is incremented (N = N + 1). The control circuit 40 that performs the process of step S121 may correspond to an example of a “counter”.

そして、ステップS123の判定処理にて、インクリメントされた回数Nが所定回数Nth以上であるか否かについて判定される。ここで、本実施形態では、所定回数Nthは、例えば、3回に設定されており、回数Nが所定回数Nth以上となるまでステップS123にてNoと判定されて、上記ステップS111以降の処理がなされる。   Then, in the determination process of step S123, it is determined whether or not the incremented number N is equal to or greater than the predetermined number Nth. Here, in this embodiment, the predetermined number of times Nth is set to, for example, three times, and it is determined No in step S123 until the number of times N becomes equal to or greater than the predetermined number of times Nth. Made.

そして、図9に示すように、2,3回目の撮像(T2、T3)にて変化量Lが上記所定値Lthを超えている場合には(S115でNo)、回数N=0にリセットされ(S119)、次の撮像(T4)にて変化量Lが上記所定値Lth以下となると(S115でYes)、回数N=1にインクリメントされるようにカウントされる(S121)。そして、次の撮像(T5)でも変化量Lが上記所定値Lthとなる状態が継続すると(S115でYes)、回数N=2にインクリメントされるようにカウントされる(S121)。その後、情報コードCに対する光学的情報読取装置10の移動が一時的に速くなったために、続く撮像(T6)にて変化量Lが上記所定値Lthを超えると(S115でNo)、回数N=0にリセットされる(S119)。   As shown in FIG. 9, when the change amount L exceeds the predetermined value Lth in the second and third imaging (T2, T3) (No in S115), the number of times N is reset to zero. (S119) When the amount of change L is equal to or smaller than the predetermined value Lth in the next imaging (T4) (Yes in S115), the number of times N is counted so as to be incremented to 1 (S121). If the state in which the amount of change L remains the predetermined value Lth continues in the next imaging (T5) (Yes in S115), the number N is counted so as to be incremented to 2 (S121). After that, since the movement of the optical information reader 10 with respect to the information code C is temporarily accelerated, if the amount of change L exceeds the predetermined value Lth in the subsequent imaging (T6) (No in S115), the number N = It is reset to 0 (S119).

その後、光学的情報読取装置10が情報コードCに十分近づいており情報コードCが相対移動していないかその相対移動が小さくなっていると、T7、T8、T9にて変化量Lが連続して上記所定値Lth以下となり、回数N=3にインクリメントされるようにカウントされる(S121)。これにより、回数Nが所定回数Nth以上となるため(S123でYes)、上記ステップS103にて解読されたデコード結果(解読結果)が外部機器等に出力される(S117)。   Thereafter, when the optical information reader 10 is sufficiently close to the information code C and the information code C is not relatively moved or its relative movement is small, the change amount L continues at T7, T8, and T9. The number is counted so as to be equal to or less than the predetermined value Lth and incremented to N = 3 (S121). As a result, the number N is equal to or greater than the predetermined number Nth (Yes in S123), and the decoding result (decoding result) decoded in step S103 is output to an external device or the like (S117).

以上説明したように、本実施形態に係る光学的情報読取装置10では、算出された変化量Lが所定値Lth以下となる回数Nがカウントされ(S121)、カウントされた回数Nが所定回数Nth以上となる場合に(S123でYes)、情報コードCのデコード結果(解読結果)が出力される(S117)。これにより、算出された変化量Lが1度だけ所定値Lth以下となってもデコード結果が出力されず、情報コードCが相対移動していない状態かその相対移動が小さい状態の頻度が高い場合にデコード結果が出力されるので、情報コードCの読取精度をより向上させることができる。   As described above, in the optical information reading apparatus 10 according to the present embodiment, the number N of times when the calculated change amount L is equal to or less than the predetermined value Lth is counted (S121), and the counted number N is the predetermined number Nth. If this is the case (Yes in S123), the decoding result (decoding result) of the information code C is output (S117). Thereby, even when the calculated change amount L is less than the predetermined value Lth only once, the decoding result is not output, and the information code C is not relatively moved or the relative movement is small. Since the decoding result is output, the reading accuracy of the information code C can be further improved.

特に、算出された変化量Lが所定値Lthを超えるとカウントされた回数Nがリセットされる(S119)。これにより、情報コードCが相対移動していない状態かその相対移動が小さい状態が継続していることから、算出された変化量Lが連続して所定値Lth以下となる場合に、情報コードCのデコード結果が出力されるので、情報コードCの読取精度をより確実に向上させることができる。   In particular, when the calculated change amount L exceeds the predetermined value Lth, the counted number N is reset (S119). As a result, since the information code C is not relatively moved or the relative movement is small, the information code C is determined when the calculated change amount L is continuously equal to or less than the predetermined value Lth. Therefore, the reading accuracy of the information code C can be improved more reliably.

なお、本実施形態の読取処理において、情報コードCのデコードが成功した場合に各隅部の座標を取得することに限らず、情報コードの特定パターンが読み取れた場合に、この特定パターンに関する数値を取得してもよい。例えば、情報コードCが位置検出パターン(FPパターン)等の特定パターンを有するQRコード(登録商標)であれば、3つの位置検出パターンの位置や大きさ等に関する数値を取得してもよい。上記第1実施形態の読取処理においても同様である。   In the reading process of the present embodiment, when the information code C is successfully decoded, not only the coordinates of each corner are acquired, but also when the specific pattern of the information code is read, the numerical value related to this specific pattern is You may get it. For example, if the information code C is a QR code (registered trademark) having a specific pattern such as a position detection pattern (FP pattern), numerical values related to the positions and sizes of the three position detection patterns may be acquired. The same applies to the reading process of the first embodiment.

これにより、情報コードCを撮像画像ごとに解読することなく数値を取得して変化量Lを算出でき、情報コードCの解読が失敗したために数値が取得されなくなることもないので、情報コードCの撮像からデコード結果の出力までの時間を短縮することができる。   Thereby, the numerical value can be obtained without decoding the information code C for each captured image, and the amount of change L can be calculated. Since the decoding of the information code C has failed, the numerical value is not acquired. The time from imaging to output of decoding results can be shortened.

また、本実施形態の読取処理において、カウントされた回数Nが所定回数Nth以上となった後(S123でYes)、数値が取得された全ての情報コードCのデコード結果が一致する場合に、その一致するデコード結果をステップS117にて出力してもよい。また、上記第1実施形態の読取処理においても、算出された変化量Lが所定値Lth以下となった後(図4のS115でYes)、数値が取得された全ての情報コードCのデコード結果が一致する場合に、その一致するデコード結果をステップS117にて出力してもよい。   Further, in the reading process of the present embodiment, after the counted number N becomes equal to or greater than the predetermined number Nth (Yes in S123), if the decoding results of all the information codes C from which the numerical values are acquired match, The matching decoding result may be output in step S117. Further, also in the reading process of the first embodiment, after the calculated change amount L becomes equal to or less than the predetermined value Lth (Yes in S115 in FIG. 4), the decoding results of all the information codes C from which numerical values are acquired. May match, the matching decoding result may be output in step S117.

これにより、情報コードCが相対移動していない場合かその相対移動が小さい場合であってもそれぞれのデコード結果が一致しなければデコード結果が出力されることもないので、情報コードCの差し替え等による誤読も防止でき、情報コードCの読取精度をさらに向上させることができる。   As a result, even if the information code C is not relatively moved or the relative movement is small, the decoding result is not output if the respective decoding results do not match. Can be prevented, and the reading accuracy of the information code C can be further improved.

[第3実施形態]
次に、本発明の第3実施形態に係る光学的情報読取装置について、図面を参照して説明する。
本第3実施形態では、情報コードに限らず複数の文字情報を光学的情報として光学的に読み取る点が主に上記第1実施形態と異なる。このため、第1実施形態と実質的に同様の構成部分には同一符号を付して説明を省略する。
[Third Embodiment]
Next, an optical information reading apparatus according to a third embodiment of the present invention will be described with reference to the drawings.
The third embodiment is mainly different from the first embodiment in that not only the information code but also a plurality of character information is optically read as optical information. For this reason, substantially the same components as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

本実施形態に係る光学的情報読取装置10は、上記第1実施形態のように情報コードを光学的に読み取るだけでなく、公知の文字認識処理(OCR処理)を利用して撮像した複数の文字情報を光学的に読み取るように機能する。   The optical information reader 10 according to this embodiment not only optically reads an information code as in the first embodiment but also a plurality of characters captured using a known character recognition process (OCR process). It functions to read information optically.

その際、光学的情報読取装置10にて行われる読取処理では、撮像画像から複数の文字情報Mの少なくとも一部を読み取ると(図10のS103a)、図11(A)(B)に示すように、複数の文字情報Mを撮像した撮像画像において当該複数の文字情報Mが占める領域の特定部分に関する数値として、複数の文字情報Mが占める方形状領域Sの上縁の長さSu1(図11(B)参照)を取得し(S107a)、前回取得した方形状領域Sの上縁の長さSu0(図11(A)参照)との差分を変化量ΔSとして算出する(S113a)。そして、このように算出された変化量ΔSが所定値ΔSth以下となる場合(S115aでYes)、すなわち、複数の文字情報Mが相対移動していない場合かその相対移動が小さい場合に、複数の文字情報Mの解読結果を出力することで、複数の文字情報Mの相対移動(移動速度)が大きな場合に撮像されて解読された解読結果の出力を防止する。なお、所定値ΔSthは、読取作業環境等に応じて、複数の文字情報Mの相対移動が小さい場合の変化量ΔSに相当する値に設定されている。   At that time, in the reading process performed by the optical information reading apparatus 10, when at least a part of the plurality of character information M is read from the captured image (S103a in FIG. 10), as shown in FIGS. In addition, in a captured image obtained by capturing a plurality of character information M, the length Su1 of the upper edge of the rectangular region S occupied by the plurality of character information M (FIG. 11) is used as a numerical value regarding a specific portion of the region occupied by the plurality of character information M. (See (B)) is obtained (S107a), and the difference from the length Su0 (see FIG. 11A) of the upper edge of the rectangular region S obtained last time is calculated as the change amount ΔS (S113a). When the calculated change amount ΔS is equal to or smaller than the predetermined value ΔSth (Yes in S115a), that is, when the plurality of character information M is not relatively moved or when the relative movement is small, By outputting the decryption result of the character information M, the output of the decryption result captured and decrypted when the relative movement (movement speed) of the plurality of character information M is large is prevented. The predetermined value ΔSth is set to a value corresponding to the change amount ΔS when the relative movement of the plurality of character information M is small according to the reading work environment or the like.

特に、本実施形態における読取処理では、撮像された複数の文字情報Mのうち解読不能な文字がある場合、この文字が占める領域を未読文字領域M0とし(図12(A)参照)、この未読文字領域M0を含めた複数の文字情報Mが占める方形状領域Sの上縁の長さSu1が取得される(S107a)。例えば、図12(A)(B)の撮像画像は、図11(A)(B)の撮像画像に含まれる複数の文字情報Mと同じものを撮像しており、図12(A)に示すように、左端の文字が解読できない場合でも解読できない文字があるという認識に応じて未読文字領域M0が設定される。そして、これらの未読文字領域M0を含めて複数の文字情報Mが占める方形状領域Sの上縁の長さが取得される。   In particular, in the reading process according to the present embodiment, when there is an undecipherable character among a plurality of imaged character information M, the area occupied by this character is set as an unread character area M0 (see FIG. 12A). The length Su1 of the upper edge of the rectangular area S occupied by a plurality of pieces of character information M including the character area M0 is acquired (S107a). For example, the captured images in FIGS. 12A and 12B are the same as the plurality of character information M included in the captured images in FIGS. 11A and 11B, and are illustrated in FIG. As described above, the unread character area M0 is set according to the recognition that there is a character that cannot be decoded even if the leftmost character cannot be decoded. Then, the length of the upper edge of the rectangular region S occupied by the plurality of character information M including the unread character region M0 is acquired.

このように、本実施形態では、光学的情報は、複数の文字情報Mであって、複数の文字情報Mを撮像した撮像画像において未読文字領域M0を含めて複数の文字情報Mが占める方形状領域の上縁の長さが取得される。このため、複数の文字情報Mを順次撮像して解読する際に前回解読不能だった文字が今回解読されても、複数の文字情報Mが表示される表示媒体等に対して複数の文字情報Mが占める方形状領域Sを前回と今回とで同じ範囲とすることができる。これにより、未読文字領域M0に起因して取得される数値のばらつきをなくすことができる。   Thus, in the present embodiment, the optical information is a plurality of character information M, and a square shape occupied by the plurality of character information M including the unread character region M0 in the captured image obtained by capturing the plurality of character information M. The length of the upper edge of the region is obtained. Therefore, when a plurality of character information M is sequentially imaged and decoded, a plurality of character information M is displayed for a display medium or the like on which the plurality of character information M is displayed even if a character that could not be decoded previously is decoded this time. The rectangular region S occupied by can be made the same range in the previous time and this time. Thereby, the dispersion | variation in the numerical value acquired resulting from the unread character area | region M0 can be eliminated.

また、本実施形態においても、上記第2実施形態と同様に、変化量ΔSが上記所定値ΔSth以下となる状態が継続する場合に複数の文字情報Mの解読結果を出力するようにしてもよい。また、算出された変化量ΔSが所定値ΔSth以下となった後、数値が取得された全ての複数の文字情報Mの解読結果が未読文字領域M0を除いて一致する場合に、その一致する解読結果を出力するようにしてもよい。   Also in the present embodiment, as in the second embodiment, when a state in which the change amount ΔS is equal to or less than the predetermined value ΔSth continues, decoding results of a plurality of character information M may be output. . In addition, after the calculated change amount ΔS becomes equal to or less than the predetermined value ΔSth, when the decoding results of all the plurality of character information M for which the numerical values are obtained match except for the unread character area M0, the matching decoding is performed. The result may be output.

なお、本発明は上記各実施形態及び変形例に限定されるものではなく、例えば、以下のように具体化してもよい。
(1)上記読取処理において、上記所定値Lthは、撮像された撮像画像において情報コードが占める領域が小さくなるほど小さくなるように設定されてもよい。光学的情報読取装置10(受光センサ23)に対して比較的遠い位置での情報コードを撮像した撮像画像において当該情報コードが占める領域は、その情報コードを比較的近い位置にて撮像した撮像画像の領域よりも小さくなる。すなわち、同じ距離移動していても、比較的遠い位置にて移動している場合に算出された変化量Lは、比較的近い位置にて移動している場合に算出される変化量Lよりも小さくなる。このため、出力可否判定基準となる上記所定値Lthを、撮像画像において情報コードが占める領域が小さくなるほど小さくなるように設定することで、情報コードとの相対距離を考慮して解読結果の出力可否を判断することができる。また、上記所定値ΔSthを、撮像された撮像画像において複数の文字情報が占める領域が小さくなるほど小さくなるように設定しても、同様の効果を奏する。
In addition, this invention is not limited to said each embodiment and modification, For example, you may actualize as follows.
(1) In the reading process, the predetermined value Lth may be set to be smaller as the area occupied by the information code is smaller in the captured image. The area occupied by the information code in the captured image obtained by imaging the information code at a position relatively far from the optical information reader 10 (light receiving sensor 23) is a captured image obtained by imaging the information code at a relatively close position. It becomes smaller than the area. That is, even if the same distance is moved, the change amount L calculated when moving at a relatively far position is larger than the change amount L calculated when moving at a relatively close position. Get smaller. For this reason, by setting the predetermined value Lth, which is a criterion for determining whether or not output is possible, to be smaller as the area occupied by the information code in the captured image becomes smaller, whether or not the decoding result can be output in consideration of the relative distance to the information code. Can be judged. The same effect can be obtained even if the predetermined value ΔSth is set to be smaller as the area occupied by a plurality of character information in the captured image is smaller.

(2)上記読取処理において、情報コードや複数の文字情報等の光学的情報が占める領域の特定部分に関する数値は、上記第1,2実施形態のような各隅部の座標や上記第3実施形態のような方形状領域の上縁の長さに限ることなく、例えば、光学的情報が占める領域の周縁の長さや対角の長さ、特定部分の座標であってもよい。特に、各隅部の座標等、特定部分の座標を取得して変化量を算出する場合には、光学的情報が読取口に対して相対的にほぼ平行に移動する場合でもその移動に応じた変化量を算出できるので、光学的情報の読取精度をより向上させることができる。 (2) In the reading process, the numerical values related to the specific portion of the area occupied by optical information such as an information code and a plurality of character information are the coordinates of each corner as in the first and second embodiments, and the third embodiment. The length is not limited to the length of the upper edge of the rectangular region such as the form, and may be, for example, the length of the periphery of the region occupied by the optical information, the length of the diagonal, or the coordinates of a specific portion. In particular, when the amount of change is calculated by acquiring the coordinates of a specific part such as the coordinates of each corner, even if the optical information moves relatively parallel to the reading port, it corresponds to the movement. Since the amount of change can be calculated, the reading accuracy of optical information can be further improved.

(3)上記読取処理において、光学的情報(情報コードや複数の文字情報等)の解読結果は、外部機器等に出力されることに限らず、例えば、表示画面を有する光学的情報読取装置であればその表示画面に表示するように出力してもよい。 (3) In the above reading process, the decoding result of the optical information (information code, plural character information, etc.) is not limited to being output to an external device or the like. For example, an optical information reading device having a display screen If there is, it may be output to be displayed on the display screen.

(4)本発明は、携帯型の光学的情報読取装置に適用されることに限らず、据え置き型の光学的情報読取装置に適用されてもよい。 (4) The present invention is not limited to being applied to a portable optical information reader, but may be applied to a stationary optical information reader.

10…光学的情報読取装置
23…受光センサ(撮像部)
40…制御回路(解読部,取得部,変化量算出部,出力部,カウント部)
48…通信インタフェース(出力部)
C…情報コード(光学的情報)
L,ΔS…変化量
Lth,ΔSth…所定値
M…複数の文字情報(光学的情報)
M0…未読文字領域
N…回数
Nth…所定回数
DESCRIPTION OF SYMBOLS 10 ... Optical information reader 23 ... Light receiving sensor (imaging part)
40 ... Control circuit (decoding unit, acquisition unit, change amount calculation unit, output unit, count unit)
48 ... Communication interface (output unit)
C ... Information code (optical information)
L, ΔS: Change amount Lth, ΔSth: Predetermined value M: Plural character information (optical information)
M0 ... Unread character area N ... Number of times Nth ... Predetermined number of times

Claims (8)

光学的情報を撮像する撮像部と、
前記撮像部により撮像された前記光学的情報を解読する解読部と、
前記解読部による解読結果を出力するための出力部と、
前記撮像部により前記光学的情報を撮像した撮像画像において当該光学的情報が占める領域の特定部分に関する数値を取得する取得部と、
前記撮像部により前記光学的情報を撮像した撮像画像から前記取得部により取得された数値と、前回以前に前記撮像部により前記光学的情報を撮像した撮像画像から前記取得部により取得された数値との変化量を算出する変化量算出部と、
を備え、
前記出力部は、前記変化量算出部により算出された前記変化量が所定値以下となる場合に、前記解読部による解読結果を出力することを特徴とする光学的情報読取装置。
An imaging unit for imaging optical information;
A decoding unit for decoding the optical information imaged by the imaging unit;
An output unit for outputting a decoding result by the decoding unit;
An acquisition unit that acquires a numerical value related to a specific portion of a region occupied by the optical information in a captured image obtained by imaging the optical information by the imaging unit;
A numerical value acquired by the acquisition unit from a captured image obtained by imaging the optical information by the imaging unit, and a numerical value acquired by the acquisition unit from a captured image obtained by imaging the optical information by the imaging unit before the previous time. A change amount calculation unit for calculating a change amount of
With
The output unit outputs the decoding result by the decoding unit when the change amount calculated by the change amount calculation unit is a predetermined value or less.
前記変化量算出部は、前記撮像部により前記光学的情報を撮像した撮像画像から前記取得部により取得された数値と、2回以上前となる所定回前に前記撮像部により前記光学的情報を撮像した撮像画像から前記取得部により取得された数値との変化量を算出することを特徴とする請求項1に記載の光学的情報読取装置。   The change amount calculation unit is configured to obtain the optical information by the imaging unit at a predetermined number of times before the numerical value acquired by the acquisition unit from the captured image obtained by imaging the optical information by the imaging unit and two or more times before. The optical information reading device according to claim 1, wherein an amount of change from a numerical value acquired by the acquisition unit is calculated from a captured image. 前記変化量算出部により算出された前記変化量が前記所定値以下となる回数をカウントするカウント部を備え、
前記出力部は、前記カウント部によりカウントされた回数が所定回数以上となる場合に、前記解読部による解読結果を出力することを特徴とする請求項1または2に記載の光学的情報読取装置。
A counting unit that counts the number of times the amount of change calculated by the amount of change calculating unit is equal to or less than the predetermined value;
3. The optical information reader according to claim 1, wherein the output unit outputs a decoding result by the decoding unit when the number of times counted by the counting unit is equal to or greater than a predetermined number.
前記カウント部は、前記変化量算出部により算出された前記変化量が前記所定値を超えると、前記回数をリセットすることを特徴とする請求項3に記載の光学的情報読取装置。   The optical information reading apparatus according to claim 3, wherein the count unit resets the number of times when the change amount calculated by the change amount calculation unit exceeds the predetermined value. 前記所定値は、前記撮像部により撮像された撮像画像において前記光学的情報が占める領域が小さくなるほど小さくなるように設定されることを特徴とする請求項1〜4のいずれか一項に記載の光学的情報読取装置。   The said predetermined value is set so that it may become so small that the area | region which the said optical information occupies becomes small in the picked-up image imaged by the said image pick-up part. Optical information reader. 前記光学的情報は、特定パターンを有する情報コードであって、
前記取得部は、前記撮像部により前記情報コードを撮像した撮像画像において前記特定部分に関する数値として前記特定パターンに関する数値を取得することを特徴とする請求項1〜5のいずれか一項に記載の光学的情報読取装置。
The optical information is an information code having a specific pattern,
The said acquisition part acquires the numerical value regarding the said specific pattern as a numerical value regarding the said specific part in the captured image which imaged the said information code with the said imaging part, The Claim 1 characterized by the above-mentioned. Optical information reader.
前記光学的情報は、複数の文字情報であって、
前記撮像部により撮像された前記複数の文字情報のうち前記解読部により解読不能な文字が占める領域を未読文字領域とするとき、
前記取得部は、前記撮像部により前記複数の文字情報を撮像した撮像画像において前記未読文字領域を含めて前記複数の文字情報が占める領域の特定部分に関する数値を取得することを特徴とする請求項1〜5のいずれか一項に記載の光学的情報読取装置。
The optical information is a plurality of character information,
When the area occupied by characters unreadable by the decoding unit among the plurality of character information imaged by the imaging unit is an unread character region,
The said acquisition part acquires the numerical value regarding the specific part of the area | region which the said several character information occupies including the said unread character area | region in the captured image which imaged the said several character information with the said imaging part. The optical information reading device according to any one of 1 to 5.
前記出力部は、前記変化量算出部により算出された前記変化量が前記所定値以下となった際に前記取得部により数値が取得された全ての前記光学的情報の前記解読部による解読結果が一致する場合に、前記解読部による解読結果を出力することを特徴とする請求項1〜7のいずれか一項に記載の光学的情報読取装置。   The output unit outputs the decoding results by the decoding unit of all the optical information whose numerical values are acquired by the acquisition unit when the change amount calculated by the change amount calculation unit is equal to or less than the predetermined value. The optical information reading device according to any one of claims 1 to 7, wherein in the case of coincidence, a decoding result by the decoding unit is output.
JP2016190600A 2016-09-29 2016-09-29 Optical information reader Active JP6638614B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016190600A JP6638614B2 (en) 2016-09-29 2016-09-29 Optical information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016190600A JP6638614B2 (en) 2016-09-29 2016-09-29 Optical information reader

Publications (2)

Publication Number Publication Date
JP2018055397A true JP2018055397A (en) 2018-04-05
JP6638614B2 JP6638614B2 (en) 2020-01-29

Family

ID=61836753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016190600A Active JP6638614B2 (en) 2016-09-29 2016-09-29 Optical information reader

Country Status (1)

Country Link
JP (1) JP6638614B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022113938A1 (en) * 2020-11-24 2022-06-02 株式会社デンソーウェーブ Optical information reading apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022113938A1 (en) * 2020-11-24 2022-06-02 株式会社デンソーウェーブ Optical information reading apparatus

Also Published As

Publication number Publication date
JP6638614B2 (en) 2020-01-29

Similar Documents

Publication Publication Date Title
US10249030B2 (en) Image transformation for indicia reading
US9752864B2 (en) Handheld dimensioning system with feedback
US20160112643A1 (en) Handheld dimensioner with data-quality indication
US8079524B2 (en) Imaging-based scanner including border searching for image acquisition
CN108351955B (en) Compact imaging module with rangefinder
JP6635073B2 (en) Reader
JP6558330B2 (en) Optical information reader
JP6638614B2 (en) Optical information reader
KR102079697B1 (en) Readers, Programs, and Units
JP5533739B2 (en) Optical information reader
JP2011008574A (en) Optical information reader
JP6358057B2 (en) Optical information reader
US20180130230A1 (en) Recognition apparatus, determination method, and article manufacturing method
JP5888199B2 (en) Bar code reader
JP5104713B2 (en) Optical information reader
JP6645393B2 (en) Optical information reader
JP5240124B2 (en) Optical information reader
JP4466522B2 (en) Optical information reader
JP5381928B2 (en) Optical information reader
JP2017084089A (en) Optical information reader
JP2010282325A (en) Optical information reader
JP5505332B2 (en) Imaging device
JP5660465B2 (en) Optical information reader
JP2013045149A (en) Information code reader
JP5262994B2 (en) Optical information reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190619

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190702

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190830

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191126

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191209

R150 Certificate of patent or registration of utility model

Ref document number: 6638614

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250