JP2000337853A - Detecting device for record position of information code, and optical information reading device - Google Patents
Detecting device for record position of information code, and optical information reading deviceInfo
- Publication number
- JP2000337853A JP2000337853A JP11148068A JP14806899A JP2000337853A JP 2000337853 A JP2000337853 A JP 2000337853A JP 11148068 A JP11148068 A JP 11148068A JP 14806899 A JP14806899 A JP 14806899A JP 2000337853 A JP2000337853 A JP 2000337853A
- Authority
- JP
- Japan
- Prior art keywords
- code
- information
- article
- recording position
- image
- 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
- 230000003287 optical effect Effects 0.000 title claims abstract description 28
- 238000000034 method Methods 0.000 claims abstract description 31
- 238000001514 detection method Methods 0.000 claims description 34
- 238000004364 calculation method Methods 0.000 claims description 7
- 239000000976 ink Substances 0.000 description 26
- 238000001444 catalytic combustion detection Methods 0.000 description 18
- 238000005286 illumination Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003321 amplification Effects 0.000 description 3
- 238000003199 nucleic acid amplification method Methods 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、移動する物品に記
録された情報コードを読み取る技術に関する。The present invention relates to a technique for reading an information code recorded on a moving article.
【0002】[0002]
【従来の技術】従来、バーコード、2次元コードなどの
情報コードを光学的に読み取る手法として、LEDなど
の発光手段が光学情報読取用の光を光学情報記録面へ出
射し、受光素子であるフォトセンサ等を配列したCCD
センサを用いてその反射光から情報コードを画像として
装置内に取り込んでデコードする手法が知られている。2. Description of the Related Art Conventionally, as a method of optically reading an information code such as a bar code or a two-dimensional code, a light emitting means such as an LED emits light for reading optical information to an optical information recording surface, and a light receiving element is used. CCD with photo sensors, etc.
There is known a method of using a sensor to read an information code as an image from the reflected light into an apparatus and decode the image.
【0003】この種の光学情報読取装置の中には、移動
中の情報コード、例えばベルトコンベアによって搬送さ
れる物品に記録された情報コードを読み取る装置もあっ
た。この場合、物品に記録された情報コードがちょうど
CCDセンサの視野に入るタイミングで、光学情報読取
用の光を出射しCCDセンサを露光して情報コードを画
像として取り込んでいた。Some optical information reading apparatuses of this type read information codes that are moving, for example, information codes recorded on articles conveyed by a belt conveyor. In this case, at the timing when the information code recorded on the article just enters the field of view of the CCD sensor, light for reading optical information is emitted, the CCD sensor is exposed, and the information code is captured as an image.
【0004】[0004]
【発明が解決しようとする課題】このように移動する物
体に記録された情報コードを適切なタイミングで読み取
るためには、物体の予め定められた位置に情報コードが
付されていなければならない。情報コードの記録位置が
ずれていると、例えば、CCDセンサの視野からはみ出
してしまい、取り込まれた画像中に情報コード領域の一
部あるいは全部が入らないという状況が生じることもあ
る。In order to read the information code recorded on such a moving object at an appropriate timing, the information code must be attached to a predetermined position of the object. If the recording position of the information code is shifted, for example, the information code may protrude from the field of view of the CCD sensor, and a situation may occur in which a part or all of the information code area does not enter the captured image.
【0005】したがって、物品に情報コードを記録した
後、その記録した情報コードが適正な位置にあるか否か
を検査できるようにすることが望ましい。しかしなが
ら、従来、上述したような物品に記録された情報コード
が当該物品の適正な位置に付されているか否かを検査す
るための装置がなかった。Therefore, it is desirable to be able to check whether or not the recorded information code is at an appropriate position after recording the information code on the article. However, conventionally, there is no device for checking whether the information code recorded on the article as described above is attached to an appropriate position of the article.
【0006】本発明は、上述した問題点を解決するため
になされたものであり、移動する物品に記録された情報
コードが当該物品の適正な位置に記録されているか否か
を検査するための情報コードの記録位置検知装置及び記
録位置検知機能を備えた光学情報読取装置を提供するこ
とを目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and is for checking whether an information code recorded on a moving article is recorded at an appropriate position on the article. An object of the present invention is to provide an information code recording position detecting device and an optical information reading device having a recording position detecting function.
【0007】[0007]
【課題を解決するための手段及び発明の効果】上述した
目的を達成するためになされた請求項1に記載の情報コ
ードの記録位置検知装置では、搬送路を移動する物品が
その搬送路の所定位置に来たことを検知手段が検知す
る。例えばベルトコンベアにて搬送される物品がそのベ
ルトコンベアの所定位置まで移動して来たことを検知す
るという具合である。この検知手段は、例えばフォトセ
ンサを用いて構成することが考えられる。例えばフォト
センサへ入射する光を物品が移動途中に遮る構成、ある
いは、物品による反射でフォトセンサへ光が入射する構
成としておき、フォトセンサの信号変化に基づいて検知
するという具合である。また、検知手段は、物品に塗布
された特殊インクを感知するセンサを用いて構成するこ
とが考えられる。特殊インクとは、いわゆる磁気インク
や、所定の波長の光を変調して反射するインクをいう。
このような特殊インクを物品に塗布しておき、検知手段
が、この特殊インクに所定波長の光を照射し、変調され
た反射光を検知するという具合である。According to a first aspect of the present invention, there is provided an information code recording position detecting apparatus, comprising: an article moving along a transport path; The detecting means detects that the position has been reached. For example, it is detected that an article conveyed by the belt conveyor has moved to a predetermined position on the belt conveyor. It is conceivable that this detection means is configured using, for example, a photo sensor. For example, a configuration in which light incident on the photosensor is blocked during the movement of the article or a configuration in which light is incident on the photosensor by reflection from the article is employed, and detection is performed based on a signal change of the photosensor. Further, it is conceivable that the detecting means is configured by using a sensor for detecting the special ink applied to the article. The special ink is a so-called magnetic ink or an ink that modulates and reflects light having a predetermined wavelength.
Such a special ink is applied to an article, and the detecting means irradiates the special ink with light of a predetermined wavelength to detect the modulated reflected light.
【0008】検知手段にて物品が搬送路の所定位置に来
たことが検知されると、画像取込手段は、その検知時点
から所定時間経過後に、画像の取り込みを行う。この所
定時間は、物品の適正な位置に記録された情報コードが
CCDセンサの視野に入る位置まで物品が所定位置から
移動する時間であり、搬送装置の搬送速度に応じて予め
設定される。画像取込手段は、例えばCCDセンサを用
いて構成されており、発光手段によって物品のコード記
録面に向けて出射された光の反射光を受光し、情報コー
ドを画像として取り込む。When the detecting means detects that the article has arrived at a predetermined position on the transport path, the image capturing means captures an image after a lapse of a predetermined time from the detection time. The predetermined time is a time required for the article to move from the predetermined position to a position where the information code recorded at an appropriate position of the article enters the field of view of the CCD sensor, and is set in advance according to the transport speed of the transport device. The image capturing unit is configured using, for example, a CCD sensor, receives reflected light of light emitted toward the code recording surface of the article by the light emitting unit, and captures an information code as an image.
【0009】位置情報算出手段は、取り込まれた画像に
基づき、当該画像中の情報コードの存在領域を特定可能
な位置情報を算出する。例えば情報コード領域が四辺形
の領域であれば、その四辺形の4つの頂点を位置情報と
して算出するという具合である。The position information calculating means calculates, based on the captured image, position information capable of specifying an area where the information code exists in the image. For example, if the information code area is a quadrilateral area, four vertices of the quadrilateral are calculated as position information.
【0010】そして、コード記録位置算出手段が、この
位置情報に基づき、少なくとも搬送方向における、情報
コードの物品に対する記録位置を算出する。ここで「少
なくとも搬送方向における」記録位置を算出するとした
のは、搬送方向に垂直な方向の「ずれ」が生じないよう
に各物品が搬送される場合、又は、搬送方向に垂直な方
向における物品の端部の少なくともいずれか一方が画像
に含まれる場合は、搬送方向に垂直な方向においても、
情報コードの記録位置を算出することができるからであ
る。The code recording position calculating means calculates the recording position of the information code in at least the transport direction for the article based on the position information. Here, the recording position "at least in the transport direction" is calculated when each article is transported so that "shift" in the direction perpendicular to the transport direction does not occur, or the article in the direction perpendicular to the transport direction is calculated. If at least one of the ends is included in the image, even in the direction perpendicular to the transport direction,
This is because the recording position of the information code can be calculated.
【0011】本発明は、物品の搬送速度が一定であると
いう前提に立って所定の取込タイミングで画像を取り込
めば物品の撮像領域が決定される、という点に着目した
ものである。そのため、物品が検知された時点から所定
時間経過後に画像を取り込み、画像中のコード領域を特
定可能な位置情報を算出することによって、情報コード
の物品に対する記録位置を検知結果として算出する。The present invention focuses on the point that an image pickup area of an article is determined if an image is acquired at a predetermined acquisition timing on the assumption that the article conveying speed is constant. Therefore, an image is captured after a lapse of a predetermined time from the point at which the article is detected, and position information capable of specifying a code area in the image is calculated, thereby calculating the recording position of the information code on the article as a detection result.
【0012】本発明の記録位置検知装置にて検知された
記録位置を用いることによって、例えば算出した記録位
置を表示装置等に表示させて利用者がそれを確認するこ
とによって、物品に対する情報コードの記録位置を検査
できる。ところで、上述した物品に対する記録位置とし
て物品の端部からの距離という絶対的な位置を算出する
ことが考えられる。また、上述したように物品に特殊イ
ンクを塗布しておきこの特殊インクによって検知手段が
物品を検知する構成であれば、この特殊インクが塗布さ
れた位置からの距離という相対的な位置を算出してもよ
い。さらにまた、予め定められた情報コードの位置(適
正な位置)を記憶しておく構成とすれば、その適正位置
からの距離という相対的な位置を算出することが考えら
れる。By using the recording position detected by the recording position detecting device of the present invention, for example, the calculated recording position is displayed on a display device or the like, and the user confirms the position. The recording position can be inspected. Incidentally, it is conceivable to calculate an absolute position, which is a distance from the end of the article, as the recording position for the article. Further, as described above, if the configuration is such that the special ink is applied to the article and the detecting means detects the article with the special ink, a relative position of a distance from the position where the special ink is applied is calculated. You may. Furthermore, if a predetermined information code position (proper position) is stored, it may be possible to calculate a relative position that is a distance from the proper position.
【0013】このように情報コードの適正な位置を記憶
しておけば、請求項2に示すように、さらにコード記録
位置判断手段が、コード記録位置算出手段によって算出
された記録位置に基づき、情報コードが物品の適正な位
置に記録されているか否かを判断するようにしてもよ
い。この場合、この判断結果が検知結果となっている。
すなわち、情報コードが物品の適正な位置に記録されて
いるか否かが自動的に判断されるため、利用者にとって
便利である。If the proper position of the information code is stored as described above, the code recording position determining means may further determine the information based on the recording position calculated by the code recording position calculating means. It may be determined whether or not the code is recorded at an appropriate position on the article. In this case, this determination result is the detection result.
That is, it is convenient for the user because it is automatically determined whether or not the information code is recorded at an appropriate position of the article.
【0014】なお、上述したように四辺形のコード領域
の4つの頂点の位置といった位置情報を算出する場合、
例えば請求項3に示すように、情報コードの有する位置
決め用シンボルに基づいて算出することが考えられる。
例えばQRコードといった2次元コードは、そのコード
領域が画像中で特定可能となるように位置決め用シンボ
ルと呼ばれる特定パターンを有していることが多い。し
たがって、この位置決め用シンボルを用いれば、上述の
位置情報を簡単に算出することができる。When calculating position information such as the positions of four vertices of a quadrilateral code area as described above,
For example, the calculation may be performed based on a positioning symbol included in the information code.
For example, a two-dimensional code such as a QR code often has a specific pattern called a positioning symbol so that the code area can be specified in an image. Therefore, the position information described above can be easily calculated by using this positioning symbol.
【0015】また、位置情報としては上述したような四
辺形のコード領域の4つの頂点の位置を採用することが
一例として考えられるが、これには限定されない。例え
ば位置決め用シンボルを検出すればコード領域の大きさ
が分かるため、4つの頂点のうちの少なくとも1つの頂
点の位置を位置情報としてもよい。また例えばQRコー
ドであれば、請求項4に示すように、QRコードの位置
決め用シンボルの中心座標を位置情報とすることが考え
られる。As an example of the position information, it is conceivable to adopt the positions of the four vertexes of the quadrilateral code area as described above, but the present invention is not limited to this. For example, if the positioning symbol is detected, the size of the code area can be known, so that the position of at least one of the four vertices may be used as the position information. In the case of a QR code, for example, it is conceivable that the center information of the QR code positioning symbol is used as the position information.
【0016】QRコードは、ファインダパターンと呼ば
れる3つの位置決め用シンボルを有している。そして、
この位置決め用シンボルの中心座標は、コード領域を特
定する4つの頂点位置を算出するのに比べて簡単に求め
られる。したがって、位置情報の算出処理がさらに簡単
になるという点で有利である。The QR code has three positioning symbols called finder patterns. And
The center coordinates of the positioning symbol can be easily obtained as compared with calculating four vertex positions for specifying the code area. Therefore, it is advantageous in that the calculation processing of the position information is further simplified.
【0017】ところで、搬送路を搬送される物品の向き
が一定にならない場合も想定される。例えば長方形形状
又は直方体形状の物品を長手方向に搬送するとき、物品
の形状に前後の区別がないため、コード記録面に垂直な
軸を回転軸として180度回転させた状態となってしま
うことも考えられる。そのため、コード記録面を撮像し
た場合に情報コードの向きが一定とならないことも考え
られる。つまり、情報コードが、例えば90度、180
度というように回転した状態で画像中に取り込まれるこ
とが考えられる。Incidentally, there may be a case where the direction of an article conveyed along the conveyance path is not constant. For example, when a rectangular or rectangular parallelepiped article is transported in the longitudinal direction, there is no distinction between the front and rear of the article shape, so that the article may be rotated 180 degrees with the axis perpendicular to the code recording surface as the rotation axis. Conceivable. Therefore, when the code recording surface is imaged, the direction of the information code may not be constant. That is, the information code is, for example, 90 degrees, 180 degrees.
It is conceivable that the image is captured in the image in a rotated state such as degrees.
【0018】そこで、請求項5に示すように、さらに、
向き判断手段を備える構成とするとよい。この向き判断
手段は、情報コードの有する位置決め用シンボルに基づ
いて、画像中の情報コードの向きを判断する。例えばQ
Rコードを例に挙げれば、コード領域の左上、左下、及
び右上に、上述した3つの位置決め用シンボルを有して
いる。したがって、この位置決め用シンボルの配置から
コードの向きを判断することができる。そしてこのと
き、コード記録位置算出手段は、向き判断手段による判
断結果に応じて、情報コードの記録位置を算出する。こ
れによって、搬送路を搬送される物品の向きが一定にな
らない場合であっても、情報コードの記録位置が適切に
算出できる。Therefore, as set forth in claim 5,
It is good to have composition provided with direction judging means. The direction determining means determines the direction of the information code in the image based on the positioning symbol of the information code. For example, Q
Taking the R code as an example, the above-described three positioning symbols are provided at the upper left, lower left, and upper right of the code area. Therefore, the direction of the code can be determined from the arrangement of the positioning symbols. At this time, the code recording position calculating means calculates the recording position of the information code according to the result of the determination by the direction determining means. Thereby, even when the direction of the article conveyed on the conveyance path is not constant, the recording position of the information code can be appropriately calculated.
【0019】なお、画像取込手段が複数枚の画像を取り
込むようにしてもよい。例えば請求項6に示す構成を採
用することが考えられる。すなわち、この構成では、所
定時間として複数の異なる時間が設定されており、画像
取込手段によって、一の物品に対して複数時点で複数枚
の画像が取り込まれる。すると、位置情報算出手段が複
数枚の各画像に対して位置情報を算出し、コード記録位
置算出手段が、複数枚の各画像に対して算出された位置
情報に基づき、情報コードの記録位置を算出する。The image capturing means may capture a plurality of images. For example, it is conceivable to adopt the configuration described in claim 6. That is, in this configuration, a plurality of different times are set as the predetermined time, and a plurality of images are captured at a plurality of times for one article by the image capturing unit. Then, the position information calculating means calculates position information for each of the plurality of images, and the code recording position calculating means calculates the recording position of the information code based on the position information calculated for each of the plurality of images. calculate.
【0020】このような構成を採用すれば、物品に記録
された情報コードが複数ある場合にも対応できる。つま
り、複数枚の画像から別の情報コードの位置情報が得ら
れれば、各情報コードの記録位置を算出することができ
る。このように複数枚の画像を取り込む構成において、
物品に複数の情報コードが記録されていることを前提と
すれば、請求項7に示すように、コード記録位置算出手
段が、特定の情報コードに対する相対位置を記録位置と
して算出するようにしてもよい。By adopting such a configuration, it is possible to cope with a case where there are a plurality of information codes recorded on an article. That is, if the position information of another information code is obtained from a plurality of images, the recording position of each information code can be calculated. In such a configuration in which a plurality of images are captured,
Assuming that a plurality of information codes are recorded on the article, the code recording position calculating means may calculate the relative position with respect to the specific information code as the recording position. Good.
【0021】また、ここまでの説明では物品の移動速度
(搬送速度)が一定であることを前提としていたが、例
えば同じ仕様の搬送装置であっても、搬送速度にばらつ
きが見られることがある。また、経年変化によって搬送
速度が変化することもある。そこで、請求項8に示す構
成を採用することが考えられる。この構成は、同一の情
報コードに対する位置情報が複数枚の各画像から算出さ
れるように所定時間を設定しておくことを前提として、
コード記録位置算出手段が、同一の情報コードに対する
位置情報に基づき算出可能な物品の搬送速度を考慮し
て、記録位置を算出することを特徴とするものである。In the above description, it is assumed that the moving speed (conveying speed) of the articles is constant. However, for example, even if the conveying devices have the same specifications, the conveying speed may vary. . In addition, the transport speed may change due to aging. Therefore, it is conceivable to employ the configuration described in claim 8. This configuration is based on the premise that a predetermined time is set so that position information for the same information code is calculated from each of a plurality of images.
The code recording position calculating means calculates the recording position in consideration of the transport speed of the article which can be calculated based on the position information for the same information code.
【0022】この場合、所定時間は、想定される物品の
搬送速度及びコード記録面の領域などを考慮し、比較的
短い間隔で画像が取得されるように設定すればよい。画
像取得間隔を短くすれば、同一情報コードの位置情報が
複数枚の画像から得られることになる。そして、この位
置情報に基づけば、情報コードの移動速度、すなわち物
品の搬送速度が分かる。したがって、この搬送速度に基
づいて情報コードの正確な記録位置を算出することがで
きるのである。その結果、搬送速度がばらついたり、経
年変化した場合であっても、正確な情報コードの記録位
置が算出できるという優れた効果を奏する。In this case, the predetermined time may be set so that images are obtained at relatively short intervals in consideration of the assumed article conveyance speed and the area of the code recording surface. If the image acquisition interval is shortened, the position information of the same information code can be obtained from a plurality of images. Then, based on this position information, the moving speed of the information code, that is, the transport speed of the article can be known. Therefore, an accurate recording position of the information code can be calculated based on the transport speed. As a result, there is an excellent effect that the recording position of the information code can be accurately calculated even if the transport speed varies or changes over time.
【0023】以上は、情報コードの記録位置検知装置の
発明として説明したが、請求項9に示すように、上述の
記録位置検知装置の構成に加え、さらにデコード手段を
備えた光学情報読取装置の発明として実現することがで
きる。デコード手段は、画像取込手段にて取り込んだ画
像中の情報コードのデコード処理を行い、情報コードと
して記録された情報を読み取る。Although the invention has been described as an invention of a recording position detecting device for information codes, an optical information reading device provided with a decoding means in addition to the above-mentioned recording position detecting device is provided. It can be realized as an invention. The decoding means decodes the information code in the image captured by the image capturing means and reads the information recorded as the information code.
【0024】このような記録位置検知機能を有する光学
情報読取装置によれば、情報コードが物品の適正な位置
に記録されているか否かを判断できると共に、情報コー
ドとして記録された情報が正しいものであるか否かを検
査することができる。また、例えば物品として入場券、
乗車券などを考えた場合、それら券の規格通りの位置に
情報コードが印刷されていないときには偽造されたもの
であると判断することもできる。このような偽造を防止
するという観点からは、請求項10に示すように、記録
位置判断手段によって情報コードが物品の適正な位置に
記録されていると判断された場合に限り、デコード処理
を行うようデコード手段を構成することも有効である。According to the optical information reading apparatus having such a recording position detecting function, it can be determined whether or not the information code is recorded at an appropriate position of the article, and the information recorded as the information code is correct. Can be checked. Also, for example, admission tickets as goods,
Considering a ticket or the like, if the information code is not printed at a position according to the standard of the ticket, it can be determined that the ticket is forged. From the viewpoint of preventing such forgery, the decoding process is performed only when it is determined by the recording position determining unit that the information code is recorded at an appropriate position on the article. It is also effective to configure the decoding means.
【0025】[0025]
【発明の実施の形態】以下、本発明を具体化した一実施
例を図面を参照して説明する。図1は実施例の2次元コ
ード読取装置1の斜視図であり、図2は、図1中に記号
Kで示す方向から図1を見た概略透視図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a perspective view of a two-dimensional code reader 1 according to an embodiment, and FIG. 2 is a schematic perspective view of FIG. 1 viewed from a direction indicated by a symbol K in FIG.
【0026】2次元コード読取装置1は、定置式の装置
であり、ベルトコンベア70によって搬送される物品7
1の上面(光学情報記録面)に印刷されたQRコードを
読み取る。このQRコードについては後述する。2次元
コード読取装置1は、ベルトコンベア70側方の図示し
ない支柱に固定され、ベルトコンベア70の上方に配置
されている。The two-dimensional code reader 1 is a stationary type device, and the articles 7 conveyed by the belt conveyor 70 are
The QR code printed on the upper surface (optical information recording surface) of the device 1 is read. This QR code will be described later. The two-dimensional code reader 1 is fixed to a support (not shown) on the side of the belt conveyor 70, and is disposed above the belt conveyor 70.
【0027】2次元コード読取装置1は、光学情報読取
ユニット10と、物品検知ユニット20とを備えてお
り、2つのユニット10,20は相互に固定されて一体
となっている。このような一体化の構成は、メンテナン
ス性の向上に寄与する。最初に物品検知ユニット20に
ついて説明する。The two-dimensional code reader 1 includes an optical information reading unit 10 and an article detecting unit 20, and the two units 10, 20 are fixed to each other and integrated. Such an integrated configuration contributes to improvement in maintainability. First, the article detection unit 20 will be described.
【0028】物品検知ユニット20は、フォトセンサを
用いて構成されており、下方へ光を出射しこの反射光を
検知する。そして、反射光が検知されたか否かを示す信
号を、光学情報読取ユニット10へ出力する。物品検知
ユニット20からの光は、ベルトコンベア70と物品7
1の上面の色の違いによって、ベルトコンベア70に照
射された場合は吸収され、一方、物品71に照射された
場合は反射される。本実施例では、物品71がベルトコ
ンベア70の所定位置まで来ると、具体的には物品71
の先端面71aが図2中に記号αで示した位置(以下、
単に「位置α」という。)まで来ると、反射光が検知さ
れるものとする。The article detection unit 20 is constituted by using a photo sensor, emits light downward and detects the reflected light. Then, a signal indicating whether or not the reflected light is detected is output to the optical information reading unit 10. The light from the article detection unit 20 is transmitted to the belt conveyor 70 and the article 7.
Due to the difference in the color of the upper surface of the device 1, when the light is irradiated on the belt conveyor 70, the light is absorbed, and when the light is irradiated on the article 71, the light is reflected. In this embodiment, when the article 71 reaches a predetermined position on the belt conveyor 70, specifically, the article 71
Is located at the position indicated by the symbol α in FIG.
It is simply called “position α”. ), The reflected light is detected.
【0029】続いて光学情報読取ユニット10について
説明する。光学情報読取ユニット10は、図3に示すよ
うに、制御回路11、照明用発光ダイオード部(以下
「照明LED部」という。)12、CCDエリアセンサ
13、増幅回路14、2値化回路15、特定比検出回路
16、同期パルス発生回路17、アドレス発生回路1
8、画像メモリ19及び通信I/F回路33を備えてい
る。Next, the optical information reading unit 10 will be described. As shown in FIG. 3, the optical information reading unit 10 includes a control circuit 11, a light emitting diode unit for illumination (hereinafter, referred to as “illumination LED unit”) 12, a CCD area sensor 13, an amplification circuit 14, a binarization circuit 15, Specific ratio detection circuit 16, synchronization pulse generation circuit 17, address generation circuit 1
8, an image memory 19 and a communication I / F circuit 33.
【0030】制御回路11は、CPU、ROM、RA
M、I/O等を備えたコンピュータシステムとして構成
され、ROMに記憶されているプログラムに従って後述
する読取処理を実行する。上述した物品検知ユニット2
0からの信号は、この制御回路11に入力されるように
なっている。The control circuit 11 includes a CPU, ROM, RA
It is configured as a computer system having M, I / O, etc., and executes a reading process described later according to a program stored in the ROM. Article detection unit 2 described above
The signal from 0 is input to the control circuit 11.
【0031】照明LED部12は、物品71の上面に記
録されたQRコードに対して照明用の赤色光を照射する
ものである。本実施例において、この照明LED部12
は図4に示す如く構成されている。ここで照明LED部
12の構成を説明しておく。照明LED部12は、LE
D12a、光量検知センサ12b、トランジスタ12
c、アンプ部12d、抵抗器12eを備えている。The illumination LED section 12 irradiates the QR code recorded on the upper surface of the article 71 with red light for illumination. In the present embodiment, the illumination LED unit 12
Are configured as shown in FIG. Here, the configuration of the illumination LED unit 12 will be described. The lighting LED unit 12 is LE
D12a, light amount detection sensor 12b, transistor 12
c, an amplifier section 12d and a resistor 12e.
【0032】図4に示すように、制御回路11からの信
号は、アンプ部12dに入力されるようになっている。
アンプ部12dの出力端子は、トランジスタ12cのベ
ース端子に接続されている。また、トランジスタ12c
のコレクタ端子は、LED12aを介して電池(電源)
に接続されている。そして、トランジスタ12cのエミ
ッタ端子は、抵抗器12eを介して接地されている。一
方、光量検知センサ12bは、制御回路11に接続され
ており、LED12aから出射される赤色光の光量を検
知し、電気信号に変換して制御回路11へ出力する。As shown in FIG. 4, a signal from the control circuit 11 is input to an amplifier 12d.
The output terminal of the amplifier section 12d is connected to the base terminal of the transistor 12c. Also, the transistor 12c
Is connected to a battery (power supply) via the LED 12a.
It is connected to the. The emitter terminal of the transistor 12c is grounded via the resistor 12e. On the other hand, the light amount detection sensor 12b is connected to the control circuit 11, detects the amount of red light emitted from the LED 12a, converts the light amount into an electric signal, and outputs the electric signal to the control circuit 11.
【0033】この構成において制御回路11は、光量検
知センサ12bからの信号に基づき、LED12aから
の赤色光の光量が経年変化等により減少した場合、アン
プ部12dへLED12aを流れる電流量を増やすよう
制御信号を出力する。すると、その制御信号に基づき、
アンプ部12dがトランジスタ12cのベース電流を可
変し、その結果、LED12aを流れる電流量が増加す
る。これによって、LED12aから出射される赤色光
の光量を一定とすることができる。In this configuration, the control circuit 11 controls the amplifier 12d to increase the amount of current flowing through the LED 12a when the amount of red light from the LED 12a decreases due to aging or the like based on a signal from the light amount detection sensor 12b. Output a signal. Then, based on the control signal,
The amplifier section 12d varies the base current of the transistor 12c, and as a result, the amount of current flowing through the LED 12a increases. Thus, the amount of red light emitted from the LED 12a can be made constant.
【0034】図3中のCCDエリアセンサ13は、2次
元的に配列された複数の受光素子であるCCDを有して
おり、物品71の上面からの反射光を受光し、物品71
の上面の所定領域を撮像してその2次元画像を水平方向
の走査線信号として出力する。この走査線信号は増幅回
路14によって増幅されて2値化回路15に出力され
る。The CCD area sensor 13 shown in FIG. 3 has a plurality of two-dimensionally arranged light receiving elements, CCDs, and receives the reflected light from the upper surface of the article 71.
And outputs a two-dimensional image as a horizontal scanning line signal. This scanning line signal is amplified by the amplifier circuit 14 and output to the binarization circuit 15.
【0035】増幅回路14は、制御回路11から入力し
たゲインコントロール電圧に対応する増幅率で、CCD
エリアセンサ13から出力された走査線信号を増幅す
る。2値化回路15は、増幅回路14にて増幅された走
査線信号を、閾値に基づいて2値化し、特定比検出回路
16及び画像メモリ19に出力する。The amplification circuit 14 has a gain corresponding to the gain control voltage input from the control circuit 11 and has a CCD
The scanning line signal output from the area sensor 13 is amplified. The binarizing circuit 15 binarizes the scanning line signal amplified by the amplifying circuit 14 based on a threshold and outputs the binarized signal to the specific ratio detecting circuit 16 and the image memory 19.
【0036】特定比検出回路16は、2値化回路15に
て2値化された走査線信号の内から後述する所定の周波
数成分比を検出し、その検出結果を画像メモリ19に出
力する。また、2値化回路15から出力される2値デー
タは、画像メモリ19に画像データとして記憶される。
CCDエリアセンサ13は、制御回路11から指示され
たタイミングで画像を検出する。なお、本実施例では、
このように特定比検出回路16によって所定の周波数成
分比を検出した後に、2値データを画像メモリ19に画
像データとして記憶する構成であるが、別の手法とし
て、2値データを画像メモリ19に画像データとして記
憶し、その後、その画像データに基づいて周波数成分比
等の特徴的なパターンの検出を行うよう構成してもよ
い。The specific ratio detection circuit 16 detects a predetermined frequency component ratio, which will be described later, from the scanning line signal binarized by the binarization circuit 15 and outputs the detection result to the image memory 19. The binary data output from the binarization circuit 15 is stored in the image memory 19 as image data.
The CCD area sensor 13 detects an image at a timing specified by the control circuit 11. In this embodiment,
As described above, after the specific frequency component ratio is detected by the specific ratio detection circuit 16, the binary data is stored in the image memory 19 as image data. However, as another method, the binary data is stored in the image memory 19. It may be configured to store as image data and thereafter detect a characteristic pattern such as a frequency component ratio based on the image data.
【0037】同期パルス発生回路17は、同期パルスを
出力する。アドレス発生回路18はこの同期パルスをカ
ウントして、画像メモリ19の画像データ記憶領域に対
するアドレスを発生させる。画像データである2値デー
タは、アドレス毎に16ビット単位で書き込まれる。な
お、本実施例では、16ビット単位で書き込むようにし
ているが、例えば8ビット単位で書き込むようにしても
よい。The synchronization pulse generation circuit 17 outputs a synchronization pulse. The address generation circuit 18 counts this synchronization pulse and generates an address for the image data storage area of the image memory 19. Binary data, which is image data, is written in 16-bit units for each address. In this embodiment, writing is performed in units of 16 bits, but writing may be performed in units of 8 bits, for example.
【0038】所定の周波数成分比を検出する特定比検出
回路16は、2値化回路15からの信号における「1」
から「0」への変化あるいは「0」から「1」への変化
を検出し、ある変化点から次の変化点までの間に、同期
パルス発生回路17から出力された同期パルスをカウン
トすることにより、2次元画像の中の明(白)の連続す
る長さ及び暗(黒)の連続する長さを求める。本実施例
では、QRコードを対象としているからである。The specific ratio detecting circuit 16 for detecting a predetermined frequency component ratio is "1" in the signal from the binarizing circuit 15.
Detecting a change from “0” to “0” or a change from “0” to “1”, and counting the number of synchronization pulses output from the synchronization pulse generation circuit 17 between a certain change point and the next change point. Thus, the continuous length of light (white) and the continuous length of dark (black) in the two-dimensional image are obtained. This is because in the present embodiment, the QR code is targeted.
【0039】ここでQRコードについて説明する。図8
の説明図にQRコードを例示した。図8に示すようにQ
Rコードは、3つの位置決め用シンボルA,C,Dを有
している。QRコードを読み取る際、まず最初にこの3
つの位置決め用シンボルA,C,Dを検出する。この位
置決め用シンボルA,C,Dは、明暗の比率が走査方向
によらず特定の比率、1(暗):1(明):3(暗):
1(明):1(暗)となるパターンである。Here, the QR code will be described. FIG.
The QR code is illustrated in the explanatory diagram of FIG. As shown in FIG.
The R code has three positioning symbols A, C, and D. When reading a QR code,
Two positioning symbols A, C, and D are detected. The positioning symbols A, C, and D have a specific ratio of light and dark regardless of the scanning direction, 1 (dark): 1 (bright): 3 (dark):
1 (bright): 1 (dark).
【0040】したがって、特定比検出回路16にて求め
られる長さの比がこの特定の比率になったことを判断し
て、位置決め用シンボルA,C,Dを検出することがで
きる。なお、QRコードは、この位置決め用シンボル
A,C,Dの間に、明、暗のセルを交互に配列したタイ
ミングセルE,Fを有するため、さらにこのタイミング
セルの中心位置から他のセルの中心位置が求められてデ
コードされる。Accordingly, the positioning symbols A, C, and D can be detected by determining that the length ratio obtained by the specific ratio detection circuit 16 has reached the specific ratio. Since the QR code has timing cells E and F in which light and dark cells are alternately arranged between the positioning symbols A, C and D, the QR code further moves from the center position of the timing cell to other cells. The center position is determined and decoded.
【0041】通信I/F回路33は、図示しない外部装
置との間で通信を行うものであり、図示しない通信用発
光素子を介してデータを外部装置に送信したり、図示し
ない通信用受光素子を介して外部装置からの信号を受信
する。次に、本2次元コード読取装置1と、搬送される
物品71との位置関係などを説明する。The communication I / F circuit 33 communicates with an external device (not shown). The communication I / F circuit 33 transmits data to the external device via a communication light emitting element (not shown), or transmits light to a communication light receiving element (not shown). Via the external device. Next, the positional relationship between the two-dimensional code reader 1 and the article 71 to be conveyed will be described.
【0042】図2に示すように、光学情報読取ユニット
10の下面、すなわちベルトコンベア70側にある面に
は、物品71の上面からの反射光を入射させるための読
取口10aが形成されている。CCDエリアセンサ13
の視野は、図5(a)に示すように、物品71の上面の
50mm四方の領域である。図1に示すようにベルトコ
ンベア70によって搬送される物品71の上面には2つ
のQRコードが搬送方向に並んで印刷されているが、上
述したCCDエリアセンサ13の視野に入ると、QRコ
ードはレンズを介してCCDエリアセンサ13に適切に
結像される。このQRコードは、図5(b)に示すよう
に30mm四方のコードである。このQRコードが適正
な位置に記録された状態は、図5(b)に示す如くであ
る。つまり、搬送方向に見ると、物品71の先端面71
aから10mmの間隔をあけて1つ目のQRコードが記
録されており、さらに1つ目のQRコードと20mmの
間隔で2つ目のQRコードが記録されている。また、搬
送方向と垂直な方向に見ると、各QRコードは、物品の
端面71b,71cからそれぞれ30mmの間隔をあけ
て記録されている。As shown in FIG. 2, on the lower surface of the optical information reading unit 10, that is, on the surface on the side of the belt conveyor 70, there is formed a reading opening 10a through which reflected light from the upper surface of the article 71 is incident. . CCD area sensor 13
Is a 50 mm square area on the upper surface of the article 71 as shown in FIG. As shown in FIG. 1, two QR codes are printed on the upper surface of the article 71 conveyed by the belt conveyor 70 side by side in the conveying direction. An image is appropriately formed on the CCD area sensor 13 via the lens. This QR code is a 30 mm square code as shown in FIG. The state where this QR code is recorded at an appropriate position is as shown in FIG. That is, when viewed in the transport direction, the leading end surface 71 of the article 71
The first QR code is recorded at an interval of 10 mm from a, and the second QR code is recorded at an interval of 20 mm from the first QR code. When viewed in a direction perpendicular to the transport direction, each QR code is recorded at an interval of 30 mm from the end surfaces 71b and 71c of the article.
【0043】したがって、QRコードが適正な位置にあ
れば、図2に示す搬送方向におけるCCDエリアセンサ
13の視野の端のうちで上述した位置αから遠い側の
端、すなわち図2中の記号βで示す位置(以下、単に
「位置β」という。)まで物品71の先端面71aが来
ると、CCDエリアセンサ13の視野のちょうど真ん中
に1つ目のQRコードが入ることになる。本実施例で
は、この位置βが位置αから90mmとなっている(図
2参照)。また、CCDエリアセンサ13の視野のちょ
うど真ん中に2つ目のQRコードが来るのは、さらに物
品71が50mm移動した時であり、物品71の先端面
71aが位置αから140mmだけ移動した位置、すな
わち図2中に記号δで示す位置(以下、単に「位置δ」
という。)に来たときである。Therefore, if the QR code is at an appropriate position, the end of the field of view of the CCD area sensor 13 in the transport direction shown in FIG. 2 that is farther from the position α, ie, the symbol β in FIG. When the tip surface 71a of the article 71 reaches the position indicated by (hereinafter, simply referred to as “position β”), the first QR code enters the center of the field of view of the CCD area sensor 13. In this embodiment, the position β is 90 mm from the position α (see FIG. 2). The second QR code comes just in the center of the field of view of the CCD area sensor 13 when the article 71 has further moved 50 mm, and the position where the tip surface 71a of the article 71 has moved 140 mm from the position α. That is, the position indicated by the symbol δ in FIG.
That. It is when I came to).
【0044】本実施例では、画像として取り込んだQR
コードが物品の適正な位置(図5(b)に示した位置)
に記録されているか否かを判断するため、上述した2つ
の位置β,δ及びそれら位置β,δの中間位置、すなわ
ち図2中に記号γで示す位置(以下、単に「位置γ」と
いう。)の3つの位置に物品71が来ると予測されるタ
イミングで計3枚の画像を取り込む。位置γは、位置α
から115mmとなっている。In this embodiment, the QR captured as an image
The code is at the proper position of the article (the position shown in FIG. 5 (b))
In order to judge whether or not the position is recorded in the above-mentioned position, the two positions β and δ described above and an intermediate position between the positions β and δ, that is, a position indicated by a symbol γ in FIG. 2 (hereinafter, simply referred to as “position γ”). 3), a total of three images are captured at the timing when the article 71 is predicted to come to the three positions. The position γ is the position α
And 115 mm.
【0045】なお、本実施例では、各物品71間で搬送
方向に垂直な方向の「ずれ」は生じないものとする。次
に、本実施例の2次元コード読取装置1の動作を説明す
る。本実施例の2次元コード読取装置1は、光学情報読
取ユニット10の制御部11にて実行される読取処理に
特徴を有している。この読取処理では、物品71の先端
面71aが位置αに来たことを物品検知ユニット20か
らの信号に基づき検知し、その検知時点から所定時間の
経過を判断することによって物品71の先端面71aが
上述した位置β,γ,δまで移動したことを判断してQ
Rコードを画像として取り込む。このとき、この読取処
理では、位置β,γ,δで取り込まれた各画像からQR
コードの物品71に対する記録位置を算出し、当該記録
位置が適正な位置であるか否かを判断し、判断結果に基
づきデコード処理を実行する。In this embodiment, it is assumed that there is no "shift" between the articles 71 in the direction perpendicular to the transport direction. Next, the operation of the two-dimensional code reader 1 of the present embodiment will be described. The two-dimensional code reading device 1 of the present embodiment is characterized by a reading process executed by the control unit 11 of the optical information reading unit 10. In this reading process, the arrival of the tip surface 71a of the article 71 at the position α is detected based on a signal from the article detection unit 20, and the elapse of a predetermined time from the detection point is determined. Is determined to have moved to the positions β, γ, δ described above, and Q
The R code is captured as an image. At this time, in this reading process, QR images are obtained from the images captured at the positions β, γ, and δ.
The recording position of the code with respect to the article 71 is calculated, it is determined whether or not the recording position is an appropriate position, and a decoding process is executed based on the determination result.
【0046】この読取処理の詳細を、図6のフローチャ
ートに基づいて説明する。まず最初のステップS100
において、物品71を検知したか否かを判断する。この
処理は、物品検知ユニット20からの信号に基づき、物
品71の先端面71aが位置αに来たことを判断するも
のである。ここで物品を検知した場合(S100:YE
S)、S110へ移行する。一方、物品を検知しないう
ちは(S100:NO)、この判断処理を繰り返す。The details of the reading process will be described with reference to the flowchart of FIG. First step S100
In, it is determined whether or not the article 71 has been detected. In this process, it is determined based on a signal from the article detection unit 20 that the leading end surface 71a of the article 71 has reached the position α. If an article is detected here (S100: YE
S), proceed to S110. On the other hand, this process is repeated unless an article is detected (S100: NO).
【0047】S110では、所定時間が経過したか否か
を判断する。ベルトコンベア70の搬送速度は仕様で6
00mm/秒であるとする。したがって、位置αから位
置βまで物品71の先端面71aが移動するのに要する
時間は、90÷600=150ミリ秒である。同様に、
位置αから位置γまで移動するのに要する時間は115
÷600≒192ミリ秒、位置δまで移動するのに要す
る時間は140÷600≒233ミリ秒である。したが
って、所定時間として3つの時間、すなわち150ミリ
秒、192ミリ秒、233ミリ秒を設定しておく。In S110, it is determined whether a predetermined time has elapsed. The conveyor speed of the belt conveyor 70 is 6
It is assumed that the speed is 00 mm / sec. Therefore, the time required for the tip surface 71a of the article 71 to move from the position α to the position β is 90 ÷ 600 = 150 milliseconds. Similarly,
The time required to move from position α to position γ is 115
$ 600/192 ms, and the time required to move to position δ is 140/600/233 ms. Therefore, three predetermined times, that is, 150 milliseconds, 192 milliseconds, and 233 milliseconds are set.
【0048】S110において所定時間の経過が判断さ
れると(S110:YES)、S120にて画像の取り
込みを行い、S130へ移行する。S130では、所定
枚数取り込んだか否かを判断する。ここで1枚又は2枚
の画像しか取り込んでいない場合(S130:NO)、
S110へ移行し次の画像を取り込む。3枚の画像が取
り込まれている場合(S130:YES)、S140へ
移行する。If it is determined in S110 that the predetermined time has elapsed (S110: YES), an image is fetched in S120, and the flow shifts to S130. In S130, it is determined whether or not a predetermined number has been captured. Here, when only one or two images have been captured (S130: NO),
The process proceeds to S110 to capture the next image. If three images have been captured (S130: YES), the process proceeds to S140.
【0049】S140では、画像中のQRコードの位置
決め用シンボルの中心座標を算出する。本実施例では、
QRコードの有する3つの位置決め用シンボルのうちの
左上の位置決め用シンボルの中心座標を算出する。例え
ば図7に示すように各画像が取り込まれたものとして以
下の説明を続ける。なお、図7(a)は、1枚目の画像
領域を示している。同様に、図7(b)が2枚目、図7
(c)が3枚目の画像領域を示している。In S140, the center coordinates of the QR code positioning symbol in the image are calculated. In this embodiment,
The center coordinates of the upper left positioning symbol among the three positioning symbols of the QR code are calculated. For example, the following description is continued assuming that each image is captured as shown in FIG. FIG. 7A shows the first image area. Similarly, FIG. 7B shows the second sheet, and FIG.
(C) shows the third image area.
【0050】図7(a)では、1つ目のQRコードの3
つの位置決め用シンボルA,C,Dの全てが画像中にあ
るため、位置決め用シンボルA,C,Dの配置に基づい
て、左上の位置決め用シンボルAの中心座標、記号X1
で示した位置(以下、単に「位置X1」という。)の座
標を算出する。図7(c)についても同様に、2つ目の
QRコードの左上の位置決め用シンボルAの中心座標、
記号Y3で示した位置(以下、単に「位置Y3」とい
う。)の座標を算出する。In FIG. 7A, the first QR code 3
Since all the positioning symbols A, C, and D are in the image, the center coordinates of the upper left positioning symbol A and the symbol X1 are determined based on the arrangement of the positioning symbols A, C, and D.
The coordinates of the position indicated by (hereinafter, simply referred to as “position X1”) are calculated. 7C, similarly, the center coordinates of the positioning symbol A at the upper left of the second QR code,
The coordinates of the position indicated by the symbol Y3 (hereinafter, simply referred to as “position Y3”) are calculated.
【0051】図7(b)については次のようにして算出
する。例えば図7(b)の画像領域に含まれる1つ目の
QRコードについては、右上の1つの位置決め用シンボ
ルCのみが画像中に含まれている。この場合、位置決め
用シンボルA,C,Dの配置から、画像中に含まれる位
置決め用シンボルが右上の位置決め用シンボルCである
と判断できる。したがって、その位置決め用シンボルの
中心座標から左上の位置決め用シンボルAの中心座標
(画像の外にある位置座標)を求める。この位置を図中
に記号X2として示した(以下、単に「位置X2」とい
う。)。FIG. 7B is calculated as follows. For example, as for the first QR code included in the image area of FIG. 7B, only one positioning symbol C at the upper right is included in the image. In this case, it can be determined from the arrangement of the positioning symbols A, C, and D that the positioning symbol included in the image is the upper right positioning symbol C. Therefore, the center coordinates (position coordinates outside the image) of the upper left positioning symbol A are obtained from the center coordinates of the positioning symbol. This position is shown as X2 in the figure (hereinafter, simply referred to as “position X2”).
【0052】一方、図7(b)の画像領域に含まれる2
つ目のQRコードについては、左上及び左下の2つの位
置決め用シンボルA,Dが画像中に含まれている。この
場合、位置決め用シンボルA,C,Dの配置から、上下
に並んだ位置決め用シンボルの上側の位置決め用シンボ
ルが左上の位置決め用シンボルAであると判断できる。
したがって、その位置決め用シンボルの中心座標を求め
る。この位置を図中に記号Y2として示した(以下、単
に「位置Y2」という。)。On the other hand, 2 included in the image area of FIG.
As for the first QR code, two upper-left and lower-left positioning symbols A and D are included in the image. In this case, it can be determined from the arrangement of the positioning symbols A, C, and D that the positioning symbol above the positioning symbols arranged vertically is the upper left positioning symbol A.
Therefore, the center coordinates of the positioning symbol are obtained. This position is shown as a symbol Y2 in the figure (hereinafter, simply referred to as “position Y2”).
【0053】このようにして各画像について位置情報と
しての中心座標が算出されるのであるが、3つの位置決
め用シンボルが1つも画像中にない場合には、位置決め
用シンボルの中心座標が算出できない。そこで続くS1
50では、S140においてQRコードの位置決め用シ
ンボルの中心座標が算出できたか否かを判断する。中心
座標が算出できた場合(S150:YES)、S160
へ移行する。一方、中心座標が算出できなかった場合
(S150:NO)、すなわち3つの位置決め用シンボ
ルが1つも画像中にない場合には、情報コードの記録位
置が適正でないと判断し、S180へ移行する。In this way, the center coordinates as position information are calculated for each image. However, if no three positioning symbols are present in the image, the center coordinates of the positioning symbols cannot be calculated. S1 that continues there
In 50, it is determined whether or not the center coordinates of the QR code positioning symbol have been calculated in S140. If the center coordinates can be calculated (S150: YES), S160
Move to. On the other hand, if the center coordinates cannot be calculated (S150: NO), that is, if no three positioning symbols are present in the image, it is determined that the recording position of the information code is not appropriate, and the process proceeds to S180.
【0054】S160では、各画像に対して算出した中
心座標から、物品71の搬送速度を算出する。ここで
は、図7(a)及び(b)の各画像から算出した位置X
1及び位置X2の座標値と画像取込タイミングとに基づ
いて、物品71の搬送速度を算出する。具体的には、1
92−150=42ミリ秒の間に位置X1と位置X2と
の差分だけ移動したと考えられるため、位置X1と位置
X2の差分で示される距離を42ミリ秒という時間で割
ればよい。なお、同一のQRコードの位置情報に基づけ
ば搬送速度は分かるため、図7(b)及び(c)の各画
像から算出した位置Y2及び位置Y3の座標値と画像取
込タイミングとに基づいて、物品71の搬送速度を算出
してもよい。In S160, the transport speed of the article 71 is calculated from the center coordinates calculated for each image. Here, the position X calculated from each of the images in FIGS.
The transport speed of the article 71 is calculated based on the coordinate values of the position 1 and the position X2 and the image capture timing. Specifically, 1
Since it is considered that the position has moved by the difference between the position X1 and the position X2 during 92-150 = 42 milliseconds, the distance indicated by the difference between the position X1 and the position X2 may be divided by the time of 42 milliseconds. Since the transport speed can be determined based on the position information of the same QR code, based on the coordinate values of the position Y2 and the position Y3 calculated from each image of FIGS. 7B and 7C and the image capture timing. Alternatively, the transport speed of the article 71 may be calculated.
【0055】ベルトコンベア70の搬送速度は、仕様で
は600mm/秒であるが、このS160の処理によっ
て正確な搬送速度が算出される。搬送速度は、同一製品
の間でも5パーセント程度のばらつきがあり、また、経
年変化することも考えられるからである。Although the transport speed of the belt conveyor 70 is 600 mm / sec in the specification, an accurate transport speed is calculated by the process of S160. This is because the transport speed varies by about 5% between the same products, and may change over time.
【0056】続く170では、QRコードの物品に対す
る記録位置を算出する。S160にて搬送速度が算出さ
れると、この搬送速度から物品71のどの領域が撮像さ
れているのかが分かる。例えば1枚目の画像は、物品7
1が位置αに来た時点から150ミリ秒後に取り込まれ
る。したがって、150ミリ秒に搬送速度を掛けた距離
だけ物品71が移動した時点で、1枚目の画像が取り込
まれる。At step 170, the recording position of the QR code for the article is calculated. When the transport speed is calculated in S160, it is possible to know which region of the article 71 is being imaged from the transport speed. For example, the first image is an article 7
It is taken in 150 milliseconds after the point 1 comes to the position α. Therefore, when the article 71 moves by a distance obtained by multiplying the transport speed by 150 milliseconds, the first image is captured.
【0057】ここでは、図7(a)に示す1枚目の画像
領域の位置X1の座標値から1つ目のQRコードの記録
位置を算出する。また、図7(b)に示す画像からは位
置X2及び位置Y2の座標が算出されるため、この2つ
の位置X2,Y2座標値に基づき、2つ目のQRコード
の記録位置を1つ目のQRコードの記録位置に対する相
対位置として算出する。Here, the recording position of the first QR code is calculated from the coordinate value of the position X1 of the first image area shown in FIG. 7A. Further, since the coordinates of the position X2 and the position Y2 are calculated from the image shown in FIG. 7B, the recording position of the second QR code is determined based on the coordinate values of the two positions X2 and Y2. Is calculated as a relative position to the recording position of the QR code.
【0058】そして次のS180では、QRコードの記
録位置が適正であるか否かを判断する。QRコードの記
録位置が適正である場合(S180:YES)、すなわ
ち図5(b)に示す位置関係である場合には、S190
へ移行する。一方、QRコードの記録位置が適正でない
場合(S180:NO)、S200へ移行する。Then, in the next S180, it is determined whether or not the recording position of the QR code is appropriate. If the recording position of the QR code is appropriate (S180: YES), that is, if the positional relationship shown in FIG.
Move to. On the other hand, if the recording position of the QR code is not appropriate (S180: NO), the process proceeds to S200.
【0059】S190では、デコード処理を行い、その
後、本読取処理を終了する。例えば1つ目のQRコード
は、図7(a)に示した1枚目の画像に基づきデコード
処理を行い、2つ目のQRコードは図7(c)に示した
2枚目の画像に基づきデコード処理を行うという具合で
ある。In S190, a decoding process is performed, and thereafter, the main reading process ends. For example, the first QR code is decoded based on the first image shown in FIG. 7A, and the second QR code is converted to the second image shown in FIG. 7C. That is, the decoding process is performed based on this.
【0060】S200では、警告処理を実行し、その
後、本読取処理を終了する。警告処理は、例えば図示し
ない光学情報読取ユニット10のブザー等を用いて利用
者に異常を報知するものであることが考えられる。ま
た、光学情報読取ユニット10が表示装置を備える構成
であれば、この表示装置にその旨を表示するようにして
もよい。In S200, a warning process is executed, and thereafter, the main reading process ends. It is conceivable that the warning process is to notify the user of an abnormality using, for example, a buzzer or the like of the optical information reading unit 10 (not shown). If the optical information reading unit 10 is provided with a display device, this may be displayed on the display device.
【0061】次に、本実施例の2次元コード読取装置1
の発揮する効果を説明する。本2次元コード読取装置1
では、物品検知ユニット20にて物品71が所定位置に
来たことを検知し(図6中のS100)、その時点から
所定時間が経過した時点で画像を取り込み(S110,
S120)、画像中のQRコードが有する位置決め用シ
ンボルの中心座標を算出する(S140)。この中心座
標からQRコードの物品71に対する記録位置を算出し
(S170)、記録位置が適正であれば(S180:Y
ES)、デコード処理を行う(S190)。一方、位置
決め用シンボルの中心座標が算出できない場合(S15
0:NO)、又はQRコードの記録位置が適正でない場
合には(S180:NO)、警告処理を実行する(S2
00)。Next, the two-dimensional code reader 1 of this embodiment
The effect exhibited by will be described. The present two-dimensional code reader 1
Then, the article detection unit 20 detects that the article 71 has reached the predetermined position (S100 in FIG. 6), and captures an image when a predetermined time has elapsed from that point (S110, S110).
(S120), the center coordinates of the positioning symbol included in the QR code in the image are calculated (S140). The recording position of the QR code on the article 71 is calculated from the center coordinates (S170), and if the recording position is appropriate (S180: Y
ES), a decoding process is performed (S190). On the other hand, when the center coordinates of the positioning symbol cannot be calculated (S15
0: NO) or when the recording position of the QR code is not appropriate (S180: NO), a warning process is executed (S2).
00).
【0062】つまり、本2次元コード読取装置1によれ
ば、搬送路を移動する物品71に記録されたQRコード
が適正な位置に記録されているか否かを簡単に判断する
ことができる。例えば、従来、このような移動する物品
の適正な位置にQRコードなどの情報コードが記録され
ているか否かを判断する装置はなかった。そのため、例
えば物品にQRコードを印刷した後、そのQRコードが
適正な位置に印刷されているか否かを検査しようとすれ
ば、一つずつ検査することになる。これに対して、2次
元コード読取装置1を用いれば、搬送路を物品が移動し
ている状態で、QRコードがその物品の適正な位置に印
刷されているか否かを検査することができる。また、適
正な位置に印刷されている場合、その後、デコード処理
がなされるため、デコード処理結果に基づいてQRコー
ドとして記録された情報が正しいか否かを判断すること
もできる。That is, according to the two-dimensional code reader 1, it is possible to easily determine whether or not the QR code recorded on the article 71 moving on the transport path is recorded at an appropriate position. For example, conventionally, there is no device that determines whether an information code such as a QR code is recorded at an appropriate position of such a moving article. Therefore, for example, after printing a QR code on an article, if it is attempted to check whether or not the QR code is printed at an appropriate position, the inspection is performed one by one. On the other hand, if the two-dimensional code reader 1 is used, it is possible to inspect whether the QR code is printed at an appropriate position on the article while the article is moving on the transport path. Further, if the information is printed at an appropriate position, the decoding process is performed thereafter, so that it is possible to determine whether or not the information recorded as the QR code is correct based on the result of the decoding process.
【0063】また、本2次元コード読取装置1を、例え
ば入場券、乗車券などに印刷されたQRコードを読み取
るために使用すれば、規格通りの位置にQRコードが印
刷されていない券については、QRコードが読み取られ
ない。したがって、偽造された券の使用防止に効果的で
ある。If the two-dimensional code reader 1 is used to read a QR code printed on, for example, an entrance ticket, a ticket, etc., for a ticket in which the QR code is not printed at a standard position, , QR code is not read. Therefore, it is effective in preventing use of forged tickets.
【0064】さらにまた、本2次元コード読取装置1で
は、複数枚の画像を所定の取込タイミングで取り込み、
これらの画像に基づき物品71の搬送速度を算出する
(S160)。そして、この搬送速度に基づいてQRコ
ードの記録位置を算出する(S170)。これによっ
て、たとえ搬送装置の搬送速度にばらつきや経年変化が
見られる場合であっても、正確なQRコードの記録位置
を算出することができ、結果として、QRコードが適正
な位置に記録されているか否かを高い精度で判断するこ
とができる。この点からも、上述したような偽造した券
の使用防止に効果的である。Further, in the present two-dimensional code reader 1, a plurality of images are fetched at a predetermined fetch timing.
The conveyance speed of the article 71 is calculated based on these images (S160). Then, the recording position of the QR code is calculated based on the transport speed (S170). Accordingly, even if the transport speed of the transport device varies or changes over time, the accurate recording position of the QR code can be calculated, and as a result, the QR code is recorded at an appropriate position. It can be determined with high accuracy whether or not there is. From this point as well, it is effective in preventing the use of forged tickets as described above.
【0065】また、本2次元コード読取装置1では、Q
Rコードを対象としており、画像中のコード領域を特定
するための位置情報として、QRコードの有する位置決
め用シンボルの中心座標を算出する(S140)。した
がって、位置情報の算出処理が簡単である。In the present two-dimensional code reader 1, Q
The center coordinates of the positioning symbol included in the QR code are calculated as position information for specifying the code area in the image for the R code (S140). Therefore, the calculation processing of the position information is simple.
【0066】なお、本実施例の物品検知ユニット20及
び光学情報読取ユニット10の制御回路11が「検知手
段」に相当し、光学情報読取ユニット10の照明LED
部12が「発光手段」に相当し、光学情報読取ユニット
10のCCDエリアセンサ13が「画像取込手段」に相
当し、光学情報読取ユニット10の制御回路11が「位
置情報算出手段」、「コード記録位置算出手段」、「コ
ード記録位置判断手段」及び「デコード手段」に相当す
る。The article detection unit 20 and the control circuit 11 of the optical information reading unit 10 of this embodiment correspond to “detection means”, and the illumination LED of the optical information reading unit 10
The unit 12 corresponds to “light emitting means”, the CCD area sensor 13 of the optical information reading unit 10 corresponds to “image capturing means”, and the control circuit 11 of the optical information reading unit 10 includes “position information calculating means”, Code recording position calculation means "," code recording position determination means "and" decoding means ".
【0067】また、図6中のS100の処理が検知手段
としての処理に相当し、S110〜S130の処理が画
像取込手段としての処理に相当し、S140の処理が位
置情報算出手段としての処理に相当し、S170の処理
がコード記録位置算出手段としての処理に相当し、S1
80の処理がコード記録位置判断手段としての処理に相
当し、S190の処理がデコード手段としての処理に相
当する。The processing in S100 in FIG. 6 corresponds to the processing as the detecting means, the processing in S110 to S130 corresponds to the processing as the image capturing means, and the processing in S140 is the processing as the position information calculating means. The processing of S170 corresponds to the processing as code recording position calculation means,
The processing of 80 corresponds to the processing as the code recording position determining means, and the processing of S190 corresponds to the processing as the decoding means.
【0068】以上、本発明はこのような実施例に何等限
定されるものではなく、本発明の主旨を逸脱しない範囲
において種々なる形態で実施し得る。 (1)上記実施例では、搬送路を搬送される物品71が
所定の向きに整列されていることを前提としていたが、
ある物品71はコード記録面に垂直な軸を回転軸として
180度回転した状態で搬送されるというように搬送路
に対して物品71の前後がまちまちになる状況も考えら
れる。As described above, the present invention is not limited to such an embodiment, and can be implemented in various modes without departing from the gist of the present invention. (1) In the above embodiment, it is assumed that the articles 71 conveyed on the conveying path are aligned in a predetermined direction.
It is also conceivable that a certain article 71 is conveyed in a state of being rotated by 180 degrees about an axis perpendicular to the code recording surface as a rotation axis.
【0069】その場合、取り込まれた画像中のQRコー
ドの向きが180度回転した状態で画像中に取り込まれ
ることがある。したがって、例えばS130で肯定判断
された直後に、QRコードが備える位置決めシンボル
A,C,Dの配置によってQRコードの向きを判断する
ステップを追加することが考えられる。この判断処理
は、例えば図7(a)又は(c)に示すようなQRコー
ドの3つの位置決めシンボルA,C,Dの全てが存在す
る画像に基づき実行するという具合である。つまり、3
つの位置決めシンボルA,C,Dが左上、左下及び右上
にある場合は回転のない状態と判断できる。また、右
下、右上及び左上にある場合は180度回転している状
態と判断できる。また、例えば物品71が正方形形状又
は立方体形状であれば、コード記録面に垂直な軸を回転
軸として90度回転した状態で搬送される状況も考えら
れる。In this case, the QR code in the captured image may be captured in the image in a state where the QR code is rotated by 180 degrees. Therefore, for example, immediately after a positive determination in S130, a step of determining the direction of the QR code based on the arrangement of the positioning symbols A, C, and D included in the QR code may be added. This determination processing is performed based on an image in which all three positioning symbols A, C, and D of the QR code as shown in FIG. 7A or 7C are present. That is, 3
When the two positioning symbols A, C, and D are at the upper left, lower left, and upper right, it can be determined that there is no rotation. In addition, when it is at the lower right, upper right, and upper left, it can be determined that it is rotated by 180 degrees. Further, for example, if the article 71 is square or cubic, the article 71 may be conveyed while being rotated 90 degrees around an axis perpendicular to the code recording surface as a rotation axis.
【0070】その場合、取り込まれた画像中のQRコー
ドの向きが90度回転した状態で画像中に取り込まれる
ことが起こり得る。このときは、上記実施例よりもCC
Dエリアセンサの視野を広く構成しておくなどして、一
のQRコードの3つの位置決め用シンボルの全てが存在
する画像を得られるようにすれば、位置決め用シンボル
が右上、左上及び右下にある場合は右方向(時計回り)
に90度回転した状態であると判断できる。また、左
下、右下及び左上にある場合は左方向(反時計回り)に
90度回転した状態であると判断できる。In this case, it is possible that the QR code in the captured image is captured in the image with the orientation rotated by 90 degrees. In this case, CC is higher than in the above embodiment.
If it is possible to obtain an image in which all three positioning symbols of one QR code are present, for example, by configuring the field of view of the D area sensor wide, the positioning symbols can be positioned at the upper right, upper left, and lower right. If there is, right (clockwise)
Can be determined to be in a state rotated by 90 degrees. In addition, when it is at the lower left, lower right, and upper left, it can be determined that it is in a state rotated 90 degrees to the left (counterclockwise).
【0071】そして、以降のステップでは、この判断結
果を考慮してQRコードの記録位置を算出し、記録位置
が適正か否かを判断するようにする。例えばQRコード
が90度、180度といったように回転して画像中に取
り込まれている場合、算出した中心座標を補正して回転
していない状態の中心座標を算出するようにすればよ
い。このように構成すれば、搬送路を搬送される物品7
1の向きが一定にならない場合であっても、情報コード
が物品の適正な位置に記録されているか否かを判断でき
る。In the subsequent steps, the recording position of the QR code is calculated in consideration of the result of the determination, and it is determined whether the recording position is appropriate. For example, when the QR code is rotated into 90 degrees or 180 degrees and captured in an image, the calculated center coordinates may be corrected to calculate the center coordinates in a non-rotated state. With such a configuration, the article 7 conveyed along the conveyance path
Even if the direction of 1 is not constant, it can be determined whether or not the information code is recorded at an appropriate position of the article.
【0072】(2)また、上記実施例ではQRコードを
用いているが、本発明はQRコード以外の2次元コード
やバーコードであっても位置情報の算出アルゴリズムを
変更して同様に適用することができる。 (3)上記実施例において物品検知ユニット20は、フ
ォトセンサを用いて構成されており、物品71からの反
射光に基づいて物品71が位置α(図2参照)に来たこ
とを検知していた。(2) Although the QR code is used in the above embodiment, the present invention is similarly applied to two-dimensional codes and bar codes other than the QR code by changing the calculation algorithm of the position information. be able to. (3) In the above embodiment, the article detection unit 20 is configured using a photo sensor, and detects that the article 71 has reached the position α (see FIG. 2) based on the reflected light from the article 71. Was.
【0073】この物品検知ユニット20に代え、特殊イ
ンク感知ユニットを光学情報読取ユニット10と一体に
構成することが考えられる。その場合は、物品71に特
殊インクを塗布しておく。例えば図9に示す如くであ
る。特殊インクとは、いわゆる磁気インクや、所定の波
長の光を変調して反射するインクをいう。このような特
殊インクは、通常、可視光線を吸収するため人間の目に
見えない。したがって、図9に示すようにQRコードに
重ねて塗布することも考えられる。そして、特殊インク
感知ユニットが、物品71に塗布された特殊インクに所
定波長の光を照射し、変調されて反射された光を検知す
る。これによって、物品71が位置αに来たことを検知
するようにしてもよい。Instead of the article detecting unit 20, a special ink detecting unit may be integrally formed with the optical information reading unit 10. In that case, the special ink is applied to the article 71 in advance. For example, as shown in FIG. The special ink is a so-called magnetic ink or an ink that modulates and reflects light having a predetermined wavelength. Such specialty inks are usually invisible to the human eye because they absorb visible light. Therefore, as shown in FIG. 9, it is conceivable to apply the QR code on the QR code. Then, the special ink sensing unit irradiates the special ink applied to the article 71 with light of a predetermined wavelength, and detects the modulated and reflected light. This may detect that the article 71 has reached the position α.
【0074】(4)また、物品71に特殊インクが塗布
されていることを前提とすれば、特殊インクの塗布され
た位置(例えば図9に矢印で示す塗布位置)からの相対
位置としてQRコードの記録位置を算出するようにして
もよい。 (5)さらに図10に示すように、物品検知ユニット2
0、特殊インク感知ユニット21、及び光学情報読取ユ
ニット10を備える構成を採用してもよい。このとき、
各ユニット10,20,21は、相互に位置関係が変わ
らないように一体化されている。このように一体化した
構成を採用すれば、本装置を設置する際、各ユニット1
0,20,21を別々に設置する場合と比べて、寸法誤
差を減少させることができる点で有利である。そして、
物品検知ユニット20にて物品71が位置αに来たこと
を検知すると共に、特殊インク感知ユニット21にて物
品71が位置αとは別の位置(図10中に記号εで示し
た位置)に来たことを検知するようにする。(4) Assuming that the special ink is applied to the article 71, the QR code is used as a relative position from the position where the special ink is applied (for example, the application position indicated by an arrow in FIG. 9). May be calculated. (5) Further, as shown in FIG.
0, a special ink sensing unit 21, and an optical information reading unit 10 may be adopted. At this time,
The units 10, 20, 21 are integrated so that their positional relationship does not change. If such an integrated configuration is adopted, each unit 1
This is advantageous in that dimensional errors can be reduced as compared with the case where 0, 20, and 21 are separately installed. And
The article detection unit 20 detects that the article 71 has reached the position α, and the special ink sensing unit 21 moves the article 71 to a position different from the position α (the position indicated by the symbol ε in FIG. 10). Try to detect that you have come.
【0075】このようにすれば、物品検知ユニット20
によって物品71が検知された時点と特殊インク感知ユ
ニット21にて物品71が検知された時点とに基づい
て、物品71の搬送速度を算出することもできる。ま
た、特殊インク感知ユニット21にて物品71が検知さ
れた時点に基づいて、QRコードの記録位置を算出する
こともできる。したがって、物品検知ユニット20及び
特殊インク感知ユニット21の両方のユニット20,2
1による物品71のそれぞれの検知時点に基づきQRコ
ードの記録位置を算出すれば、QRコードの記録位置を
より正確に算出することができる。In this way, the article detection unit 20
The conveyance speed of the article 71 can also be calculated based on the time when the article 71 is detected and the time when the article 71 is detected by the special ink sensing unit 21. Further, the recording position of the QR code can be calculated based on the time when the article 71 is detected by the special ink sensing unit 21. Accordingly, both the units 20, 2 of the article detection unit 20 and the special ink detection unit 21
If the recording position of the QR code is calculated based on each detection time point of the article 71 by No. 1, the recording position of the QR code can be calculated more accurately.
【図1】 実施例の2次元コード読取装置の斜視図であ
る。FIG. 1 is a perspective view of a two-dimensional code reader according to an embodiment.
【図2】 図1に示した斜視図を図1中の記号Kで示す
方向から見た概略透視図である。FIG. 2 is a schematic perspective view of the perspective view shown in FIG. 1 as viewed from a direction indicated by a symbol K in FIG.
【図3】 実施例の2次元コード読取装置の概略構成を
示すブロック図である。FIG. 3 is a block diagram illustrating a schematic configuration of a two-dimensional code reader according to the embodiment;
【図4】 光学情報読取ユニットを備える照明用発光ダ
イオードの構成を説明する回路図である。FIG. 4 is a circuit diagram illustrating a configuration of an illumination light-emitting diode including an optical information reading unit.
【図5】 物品の上面に記録されたQRコードの位置を
示す説明図である。FIG. 5 is an explanatory diagram showing a position of a QR code recorded on an upper surface of an article.
【図6】 2次元コード読取装置にて実行される読取処
理を示すフローチャートである。FIG. 6 is a flowchart illustrating a reading process performed by the two-dimensional code reading device.
【図7】 画像中のQRコードの位置情報及び基準位置
との差の算出を示す説明図である。FIG. 7 is an explanatory diagram showing calculation of position information of a QR code in an image and a difference from a reference position.
【図8】 QRコードを例示する説明図である。FIG. 8 is an explanatory diagram illustrating a QR code.
【図9】 物品に対する特殊インクの塗布を示す説明図
である。FIG. 9 is an explanatory view showing application of special ink to an article.
【図10】 別実施例の2次元コード読取装置の構成を示
す説明図である。FIG. 10 is an explanatory diagram illustrating a configuration of a two-dimensional code reader according to another embodiment.
1…2次元コード読取装置 10…光学情報
読取ユニット 10a…読取口 11…制御
回路 12…照明用発光ダイオード部 13…CCD
エリアセンサ 14…増幅回路 15…2値化
回路 16…特定比検出回路 17…同期パ
ルス発生回路 18…アドレス発生回路 19…画像メ
モリ 20…物品検知ユニット 21…特殊イ
ンク感知ユニット 33…通信I/F回路 70…ベルト
コンベア 71…物品 71a…先端面 71b,71c…端面DESCRIPTION OF SYMBOLS 1 ... Two-dimensional code reader 10 ... Optical information reading unit 10a ... Reading port 11 ... Control circuit 12 ... Light-emitting diode part for illumination 13 ... CCD
Area sensor 14 Amplification circuit 15 Binarization circuit 16 Specific ratio detection circuit 17 Synchronous pulse generation circuit 18 Address generation circuit 19 Image memory 20 Article detection unit 21 Special ink detection unit 33 Communication I / F Circuit 70: Belt conveyor 71: Article 71a: Tip surface 71b, 71c: End surface
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2F065 AA03 AA17 AA56 BB02 BB15 BB28 CC00 FF04 GG07 JJ03 JJ26 QQ04 QQ24 QQ26 QQ31 SS09 2F069 AA03 AA13 AA64 BB36 BB40 DD16 GG04 GG07 GG62 HH30 NN08 QQ03 5B057 AA02 DA03 DA07 DB02 DC06 ──────────────────────────────────────────────────続 き Continuing on the front page F term (reference) 2F065 AA03 AA17 AA56 BB02 BB15 BB28 CC00 FF04 GG07 JJ03 JJ26 QQ04 QQ24 QQ26 QQ31 SS09 2F069 AA03 AA13 AA64 BB36 BB40 DD16 GG04 GG07 A03 DA07 NN
Claims (10)
位置に来たことを検知する検知手段と、 前記物品のコード記録面へ光を出射する発光手段と、 前記検知手段によって前記物品が所定位置に来たことが
検知された時点から所定時間経過後に、前記発光手段に
よって出射された光の反射光に基づき、前記物品の前記
コード記録面に記録された情報コードを画像として取り
込む画像取込手段と、 前記画像取込手段にて取り込まれた画像に基づき、当該
画像中の前記情報コードの存在領域を特定可能な位置情
報を算出する位置情報算出手段と、 該位置情報算出手段にて算出された位置情報に基づき、
少なくとも前記搬送方向における、前記情報コードの前
記物品に対する記録位置を算出するコード記録位置算出
手段とを備えていることを特徴とする情報コードの記録
位置検知装置。1. A detecting means for detecting that an article moving on a transport path has arrived at a predetermined position on the transport path, a light emitting means for emitting light to a code recording surface of the article, and the article by the detecting means After a lapse of a predetermined time from the point in time when it is detected that the object has come to the predetermined position, based on the reflected light of the light emitted by the light emitting means, an image for capturing the information code recorded on the code recording surface of the article as an image Capturing means, based on the image captured by the image capturing means, position information calculating means for calculating position information capable of specifying an area where the information code exists in the image, and position information calculating means. Based on the location information calculated
A code recording position calculating means for calculating a recording position of the information code with respect to the article in at least the transport direction.
て、 さらに、前記コード記録位置算出手段によって算出され
た前記記録位置に基づき、前記情報コードが前記物品の
適正な位置に記録されているか否かを判断するコード記
録位置判断手段を備えていることを特徴とする情報コー
ドの記録位置検知装置。2. The recording position detecting device according to claim 1, further comprising a step of determining whether the information code is recorded at an appropriate position of the article based on the recording position calculated by the code recording position calculating means. An information code recording position detecting device, comprising: a code recording position judging means for judging whether or not the information is recorded.
において、 前記位置情報算出手段は、前記情報コードの有する位置
決め用シンボルに基づいて前記位置情報を算出すること
を特徴とする情報コードの記録位置検知装置。3. A recording position detecting apparatus according to claim 1, wherein said position information calculating means calculates said position information based on a positioning symbol included in said information code. Recording position detection device.
て、 前記情報コードがQRコードであることを前提として、 前記位置情報算出手段は、QRコードの位置決め用シン
ボルの中心座標を前記位置情報として算出することを特
徴とする情報コードの記録位置検知装置。4. The recording position detecting apparatus according to claim 3, wherein said information code is a QR code, and said position information calculation means calculates a center coordinate of a positioning symbol of the QR code as said position information. An information code recording position detecting device, wherein the information is calculated as:
において、 さらに、前記情報コードの有する位置決め用シンボルに
基づいて、前記画像中の前記情報コードの向きを判断す
る向き判断手段を備え、 前記コード記録位置算出手段は、前記向き判断手段によ
る判断結果に応じて前記記録位置を算出することを特徴
とする情報コードの記録位置検知装置。5. The recording position detecting device according to claim 3, further comprising a direction judging unit for judging the direction of the information code in the image based on a positioning symbol included in the information code. An information code recording position detecting device, wherein the code recording position calculating means calculates the recording position in accordance with a result of the determination by the direction determining means.
検知装置において、 前記所定時間として複数の異なる時間が設定されている
ことを前提として、 前記画像取込手段は、前記検出手段によって前記物品が
所定位置に来たことが検出された時点から当該所定時間
が経過した複数の時点で前記画像の取り込みを行い、 前記位置情報算出手段は、前記複数枚の各画像に対して
位置情報を算出し、 前記コード記録位置算出手段は、前記複数枚の各画像に
対して算出された位置情報に基づき、前記記録位置を算
出することを特徴とする情報コードの記録位置検知装
置。6. The recording position detecting device according to claim 1, wherein said image capturing means is provided with a plurality of different times as said predetermined time. The image is captured at a plurality of points in time when the predetermined time has elapsed from the point in time when the article is detected to have arrived at the predetermined position, and the position information calculating means determines a position with respect to each of the plurality of images. An information code recording position detecting device, wherein information is calculated, and the code recording position calculating means calculates the recording position based on position information calculated for each of the plurality of images.
て、 前記物品に複数の情報コードが記録されていることを前
提として、 前記コード記録位置算出手段は、特定の情報コードに対
する相対位置を前記記録位置として算出することを特徴
とする情報コードの記録位置検知装置。7. The recording position detecting device according to claim 6, wherein the code recording position calculating means determines a relative position with respect to a specific information code on the assumption that a plurality of information codes are recorded on the article. A recording position detecting device for an information code, wherein the recording position is calculated as the recording position.
において、 同一の情報コードに対する前記位置情報が前記複数枚の
各画像から算出されるように前記所定時間を設定してお
くことを前提として、 前記コード記録位置算出手段は、前記同一の情報コード
に対する位置情報に基づき算出可能な前記物品の搬送速
度を考慮して、前記記録位置を算出することを特徴とす
る情報コードの記録位置検知装置。8. The recording position detecting device according to claim 6, wherein the predetermined time is set so that the position information for the same information code is calculated from each of the plurality of images. As a premise, the code recording position calculating means calculates the recording position in consideration of a transport speed of the article which can be calculated based on position information for the same information code, wherein the recording position of the information code is calculated. Detection device.
検知装置と、 前記画像取込手段にて取り込まれた画像中の情報コード
に対するデコード処理を行い、前記情報コードとして記
録された情報を読み取るデコード手段とを備えているこ
とを特徴とする光学情報読取装置。9. A recording position detecting apparatus according to claim 1, wherein the information code in the image captured by the image capturing means is decoded, and the information code is recorded as the information code. An optical information reading device comprising: decoding means for reading information.
置検知装置と、 前記画像取込手段にて取り込まれた画像中の情報コード
に対するデコード処理を行い、前記情報コードとして記
録された情報を読み取るデコード手段とを備えており、 前記デコード手段は、前記コード記録位置判断手段によ
って前記情報コードが物品の適正な位置に記録されてい
ると判断された場合に限り、前記デコード処理を行うこ
とを特徴とする光学情報読取装置。10. A recording position detecting apparatus according to claim 2, wherein the information code in the image fetched by the image fetching means is decoded and recorded as the information code. Decoding means for reading information, wherein the decoding means performs the decoding process only when the code recording position determining means determines that the information code is recorded at an appropriate position on the article. An optical information reading apparatus, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14806899A JP3397170B2 (en) | 1999-05-27 | 1999-05-27 | Information code recording position detecting device and optical information reading device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14806899A JP3397170B2 (en) | 1999-05-27 | 1999-05-27 | Information code recording position detecting device and optical information reading device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000337853A true JP2000337853A (en) | 2000-12-08 |
| JP3397170B2 JP3397170B2 (en) | 2003-04-14 |
Family
ID=15444499
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14806899A Expired - Fee Related JP3397170B2 (en) | 1999-05-27 | 1999-05-27 | Information code recording position detecting device and optical information reading device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3397170B2 (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005086120A1 (en) | 2004-03-09 | 2005-09-15 | Navitime Japan Co., Ltd. | Mobile terminal having map display function, map display system, information distribution server, and program |
| JP2008105759A (en) * | 2006-10-23 | 2008-05-08 | Yamato Scale Co Ltd | Supply device for aligning conveyor, its operating method and boxing device |
| KR100828539B1 (en) | 2005-09-20 | 2008-05-13 | 후지제롯쿠스 가부시끼가이샤 | A storage medium storing a two-dimensional code detection method, a detection device, and a detection program |
| JP2009104164A (en) * | 2009-01-06 | 2009-05-14 | Navitime Japan Co Ltd | Location method of two-dimensional code recording medium |
| JP2016099852A (en) * | 2014-11-25 | 2016-05-30 | 株式会社デンソーウェーブ | Optical information reader |
| CN106969766A (en) * | 2017-03-21 | 2017-07-21 | 北京品创智能科技有限公司 | A kind of indoor autonomous navigation method based on monocular vision and Quick Response Code road sign |
| WO2018177127A1 (en) * | 2017-03-31 | 2018-10-04 | 腾讯科技(深圳)有限公司 | Information processing method and apparatus, and storage medium |
| CN113403942A (en) * | 2021-07-07 | 2021-09-17 | 西北工业大学 | Label-assisted bridge detection unmanned aerial vehicle visual navigation method |
-
1999
- 1999-05-27 JP JP14806899A patent/JP3397170B2/en not_active Expired - Fee Related
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005086120A1 (en) | 2004-03-09 | 2005-09-15 | Navitime Japan Co., Ltd. | Mobile terminal having map display function, map display system, information distribution server, and program |
| JP2005257738A (en) * | 2004-03-09 | 2005-09-22 | Navitime Japan Co Ltd | Mobile terminal having map display function, map display system, information distribution server, and program |
| KR100828539B1 (en) | 2005-09-20 | 2008-05-13 | 후지제롯쿠스 가부시끼가이샤 | A storage medium storing a two-dimensional code detection method, a detection device, and a detection program |
| US8061615B2 (en) | 2005-09-20 | 2011-11-22 | Fuji Xerox Co., Ltd. | Detection method of two-dimensional code, detection device for the same, and storage medium storing detection program for the same |
| JP2008105759A (en) * | 2006-10-23 | 2008-05-08 | Yamato Scale Co Ltd | Supply device for aligning conveyor, its operating method and boxing device |
| JP2009104164A (en) * | 2009-01-06 | 2009-05-14 | Navitime Japan Co Ltd | Location method of two-dimensional code recording medium |
| JP2016099852A (en) * | 2014-11-25 | 2016-05-30 | 株式会社デンソーウェーブ | Optical information reader |
| CN106969766A (en) * | 2017-03-21 | 2017-07-21 | 北京品创智能科技有限公司 | A kind of indoor autonomous navigation method based on monocular vision and Quick Response Code road sign |
| WO2018177127A1 (en) * | 2017-03-31 | 2018-10-04 | 腾讯科技(深圳)有限公司 | Information processing method and apparatus, and storage medium |
| US11003969B2 (en) | 2017-03-31 | 2021-05-11 | Tencent Technology (Shenzhen) Company Ltd | Information processing method, device and storage medium |
| CN113403942A (en) * | 2021-07-07 | 2021-09-17 | 西北工业大学 | Label-assisted bridge detection unmanned aerial vehicle visual navigation method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3397170B2 (en) | 2003-04-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3607131B2 (en) | Information code image capturing device, optical information reading device, and image capturing timing setting system | |
| US6128420A (en) | Data symbol reading system | |
| US8342409B2 (en) | Object proximity sensor recessed into imaging reader | |
| EP2507741B1 (en) | Imaging-based scanner including border searching for image acquisition | |
| US7562825B2 (en) | Method and apparatus for optically reading information attached to a target | |
| US9053379B2 (en) | Single arch portal scanner and method of scanning | |
| JP2001006014A (en) | Forgery judgement method, forgery judgement device and recording medium | |
| KR102112469B1 (en) | Methods and systems for reading barcodes captured on multiple images | |
| JP3397170B2 (en) | Information code recording position detecting device and optical information reading device | |
| US7222790B2 (en) | Apparatus for optically reading information | |
| JP2007122243A (en) | Optical information verification device | |
| JP2007293836A (en) | Information code printing medium reading method and information code printing medium reading apparatus | |
| JP5224398B2 (en) | Bar code reader and labeling system | |
| CN109657513B (en) | Two-dimensional code | |
| JP6358057B2 (en) | Optical information reader | |
| JP4058883B2 (en) | Optical information reader | |
| JP3760594B2 (en) | Optical information reader | |
| JP4181071B2 (en) | Double line sensor camera and code reader using the camera | |
| JP5232904B2 (en) | Data code reading apparatus and method | |
| JP4876656B2 (en) | IC card orientation inspection method, IC card orientation inspection apparatus, and IC card orientation inspection program | |
| JP2010009182A (en) | Optical symbol reading apparatus | |
| JP4063021B2 (en) | Optical information reader | |
| JP7532862B2 (en) | Flat board climbing detection system | |
| JP3700522B2 (en) | Two-dimensional code reading system and two-dimensional code reading method | |
| JP3810154B2 (en) | Optical symbol reader |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090214 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100214 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100214 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110214 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110214 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120214 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120214 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130214 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130214 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130214 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140214 Year of fee payment: 11 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |