JP2021015592A - Two-dimensional code reader, installation position adjustment device, and program - Google Patents
Two-dimensional code reader, installation position adjustment device, and program Download PDFInfo
- Publication number
- JP2021015592A JP2021015592A JP2020069759A JP2020069759A JP2021015592A JP 2021015592 A JP2021015592 A JP 2021015592A JP 2020069759 A JP2020069759 A JP 2020069759A JP 2020069759 A JP2020069759 A JP 2020069759A JP 2021015592 A JP2021015592 A JP 2021015592A
- Authority
- JP
- Japan
- Prior art keywords
- dimensional code
- image
- installation position
- reading device
- position adjusting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000009434 installation Methods 0.000 title claims abstract description 147
- 238000003384 imaging method Methods 0.000 claims description 48
- 238000011156 evaluation Methods 0.000 claims description 17
- 239000003550 marker Substances 0.000 claims description 17
- 238000012937 correction Methods 0.000 claims description 14
- 230000003287 optical effect Effects 0.000 claims description 12
- 238000000034 method Methods 0.000 description 66
- 238000012545 processing Methods 0.000 description 40
- 210000004027 cell Anatomy 0.000 description 23
- 238000010586 diagram Methods 0.000 description 22
- 238000004891 communication Methods 0.000 description 15
- 239000011159 matrix material Substances 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 239000004973 liquid crystal related substance Substances 0.000 description 10
- 238000012986 modification Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000010365 information processing Effects 0.000 description 4
- 230000001678 irradiating effect Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 230000004397 blinking Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 210000002287 horizontal cell Anatomy 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
本発明は、二次元コード読取装置の設置位置の調整用の設置位置調整装置に関する。 The present invention relates to an installation position adjusting device for adjusting the installation position of a two-dimensional code reading device.
固定式の二次元コード読取装置の読み取り範囲に入っている読み取り対象二次元コードの設置位置を手作業で読み取り範囲の中央へ微調整する際、一人の作業者が二次元コード読取装置の読み取り設定ツール(設定ソフトウェアがインストールされたコンピュータ)が表示する読み取り画像を見ながら、二次元コード読取装置側の作業者に設置位置を指示して読み取り対象二次元コードを相対移動させて調整している。固定式の二次元コード読取装置の配置の方向によって、実際の二次元コード設置方向と、コンピュータの表示する二次元コードの配置位置がずれてしまい、意図とは異なる方向に読み取り対象二次元コードを移動させてしまうことがあった。 When manually fine-tuning the installation position of the 2D code to be read within the reading range of the fixed 2D code reader to the center of the reading range, one worker sets the reading of the 2D code reader. While observing the scanned image displayed by the tool (computer on which the setting software is installed), the operator on the two-dimensional code reading device side is instructed to instruct the installation position, and the two-dimensional code to be read is relatively moved for adjustment. Depending on the arrangement direction of the fixed two-dimensional code reader, the actual two-dimensional code installation direction and the arrangement position of the two-dimensional code displayed by the computer may deviate, and the two-dimensional code to be read may be read in a direction different from the intention. I sometimes moved it.
特許文献1は、テストバーコードを読ませてスキャナ自体の読み取り方向を回転させてずれを無くす構成を開示している。
特許文献1では、二次元コードであるQRコードを読ませる方向が、必ずしも配置する方向とは一致しないため、2名の作業者に対して方向を一致させることはできないと考えられる。
In
本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、二次元コード読取装置の位置合わせが容易な設置位置調整装置を提供することにある。 The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide an installation position adjusting device in which a two-dimensional code reading device can be easily aligned.
上記目的を達成するため、特許請求の範囲の請求項1に記載の発明は、二次元コード読取装置(110)の設置位置調整装置(10)であって、
二次元コード読取装置が撮像した画像を取得する画像取得手段(17)と、
取得した画像を表示する画像表示手段(15)と、
予め設定された二次元コードの左右上下方向に対して、撮像された二次元コードの角度ずれを検出する角度ずれ検出手段(S122)と、
前記角度ずれ検出手段で検出された角度ずれを補正し、前記設定された左右上下方向で二次元コードを、前記画像表示手段で表示させる角度ずれ補正手段(S126)と、を備える。そして、前記画像表示手段(15)は、前記二次元コードの付けられた読み取り対象物Wを、前記角度ずれ補正手段で二次元コードが回転された角度に対応して回転させて表示することを特徴とする。
In order to achieve the above object, the invention according to
An image acquisition means (17) for acquiring an image captured by a two-dimensional code reader, and
An image display means (15) for displaying the acquired image and
An angle deviation detecting means (S122) for detecting an angle deviation of the captured two-dimensional code in the left-right / up-down direction of the preset two-dimensional code, and
It is provided with an angle deviation correcting means (S126) that corrects the angle deviation detected by the angle deviation detecting means and displays the two-dimensional code in the set left / right / up / down direction by the image display means. Then, the image display means (15) displays the reading object W to which the two-dimensional code is attached by rotating it according to the angle at which the two-dimensional code is rotated by the angle deviation correction means. It is a feature.
請求項12に記載の発明は二次元コード読取装置(110)の設置位置調整装置(10)であって、
二次元コード読取装置が撮像した画像を取得する画像取得手段(17)と、
取得した画像を表示する画像表示手段(15)と、
二次元コードの左右上下方向に対して、撮像された二次元コードの角度ずれを検出する角度ずれ検出手段(S401)と、
前記角度ずれ検出手段で検出された角度ずれを、前記画像表示手段で表示させる角度ずれ表示手段(S402)と、
撮像した二次元コードに、マージンを付加して前記画像表示手段で表示させるマージン表示手段(S404)と、を備えることを特徴とする。
The invention according to
An image acquisition means (17) for acquiring an image captured by a two-dimensional code reader, and
An image display means (15) for displaying the acquired image and
An angle deviation detecting means (S401) for detecting an angle deviation of the captured two-dimensional code with respect to the left-right and up-down directions of the two-dimensional code,
An angle deviation display means (S402) for displaying the angle deviation detected by the angle deviation detection means by the image display means, and
It is characterized by including a margin display means (S404) in which a margin is added to the captured two-dimensional code and displayed by the image display means.
請求項18に記載の発明は二次元コード読取装置(110)であって、
画像データを撮像する撮像手段(53)と、
前記画像データのコード位置情報から、前記画像データのコードもしくはコード周辺の画像特徴量を算出するコード画像特徴量算出手段(S256)と、
前記画像特徴量を記憶するコード画像特徴量記憶手段(S258)と、
前記コード画像特徴量記憶手段に記憶された複数の画像特徴量から、前記画像データの撮像された環境の一致度を算出する読み取り環境一致度算出手段(S260)と、
前記環境一致度算出手段により算出された一致度が高くなる前記画像データの撮像された環境を指示する環境一致指示手段(S262)と、を備えることを特徴とする。
The invention according to
An imaging means (53) for capturing image data and
A code image feature amount calculating means (S256) for calculating the code of the image data or an image feature amount around the code from the code position information of the image data, and
A code image feature storage means (S258) for storing the image feature, and
A reading environment matching degree calculating means (S260) for calculating the matching degree of the imaged environment of the image data from a plurality of image feature amounts stored in the code image feature amount storing means,
It is characterized by including an environment matching instruction means (S262) for instructing the environment in which the image data is captured, which increases the matching degree calculated by the environment matching degree calculating means.
請求項34に記載の発明は二次元コード読取装置の設置位置調整装置(10)であって、
二次元コード読取装置が撮像した画像を取得する画像取得手段(17)と、
取得した画像を表示する画像表示手段(15)と、
複数の二次元コードに対して、個々の二次元コードに識別情報を付して前記画像表示手段に表示する情報表示手段(S404)と、
前記二次元コード読取装置の位置調整対象に指定された二次元コードを特定して前記画像表示手段に表示する特定表示手段(S408)と、
前記位置調整対象に指定された以外の二次元コードの読み取り条件を個々に調整し、調整結果を保持する(S412)ことを特徴とする。
なお、上記各括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。
The invention according to
An image acquisition means (17) for acquiring an image captured by a two-dimensional code reader, and
An image display means (15) for displaying the acquired image and
An information display means (S404) that attaches identification information to each two-dimensional code and displays it on the image display means for a plurality of two-dimensional codes.
The specific display means (S408) that identifies the two-dimensional code designated as the position adjustment target of the two-dimensional code reader and displays it on the image display means, and
It is characterized in that the reading conditions of the two-dimensional code other than those designated as the position adjustment target are individually adjusted and the adjustment result is held (S412).
The reference numerals in the parentheses indicate the correspondence with the specific means described in the embodiments described later.
請求項1の発明では、撮像された二次元コードの角度ずれを検出し、検出された角度ずれを補正し、設定された左右上下方向で二次元コードを画像表示手段で表示させる。同時に、二次元コードの付けられた読み取り対象物Wを、二次元コードが回転された角度に対応して回転させて表示する。このため、設置位置調整装置側の作業者と、二次元コード読取装置側の作業者との連携が取りやすくなり、二次元コード読取装置の位置合わせが容易になる。
In the invention of
請求項2の発明では、所定回転手段で表示される二次元コードを所定角度回転させられる。角度回転手段で、表示される二次元コードを入力された角度回転させられる。このため、例えばモニター等の画像表示手段に表示される二次元コードの角度調整が容易である。
In the invention of
請求項3の発明では、二次元コードに対する作業者の位置を入力する位置入力手段と、作業者の位置から見える二次元コードの向きと、画像取得手段で表示される二次元コードの向きとを合わせる向き調整手段と、を備える。このため、設置位置調整装置側の作業者と二次元コード読取装置側の作業者との連帯が取りやすくなり、二次元コード読取装置の位置合わせが容易になる。
In the invention of
請求項4の発明では、撮像された二次元コードと、撮像された二次元コードに対する作業者の位置とを同時に画像表示手段で表示させることで、作業者の二次元コードに対する位置を入力させる。このため、二次元コード読取装置側の作業者の位置を容易に入力することができる。
In the invention of
請求項5の発明では、撮像された二次元コードの特徴から角度ずれを検出するため、容易に角度ずれを検出することができる。
In the invention of
請求項6の発明では、取得した二次元コードの画像から二次元コードの傾きを検出し、検出された二次元コードの傾きを画像表示手段で表示する。このため、作業者はモニター等の画像表示手段上で二次元コードの傾きを視認することができる。 In the invention of claim 6, the tilt of the two-dimensional code is detected from the acquired image of the two-dimensional code, and the tilt of the detected two-dimensional code is displayed by the image display means. Therefore, the operator can visually recognize the inclination of the two-dimensional code on an image display means such as a monitor.
請求項7の発明では、地面からの傾きを取得し、取得した傾きから二次元コード読取装置の傾きを画像表示手段で表示する。このため、作業者はモニター等の画像表示手段上で二次元コード読取装置の傾きを視認することができる。
In the invention of
請求項8の発明では、取得した二次元コードの画像から、上下の辺と左右の辺の長さを比較し、差が大きいと判断した際に、取得した二次元コードの画像を複数のセルに分割し、各セルの大きさを比較することで傾きを判定する。このため、適切に二次元コードの傾きを検出することができる。 In the invention of claim 8, when the lengths of the upper and lower sides and the left and right sides are compared from the acquired two-dimensional code image and it is determined that the difference is large, the acquired two-dimensional code image is displayed in a plurality of cells. The inclination is determined by dividing the cells into two and comparing the sizes of each cell. Therefore, the inclination of the two-dimensional code can be appropriately detected.
請求項9の発明では、取得した二次元コードの傾きを3次元グラフとしてモニター等の画像表示手段で表示する。このため、作業者に理解し易いように3次元グラフで二次元コードの傾きが表示される。
In the invention of
請求項10の発明では、読み取りの焦点を合わせ、取得した二次元コードの画像を複数のセルに分割し、分割したセルの内、焦点が最も合っているセルを検出し、そのセルを二次元コード読取装置との距離を焦点距離とし、焦点距離のセルと、他の分割したセルとの大きさの比較から他の分割したセルまでの距離を推定し、3次元グラフとして画像表示手段で表示する。このため、作業者に理解し易いように3次元グラフで二次元コードの傾きが表示される。
In the invention of
請求項11の発明では、読み取りの焦点を合わせ、オートフォーカス中の各距離毎のオートフォーカス評価値をグラフ表示し、グラフ中に表示されるピークが選択された際に、当該ピークに対応する位置を、画像表示手段の表示画像中に表示する。作業者は適切に距離を合わせることができたかを確認することができる。
In the invention of
請求項12の発明では、検出された二次元コードの角度ずれを、画像表示手段で表示させるため、二次元コードの角度ずれの修正が容易である。また、撮像した二次元コードに、マージンを付加して画像表示手段で表示させるため、撮像範囲内にマージンが納まっているかを容易に確認でき、二次元コードを読み取りが確実にできる位置に位置合わせすることができる。
In the invention of
請求項13の発明では、二次元コードの角度ずれが大きいと判断された際に、角度ずれが大きいことを指示するため、二次元コードの角度が大きくずれ、読み取り時間が長くなることを防ぐことができる。
In the invention of
請求項14の発明では、二次元コードの角度ずれが大きいと判断された際に、角度ずれが大きいことを指示すると共に、撮像した二次元コードの位置合わせ用のマーカを画像表示手段に表示する。このため、二次元コードの角度ずれが大きい場合でも、マーカを用いて二次元コードの位置を容易に調整することができる。
In the invention of
請求項15の発明では、マージンが撮像範囲内にあるか否かを判断し、撮像範囲外であると判断した際に、マージンが撮像範囲外であることを指示する。撮像範囲内にマージンを納めることで、二次元コードを確実に読み取ることができる。
In the invention of
請求項16の発明では、マージン内に二次元コード以外のデータがあるか否かを判断し、二次元コード以外のデータがあると判断した際に、二次元コード以外のデータがあることを指示する。マージン内に他のデータを存在させないことで、二次元コードを確実に読み取ることができる。
In the invention of
請求項17の発明では、撮像された二次元コードの角度ずれを検出し、検出された角度ずれを補正し、設定された左右上下方向で二次元コードを画像表示手段で表示させる。同時に、二次元コードの付けられた読み取り対象物Wを、二次元コードが回転された角度に対応して回転させて表示する。このため、設置位置調整装置側の作業者と、二次元コード読取装置側の作業者との連携が取りやすくなり、二次元コード読取装置の位置合わせが容易になる。
In the invention of
請求項18、請求項19の発明では、画像データを撮像し、画像データのコード位置情報から、画像データのコードもしくはコード周辺の画像特徴量を算出し、画像特徴量を記憶する。そして、記憶された複数の画像特徴量から、画像データの撮像された環境の一致度を算出し、算出された一致度が高くなる画像データの撮像された環境を指示する。このため、製造ラインの整備等で、二次元コード読取装置が取り外されても、作業者は容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。
In the inventions of
請求項20の発明では、任意のタイミングで画像データを取得し、画像特徴量を記憶できる。このため、作業者は取り外し前に画像データを取得しておくことで、取り外し後に、容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。
In the invention of
請求項21の発明では、設定されたタイミングで画像データを取得し、画像特徴量を記憶できる。このため、作業者は取り外し前に自動で取得された画像データに基づき、取り外し後に、容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。
In the invention of
請求項22の発明では、環境の一致度が、設定された閾値を超えた場合に読み取り環境の一致を通知する。作業者に取り外し前の位置に二次元コード読取装置を付け直せたことが通知される。
In the invention of
請求項23の発明では、画像特徴量は、コード位置情報から得られる外形位置情報である。このため、適切に画像特徴量が得られる。
In the invention of
請求項24の発明では、外形位置情報はQRコードのファインダパターンである。適切に外形位置情報が得られる。
In the invention of
請求項25の発明では、外形位置情報はコードないしコード周辺のエッジ情報である。適切に外形位置情報が得られる。
In the invention of
請求項26の発明では、コードないしコード周辺の輝度情報から輝度勾配情報を取得し、画像特徴量とする。容易にダイレクトマーキングのQRコードから画像特徴量が得られる。 In the invention of claim 26, the luminance gradient information is acquired from the luminance information of the cord or the periphery of the cord and used as the image feature amount. Image features can be easily obtained from the QR code of direct marking.
請求項27の発明では、撮像視野方向を示すエイマー光照射装置を備え、二次元コードの付けられた対象物に照射されたエイマー光を検出する。画像特徴量はエイマー光形状情報であるである。このため、適切に画像特徴量が得られる。 In the invention of claim 27, the aimer light irradiation device indicating the imaging field of view direction is provided, and the aimer light irradiated to the object to which the two-dimensional code is attached is detected. The image feature amount is Aimer optical shape information. Therefore, the image feature amount can be appropriately obtained.
請求項28の発明では、オートフォーカス機能により二次元コードの付けられた対象物までの距離を測定する。画像特徴量は対象物までの距離情報である。作業者は、取り外し後に、容易に取り外し前の距離に二次元コード読取装置を付け直すことができる。
In the invention of
請求項29の発明では、画像特徴量に基づき作成した特徴画像を作成し、画像データと重ねて特徴画像を表示する。例えば、四角の枠から成る特徴画像と、画像表示された二次元コードとを重ねるように調整することで、作業者は、取り外し後に、容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。 In the invention of claim 29, a feature image created based on an image feature amount is created, and the feature image is displayed by superimposing it on the image data. For example, by adjusting the feature image consisting of a square frame and the two-dimensional code displayed in the image so as to overlap each other, the operator can easily reattach the two-dimensional code reader to the position before removal after removal. be able to.
請求項30の発明では、モニター等の表示手段が二次元コード読取装置に内蔵されている。このため、二次元コード読取装置単体で、作業者は、取り外し後に、容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。
In the invention of
請求項31の発明は、モニター等の表示手段が二次元コード読取装置に接続された機器に備えられる。二次元コード読取装置に接続された機器の作業者は、二次元コード読取装置側の作業者に、復元位置の指示を送ることができる。
The invention of
請求項32の発明は、表示LEDにより環境一致指示を行う。簡易な構成の二次元コード読取装置単体で、作業者は、取り外し後に、取り外し前の位置に二次元コード読取装置を付け直すことができる。 In the invention of claim 32, an environment matching instruction is given by a display LED. With a simple configuration of the two-dimensional code reading device alone, the operator can reattach the two-dimensional code reading device to the position before the removal after the removal.
請求項34、請求項35の発明では、複数の二次元コードを読み取る際に、最重要な二次元コードを位置調整対象に指定することで、当該二次元コードを確実に読み取れるように二次元コード読取装置を調整することができる。更に、位置調整対象に指定された以外の二次元コードの読み取り条件を個々に調整し、調整結果を保持することで、当該調整位置の二次元コード読取装置で、指定された以外の二次元コードも短時間でほぼ確実に読み取れるようになる。
In the invention of
請求項36の発明では、調整結果を保持する二次元コード読取装置は、位置調整対象に指定された以外の二次元コードの読み取りの際に、個々に保持した条件に調整する。このため、二次元コード読取装置で、指定された以外の二次元コードも短時間でほぼ確実に読み取れる。
In the invention of
請求項37の発明では、個々の二次元コードに番号を付して画像表示手段に表示する。容易に位置調整対象の二次元コードを指定できる。
In the invention of
請求項38の発明では、個々の二次元コードを色分けして画像表示手段に表示する。容易に位置調整対象の二次元コードを指定できる。
In the invention of
請求項39の発明では、位置調整対象の二次元コードの指定を、色分けされた内の色選択により行わせる。容易に位置調整対象の二次元コードを指定できる。 In the invention of claim 39, the two-dimensional code to be adjusted is specified by color selection among the color-coded ones. You can easily specify the two-dimensional code to be adjusted.
請求項40の発明では、位置調整対象に指定された二次元コードの特定は、二次元コードに付され表示されるカーソルである。確実に確認できるように位置調整対象の二次元コードを特定できる。
In the invention of
請求項41の発明では、位置調整対象に指定された二次元コードの読み取り条件を表示する。作業者は読み取り条件の確認が行える。
In the invention of
[第1実施形態]
以下、本発明の第1実施形態に係る設置位置調整装置について図1〜図18を参照して説明する。
図1は、第1実施形態に係る設置位置調整装置と二次元コード読取装置との説明図である。
第1実施形態の設置位置調整は、設置位置調整装置の制御プログラムが設定されたコンピュータ10と、QRコードを読み取る固定式の二次元コード読取装置110とで行われる。QRコードは図示されない読み取り対象物に付けられている。対象物は図示されない製造ライン上に搬送され、対象物のQRコードが二次元コード読取装置110で読み取られる。
[First Embodiment]
Hereinafter, the installation position adjusting device according to the first embodiment of the present invention will be described with reference to FIGS. 1 to 18.
FIG. 1 is an explanatory diagram of an installation position adjusting device and a two-dimensional code reading device according to the first embodiment.
The installation position adjustment of the first embodiment is performed by the
ここでは、固定式の二次元コード読取装置110の読み取り範囲に入っている読み取り対象二次元コードの設置位置を手作業で読み取り範囲の中央へ入れるための微調整が行われる。一人の作業者が設置位置調整装置10のモニター15が表示する読み取り画像を見ながら、二次元コード読取装置110側の作業者に設置位置を上下左右等指示して読み取り対象のQRコードを相対移動させる。ここでは、二次元コード読取装置110側の設定位置が調整されるものとして以降の説明が続けられる。二次元コードの相対移動であるため、二次元コード側の位置が調整される場合も有り得る。
Here, fine adjustment is performed so that the installation position of the two-dimensional code to be read, which is within the reading range of the fixed two-dimensional
コンピュータ10は、例えばパーソナルコンピュータとして構成されており、図2に示すように、主に、CPU11、ROM12及びRAM13などのメモリ、ハードディスクドライブ(以下HDDとも称する)14を備えている。また、CPU11には、バス18を介して、モニター15、入力部16、通信部17が制御可能に接続されている。通信部17を介して二次元コード読取装置110との通信が行われる。なお、図示はしていないが、バス18に接続された各回路とCPU11との間の入出力制御を行う入出力コントローラなども設けられている。
The
モニター15は、液晶表示装置等の公知の表示装置によって構成されており、CPU11からの指令に基づいて各種画像を表示するように機能する。また、入力部16は、キーボードやマウスなどの入力手段によって構成されており、ユーザの操作に応じて各種情報を入力するように機能する。
The
通信部17は、アプリケーションプログラム22等によって生成されたデータを接続されたデバイス等に送信したり、或いはデバイス等からのデータを受信するように機能するものであり、通信インタフェースと、USBポートを含めた複数の通信ポートとを備えた構成をなしている。各通信ポートは、シリアルコネクタやパラレルコネクタとして構成されており、RS232CケーブルやUSBケーブルなどの通信ケーブルを介して各種通信機器(例えば、他のコンピュータ、外部記憶装置、その他の情報処理装置等)が接続される構成をなしている。また、通信インタフェースは、各通信ポートを介したデータの入出力制御を行うように構成されている。
The
CPU11は、必要に応じ、上記入力部16にて入力された情報の取得、モニター15に対する表示制御、ROM12、RAM13、HDD14に対する読み取り又は書き込みの制御、或いは、通信部17の制御を行う。HDD14には、オペレーティングシステム(以下、OSともいう)21や各種のアプリケーションプログラム22等のプログラムがインストールされて格納されており、CPU11は、OS21の制御の下、アプリケーションプログラム22等のプログラムをRAM13にロードして実行することで、各種処理を行うように構成されている。
The
図3は、第1実施形態に係る二次元コード読取装置の回路構成を示すブロック図である。
二次元コード読取装置110は操作部(図示されず)、液晶表示装置46などを備えている。操作部には、例えば複数のスイッチ42が設けられ、これらスイッチ42により、動作内容を指示するようになっている。二次元コード読取装置110の筐体61の前端に形成された開口部(読取口)62には後述する光学系ユニットが配置されている。
FIG. 3 is a block diagram showing a circuit configuration of the two-dimensional code reading device according to the first embodiment.
The two-dimensional
二次元コード読取装置110は、QRコード等の二次元コードの光学情報の読み取りが可能なように構成されている。二次元コード読取装置110には、回路部112が設けられている。回路部112は、主に、発光ダイオード51、集光レンズ54、撮像器53、結像レンズ57等の光学系と、メモリ35、制御回路40、スイッチ42、液晶表示装置46等のマイクロコンピュータ(以下「マイコン」という)系と、から構成されている。
The two-dimensional
まず、光学系の構成概念が説明される。発光ダイオード51は、照明光Lfを照射可能な光照射器として機能するもので、拡散レンズと凸レンズとを組み合わせた集光レンズ54により集光させる。撮像器53は、読取対象物Wに照射されて反射した反射光Lrを結像レンズ57を介して受光可能に構成されるイメージセンサから成る。結像レンズ57は、外部から入射する入射光を集光して撮像器53の受光面53aに像を結像可能な結像光学系として機能する。結像レンズ57には、焦点距離を調整するための調整装置59が設けられている。ここでは、焦点距離を調整するための調整装置が設けられているが、画像データのデータ処理で、焦点距離を調整することも可能である。更に、十字状のエイマー光を照射するためのエイマー光の照射装置58が備えられている。
First, the construct of the optical system will be explained. The
次に、マイコン系の構成概要が説明される。マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、スイッチ42、LED43、ブザー44、液晶表示装置46、LAN通信回路48等から構成されている。このマイコン系は、その名の通り、マイコン(情報処理装置)として機能し得る制御回路40およびメモリ35を中心に構成されるもので、前述した光学系によって撮像された画像信号をハードウェア的およびソフトウェア的に信号処理し得るものである。また制御回路40は、当該二次元コード読取装置110の全体システムに関する制御も行っている。
Next, the outline of the configuration of the microcomputer system will be described. The microcomputer system includes an
光学系の撮像器53から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅された後、A/D変換回路33に入力されると、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データは、メモリ35に入力されて蓄積される。なお、同期信号発生回路38は、撮像器53およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。
The image signal (analog signal) output from the
制御回路40は、二次元コード読取装置110全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるもので、メモリ35とともに情報処理装置を構成し得るもので情報処理機能を有する。この制御回路40には、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)と接続可能に構成されており、本実施形態の場合、Gセンサ41、スイッチ42、LED43、ブザー44、液晶表示装置46、LAN通信回路48等が接続されている。制御回路40は、二次元コード及び二次元コードの付けられた対象物を撮像した画像データを、LAN通信回路48により図1中に示されるケーブル70を介して設置位置調整装置を構成するコンピュータ10側へ送信するよう構成されている。
The
図4及び図5は、第1実施形態に係る設置位置調整装置の位置調整画像の説明図である。
設置位置調整装置10は、モニター15に、QRコードQの画像と共に、QRコードQの付けられた対象物Wの画像を表示する。モニター画像には、表示内容の回転指示アイコン122、表示内容の回転角度指示アイコン124、表示角度の自動補正アイコン126が表示される。
4 and 5 are explanatory views of a position adjustment image of the installation position adjustment device according to the first embodiment.
The installation
図4(A)は表示角度調整前の画像を、図4(B)表示角度調整後の画像を表している。
マウス操作等によって、表示内容の回転指示アイコン122が1回クリックされた結果、図4(B)中に示されるように、QRコードQが1/4回転(90°)、反時計方向に回転されると共に、併せて、対象物Wの画像表示が1/4回転(90°)、反時計方向に回転される。同時に、回転角度指示アイコン124に90°回転したことが表示される。ここで、回転指示アイコン122が2回クリックされた場合、1/2(180°)、QRコードが回転して表示される。
FIG. 4A shows an image before adjusting the display angle, and FIG. 4B shows an image after adjusting the display angle.
As a result of clicking the
また、設置位置調整装置10は、QRコードの予め設定された上下左右を判断し、設定された上下左右方向に対して何度傾いているかを検出する。
図9(A)に示されるように、二次元コードとしてQRコードに対しては、2個の切り出しシンボルQSが上側にあり、1個の切り出しシンボルQSが左下側にあることが、正しい位置として設定されている場合、読み取ったQRコードの切り出しシンボルQSがどちらにあるかで、正しい位置に対して何度傾いているかが検出される。第1実施形態では、二次元コードの特徴を用いるため、容易に角度ずれを検出することができる。
Further, the installation
As shown in FIG. 9A, the correct position is that two cutout symbols QS are on the upper side and one cutout symbol QS is on the lower left side with respect to the QR code as a two-dimensional code. If it is set, it is detected how many times it is tilted with respect to the correct position depending on which is the cutout symbol QS of the read QR code. In the first embodiment, since the feature of the two-dimensional code is used, the angle deviation can be easily detected.
また、図9(B)に示されるように、二次元コードとしてデータマトリクスDMに対しては、アライメントパターンAPから、上下左右の傾きが判断される。ここでは、アライメントパターンAPが、データマトリクスDMの左側と下側にあることが、正しい位置として設定されている場合、読み取ったデータマトリクスDMのアライメントパターンAPがどちら傾いているかで、正しい位置に対して何度傾いているかが検出される。 Further, as shown in FIG. 9B, the inclination of the data matrix DM as a two-dimensional code is determined from the alignment pattern AP in the vertical and horizontal directions. Here, when it is set as the correct position that the alignment pattern AP is on the left side and the lower side of the data matrix DM, it depends on which position the alignment pattern AP of the read data matrix DM is tilted with respect to the correct position. How many times it is tilted is detected.
図4(A)は表示角度調整前の画像を、図4(B)表示角度調整後の画像を表している。
図4(A)中のQRコードは、図9(A)に示される設定された正しい位置に対して、90°反時計方向に傾いている。このため、図4(A)中で、表示角度の自動補正アイコン126がクリックされると、図4(B)中に示されるように、QRコードQが90°、反時計方向に自動的に回転されると共に、併せて、対象物Wの画像表示が90°、反時計方向に回転される。
FIG. 4A shows an image before adjusting the display angle, and FIG. 4B shows an image after adjusting the display angle.
The QR code in FIG. 4 (A) is tilted 90 ° counterclockwise with respect to the set correct position shown in FIG. 9 (A). Therefore, when the
第1実施形態の設置位置調整装置では、撮像されたQRコードの角度ずれを検出し、検出された角度ずれを補正し、設定された左右上下方向で二次元コードをモニター15で表示させる。同時に、QRコードの付けられた読み取り対象物Wを、二次元コードが回転された角度に対応して回転させて表示する。このため、設置位置調整装置側の作業者と、二次元コード読取装置側の作業者との連携が取りやすくなり、二次元コード読取装置の位置合わせが容易になる。
In the installation position adjusting device of the first embodiment, the angle deviation of the captured QR code is detected, the detected angle deviation is corrected, and the two-dimensional code is displayed on the
図5(A)は表示角度調整前の画像を、図5(B)表示角度調整後の画像を表している。
マウス操作等によって、表示内容の回転角度指示アイコン124に45°の回転が指示された結果、図4(B)中に示されるように、QRコードQが45°、反時計方向に回転されると共に、併せて、対象物Wの画像表示が45°、反時計方向に回転される。第1実施形態では、モニター15に表示されるQRコードの角度調整が容易である。
FIG. 5A shows an image before adjusting the display angle, and FIG. 5B shows an image after adjusting the display angle.
As a result of instructing the rotation
図10(A)は、設置位置調整装置10での処理のメインルーチンである。設置位置調整装置10は、二次元コード読取装置110から画像を取得し(S12)、画像表示を行う(S14)。そして、サブルーチン処理に入るかが判断され(S16)、サブルーチン処理に入らない場合(S16:No)、S12の処理に戻り、画像が取得される。
FIG. 10A is a main routine of processing in the installation
サブルーチン処理に入る場合(S16:Yes)、後述するサブルーチン処理が実行される(S100)。サブルーチン処理が終了するまで(S18:No)、S100に戻り、サブルーチン処理が継続される。サブルーチン処理が終了すると(S18:Yes)、処理表示の終了が指示されているかが判断され(S20)、処理表示の終了が指示されるまで(S20:No)、S12の処理に戻り、処理が継続される。 When entering the subroutine process (S16: Yes), the subroutine process described later is executed (S100). Until the subroutine processing is completed (S18: No), the process returns to S100 and the subroutine processing is continued. When the subroutine process is completed (S18: Yes), it is determined whether the end of the process display is instructed (S20), and until the end of the process display is instructed (S20: No), the process returns to the process of S12 and the process is performed. Will be continued.
図11(A)は、図4を参照して上述した表示角度の自動補正アイコン126での処理を実行するサブルーチン処理を示す。
設置位置調整装置10は、上述したように取得した画像中のQRコードの上下左右を判断し、設定された上下左右方向に対して何度傾いているかを検出する(S122)。そして、表示角度の自動補正アイコン126がクリックされ、ずれ補正の指示があると(S124:Yes)、補正前の図4(A)中のQRコードのように正しい位置に対して、90°反時計方向に傾いている場合、図4(B)中に示されるように、QRコードQが90°、反時計方向に自動的に回転されると共に、併せて、対象物Wの画像表示が90°、反時計方向に回転される(S126)。
FIG. 11A shows a subroutine process for executing the process with the above-mentioned
The installation
図11(B)は、図4を参照して上述した表示内容の回転指示アイコン122での処理を実行するサブルーチン処理を示す。
設置位置調整装置10は、回転指示アイコン122が1回クリックされ、1/4回転が指示された場合(S132:Yes)、図4(A)中の表示されていたQRコードを、図4(B)中に示されるように、QRコードQを反時計方向に1/4回転されると共に、併せて、対象物Wの画像表示が、反時計方向に1/4回転される。
FIG. 11B shows a subroutine process for executing the process of the
When the
図11(C)は、図5を参照して上述した回転角度指示アイコン124での処理を実行するサブルーチン処理を示す。
設置位置調整装置10は、表示内容の回転角度指示アイコン124に45°の回転が指示され場合(S142:Yes)、図4(B)中に示されるように、QRコードQが45°、反時計方向に回転されると共に、併せて、対象物Wの画像表示が45°、反時計方向に回転される(S144)。
FIG. 11C shows a subroutine process for executing the process with the rotation
When the rotation
図6は、第1実施形態に係る設置位置調整装置の作業者の立ち位置調整画像の説明図である。図6(A)は立ち位置調整前の画像を、図6(B)は立ち位置調整後の確認画像を表している。
設置位置調整装置10は、モニター15に、QRコードに対する作業者の向きを入力する作業者角度指示アイコン128、QRコードQの画像と共に、QRコードに対する作業者の位置を示す作業者アイコンOPを表示する。そして、作業者角度指示アイコン128を介して90°が入力されると、作業者アイコンOPをQRコードに対して90°回転させ表示が成される。この後、作業者の位置が正しく入力されたことを示す、確認操作が行われると、図4(A)に示す表示角度調整の画像に戻る。この際に、図6(A)に示されたQRコードQは、図6(B)に示された作業者側からの正面方向(ここでは、2個の切り出しシンボルQSが下側にあり、1個の切り出しシンボルQSが右上側)と一致するように図4(A)に示す表示角度調整でのQRコードの画像が調整される。第1実施形態では、二次元コード読取装置側の作業者の位置を容易に入力することができる。
FIG. 6 is an explanatory view of a standing position adjustment image of an operator of the installation position adjustment device according to the first embodiment. FIG. 6A shows an image before the standing position adjustment, and FIG. 6B shows a confirmation image after the standing position adjustment.
The installation
図10(B)は、図6を参照して上述した作業者の立ち位置調整での処理を実行するサブルーチン処理を示す。
設置位置調整装置10は、作業者の位置入力を開始する指示を受けると(S102)、図6(A)に示される立ち位置調整の画像をモニター15に表示する(S104)。そして、作業者の位置の角度が入力されると(S106)、図6(B)に示されるように入力された角度分、作業者アイコンOPをQRコードに対して回転させれ表示が成される(S108)。そして、作業者の位置が正しく入力できたことを示す確認操作(例えば、図示しない「確認」のアイコンのクリック)が成されると(S110:Yes)、作業者の位置(角度)が設定され(S112)、図4(A)に示す表示角度調整の画像に戻る(S114)。この際に、図6(A)に示されたQRコードQは、図6(B)に示された作業者側からの正面方向(ここでは、2個の切り出しシンボルQSが下側にあり、1個の切り出しシンボルQSが右上側)と一致するように図4(A)に示す表示角度調整でのQRコードの画像が調整される。第1実施形態では、設置位置調整装置側の作業者と二次元コード読取装置側の作業者との連帯が取りやすくなり、二次元コード読取装置の位置合わせが容易になる。
FIG. 10B shows a subroutine process for executing the process of adjusting the standing position of the worker described above with reference to FIG.
When the installation
図7(A)は二次元コードの傾きを表示する傾き表示画像の説明図である。図7(A)の例では、正面に対して二次元コードが傾き、右側から見ては二次元コードが水平になっていることを示す表示画面である。 FIG. 7A is an explanatory diagram of a tilt display image displaying the tilt of the two-dimensional code. In the example of FIG. 7A, it is a display screen showing that the two-dimensional code is tilted with respect to the front surface and the two-dimensional code is horizontal when viewed from the right side.
図8(A)、図8(B)は、同じく二次元コードの傾きを表示する傾き表示画像の説明図である。図8(A)の例では、正面から見て(正面図)、左右方向は水平で、側面から見て(側面図)、前方向が後ろ方向よりも下がっていることを示す表示画面である。図8(B)の例では、正面から見て(正面図)、右方向が左方向よりも下がり、側面から見て(側面図)、前後方向が水平であることを示す表示画面である。第1実施形態では、作業者がモニター15上で二次元コードの傾きを視認することができる。
8 (A) and 8 (B) are explanatory views of a tilt display image that also displays the tilt of the two-dimensional code. In the example of FIG. 8A, it is a display screen showing that the front direction is horizontal when viewed from the front (front view) and the front direction is lower than the rear direction when viewed from the side (side view). .. In the example of FIG. 8B, it is a display screen showing that the right direction is lower than the left direction and the front-back direction is horizontal when viewed from the side (side view) when viewed from the front (front view). In the first embodiment, the operator can visually recognize the inclination of the two-dimensional code on the
図12(A)は、図7(A),図8を参照して上述した二次元コードの傾き表示での処理を実行するサブルーチン処理を示す。
設置位置調整装置10は、傾斜表示の指示があると(S152:Yes)、撮像した二次元コードの外形の上下、左右の辺の長さを比較する(S154)。ここでは、図15(A)に示される二次元コード(QRコード)の上辺UL、下辺BLと、右辺RL、左辺LLとの長さが比較され、二次元コード読取装置に対する二次元コードの傾きが推定される。そして、差が小さい場合(S156:Yes)、傾きは少ないとの判断が為され、モニター上に図示されない二次元コードに傾きが無い画像が表示される(S158)。
FIG. 12 (A) shows a subroutine process for executing the above-described processing for displaying the inclination of the two-dimensional code with reference to FIGS. 7 (A) and 8.
When the installation
差が大きい場合(S156:No)、傾きが大きいとの判断が為され、図15(B)に示されるようにQRコードの画像が(1)〜(9)のセルに分割され、各、各セルサイズから傾きの方向と、傾きが判断される(S160)。そして、図8で例示されたように傾き画像が表示される(S162)。 When the difference is large (S156: No), it is determined that the inclination is large, and the image of the QR code is divided into cells (1) to (9) as shown in FIG. 15 (B). The direction of inclination and the inclination are determined from each cell size (S160). Then, the tilt image is displayed as illustrated in FIG. 8 (S162).
ここで、(1)、(2)、(3)のセルサイズが、(7)、(8)、(9)のセルサイズよりも大きい場合、二次元コードの上部位置が近く、正面側に倒れるように傾いていると判断され、図8(A)に示される傾き表示が為される。 Here, when the cell sizes of (1), (2), and (3) are larger than the cell sizes of (7), (8), and (9), the upper position of the two-dimensional code is close to the front side. It is determined that the vehicle is tilted so as to fall, and the tilt display shown in FIG. 8A is displayed.
他方、(1)、(4)、(7)のセルサイズが、(3)、(6)、(9)のセルサイズよりも大きい場合、二次元コードの左部分が近く、右面側に倒れるように傾いていると判断され、図8(B)に示される傾き表示が為される。第1実施形態では、適切にQRコードの傾きを検出し、画像表示することができる。 On the other hand, when the cell sizes of (1), (4) and (7) are larger than the cell sizes of (3), (6) and (9), the left part of the two-dimensional code is close and falls to the right side. It is determined that the tilt is as shown above, and the tilt display shown in FIG. 8B is displayed. In the first embodiment, the inclination of the QR code can be appropriately detected and an image can be displayed.
図7(B)は、二次元コード読取装置110の傾きを表示する傾き表示画像の説明図である。図7(B)の例では、正面方向から見て二次元コード読取装置110が左側に傾き、右側から見て二次元コード読取装置110が水平になっていることを示す表示画面である。第1実施形態では、作業者がモニター15の画像上で二次元コード読取装置の傾きを視認することができる。
FIG. 7B is an explanatory diagram of a tilt display image displaying the tilt of the two-dimensional
図12(B)は、図7(B)を参照して上述した二次元コード読取装置110の傾き表示での処理を実行するサブルーチン処理を示す。
設置位置調整装置10は、二次元コード読取装置の傾斜表示の指示があると(S172:Yes)、図3中に示される二次元コード読取装置内のGセンサ41からの検出データを取得し(S174)、検出データに基づき、図7(B)に示される二次元コード読取装置の傾き表示画像をモニター15に表示する(S176)。
FIG. 12B shows a subroutine process for executing the process in the tilt display of the two-dimensional
When the installation
図16は、設置位置調整装置10による二次元コードの傾きの三次元表示のイメージ図である。図13は、図16を参照して上述した三次元データ作成の表示処理を実行するサブルーチン処理を示す。
設置位置調整装置10は、二次元コードの傾きの三次元表示の指示があると(S182:Yes)、図15(C)に示されるように、二次元コードを縦5×横5セルに分割し、各セルサイズを獲得する(S184)。設置位置調整装置10は、二次元コードの分割した部分の内、オートフォーカス機能を用いて、焦点が最も合っている分割部分を検出し、その分割部分と二次元コード読取装置との距離を二次元コード読取装置との焦点距離と仮定する(S186)。S186の処理で求められた焦点が最も合っている分割部分のセルサイズで仮定した距離を基準に、分割した二次元コードの各分割部分と二次元コード読取装置との距離が推定される(S188)。即ち、二次元コードの特性上、セルサイズは全て同一の大きさであり、光学的に同じサイズもの物の見え方は距離と比例関係にあるため、距離を求めたい部分のセルサイズと基準となるセルサイズとの距離から、距離が算出される。そして、S188で推測した各分割部分の二次元コードの距離から三次元グラフのデータが作成され、図16に示されるようにモニター上に表示される(S190)。
FIG. 16 is an image diagram of a three-dimensional display of the inclination of the two-dimensional code by the installation
When the installation
第1実施形態では、作業者に理解し易いように3次元グラフで二次元コードの傾きが表示される。また、二次元コードは、円筒の対象物、円形の対象物等の湾曲部分に付されることもるため、三次元表示が成されることで、二次元コードがどのような状態で付けられているが容易に認識できるようにされる。 In the first embodiment, the slope of the two-dimensional code is displayed on the three-dimensional graph so that the operator can easily understand it. In addition, since the two-dimensional code can be attached to curved parts such as cylindrical objects and circular objects, the two-dimensional code can be attached in any state by making a three-dimensional display. However, it is made easy to recognize.
図17は、第1実施形態に係る設置位置調整装置のオートフォーカス表示画像の説明図である
設置位置調整装置10は、読み取り画像の画像フォーカスを合わせるため、オートフォーカス中の各距離毎のオートフォーカス評価値のグラフGFを表示し、グラフGF中のピークを作業者に入力させることで、フォーカスポイントFPを画像中に表示し、どのピーク時の設定が適正であるか、作業者に目視で確認できるようにする。オートフォーカス評価値のグラフGFではX軸に距離が、Y軸にオートフォーカス評価値が取られている。図17中では、オートフォーカス評価値のグラフGF中で二次元コード読取装置からの距離の異なるBLACKの文字LEにピークP1が、QRコードQにピークP2が現れ、グラフGF中でピークP2が選択されることで、QRコードQの画像上にフォーカスポイントFPが重なり、作業者が目視で確認できる。作業者は適切に距離を合わせることができたかを確認することができる。
FIG. 17 is an explanatory diagram of an autofocus display image of the installation position adjusting device according to the first embodiment. The installation
図14は、図17を参照して上述したオートフォーカスのサブルーチン処理を示すフローチャートである。図18は、第1実施形態に係る設置位置調整装置のオートフォーカス評価値のグラフ作成の説明図である。
設置位置調整装置10は、表示画像上のフォーカスポイントの座標(X、Y)を確認し(S302)、二次元コード読取装置に対してオートフォーカスの実施を要求し(S304)、二次元コード読取装置からオートフォーカス進捗結果を受信し(S306)、二次元コード読取装置から受信したオートフォーカス距離と評価値とその画像データを保存する(S308)。S306、S308での処理は、オートフォーカスが完了するまで繰り替えされる(S310:No)。そして、オートフォーカスが完了すると(S310:Yes)、保存したオートフォーカスの距離の評価値のデータを距離の昇順に並び替えられ、図18(A)に示されるように並び替えたデータをX軸:距離、Y軸:評価値でグラフ表示が成される(S314)。昇順に並び替えられた距離と評価値から、距離毎に評価値の変化量が計算される(S316)。計算した距離毎に評価値の変化量から、距離毎の変化量の差分が計算され、変化量のサブルーチンの+−が反転した距離が確認され、図18(B)中に示されるようにオートフォーカス評価値のグラフGF中で凹範囲、凸範囲が確認される(S318)。凹範囲、凸範囲の内、凸範囲に有る評価値の最大値が図18(C)中に示されるようにピークP1、ピークP2とされる(S320)。そして、作業者がピーク部分をクリックしたかが判断され(S322)、クリックが成されるまでは(S322:No)、最もフォーカスの合った距離の画像が表示される(S326)。クリックが成されると(S322:Yes)、S308で保存した画像のうち、ピーク部分の距離の画像が表示される(S324)。
FIG. 14 is a flowchart showing the above-mentioned autofocus subroutine processing with reference to FIG. FIG. 18 is an explanatory diagram of creating a graph of the autofocus evaluation value of the installation position adjusting device according to the first embodiment.
The installation
図19及び図20は、第1実施形態に係る設置位置調整装置のマージン表示画像の説明図である。図19(A)はマージン表示画像の説明図であり、図19(B)は角度合わせマーカ表示画像の説明図である。 19 and 20 are explanatory views of a margin display image of the installation position adjusting device according to the first embodiment. FIG. 19A is an explanatory diagram of a margin display image, and FIG. 19B is an explanatory diagram of an angle matching marker display image.
QRコードのマージンが表示されるモードが選択されると、設置位置調整装置10は、図19(A)に示されるようにモニター15に、QRコードQの画像と共に撮像されたQRコードQの画像の周囲にマージンMを表示させる。マージンは、QRコードの4辺を囲む、何も表示されない領域で、上下左右、それぞれ4セル分の確保が確実な読み取りのためには必要とされる。更に、モニター15の画像に、QRコードの水平方向に対する角度ずれ(この例では30°)が表示される。この例では、3個の切り出しシンボルQSの位置に関係なく、QRコードの水平方向に対する角度ずれの修正を促す。QRコードを水平方向に合わせることで、実用上十分短時間での読み取りが可能であるからである。
When the mode in which the QR code margin is displayed is selected, the installation
なお、図9(A)中に示された二次元コードとしてQRコードに対しては、2個の切り出しシンボルQSが上側にあり、1個の切り出しシンボルQSが左下側にあることが、正しい位置として設定されている場合、この正しい位置からの角度ずれ(この例では−60°)を表示させることも可能である。QRコードを正しい位置に合わせることで読み取り速度を最速にすることができる。 It should be noted that, as the two-dimensional code shown in FIG. 9 (A), it is a correct position that two cutout symbols QS are on the upper side and one cutout symbol QS is on the lower left side with respect to the QR code. When set as, it is also possible to display the angular deviation from this correct position (-60 ° in this example). The reading speed can be maximized by aligning the QR code with the correct position.
そして、図19(B)に示されるようにQRコードの角度ずれが大きいとき(例えば10°以上、ここでは30°)、設置位置調整装置10は、角度ずれの修正を促す「コードの傾きが大きいです。コードの傾きをマーカに合わせてください」との指示表示COをQRコードの写し出されているモニター15に表示すると共に、モニター15に併設された図示しないスピーカから「コードの傾きが大きいです。コードの傾きをマーカに合わせてください」との音声出力を行う。更に、QRコードの傾きを修正したマーカMKがモニター15に表示される。マーカMKは、視認が容易なように赤色、青色等のQRコードQ、マージンMと異なる色で表示される。
Then, when the angle deviation of the QR code is large as shown in FIG. 19B (for example, 10 ° or more, 30 ° in this case), the installation
第1実施形態の設置位置調整装置10では、検出したQRコードの角度ずれを、モニター15に表示させるため、QRコードの角度ずれの修正が容易である。また、撮像したQRコードに、マージンMを付加してモニター15に表示させるため、撮像範囲内にマージンが納まっているかを容易に確認させ、QRコードを読み取りが確実にできる位置に位置合わせさせることができる。
In the installation
第1実施形態の設置位置調整装置10では、QRコードの角度ずれが大きいと判断された際に、角度ずれが大きいことを指示する「コードの傾きが大きいです。コードの傾きをマーカに合わせてください」との指示表示COを表示するため、QRコードの角度が大きくずれ、読み取り時間が長くなることを防ぐことができる。
In the installation
第1実施形態の設置位置調整装置10では、QRコードの角度ずれが大きいと判断された際に、角度ずれが大きいことを指示する「コードの傾きが大きいです。コードの傾きをマーカに合わせてください」との指示表示COを表示すると共に、撮像したQRコードの位置合わせ用のマーカMKをモニター15に表示する。このため、QRコードの角度ずれが大きい場合でも、マーカMKを用いてQRコードの位置を容易に調整することができる。
In the installation
図20(A)はマージンはみ出し表示画像の説明図である。
設置位置調整装置10は、モニター15に、QRコードQの画像と共に撮像されたQRコードQの画像の周囲にマージンMを表示させた際に、マージンMが撮像範囲からはみ出している場合、マージンがはみ出していることを指示する「マージンが撮像範囲からはみ出ています。」との指示表示COをQRコードQ、マージンMの写し出されているモニター15に表示すると共に、モニター15に併設された図示しないスピーカから「マージンが撮像範囲からはみ出ています。」との音声出力を行う。
FIG. 20A is an explanatory diagram of a display image in which the margin protrudes.
When the installation
第1実施形態の設置位置調整装置10では、マージンが撮像範囲内にあるか否かを判断し、撮像範囲外であると判断した際に、マージンが撮像範囲外であることを指示する。撮像範囲内にマージンを納めさせることで、QRコードを確実に読み取ることができる。
The installation
図20(B)はQRコード以外のデータがマージン内に存在している際の表示画像の説明図である。
設置位置調整装置10は、モニター15に、QRコードQの画像と共に撮像されたQRコードQの画像の周囲にマージンMを表示させた際に、マージン内にQRコード以外のデータ(この例では枠)がある場合、データが存在することを指示する「マージンにコード以外のデータがあります。」との指示表示COをQRコードQ、マージンMの写し出されているモニター15に表示すると共に、モニター15に併設された図示しないスピーカから「マージンにコード以外のデータがあります。」との音声出力を行う。
FIG. 20B is an explanatory diagram of a display image when data other than the QR code exists in the margin.
When the installation
第1実施形態の設置位置調整装置10では、マージン内にQRコード以外のデータがあるか否かを判断し、QRコード以外のデータがあると判断した際に、QRコード以外のデータがあることを指示する。マージン内に他のデータを存在させないことで、QRコードを確実に読み取ることができる。
In the installation
引き続き、図19,20を参照して上述したQRコードのマージンが表示されるモードが選択された際の処理について説明が成される。
設置位置調整装置10は、図10(A)に示されるメインルーチンで二次元コード読取装置110から画像を取得し(S12)、画像表示を行う(S14)。そして、サブルーチン処理に入るかが判断され(S16)、サブルーチン処理に入る場合(S16:Yes)、サブルーチン処理が実行される(S100)。
Subsequently, the processing when the mode in which the margin of the QR code is displayed is selected with reference to FIGS. 19 and 20 will be described.
The installation
図21は、設置位置調整装置10でのマージン表示のサブルーチン処理を示すフローチャートである。
QRコードのマージン表示が指示されたか判断される(S400)。マージン表示が指示されない場合(S400:No)、処理が図10のS100に戻り、サブルーチン処理が継続される。マージン表示が指示されると(S400:Yes)、設置位置調整装置10は、図19(A)に示されるようにQRコードQの角度ずれを検出し(S401)、図19(A)に示されるように、検出した角度ずれに対応させQRコードを傾けてモニター15に表示すると共に、検出したずれ角度(この例では30°)をモニター15に表示する(S402)。更に、設置位置調整装置10は、QRコードQの画像の周囲にマージンMを表示させる(S404)。
FIG. 21 is a flowchart showing the subroutine processing of the margin display in the installation
It is determined whether the margin display of the QR code is instructed (S400). When the margin display is not instructed (S400: No), the process returns to S100 in FIG. 10, and the subroutine process is continued. When the margin display is instructed (S400: Yes), the installation
設置位置調整装置10は、QRコードの角度ずれが大きい(例えば10°以上)か判断する(S406)。図19(B)に示されるようにQRコードの角度ずれが大きいとき(S406:Yes)、図19(B)に示されるように、角度ずれの修正を促す「コードの傾きが大きいです。コードの傾きをマーカに合わせてください」との指示表示COをQRコードの写し出されているモニター15に表示すると共に、モニター15に併設された図示しないスピーカから「コードの傾きが大きいです。コードの傾きをマーカに合わせてください」との音声出力を行う。更に、QRコードの傾きを修正したマーカMKをモニター15に表示する(S408)。
The installation
更に、設置位置調整装置10は、撮像されたQRコードQの画像の周囲にマージンMを表示させた際に、マージンMが撮像範囲からはみ出しているかを判断する(S410)。マージンMが撮像範囲からはみ出している場合(S410:Yes)、図20(A)に示されるように、マージンがはみ出していることを指示する「マージンが撮像範囲からはみ出ています。」との指示表示COをQRコードQ、マージンMの写し出されているモニター15に表示すると共に、モニター15に併設された図示しないスピーカから「マージンが撮像範囲からはみ出ています。」との音声出力を行う(S412)。
Further, the installation
また更に、設置位置調整装置10は、モニター15に、撮像されたQRコードQの画像の周囲にマージンMを表示させた際に、マージン内にQRコード以外のデータがあるか判断する(S414)。マージン内にQRコード以外のデータがある場合(S414:Yes)、図20(B)に示されるように、データが存在することを指示する「マージンにコード以外のデータがあります。」との指示表示COをQRコードQ、マージンMの写し出されているモニター15に表示すると共に、モニター15に併設された図示しないスピーカから「マージンにコード以外のデータがあります。」との音声出力を行う(S416)。
Furthermore, when the installation
上述した処理が、マージン表示指示が終了するまで繰り返され(S418:No)、マージン表示指示の終了で(S418:Yes)で、図21に示されるマージン表示のサブルーチン処理が終了する。 The above-mentioned process is repeated until the margin display instruction is completed (S418: No), and at the end of the margin display instruction (S418: Yes), the margin display subroutine process shown in FIG. 21 ends.
第1実施形態の設置位置調整装置10での複数のQRコードを撮像する際の処理について、図27〜図34を参照して説明する。
図27(A)は、設置位置調整装置10で複数のQRコードが撮像されたときのモニター15での表示画像の説明図である。
実施形態の設置位置調整装置10は、モニター15に複数のQRコードを画像表示する際には、検出できた全てのQRコードに対して符番し、番号を表示することで作業者にQRコードを識別させる。QRコードC1に対しては(1)CODE1と、QRコードC2に対しては(2)CODE2と、QRコードC3に対しては(3)CODE3との識別用の表示(識別情報)を付す。
The processing when a plurality of QR codes are imaged by the installation
FIG. 27A is an explanatory diagram of a display image on the
When displaying a plurality of QR codes as images on the
図27(B)は、設置位置調整装置10で複数のQRコードが撮像された別例の表示画像の説明図である。
別例の表示画像では、検出できたQRコードに対して符番し、番号を表示すると共にデコードの結果を表示することで作業者にQRコードを識別させる。QRコードC1に対しては(1)9999999999と、QRコードC2に対しては(2)0123456789との識別用の表示(識別情報)を付す。更に、QRコードに対して、読み取り及び調整結果を情報画像IF1として表示を行う。この例では、デコードされたQRコードC2(0123456789)をシャッタ速度90ms、明るさ80%、フォーカス距離50cmで読み取ったことが表示される。
FIG. 27B is an explanatory diagram of another example display image in which a plurality of QR codes are captured by the installation
In the display image of another example, the detected QR code is numbered, the number is displayed, and the decoding result is displayed so that the operator can identify the QR code. The QR code C1 is provided with (1) 999999999999, and the QR code C2 is provided with (2) 0123456789 for identification (identification information). Further, the reading and adjustment results are displayed as the information image IF1 on the QR code. In this example, it is displayed that the decoded QR code C2 (0123456789) is read at a shutter speed of 90 ms, a brightness of 80%, and a focus distance of 50 cm.
図31は、設置位置調整装置10での、複数のQRコードが撮像された際のサブルーチン処理を示すフローチャートである。
図31でのサブルーチン処理は、図10(A)を参照して前述したメインルーチンのS100でのサブルーチン処理として行われる。即ち、図10(B)〜図14を参照し前述した位置調整等の処理に先行、または、同時に図31でのサブルーチン処理は実行される。
FIG. 31 is a flowchart showing the subroutine processing when a plurality of QR codes are imaged by the installation
The subroutine processing in FIG. 31 is performed as the subroutine processing in S100 of the main routine described above with reference to FIG. 10A. That is, the subroutine processing in FIG. 31 is executed prior to or at the same time as the processing such as the position adjustment described above with reference to FIGS. 10B to 14.
二次元コード読取装置110で撮像された画像に複数のQRコードが存在しているかが判断される(S402)。ここで、複数のQRコードが存在しない場合(S402:No)、処理が終了する。他方、複数のQRコードが存在する場合(S402:Yes)、図27(A)を参照して上述したように、モニター15に全てのQRコードに対して番号を表示することで作業者にQRコードを識別させる(S406)。そして、二次元コード読取装置の位置調整対象に指定された二次元コード(第1順位のQRコード)を特定させる。即ち、複数の二次元コードを読み取る際に、最重要な二次元コードを位置調整対象に指定することで、当該二次元コードを確実に読み取れるように二次元コード読取装置を調整させる。ここで、例えば、図2に示される入力部16の図示しないテンキーで「1」が入力されることで、QRコードC1が指定された場合(406:Yes)、図29に示されるように、第1順位のコード(QRコードC1)をカーソルCUで特定する識別表示を行うと共に、QRコードに対して、読み取り及び調整結果を情報画像IF2として表示を行う(S408)。この例では、デコードされたQRコードC1(CODE1)を、設定値としてシャッタ速度90ms、明るさ80%、フォーカス距離50cmで読み取ったことが表示される。第1実施形態では、位置調整対象に指定された二次元コードの特定を二次元コードに付され表示されるカーソルで行う。このため、確実に確認できるように位置調整対象の二次元コードを特定できる。なお、この例では、入力部16のテンキーで「1」が入力された際の処理について述べたが、例えば、入力部16の図示しないマウスでカーソルCUが動かされ、マウスのクリック操作でQRコードC1が指定された場合も同様に処理が行われる。
It is determined whether or not a plurality of QR codes are present in the image captured by the two-dimensional code reading device 110 (S402). Here, if a plurality of QR codes do not exist (S402: No), the process ends. On the other hand, when a plurality of QR codes exist (S402: Yes), as described above with reference to FIG. 27 (A), the QR code is displayed to the operator by displaying the numbers for all the QR codes on the
そして、図10(B)〜図14を参照し前述した位置調整の処理が行われ、指定されたQRコードC1に対して、二次元コード読取装置110が位置調整される。
Then, the above-described position adjustment process is performed with reference to FIGS. 10 (B) to 14 to adjust the position of the two-dimensional
位置調整が完了し、第1順位のQRコードに対する位置調整完了の入力があると(S410:Yes)、第2順位以下のQRコード(第1順位として指定されていないQRコード)、この例では、QRコードC2、QRコードC3に対して、それぞれに最適な読み取りが行えるように、撮像の際の光学系のシャッタ速度、明るさ、フォーカス距離が調整される(S412)。そして、全てのQRコードの撮像、調整が行われると(S414:Yes)、調整結果が二次元コード読取装置110に転送され(S416)、後述する調整結果表示処理(S500)が行われた後、処理が終了する。ここでは、第1順位のQRコードの指定のみの処理について説明が行われたが、重要度に応じて、QRコードを第1順位、第2順位、第3順位等、すべて順位を付けることも可能である。 When the position adjustment is completed and there is an input of the position adjustment completion for the QR code of the first rank (S410: Yes), the QR code of the second rank or lower (the QR code not designated as the first rank), in this example, , The shutter speed, brightness, and focus distance of the optical system at the time of imaging are adjusted so that the QR code C2 and the QR code C3 can be read optimally (S412). Then, when all the QR codes are imaged and adjusted (S414: Yes), the adjustment result is transferred to the two-dimensional code reading device 110 (S416), and after the adjustment result display process (S500) described later is performed. , The process ends. Here, the process of only specifying the QR code of the first rank was explained, but it is also possible to rank all the QR codes such as the first rank, the second rank, the third rank, etc. according to the importance. It is possible.
第1実施形態では、複数の二次元コードを読み取る際に、最重要な二次元コードを位置調整対象に指定することで、当該二次元コードを確実に読み取れるように二次元コード読取装置を調整することができる。更に、位置調整対象に指定された以外の二次元コードの読み取り条件を個々に調整し、調整結果を保持することで、当該調整位置の二次元コード読取装置で、指定された以外の二次元コードも短時間でほぼ確実に読み取れるようになる。また、第1実施形態では、個々の二次元コードに番号を付して表示するので、容易に位置調整対象の二次元コードを指定できる。 In the first embodiment, when reading a plurality of two-dimensional codes, the most important two-dimensional code is designated as the position adjustment target, and the two-dimensional code reading device is adjusted so that the two-dimensional code can be read reliably. be able to. Furthermore, by individually adjusting the reading conditions of the two-dimensional code other than the one specified as the position adjustment target and holding the adjustment result, the two-dimensional code reading device at the adjustment position uses the two-dimensional code other than the one specified. Will almost certainly be readable in a short time. Further, in the first embodiment, since the individual two-dimensional codes are numbered and displayed, the two-dimensional code to be adjusted can be easily specified.
図30は、上記調整結果表示処理(S500)における、第1実施形態に係るQRコードの撮像設定値の表示画像の説明図である。
第1実施形態の設置位置調整装置10は、撮像調整のされたQRコードについて設定値を表示する。例えば、カーソルCUで、QRコードC2が指示された際、情報画像IF4として表示を行う。この例では、QRコードC2のデータ(ここではCODE2)、撮像の設定値としてシャッタ速度80ms、明るさ70%、フォーカス距離60cmに調整されたことが表示される。
FIG. 30 is an explanatory diagram of a display image of the image pickup set value of the QR code according to the first embodiment in the adjustment result display process (S500).
The installation
図34は、上記調整結果表示処理(S500)における、QRコードの撮像条件表示を示すフローチャートである。
特定のQRコードの撮像条件を表示する指示、例えば、図30の表示でカーソルCUが動かされ、QRコードC2が指示されたとき(S602:Yes)、情報画像IF4として撮像条件の表示を行う(S604)。この例では、QRコードC2のデータ(ここではCODE2)、撮像の設定値としてシャッタ速度80ms、明るさ70%、フォーカス距離60cmに調整されたことが表示される。そして、表示指示の終了、例えば、所定時間の経過、次処理の指示により(S606:Yes)、処理が終了する。第1実施形態では、位置調整対象に指定された二次元コードの読み取り条件を表示するため、作業者は読み取り条件の確認が行える。
FIG. 34 is a flowchart showing the image pickup condition display of the QR code in the adjustment result display process (S500).
When an instruction to display the imaging condition of a specific QR code, for example, the cursor CU is moved by the display of FIG. 30 and the QR code C2 is instructed (S602: Yes), the imaging condition is displayed as the information image IF4 ( S604). In this example, it is displayed that the data of the QR code C2 (here, CODE2) and the setting values for imaging are adjusted to a shutter speed of 80 ms, a brightness of 70%, and a focus distance of 60 cm. Then, when the display instruction ends, for example, the elapse of a predetermined time and the instruction of the next process (S606: Yes), the process ends. In the first embodiment, since the reading condition of the two-dimensional code designated as the position adjustment target is displayed, the operator can confirm the reading condition.
図33は、調整結果が転送された二次元コード読取装置110での複数のQRコードの撮像処理のフローチャートである。
複数のQRコードが存在する場合(S502:Yes)、まず、第1順位のQRコード1の撮像条件が設定され(S504)、第1順位のQRコードC1の撮像、デコードが行われる(S506)。そして、次順位、ここでは、QRコードC1以外のQRコードC2、又はQRコードC3の撮像条件が設定され(S508)、次順位のQRコードの撮像、デコードが行われる(S510)。ここで、例えば、QRコードC1に第1順位、QRコードC2に第2順位、QRコードC3に第3順位が付けられている場合には、QRコードC1、QRコードC2、QRコードC3の順で撮像、デコードが行われて行く。そして、全てのQRコードの撮像、デコードが終了すると(S512:Yes)、処理が終了する。
FIG. 33 is a flowchart of the imaging process of a plurality of QR codes by the two-dimensional
When a plurality of QR codes exist (S502: Yes), first, the imaging condition of the first-ranked
第1実施形態では、調整結果を保持する二次元コード読取装置110は、位置調整対象に指定された以外の二次元コードの読み取りの際に、個々に保持した条件に調整する。このため、二次元コード読取装置で、指定された以外の二次元コードも短時間でほぼ確実に読み取れる。
In the first embodiment, the two-dimensional
図28は、第1実施形態の改変例に係る複数のQRコードの表示画像の説明図である。第1実施形態の改変例では、複数のQRコードが色分けで識別表示される。例えば、QRコードC1は、枠内が白色で表示されると共に、情報画像IF3内で、白色がコード1であることが特定される。QRコードC2は、枠内が赤色で表示されると共に、情報画像IF3内で、赤色がコード2であることが特定される。QRコードC2は、枠内が青色で表示されると共に、情報画像IF3内で、青色がコード3であることが特定される。
FIG. 28 is an explanatory diagram of display images of a plurality of QR codes according to a modified example of the first embodiment. In the modified example of the first embodiment, a plurality of QR codes are identified and displayed by color coding. For example, the QR code C1 is displayed in white in the frame, and it is specified that the white color is the
図32は、第1実施形態の改変例に係る設置位置調整装置10での、複数のQRコードが撮像された際のサブルーチン処理を示すフローチャートである。
図32でのサブルーチン処理は、図10(A)を参照して前述したメインルーチンのS100でのサブルーチン処理として行われる。
FIG. 32 is a flowchart showing a subroutine process when a plurality of QR codes are imaged in the installation
The subroutine processing in FIG. 32 is performed as the subroutine processing in S100 of the main routine described above with reference to FIG. 10A.
二次元コード読取装置110で撮像された画像に複数のQRコードが存在しているかが判断される(S402)。ここで、複数のQRコードが存在しない場合(S402:No)、処理が終了する。他方、複数のQRコードが存在する場合(S402:Yes)、図28を参照して上述したように、モニター15に全てのQRコードに対して番号を表示すると共に、各QRコードを色分け表示することで作業者にQRコードを識別させる(S424)。ここで、例えば、図2に示される入力部16の図示しないテンキーで白色に相当する「1」が入力されることで、QRコードC1が指定された場合(406:Yes)、図29に示されるように、第1順位のコード(QRコードC1)をカーソルCUで特定する識別表示を行うと共に、QRコードに対して、読み取り及び調整結果を情報画像IF2として表示を行う(S408)。以降の処理は第1実施形態と同様である。
It is determined whether or not a plurality of QR codes are present in the image captured by the two-dimensional code reading device 110 (S402). Here, if a plurality of QR codes do not exist (S402: No), the process ends. On the other hand, when a plurality of QR codes exist (S402: Yes), as described above with reference to FIG. 28, the numbers are displayed on the
第1実施形態の改変例では、個々の二次元コードを色分けして表示するので、容易に位置調整対象の二次元コードを指定できる。また、第1実施形態の改変例では、位置調整対象の二次元コードの指定を、色分けされた内の色選択により行わせる。容易に位置調整対象の二次元コードを指定できる。 In the modified example of the first embodiment, the individual two-dimensional codes are displayed in different colors, so that the two-dimensional code to be adjusted can be easily specified. Further, in the modified example of the first embodiment, the two-dimensional code to be adjusted is specified by color selection among the color-coded ones. You can easily specify the two-dimensional code to be adjusted.
[第2実施形態]
第2実施形態の二次元コード読取装置、設置位置調整装置は、二次元コード読取装置の初期位置設定では無く、初期位置設定の成された二次元コード読取装置が製造ラインのメンテナンス等のためいったん取り外された後、再度、初期位置設定に付け直す際の位置調整を行う。第2実施形態の二次元コード読取装置、設置位置調整装置のハードウエェア構成は、図2、図3で参照された第1実施形態の物と同様である。
[Second Embodiment]
The two-dimensional code reading device and the installation position adjusting device of the second embodiment are not the initial position setting of the two-dimensional code reading device, but the two-dimensional code reading device with the initial position setting is used for maintenance of the production line. After being removed, adjust the position when reattaching to the initial position setting. The hardware configuration of the two-dimensional code reading device and the installation position adjusting device of the second embodiment is the same as that of the first embodiment referred to in FIGS. 2 and 3.
第2実施形態では、画像中で画像特徴量が算出され、取り外し前の画像特徴量と取り外し後の一致度が高いか否かにより、二次元コードと二次元コード読取装置との相対位置が取り外し前と取り外し後で同じであるかが通知される。更に、調整中に一致方向に調整ができているかが、作業者に対してガイドが為される。 In the second embodiment, the image feature amount is calculated in the image, and the relative position between the two-dimensional code and the two-dimensional code reader is removed depending on whether the image feature amount before removal and the degree of agreement after removal are high. You will be notified if it is the same before and after removal. Further, the operator is guided to check whether the adjustment is made in the matching direction during the adjustment.
ここで、画像特徴量とは、コード位置情報から画像データの二次元コード、二次元コード周辺の情報から得られる。例えば、図9(A)に示されるQRコードに対して、にファインダパターン(切り出しシンボル)QSからQRコードの外形位置情報を得て、取り外し前の画像全体の中央にQRコードが入っている画像データに対して、画像全体に占めるQRコードの大きさを数値化し、画像特徴量とする。そして、取り外し後の画像全体の中央にQRコードが入っている画像データに対して、画像全体に占めるQRコードの大きさを数値化し、この一致度を算出し、一致度が高まるように作業者に対してガイドがなされる。ファインダパターン(切り出しシンボル)QSからQRコードの外形位置情報を得るため、適切に画像特徴量が得られる。 Here, the image feature amount is obtained from the code position information, the two-dimensional code of the image data, and the information around the two-dimensional code. For example, with respect to the QR code shown in FIG. 9A, an image in which the external position information of the QR code is obtained from the finder pattern (cutout symbol) QS and the QR code is contained in the center of the entire image before removal. The size of the QR code in the entire image is quantified with respect to the data and used as the image feature amount. Then, with respect to the image data in which the QR code is contained in the center of the entire image after removal, the size of the QR code occupying the entire image is quantified, the degree of matching is calculated, and the operator so as to increase the degree of matching. A guide is given to. Since the external position information of the QR code is obtained from the finder pattern (cutout symbol) QS, the image feature amount can be appropriately obtained.
画像特徴量としては、図9(B)に示されるように、二次元コードとしてデータマトリクスDMに対しては、アライメントパターンAPからデータマトリクスの外形位置情報が得られる。このため、適切に外形位置情報が得られる。また、図25中に示されるダイレクトマーキングのQRコードに対しては、QRコード内の輝度情報から得られる輝度勾配情報からQRコードの外形位置情報が得られる。このため、容易にダイレクトマーキングのQRコードから画像特徴量が得られる。 As the image feature amount, as shown in FIG. 9B, for the data matrix DM as a two-dimensional code, the external position information of the data matrix can be obtained from the alignment pattern AP. Therefore, the external position information can be appropriately obtained. Further, for the direct marking QR code shown in FIG. 25, the outer shape position information of the QR code can be obtained from the luminance gradient information obtained from the luminance information in the QR code. Therefore, the image feature amount can be easily obtained from the QR code of direct marking.
更に、第2実施形態では、二次元コードの外形位置情報のみならず、二次元コードの取り付けられた対象物Wの外形情報も画像特徴量として用いられる。図25(B)に示されるように、二次元コードの外形情報と、二次元コードの取り付けられた対象物Wの外形情報から、二次元コードの外形及び対象物Wの外形をなぞった枠Pが形成され、枠Pと二次元コードと対象物Wとを重ねるように二次元コード読取装置の微調整のガイドが成される。 Further, in the second embodiment, not only the outer shape position information of the two-dimensional code but also the outer shape information of the object W to which the two-dimensional code is attached is used as the image feature amount. As shown in FIG. 25B, a frame P that traces the outer shape of the two-dimensional code and the outer shape of the object W from the outer shape information of the two-dimensional code and the outer shape information of the object W to which the two-dimensional code is attached. Is formed, and a guide for fine adjustment of the two-dimensional code reader is made so as to overlap the frame P, the two-dimensional code, and the object W.
図22(A)は、任意タイミングでの画像特徴量を取得するたのためのサブルーチン処理を示す。
二次元コード読取装置、又は、設置位置調整装置は、画像データを撮像し(S222)、作業者が二次元コード読取装置の取り外し前の任意のタイミングで取得が指示された際に(S224:Yes)、画像データから画像特徴量を算出し(S226)、画像特徴量を記憶する(S228)。第2実施形態では、作業者は取り外し前に画像データを取得しておくことで、取り外し後に、容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。
FIG. 22A shows a subroutine process for acquiring an image feature amount at an arbitrary timing.
The two-dimensional code reading device or the installation position adjusting device captures image data (S222), and when the operator is instructed to acquire the image data at an arbitrary timing before the removal of the two-dimensional code reading device (S224: Yes). ), The image feature amount is calculated from the image data (S226), and the image feature amount is stored (S228). In the second embodiment, by acquiring the image data before the removal, the operator can easily reattach the two-dimensional code reading device to the position before the removal after the removal.
図22(B)は、所定周期での画像特徴量を自動で取得するたのためのサブルーチン処理を示す。
二次元コード読取装置、又は、設置位置調整装置は、画像データを撮像し(S232)、設定された周期になると(S234:Yes)、画像データから画像特徴量を算出し(S236)、画像特徴量を比較し(S238)、高い特徴量の画像データを特定して、画像特徴量を記憶する(S240)。第2実施形態では、作業者は取り外し前に自動で取得された画像データに基づき、取り外し後に、容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。
FIG. 22B shows a subroutine process for automatically acquiring an image feature amount in a predetermined cycle.
The two-dimensional code reader or the installation position adjusting device captures the image data (S232), and when the set cycle is reached (S234: Yes), the image feature amount is calculated from the image data (S236), and the image feature The amounts are compared (S238), image data with a high feature amount is specified, and the image feature amount is stored (S240). In the second embodiment, the operator can easily reattach the two-dimensional code reading device to the position before removal after removal based on the image data automatically acquired before removal.
図23(A)は、取り外された二次元コード読取装置を元の位置に付け直す際のサブルーチン処理を示す。
二次元コード読取装置は、作業者から取り付け作業開始の指示が成された際に(S252:Yes)、画像データを撮像し(S254)、画像データから画像特徴量を算出し(S256)、画像特徴量を記憶する(S258)。そして、二次元コード読取装置の取り外し前の複数の画像データの画像特徴量と、取り外し後の画像データの画像特徴量の一致度が算出され(S260)、一致度が高くなる読み取り環境が表示される(S262)。例えば、一致度が高くなる方向に二次元コード読取装置が調整されている際には、図3中に示されるLED43の点滅速度が速くなり、一致度が低くなる方向の二次元コード読取装置が調整されている際には、LED43の点滅速度が遅くなるである。この代わりに、図3中に示される液晶表示装置46による一致方向の表示も可能である。そして、一致度が所定閾値を超えたかいなか、即ち、ほぼ、取り外し前の位置に二次元コード読取装置を位置決めできた場合(S264:Yes)、一致が通知される(S266)。例えば、図3中に示されるブザー44により一致が通知される。S254〜S266の処理が、画像表示終了の指示があるまで(S268:No)、繰り替えされる。この第2実施形態では、ブザー44により一致が通知されたが、この代わりに、図3中に示されるLED43の発光、液晶表示装置46による一致表示も可能である。第2実施形態では、製造ラインの整備等で、二次元コード読取装置が取り外されても、作業者は容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。
FIG. 23A shows a subroutine process for reattaching the removed two-dimensional code reader to its original position.
When the operator gives an instruction to start the installation work (S252: Yes), the two-dimensional code reading device captures the image data (S254), calculates the image feature amount from the image data (S256), and displays the image. The feature amount is stored (S258). Then, the degree of matching between the image feature amount of the plurality of image data before the removal of the two-dimensional code reading device and the image feature amount of the image data after the removal is calculated (S260), and the reading environment in which the degree of matching is high is displayed. (S262). For example, when the two-dimensional code reading device is adjusted in the direction of increasing the degree of matching, the blinking speed of the
図23(B)は、輝度情報に基づき画像特徴量が算出されるためのサブルーチン処理を示す。図25(A)中のダイレクトマーキングのQRコードに対しては、輝度情報が取得され(S272)、輝度情報から得られる輝度勾配情報からQRコードの画像特徴量が算出される(S274)。 FIG. 23B shows a subroutine process for calculating the image feature amount based on the luminance information. For the direct marking QR code in FIG. 25 (A), the luminance information is acquired (S272), and the image feature amount of the QR code is calculated from the luminance gradient information obtained from the luminance information (S274).
図23(C)はエイマー光り形状情報に基づき画像特徴量が算出されるためのサブルーチン処理を示す。二次元コード読取装置110は、十字状のエイマー光りの照射装置58を備え、対象物に十字状のエイマー光りを照射する。そして、エイマー光が検出され(S282)、エイマー光りの十字状の形状データから画像特徴量が算出される(S284)。第2実施形態で、画像特徴量はエイマー光形状情報であるであるため、適切に画像特徴量が得られる。
FIG. 23C shows a subroutine process for calculating the image feature amount based on the Aimer light shape information. The two-dimensional
図25(A)は、画像特徴量から作成されたQRコードの外枠画像(特徴画像)Pが、撮像画像に重ねられている画像の説明図である。図25(B)は、画像特徴量から作成されたQRコードの外枠画像、及び、対象物Wの外形画像(特徴画像)Pが、撮像画像に重ねられている画像の説明図である。 FIG. 25A is an explanatory diagram of an image in which the outer frame image (feature image) P of the QR code created from the image feature amount is superimposed on the captured image. FIG. 25B is an explanatory diagram of an image in which the outer frame image of the QR code created from the image feature amount and the external image (feature image) P of the object W are superimposed on the captured image.
図24(A)は、図25(A)、(B)を参照して上述した特徴画像が撮像画像に重ねられている画像を作成する際のサブルーチン処理を示している。
設置位置調整装置10は、特徴画像の表示指示があると(S302:Yes)、二次元コード読取装置110を介して画像データを撮像し(S304)、画像特徴量を算出(S306)し、図25(A)に示されるQRコードの外枠画像(特徴画像)P、又は、図25(B)に示されるQRコードの外枠画像、及び、対象物Wの外形画像(特徴画像)Pを作成し(S308)、モニター15に撮像画像上に特徴画像Pを重ねて表示する(S310)。S304〜S310の処理が表示終了の指示があるまで(S312:No)、繰り返される。二次元コード読取装置に接続された設置位置調整装置の作業者は、二次元コード読取装置側の作業者に、復元位置の指示を送ることができる。
ここでは、画像表示が設置位置調整装置側のモニター15で行われたが、この画像表示を二次元コード読取装置110側の図3中に示される液晶表示装置46で行われることも可能である。これにより、二次元コード読取装置単体で、作業者は、取り外し後に、容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。
FIG. 24 (A) shows a subroutine process for creating an image in which the above-mentioned feature image is superimposed on the captured image with reference to FIGS. 25 (A) and 25 (B).
When the installation
Here, the image display is performed on the
第2実施形態では、特徴画像Pと、画像と重ねるように調整することで、作業者は、取り外し後に、容易に取り外し前の位置に二次元コード読取装置を付け直すことができる。 In the second embodiment, by adjusting the feature image P so as to overlap the image, the operator can easily reattach the two-dimensional code reading device to the position before the removal after the removal.
図26は、第2実施形態の改変例に係るマトリクス状に分割されたブロックで一致度が高いブロックを特定する画像の説明図である。画像中でマトリクス枠PSが画像に重ねて表示され、枠中で一致度の高い枠内に透過青色四角形色PPが表示される。 FIG. 26 is an explanatory diagram of an image that identifies blocks having a high degree of coincidence among the blocks divided into a matrix according to the modified example of the second embodiment. The matrix frame PS is displayed superimposed on the image in the image, and the transparent blue square color PP is displayed in the frame having a high degree of matching in the frame.
第2実施形態の改変例では、画像を局所領域に分割し、局所領域毎に予め保存してある画像特徴量に基づき、一致度が表示される。画像特徴量としては、輝度勾配情報を局所領域においてヒストグラム化するHOGが用いられる。コード領域およびコード周囲の局所領域毎のHOG情報により、予め保存してあったものと比較され、評価が成される。評価方法としてはHOGのコサイン類似度が使用される。表示方法としては、図26では、一致度の高い枠内に透過青色四角形色PPが表示されたが、この代わりにスコア表示することも可能である。 In the modified example of the second embodiment, the image is divided into local regions, and the degree of coincidence is displayed based on the image feature amount stored in advance for each local region. As the image feature amount, HOG that histograms the luminance gradient information in the local region is used. The HOG information for each code area and the local area around the code is compared with the one stored in advance and evaluated. The cosine similarity of HOG is used as the evaluation method. As a display method, in FIG. 26, the transparent blue square color PP is displayed in the frame having a high degree of agreement, but it is also possible to display the score instead.
図24(B)は、図26に示されたマトリクス状に分割されたブロックで一致度が高いブロックを特定する際のサブルーチン処理を示す。
設置位置調整装置10は、二次元コード読取装置110を介して取得した画像をブロックに分割し(S322)、ブロックHOG特徴量を算出し(S324)、記憶保存しているHOG特徴量とのコサイン類似度を評価する(S326)。そして、ブロック類似度が閾値以上かが判断され(S328)、閾値以上のブロックには、類似ブロックとして、図26中で示された透過青色四角形色PPが表示される(S330)。S322〜S330の処理が表示終了の指示があるまで(S332:No)、繰り返される。ここでは、画像表示が設置位置調整装置側のモニター15で行われたが、この画像表示を二次元コード読取装置110側の図3中に示される液晶表示装置46で行われることも可能である。
FIG. 24B shows a subroutine process for identifying a block having a high degree of matching among the blocks divided into the matrix shown in FIG. 26.
The installation
更に、第2実施形態の第2改変例として、複数の読み取り画像の差分を取ることにより、読み取り試行に不変的な画像領域を抽出し、それを自動的に特徴量算出エリアとすることも可能である。 Further, as a second modification of the second embodiment, it is also possible to extract an image area that is invariant to a reading attempt by taking a difference between a plurality of read images and automatically use it as a feature amount calculation area. Is.
第2実施形態の第3改変例として、複数の対象物(ワーク)を取り替えて運用される場合に、画像の類似度を検定し、どのワークなのか自動で判別することも可能である。即ち、ワークの種類分、特徴量を自動登録する構成が備えられる。 As a third modification example of the second embodiment, when a plurality of objects (workpieces) are replaced and operated, it is also possible to test the similarity of images and automatically determine which work is which. That is, a configuration is provided in which features are automatically registered for each type of work.
第2実施形態の第4改変例として、オートフォーカス機能を利用し、フォーカス位置による(深度成分の)画像特徴を使用し、一致度を出力することも可能である。作業者は、取り外し後に、容易に取り外し前の距離に二次元コード読取装置を付け直すことができる。 As a fourth modification example of the second embodiment, it is also possible to use the autofocus function, use the image feature (of the depth component) depending on the focus position, and output the degree of agreement. After removal, the operator can easily reattach the two-dimensional code reader to the distance before removal.
第2実施形態の第5改変例として、固定式の二次元コード読取装置では無く、ハンディスキャナを固定し、表示LEDにより環境一致指示を行う。簡易な構成のハンディスキャナ単体で、作業者は、取り外し後に、取り外し前の位置にハンディスキャナを付け直すことができる。 As a fifth modification of the second embodiment, a handy scanner is fixed instead of a fixed two-dimensional code reader, and an environment matching instruction is given by a display LED. With a simple handy scanner alone, the operator can reattach the handy scanner to the position before removal after removal.
10…設置位置調整装置
11…CPU
13…RAM(メモリ)
15…モニター
21…OS(オペレーティングシステム)
46…液晶表示装置
53…撮像器
110…二次元コード読取装置
10 ... Installation
13 ... RAM (memory)
15 ...
46 ... Liquid
Claims (41)
二次元コード読取装置が撮像した画像を取得する画像取得手段と、
取得した画像を表示する画像表示手段と、
予め設定された二次元コードの左右上下方向に対して、撮像された二次元コードの角度ずれを検出する角度ずれ検出手段と、
前記角度ずれ検出手段で検出された角度ずれを補正し、前記設定された左右上下方向で二次元コードを、前記画像表示手段で表示させる角度ずれ補正手段と、を備え、
前記画像表示手段は、前記二次元コードの付けられた読み取り対象物を、前記角度ずれ補正手段で二次元コードが回転された角度に対応して回転させて表示することを特徴とする設置位置調整装置。 It is an installation position adjustment device for a two-dimensional code reader,
An image acquisition means for acquiring an image captured by a two-dimensional code reader, and
An image display means for displaying the acquired image and
An angle deviation detecting means for detecting an angle deviation of the captured two-dimensional code in the left-right and up-down directions of the preset two-dimensional code, and
The angle deviation correcting means for correcting the angle deviation detected by the angle deviation detecting means and displaying the two-dimensional code in the set left / right / up / down direction by the image display means is provided.
The image display means is characterized in that the reading object to which the two-dimensional code is attached is rotated and displayed according to the angle at which the two-dimensional code is rotated by the angle deviation correction means. apparatus.
表示される前記二次元コードを所定角度回転させる所定回転手段と、
表示される前記二次元コードを入力された角度回転させる角度回転手段と、を備えることを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 1.
A predetermined rotating means for rotating the displayed two-dimensional code by a predetermined angle,
An installation position adjusting device comprising: an angle rotating means for rotating the displayed two-dimensional code by an input angle.
二次元コードに対する作業者の位置を入力する位置入力手段と、
前記作業者の位置から見える二次元コードの向きと、前記画像取得手段で表示される二次元コードの向きとを合わせる向き調整手段と、を備えることを特徴とする設置位置調整装置。 An installation position adjusting device for the two-dimensional code reading device according to claim 1 or 2.
A position input means for inputting the position of the worker with respect to the two-dimensional code, and
An installation position adjusting device comprising: an orientation adjusting means for matching the orientation of the two-dimensional code seen from the position of the worker with the orientation of the two-dimensional code displayed by the image acquisition means.
前記位置入力手段は、撮像された二次元コードと、撮像された二次元コードに対する作業者の位置とを同時に前記画像表示手段で表示させることで位置を入力させることを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 3.
The position input means is an installation position adjusting device characterized in that an imaged two-dimensional code and an operator's position with respect to the imaged two-dimensional code are simultaneously displayed by the image display means to input a position. ..
前記角度ずれ検出手段は、撮像された二次元コードの特徴から角度ずれを検出することを特徴とする設置位置調整装置。 An installation position adjusting device for the two-dimensional code reading device according to any one of claims 1 to 4.
The angle deviation detecting means is an installation position adjusting device characterized by detecting an angle deviation from the characteristics of an imaged two-dimensional code.
取得した二次元コードの画像から二次元コードの傾きを検出する傾き検出手段と、
前記検出された二次元コードの傾きを前記画像表示手段で表示するコード傾き表示手段と、を有することを特徴とする設置位置調整装置。 An installation position adjusting device for the two-dimensional code reading device according to any one of claims 1 to 4.
A tilt detecting means for detecting the tilt of the two-dimensional code from the acquired image of the two-dimensional code, and
An installation position adjusting device comprising: a code tilt display means for displaying the tilt of the detected two-dimensional code by the image display means.
前記二次元コード読取装置は、地面からの傾きを取得する傾き取得手段を有し、
取得した傾きから二次元コード読取装置の傾きを前記画像表示手段で表示する装置傾き表示手段を有することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 6.
The two-dimensional code reading device has an inclination acquisition means for acquiring an inclination from the ground.
An installation position adjusting device comprising a device tilt display means for displaying the tilt of the two-dimensional code reading device from the acquired tilt by the image display means.
前記傾き検出手段は、取得した二次元コードの画像から、上下の辺と左右の辺の長さを比較し、差が大きいか否かを判断する長さ差判断手段と、
前記長さ差判断手段が差を大きいと判断した際に、取得した二次元コードの画像を複数のセルに分割し、各セルの大きさを比較することで傾きを判定する傾き判定手段とを備えることを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 6.
The inclination detecting means is a length difference determining means for comparing the lengths of the upper and lower sides and the left and right sides from the acquired image of the two-dimensional code and determining whether or not the difference is large.
When the length difference determining means determines that the difference is large, the acquired two-dimensional code image is divided into a plurality of cells, and the inclination determining means for determining the inclination is performed by comparing the sizes of the cells. An installation position adjusting device characterized by being provided.
取得した二次元コードの傾きを3次元グラフとして前記画像表示手段で表示する3次元グラフ表示手段を備えることを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 6.
An installation position adjusting device including a three-dimensional graph display means for displaying the inclination of the acquired two-dimensional code as a three-dimensional graph by the image display means.
読み取りの焦点を合わせるオートフォーカス手段を備え、
前記3次元グラフ表示手段は、
取得した二次元コードの画像を複数のセルに分割し、
前記オートフォーカス手段を用いて分割したセルの内、焦点が最も合っているセルを検出し、そのセルを前記二次元コード読取装置との距離を焦点距離とし、
前記焦点距離のセルと、他の分割したセルとの大きさの比較から他の分割したセルまでの距離を推定し、前記3次元グラフとして前記画像表示手段で表示することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 9.
Equipped with an autofocus means to focus the reading
The three-dimensional graph display means
Divide the acquired 2D code image into multiple cells and
Among the cells divided by using the autofocus means, the cell that is most in focus is detected, and the distance between the cell and the two-dimensional code reading device is defined as the focal length.
An installation position characterized in that the distance to another divided cell is estimated from the size comparison between the cell having the focal length and another divided cell, and displayed as the three-dimensional graph by the image display means. Adjuster.
読み取りの焦点を合わせるオートフォーカス手段と、
オートフォーカス中の各距離毎のオートフォーカス評価値をグラフ表示するグラフ表示手段と、
前記グラフ中に表示されるピークが選択された際に、当該ピークに対応する位置を、前記画像表示手段の表示画像中に表示するピーク位置表示手段と、を備えることを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 1.
Autofocus means to focus the reading and
A graph display means that displays the autofocus evaluation value for each distance during autofocus as a graph,
An installation position adjustment characterized by comprising a peak position display means for displaying a position corresponding to the peak in the display image of the image display means when a peak displayed in the graph is selected. apparatus.
二次元コード読取装置が撮像した画像を取得する画像取得手段と、
取得した画像を表示する画像表示手段と、
二次元コードの左右上下方向に対して、撮像された二次元コードの角度ずれを検出する角度ずれ検出手段と、
前記角度ずれ検出手段で検出された角度ずれを、前記画像表示手段で表示させる角度ずれ表示手段と、
撮像した二次元コードに、マージンを付加して前記画像表示手段で表示させるマージン表示手段と、
を備えることを特徴とする設置位置調整装置。 It is an installation position adjustment device for a two-dimensional code reader,
An image acquisition means for acquiring an image captured by a two-dimensional code reader, and
An image display means for displaying the acquired image and
An angle deviation detecting means for detecting an angle deviation of the captured two-dimensional code in the horizontal and vertical directions of the two-dimensional code, and
An angle deviation display means for displaying the angle deviation detected by the angle deviation detecting means by the image display means, and an angle deviation display means.
A margin display means for adding a margin to the captured two-dimensional code and displaying it with the image display means,
An installation position adjusting device characterized by being provided with.
検出された角度ずれが大きいか否かを判断する角度ずれ判断手段と、
前記角度ずれ判断手段が角度ずれが大きいと判断した際に、角度ずれが大きいことを指示する角度ずれ指示手段とを有することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 12.
An angle deviation determination means for determining whether or not the detected angle deviation is large,
An installation position adjusting device comprising an angle deviation indicating means for instructing that the angle deviation is large when the angle deviation determining means determines that the angle deviation is large.
前記角度ずれ判断手段が角度ずれが大きいと判断した際に、前記角度ずれ指示手段が、角度ずれが大きいことを指示すると共に、撮像した二次元コードの位置合わせ用のマーカを前記画像表示手段に表示することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 13.
When the angle deviation determining means determines that the angle deviation is large, the angle deviation indicating means indicates that the angle deviation is large, and at the same time, a marker for aligning the captured two-dimensional code is used as the image display means. An installation position adjusting device characterized by displaying.
前記マージンが撮像範囲内にあるか否かを判断する撮像範囲内判断手段と、
前記撮像範囲内判断手段が撮像範囲外であると判断した際に、マージンが撮像範囲外であることを指示するマージン撮像範囲外指示手段とを有することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 12.
An imaging range determination means for determining whether or not the margin is within the imaging range, and
An installation position adjusting device comprising a margin imaging range out-of-range indicating means for instructing that a margin is out of the imaging range when the in-imaging range determining means determines to be out of the imaging range.
前記マージン内に二次元コード以外のデータがあるか否かを判断するデータ判断手段と、
前記データ判断手段が二次元コード以外のデータがあると判断した際に、二次元コード以外のデータがあることを指示するデータ存在指示手段とを有することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 12.
A data determination means for determining whether or not there is data other than a two-dimensional code in the margin, and
An installation position adjusting device comprising a data existence indicating means for instructing that there is data other than the two-dimensional code when the data determining means determines that there is data other than the two-dimensional code.
前記角度ずれ検出手段で検出された角度ずれを補正し、設定された左右上下方向で二次元コードを、前記画像表示手段で表示させる角度ずれ補正手段を備え、
前記画像表示手段は、前記二次元コードの付けられた読み取り対象物を、前記角度ずれ補正手段で二次元コードが回転された角度に対応して回転させて表示することを特徴とする設置位置調整装置。 An installation position adjusting device for the two-dimensional code reading device according to any one of claims 12 to 16.
An angle deviation correcting means for correcting the angle deviation detected by the angle deviation detecting means and displaying a two-dimensional code in the set left / right / up / down direction by the image display means is provided.
The image display means is characterized in that the reading object to which the two-dimensional code is attached is rotated and displayed according to the angle at which the two-dimensional code is rotated by the angle deviation correction means. apparatus.
画像データを撮像する撮像手段と、
前記画像データのコード位置情報から、前記画像データのコードもしくはコード周辺の画像特徴量を算出するコード画像特徴量算出手段と、
前記画像特徴量を記憶するコード画像特徴量記憶手段と、
前記コード画像特徴量記憶手段に記憶された複数の画像特徴量から、前記画像データの撮像された環境の一致度を算出する読み取り環境一致度算出手段と、
前記環境一致度算出手段により算出された一致度が高くなる前記画像データの撮像された環境を指示する環境一致指示手段と、を備える二次元コード読取装置。 It is a two-dimensional code reader
An imaging means for capturing image data and
A code image feature amount calculating means for calculating the code of the image data or an image feature amount around the code from the code position information of the image data, and
A code image feature storage means for storing the image feature and
A reading environment matching degree calculating means for calculating the matching degree of the imaged environment of the image data from a plurality of image feature amounts stored in the code image feature amount storage means, and
A two-dimensional code reading device including an environment matching instruction means for instructing an environment in which the image data is captured, which increases the matching degree calculated by the environment matching degree calculating means.
画像データを撮像する撮像手段と、
前記画像データのコード位置情報から、前記画像データのコードもしくはコード周辺の画像特徴量を算出するコード画像特徴量算出手段と、
前記画像特徴量を記憶するコード画像特徴量記憶手段と、
前記コード画像特徴量記憶手段に記憶された複数の画像特徴量から、前記画像データの撮像された環境の一致度を算出する読み取り環境一致度算出手段と、
前記環境一致度算出手段により算出された一致度が高くなる前記画像データの撮像された環境を指示する環境一致指示手段と、を備える二次元コード読取装置。 The two-dimensional code reading device of the installation position adjusting device according to claim 1.
An imaging means for capturing image data and
A code image feature amount calculating means for calculating the code of the image data or an image feature amount around the code from the code position information of the image data, and
A code image feature storage means for storing the image feature and
A reading environment matching degree calculating means for calculating the matching degree of the imaged environment of the image data from a plurality of image feature amounts stored in the code image feature amount storage means, and
A two-dimensional code reading device including an environment matching instruction means for instructing an environment in which the image data is captured, which increases the matching degree calculated by the environment matching degree calculating means.
前記コード画像特徴量記憶手段は、任意のタイミングで前記撮像手段から画像データを取得し、前記画像特徴量を記憶できる画像特徴量記憶タイミング手段を備えることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to claim 18 or 19.
The code image feature amount storage means is a two-dimensional code reading device including an image feature amount storage timing means capable of acquiring image data from the image pickup means at an arbitrary timing and storing the image feature amount.
前記コード画像特徴量記憶手段は、設定されたタイミングで前記撮像手段から画像データを取得し、前記画像特徴量を記憶できる画像特徴量記憶タイミング手段を備え、
前記コード画像特徴量算出手段は、設定されたタイミングで取得された画像データの前記画像特徴量中で高い前記画像特徴量を選定する選定手段を備えることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to claim 18 or 19.
The code image feature amount storage means includes an image feature amount storage timing means capable of acquiring image data from the image pickup means at a set timing and storing the image feature amount.
The code image feature amount calculating means is a two-dimensional code reading device including a selection means for selecting a high image feature amount among the image feature amounts of image data acquired at a set timing.
前記環境の一致度が、設定された閾値を超えた場合に読み取り環境の一致を通知する環境の一致通知手段を備えることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to any one of claims 18 to 21.
A two-dimensional code reading device comprising an environment matching notification means for notifying the matching of reading environments when the matching degree of the environment exceeds a set threshold value.
前記画像特徴量は、前記コード位置情報から得られる外形位置情報であることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to any one of claims 18 to 21.
A two-dimensional code reading device characterized in that the image feature amount is external position information obtained from the code position information.
前記外形位置情報はQRコード(登録商標)のファインダパターンであることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to claim 23.
A two-dimensional code reading device characterized in that the external position information is a finder pattern of a QR code (registered trademark).
前記外形位置情報はコードないしコード周辺のエッジ情報であることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to claim 23.
A two-dimensional code reading device characterized in that the external position information is code or edge information around the code.
前記コード画像特徴量算出手段は、前記コードないしコード周辺の輝度情報から輝度勾配情報を取得する輝度勾配取得手段を備え、
前記画像特徴量は前記輝度勾配情報であるであることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to any one of claims 18 to 21.
The code image feature amount calculating means includes a luminance gradient acquiring means for acquiring luminance gradient information from the luminance information of the code or the periphery of the code.
A two-dimensional code reading device characterized in that the image feature amount is the luminance gradient information.
撮像視野方向を示すエイマー光照射装置を備え、
前記コード画像特徴量算出手段は、二次元コードの付けられた対象物に照射されたエイマー光を検出するエイマー光検出手段を備え、
前記画像特徴量はエイマー光形状情報であるであることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to any one of claims 18 to 21.
Equipped with an Aimer light irradiation device that indicates the imaging field of view
The code image feature amount calculating means includes an aimer light detecting means for detecting an aimer light irradiated to an object to which a two-dimensional code is attached.
A two-dimensional code reading device characterized in that the image feature amount is Aimer optical shape information.
オートフォーカス機能を備え、
前記コード画像特徴量算出手段は、前記オートフォーカス機能により二次元コードの付けられた対象物までの距離を測定する距離測定手段を備え、
前記画像特徴量は前記対象物までの距離情報であるであることを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to any one of claims 18 to 21.
Equipped with an autofocus function
The code image feature amount calculating means includes a distance measuring means for measuring the distance to an object to which a two-dimensional code is attached by the autofocus function.
A two-dimensional code reading device characterized in that the image feature amount is distance information to the object.
撮像された画像データを表示する表示手段を備え、
環境一致指示手段は、前記画像特徴量に基づき作成した特徴画像を作成し、
前記表示手段は、前記画像データと重ねて前記特徴画像を表示する。 The two-dimensional code reading device according to any one of claims 18 to 21.
Equipped with a display means to display the captured image data
The environment matching instruction means creates a feature image created based on the image feature amount, and creates a feature image.
The display means displays the feature image on top of the image data.
前記表示手段が前記二次元コード読取装置に内蔵されていることを特徴とする二次元コード読取装置。 The two-dimensional code reader according to claim 29.
A two-dimensional code reading device, characterized in that the display means is built in the two-dimensional code reading device.
前記表示手段が前記二次元コード読取装置に接続された機器に備えられることを特徴とする二次元コード読取装置。 The two-dimensional code reader according to claim 29.
A two-dimensional code reading device, characterized in that the display means is provided in a device connected to the two-dimensional code reading device.
表示LEDを備え、
前記環境一致指示手段は、前記表示LEDにより環境一致指示を行うことを特徴とする二次元コード読取装置。 The two-dimensional code reading device according to any one of claims 18 to 21.
Equipped with a display LED
The environment matching instruction means is a two-dimensional code reading device characterized in that the environment matching instruction is given by the display LED.
二次元コード読取装置が撮像した画像を取得するステップと、
取得した画像をモニターに表示するステップと、
予め設定された二次元コードの左右上下方向に対して、撮像された二次元コードの角度ずれを検出するステップと、
前記角度ずれを検出するステップで検出された角度ずれを補正し、前記設定された左右上下方向で二次元コードを前記モニターで表示させる角度ずれ補正のステップと、
前記二次元コードの付けられた読み取り対象物を、前記角度ずれ補正のステップで二次元コードが回転された角度に対応して回転させて前記モニターで表示するステップと、を前記コンピュータに実行させることを特徴とするプログラム。 A program executed by a computer that controls the position adjustment of a two-dimensional code reader that optically reads a two-dimensional code.
Steps to acquire the image captured by the 2D code reader,
Steps to display the acquired image on the monitor,
A step of detecting an angular deviation of the captured two-dimensional code with respect to the left-right and up-down directions of the preset two-dimensional code, and
An angle deviation correction step of correcting the angle deviation detected in the step of detecting the angle deviation and displaying a two-dimensional code on the monitor in the set left / right / up / down directions.
To have the computer execute the step of rotating the reading object to which the two-dimensional code is attached and displaying it on the monitor in the step of correcting the angle deviation by rotating the object corresponding to the angle at which the two-dimensional code is rotated. A program featuring.
二次元コード読取装置が撮像した画像を取得する画像取得手段と、
取得した画像を表示する画像表示手段と、
複数の二次元コードに対して、個々の二次元コードに識別情報を付して前記画像表示手段に表示する情報表示手段と、
前記二次元コード読取装置の位置調整対象に指定された二次元コードを特定して前記画像表示手段に表示する特定表示手段と、
前記位置調整対象に指定された以外の二次元コードの読み取り条件を個々に調整し、調整結果を保持することを特徴とする設置位置調整装置。 It is an installation position adjustment device for a two-dimensional code reader,
An image acquisition means for acquiring an image captured by a two-dimensional code reader, and
An image display means for displaying the acquired image and
An information display means for displaying a plurality of two-dimensional codes on the image display means by attaching identification information to each two-dimensional code.
A specific display means that identifies the two-dimensional code designated as the position adjustment target of the two-dimensional code reader and displays it on the image display means.
An installation position adjusting device characterized in that the reading conditions of a two-dimensional code other than those designated as the position adjusting target are individually adjusted and the adjustment result is held.
複数の二次元コードに対して、個々の二次元コードに識別情報を付して前記画像表示手段に表示する情報表示手段と、
前記二次元コード読取装置の位置調整対象に指定された二次元コードを特定して前記画像表示手段に表示する特定表示手段と、
前記位置調整対象に指定された以外の二次元コードの読み取り条件を個々に調整し、調整結果を保持することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 1.
An information display means for displaying a plurality of two-dimensional codes on the image display means by attaching identification information to each two-dimensional code.
A specific display means that identifies the two-dimensional code designated as the position adjustment target of the two-dimensional code reader and displays it on the image display means.
An installation position adjusting device characterized in that the reading conditions of a two-dimensional code other than those designated as the position adjusting target are individually adjusted and the adjustment result is held.
前記調整結果の保持を二次元コード読取装置に行わせ、
前記二次元コード読取装置は、位置調整対象に指定された以外の二次元コードの読み取りの際に、個々に保持した条件に調整することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 34 or 35.
Let the two-dimensional code reader hold the adjustment result.
The two-dimensional code reading device is an installation position adjusting device, characterized in that, when reading a two-dimensional code other than the one designated as a position adjusting target, the two-dimensional code reading device is adjusted to individually held conditions.
前記個々の二次元コードの識別情報は、個々の二次元コードに付けた番号であり、
前記情報表示手段は、個々の二次元コードに番号を付して前記画像表示手段に表示することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 34 or 35.
The identification information of the individual two-dimensional code is a number assigned to each two-dimensional code.
The information display means is an installation position adjusting device characterized in that individual two-dimensional codes are numbered and displayed on the image display means.
前記個々の二次元コードの識別情報は、個々の二次元コードに付けた色分けであり、
前記情報表示手段は、個々の二次元コードを色分けして前記画像表示手段に表示することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 34 or 35.
The identification information of the individual two-dimensional code is the color coding attached to each two-dimensional code.
The information display means is an installation position adjusting device characterized in that individual two-dimensional codes are color-coded and displayed on the image display means.
前記位置調整対象の二次元コードの指定を、色分けされた内の色選択により行わせることを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 38.
An installation position adjusting device characterized in that a two-dimensional code to be adjusted is designated by color selection within color coding.
前記位置調整対象に指定された二次元コードの特定は、前記二次元コードに付され表示されるカーソルであることを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 34 or 35.
An installation position adjusting device, characterized in that the identification of the two-dimensional code designated as the position adjusting target is a cursor attached to and displayed on the two-dimensional code.
前記位置調整対象に指定された二次元コードの読み取り条件を表示することを特徴とする設置位置調整装置。 The installation position adjusting device for the two-dimensional code reading device according to claim 40, which displays the reading conditions of the two-dimensional code designated as the position adjusting target.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019084900 | 2019-04-26 | ||
JP2019084900 | 2019-04-26 | ||
JP2019140060 | 2019-07-30 | ||
JP2019140060 | 2019-07-30 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021015592A true JP2021015592A (en) | 2021-02-12 |
JP7469624B2 JP7469624B2 (en) | 2024-04-17 |
Family
ID=74531531
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020069759A Active JP7469624B2 (en) | 2019-04-26 | 2020-04-08 | Two-dimensional code reader, installation position adjustment device, program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7469624B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113128246A (en) * | 2021-03-25 | 2021-07-16 | 维沃移动通信有限公司 | Information processing method and device and electronic equipment |
CN113489963A (en) * | 2021-07-08 | 2021-10-08 | 宁波宝贝第一母婴用品有限公司 | Method and device for guiding installation of cart |
CN113720371A (en) * | 2021-08-24 | 2021-11-30 | 神思电子技术股份有限公司 | Two-dimensional code testing tool and method applied to new medical insurance equipment |
JP7539845B2 (en) | 2021-02-12 | 2024-08-26 | 東芝テック株式会社 | Code creation method and program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004213455A (en) * | 2003-01-07 | 2004-07-29 | Omron Corp | Two-dimensional code reader |
JP2016115282A (en) * | 2014-12-17 | 2016-06-23 | カシオ計算機株式会社 | Commodity identification apparatus and commodity recognition navigation method |
-
2020
- 2020-04-08 JP JP2020069759A patent/JP7469624B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004213455A (en) * | 2003-01-07 | 2004-07-29 | Omron Corp | Two-dimensional code reader |
JP2016115282A (en) * | 2014-12-17 | 2016-06-23 | カシオ計算機株式会社 | Commodity identification apparatus and commodity recognition navigation method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7539845B2 (en) | 2021-02-12 | 2024-08-26 | 東芝テック株式会社 | Code creation method and program |
CN113128246A (en) * | 2021-03-25 | 2021-07-16 | 维沃移动通信有限公司 | Information processing method and device and electronic equipment |
CN113489963A (en) * | 2021-07-08 | 2021-10-08 | 宁波宝贝第一母婴用品有限公司 | Method and device for guiding installation of cart |
CN113489963B (en) * | 2021-07-08 | 2024-02-23 | 宁波宝贝第一母婴用品有限公司 | Cart installation guiding method and device |
CN113720371A (en) * | 2021-08-24 | 2021-11-30 | 神思电子技术股份有限公司 | Two-dimensional code testing tool and method applied to new medical insurance equipment |
CN113720371B (en) * | 2021-08-24 | 2024-05-14 | 神思电子技术股份有限公司 | Two-dimensional code testing tool and method applied to new medical insurance equipment |
Also Published As
Publication number | Publication date |
---|---|
JP7469624B2 (en) | 2024-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7469624B2 (en) | Two-dimensional code reader, installation position adjustment device, program | |
CN110580724B (en) | Method and device for calibrating binocular camera set and storage medium | |
CN108297096B (en) | Calibration device, calibration method, and computer-readable medium | |
CN108451536B (en) | Method for automatically positioning an X-ray source of an X-ray system and X-ray system | |
EP1513095B1 (en) | Optical information reading apparatus and related information reading method | |
EP1947605B1 (en) | Automatic perspective distortion detection and correction for document imaging | |
JP4710734B2 (en) | Pointing device, pointing position detection method, and program | |
TW201104508A (en) | Stereoscopic form reader | |
JP3690581B2 (en) | POSITION DETECTION DEVICE AND METHOD THEREFOR, PLAIN POSITION DETECTION DEVICE AND METHOD THEREOF | |
JP4537143B2 (en) | Image processing apparatus and method, imaging apparatus, and program | |
US9924066B2 (en) | Image processing apparatus, information processing method, and program | |
JP4501701B2 (en) | Image capturing apparatus, image processing method for image capturing apparatus, and program | |
TWI680362B (en) | Component handling assembly and method of adjusting a component handling assembly | |
JP2006190212A (en) | Three-dimensional position input device | |
JP4111216B2 (en) | Optical information reader | |
JP2001166881A (en) | Pointing device and its method | |
TWI504859B (en) | Method for photographing and piecing together the images of an object | |
JP2011064579A (en) | Three-dimensional measuring system and three-dimensional measuring method | |
JP7044331B2 (en) | Image processing systems, image processing methods and programs for efficiently inspecting structures such as bridges | |
JP4741943B2 (en) | Inspection apparatus and inspection method | |
JP6108383B2 (en) | Piping position measuring system and piping position measuring method | |
JP2005337870A (en) | Detection system and labeled object | |
CN116100145B (en) | Water-guided laser positioning method and device, storage medium and water-guided laser equipment | |
CA2498484C (en) | Automatic perspective detection and correction for document imaging | |
JP5601291B2 (en) | Information code reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230327 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231219 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20231220 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240219 |
|
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: 20240305 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240318 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7469624 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |