JP3397170B2 - Information code recording position detecting device and optical information reading device - Google Patents
Information code recording position detecting device and optical information reading deviceInfo
- Publication number
- JP3397170B2 JP3397170B2 JP14806899A JP14806899A JP3397170B2 JP 3397170 B2 JP3397170 B2 JP 3397170B2 JP 14806899 A JP14806899 A JP 14806899A JP 14806899 A JP14806899 A JP 14806899A JP 3397170 B2 JP3397170 B2 JP 3397170B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- information
- recording position
- article
- information code
- 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.)
- Expired - Fee Related
Links
Landscapes
- Image Analysis (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
- Image Processing (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、移動する物品に記
録された情報コードを読み取る技術に関する。TECHNICAL FIELD 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 for 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 the optical information to an optical information recording surface and is a light receiving element. CCD arrayed with photo sensors
A method is known in which a sensor is used to capture an information code as an image from the reflected light in a device and decode the image.
【0003】この種の光学情報読取装置の中には、移動
中の情報コード、例えばベルトコンベアによって搬送さ
れる物品に記録された情報コードを読み取る装置もあっ
た。この場合、物品に記録された情報コードがちょうど
CCDセンサの視野に入るタイミングで、光学情報読取
用の光を出射しCCDセンサを露光して情報コードを画
像として取り込んでいた。Among these types of optical information readers, there has been an apparatus for reading a moving information code, for example, an information code recorded on an article 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 to expose the CCD sensor to capture the information code 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 deviated, for example, the information code may be out of the visual field of the CCD sensor and a part or the whole of the information code area may not be included in the captured image.
【0005】したがって、物品に情報コードを記録した
後、その記録した情報コードが適正な位置にあるか否か
を検査できるようにすることが望ましい。しかしなが
ら、従来、上述したような物品に記録された情報コード
が当該物品の適正な位置に付されているか否かを検査す
るための装置がなかった。Therefore, it is desirable to be able to inspect whether or not the recorded information code is in a proper position after recording the information code on the article. However, conventionally, there is no device for inspecting whether or not the information code recorded on the above-mentioned article is attached to the appropriate position of the article.
【0006】本発明は、上述した問題点を解決するため
になされたものであり、移動する物品に記録された情報
コードが当該物品の適正な位置に記録されているか否か
を検査するための情報コードの記録位置検知装置及び記
録位置検知機能を備えた光学情報読取装置を提供するこ
とを目的とする。The present invention has been made to solve the above-mentioned problems, and is for inspecting whether or not the 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に記載の情報コ
ードの記録位置検知装置では、搬送路を移動する物品が
その搬送路の所定位置に来たことを検知手段が検知す
る。例えばベルトコンベアにて搬送される物品がそのベ
ルトコンベアの所定位置まで移動して来たことを検知す
るという具合である。この検知手段は、例えばフォトセ
ンサを用いて構成することが考えられる。例えばフォト
センサへ入射する光を物品が移動途中に遮る構成、ある
いは、物品による反射でフォトセンサへ光が入射する構
成としておき、フォトセンサの信号変化に基づいて検知
するという具合である。また、検知手段は、物品に塗布
された特殊インクを感知するセンサを用いて構成するこ
とが考えられる。特殊インクとは、いわゆる磁気インク
や、所定の波長の光を変調して反射するインクをいう。
このような特殊インクを物品に塗布しておき、検知手段
が、この特殊インクに所定波長の光を照射し、変調され
た反射光を検知するという具合である。In the information code recording position detecting apparatus according to claim 1, which is made in order to achieve the above-mentioned object, the article moving on the conveying path has a predetermined conveying path. The detection means detects that the position has been reached. For example, it is detected that an article conveyed by a belt conveyor has moved to a predetermined position on the belt conveyor. It is conceivable that this detecting means is configured using, for example, a photo sensor. For example, light incident on the photosensor may be blocked while the article is moving, or light may be incident on the photosensor due to reflection by the article, and detection may be performed based on a signal change of the photosensor. Further, it is conceivable that the detection means is configured by using a sensor that detects the special ink applied to the article. The special ink is so-called magnetic ink or ink that modulates and reflects light of a predetermined wavelength.
Such a special ink is applied to an article, and the detection means irradiates the special ink with light of a predetermined wavelength to detect the modulated reflected light.
【0008】検知手段にて物品が搬送路の所定位置に来
たことが検知されると、画像取込手段は、その検知時点
から所定時間経過後に、画像の取り込みを行う。この所
定時間は、物品の適正な位置に記録された情報コードが
CCDセンサの視野に入る位置まで物品が所定位置から
移動する時間であり、搬送装置の搬送速度に応じて予め
設定される。画像取込手段は、例えばCCDセンサを用
いて構成されており、発光手段によって物品のコード記
録面に向けて出射された光の反射光を受光し、情報コー
ドを画像として取り込む。When the detection means detects that the article has reached a predetermined position on the conveyance path, the image acquisition means acquires an image after a predetermined time has elapsed from the detection time. This predetermined time is the time for the article to move from the predetermined position to the position where the information code recorded at the proper 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 means is composed of, for example, a CCD sensor, receives the reflected light of the light emitted toward the code recording surface of the article by the light emitting means, and captures the information code as an image.
【0009】位置情報算出手段は、取り込まれた画像に
基づき、当該画像中の情報コードの存在領域を特定可能
な位置情報を算出する。例えば情報コード領域が四辺形
の領域であれば、その四辺形の4つの頂点を位置情報と
して算出するという具合である。The position information calculating means calculates, based on the captured image, position information capable of specifying the existing area of the information code in the image. For example, if the information code area is a quadrilateral area, the four vertices of the quadrilateral are calculated as position information.
【0010】そして、コード記録位置算出手段が、この
位置情報に基づき、少なくとも搬送方向における、情報
コードの物品に対する記録位置を算出する。ここで「少
なくとも搬送方向における」記録位置を算出するとした
のは、搬送方向に垂直な方向の「ずれ」が生じないよう
に各物品が搬送される場合、又は、搬送方向に垂直な方
向における物品の端部の少なくともいずれか一方が画像
に含まれる場合は、搬送方向に垂直な方向においても、
情報コードの記録位置を算出することができるからであ
る。Then, the code recording position calculating means calculates the recording position of the information code with respect to the article at least in the conveying direction based on the position information. Here, the calculation of the recording position "at least in the transport direction" means that each article is transported so as not to cause a "shift" in the direction perpendicular to the transport direction, or the article in the direction perpendicular to the transport direction. When at least one of the edges of the image 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 fact that the image pickup area of an article is determined by capturing an image at a predetermined capture timing on the assumption that the transport speed of the article is constant. Therefore, an image is captured after a lapse of a predetermined time from the time when the article is detected, and position information capable of specifying the code area in the image is calculated, whereby the recording position of the information code on the article is calculated as the 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 recording position. The recording position can be inspected. By the way, it is conceivable to calculate the absolute position, which is the distance from the end of the article, as the recording position for the article. In addition, as described above, if the special ink is applied to the article and the detection means detects the article with the special ink, the relative position of the distance from the position where the special ink is applied is calculated. May be. Furthermore, if the predetermined position (appropriate position) of the information code is stored, it is possible to calculate the relative position of the distance from the proper position.
【0013】このように情報コードの適正な位置を記憶
しておけば、請求項2に示すように、さらにコード記録
位置判断手段が、コード記録位置算出手段によって算出
された記録位置に基づき、情報コードが物品の適正な位
置に記録されているか否かを判断するようにしてもよ
い。この場合、この判断結果が検知結果となっている。
すなわち、情報コードが物品の適正な位置に記録されて
いるか否かが自動的に判断されるため、利用者にとって
便利である。When the proper position of the information code is stored in this way, the code recording position determining means further determines the information based on the recording position calculated by the code recording position calculating means, as described in claim 2. It may be possible to determine 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 on the article.
【0014】なお、上述したように四辺形のコード領域
の4つの頂点の位置といった位置情報を算出する場合、
例えば請求項3に示すように、情報コードの有する位置
決め用シンボルに基づいて算出することが考えられる。
例えばQRコードといった2次元コードは、そのコード
領域が画像中で特定可能となるように位置決め用シンボ
ルと呼ばれる特定パターンを有していることが多い。し
たがって、この位置決め用シンボルを用いれば、上述の
位置情報を簡単に算出することができる。When calculating the positional information such as the positions of the four vertices of the quadrilateral code area as described above,
For example, as shown in claim 3, it can be considered that the calculation is performed based on the 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 its code area can be specified in an image. Therefore, by using this positioning symbol, the above-mentioned position information can be easily calculated.
【0015】また、位置情報としては上述したような四
辺形のコード領域の4つの頂点の位置を採用することが
一例として考えられるが、これには限定されない。例え
ば位置決め用シンボルを検出すればコード領域の大きさ
が分かるため、4つの頂点のうちの少なくとも1つの頂
点の位置を位置情報としてもよい。また例えばQRコー
ドであれば、請求項4に示すように、QRコードの位置
決め用シンボルの中心座標を位置情報とすることが考え
られる。As the position information, it is possible to adopt the positions of the four vertices of the quadrilateral code area as described above, but the position information is not limited to this. For example, since the size of the code area can be known by detecting the positioning symbol, the position of at least one of the four vertices may be used as the position information. Further, for example, in the case of a QR code, it is conceivable that the central coordinates of the positioning symbol of the QR code are used as the position information as described in claim 4.
【0016】QRコードは、ファインダパターンと呼ば
れる3つの位置決め用シンボルを有している。そして、
この位置決め用シンボルの中心座標は、コード領域を特
定する4つの頂点位置を算出するのに比べて簡単に求め
られる。したがって、位置情報の算出処理がさらに簡単
になるという点で有利である。The QR code has three positioning symbols called a finder pattern. And
The center coordinates of the positioning symbol can be easily calculated as compared with the case of calculating the four vertex positions that specify the code area. Therefore, it is advantageous in that the calculation process of the position information is further simplified.
【0017】ところで、搬送路を搬送される物品の向き
が一定にならない場合も想定される。例えば長方形形状
又は直方体形状の物品を長手方向に搬送するとき、物品
の形状に前後の区別がないため、コード記録面に垂直な
軸を回転軸として180度回転させた状態となってしま
うことも考えられる。そのため、コード記録面を撮像し
た場合に情報コードの向きが一定とならないことも考え
られる。つまり、情報コードが、例えば90度、180
度というように回転した状態で画像中に取り込まれるこ
とが考えられる。By the way, it is assumed that the direction of the articles conveyed on the conveyance path is not constant. For example, when a rectangular or rectangular parallelepiped shaped article is conveyed in the longitudinal direction, there is no distinction between the front and back of the shape of the article. Therefore, the article may be rotated by 180 degrees about the axis perpendicular to the code recording surface. Conceivable. Therefore, the direction of the information code may not be constant when the code recording surface is imaged. That is, the information code is, for example, 90 degrees, 180
It is considered that the image is captured in the image in a rotated state like degrees.
【0018】そこで、請求項5に示すように、さらに、
向き判断手段を備える構成とするとよい。この向き判断
手段は、情報コードの有する位置決め用シンボルに基づ
いて、画像中の情報コードの向きを判断する。例えばQ
Rコードを例に挙げれば、コード領域の左上、左下、及
び右上に、上述した3つの位置決め用シンボルを有して
いる。したがって、この位置決め用シンボルの配置から
コードの向きを判断することができる。そしてこのと
き、コード記録位置算出手段は、向き判断手段による判
断結果に応じて、情報コードの記録位置を算出する。こ
れによって、搬送路を搬送される物品の向きが一定にな
らない場合であっても、情報コードの記録位置が適切に
算出できる。Therefore, as described in claim 5, further,
It is advisable to adopt a configuration including orientation determining means. The orientation determining means determines the orientation of the information code in the image based on the positioning symbol included in the information code. For example, Q
Taking the R code as an example, the above three positioning symbols are provided at the upper left, lower left, and upper right of the code area. Therefore, the orientation of the code can be determined from the arrangement of the positioning symbols. Then, at this time, the code recording position calculating means calculates the recording position of the information code according to the judgment result by the orientation judging means. As a result, the recording position of the information code can be appropriately calculated even when the orientation of the article conveyed on the conveyance path is not constant.
【0019】なお、画像取込手段が複数枚の画像を取り
込むようにしてもよい。例えば請求項6に示す構成を採
用することが考えられる。すなわち、この構成では、所
定時間として複数の異なる時間が設定されており、画像
取込手段によって、一の物品に対して複数時点で複数枚
の画像が取り込まれる。すると、位置情報算出手段が複
数枚の各画像に対して位置情報を算出し、コード記録位
置算出手段が、複数枚の各画像に対して算出された位置
情報に基づき、情報コードの記録位置を算出する。The image capturing means may capture a plurality of images. For example, it is conceivable to adopt the configuration shown in claim 6. That is, in this configuration, a plurality of different times are set as the predetermined time, and the image capturing means captures a plurality of images for one article at a plurality of time points. Then, the position information calculation means calculates the position information for each of the plurality of images, and the code recording position calculation means determines 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 deal with the case where there are a plurality of information codes recorded on the 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 that captures multiple images,
Assuming that a plurality of information codes are recorded on the article, the code recording position calculating means may calculate a relative position with respect to a specific information code as a recording position, as set forth in claim 7. Good.
【0021】また、ここまでの説明では物品の移動速度
(搬送速度)が一定であることを前提としていたが、例
えば同じ仕様の搬送装置であっても、搬送速度にばらつ
きが見られることがある。また、経年変化によって搬送
速度が変化することもある。そこで、請求項8に示す構
成を採用することが考えられる。この構成は、同一の情
報コードに対する位置情報が複数枚の各画像から算出さ
れるように所定時間を設定しておくことを前提として、
コード記録位置算出手段が、同一の情報コードに対する
位置情報に基づき算出可能な物品の搬送速度を考慮し
て、記録位置を算出することを特徴とするものである。In the above description, it is assumed that the moving speed (conveying speed) of the article is constant, but even if the conveying apparatuses have the same specifications, the conveying speed may vary. . Further, the transportation speed may change due to aging. Therefore, it is conceivable to adopt the configuration described in claim 8. This configuration is premised on setting a predetermined time so that position information for the same information code is calculated from each of a plurality of images,
It is characterized in that the code recording position calculating means calculates the recording position in consideration of the conveyance speed of the article that 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 acquired at relatively short intervals in consideration of the assumed conveyance speed of the article 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 conveying speed of the article is known. Therefore, the accurate recording position of the information code can be calculated based on this transport speed. As a result, there is an excellent effect that an accurate recording position of the information code can be calculated even if the transport speed varies or changes over time.
【0023】以上は、情報コードの記録位置検知装置の
発明として説明したが、請求項9に示すように、上述の
記録位置検知装置の構成に加え、さらにデコード手段を
備えた光学情報読取装置の発明として実現することがで
きる。デコード手段は、画像取込手段にて取り込んだ画
像中の情報コードのデコード処理を行い、情報コードと
して記録された情報を読み取る。Although the invention of the recording position detecting device for the information code has been described above, as described in claim 9, an optical information reading device further comprising a decoding means in addition to the structure of the recording position detecting device described above. 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 reader having such a recording position detecting function, it is possible to judge 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 inspected. Also, for example, an admission ticket as an article,
In the case of boarding tickets and the like, when the information code is not printed at the position according to the standard of the ticket, it can be determined that the ticket is forged. From the viewpoint of preventing such forgery, as described in claim 10, the decoding process is performed only when the recording position determining means determines that the information code is recorded at an appropriate position of the article. It is also effective to configure the decoding means as described above.
【0025】[0025]
【発明の実施の形態】以下、本発明を具体化した一実施
例を図面を参照して説明する。図1は実施例の2次元コ
ード読取装置1の斜視図であり、図2は、図1中に記号
Kで示す方向から図1を見た概略透視図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An 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 reading device 1 of the 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 reading device 1 is a stationary device, and is an article 7 conveyed by a belt conveyor 70.
The QR code printed on the upper surface (optical information recording surface) of No. 1 is read. This QR code will be described later. The two-dimensional code reading device 1 is fixed to a column (not shown) on the side of the belt conveyor 70 and is arranged above the belt conveyor 70.
【0027】2次元コード読取装置1は、光学情報読取
ユニット10と、物品検知ユニット20とを備えてお
り、2つのユニット10,20は相互に固定されて一体
となっている。このような一体化の構成は、メンテナン
ス性の向上に寄与する。最初に物品検知ユニット20に
ついて説明する。The two-dimensional code reading device 1 includes an optical information reading unit 10 and an article detection unit 20, and the two units 10 and 20 are fixed to each other and integrated. Such an integrated structure contributes to improvement of 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 composed of 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 color of the upper surface of No. 1, when the belt conveyor 70 is irradiated, it is absorbed, while when the article 71 is irradiated, it is reflected. In this embodiment, when the article 71 reaches a predetermined position on the belt conveyor 70, specifically, the article 71 is
The tip surface 71a of the
It is simply called "position α". ), The reflected light shall be 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, an illumination light emitting diode unit (hereinafter referred to as “illumination LED unit”) 12, a CCD area sensor 13, an amplifier circuit 14, and a binarization circuit 15. Specific ratio detection circuit 16, sync 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 including 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 this embodiment, the illumination LED unit 12
Is configured as shown in FIG. Here, the configuration of the illumination LED unit 12 will be described. The illumination 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, the signal from the control circuit 11 is input to the amplifier section 12d.
The output terminal of the amplifier section 12d is connected to the base terminal of the transistor 12c. Also, the transistor 12c
The collector terminal of is a battery (power source) via LED12a
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 light amount of the red light emitted from the LED 12a, converts it into an electric signal, and outputs it to the control circuit 11.
【0033】この構成において制御回路11は、光量検
知センサ12bからの信号に基づき、LED12aから
の赤色光の光量が経年変化等により減少した場合、アン
プ部12dへLED12aを流れる電流量を増やすよう
制御信号を出力する。すると、その制御信号に基づき、
アンプ部12dがトランジスタ12cのベース電流を可
変し、その結果、LED12aを流れる電流量が増加す
る。これによって、LED12aから出射される赤色光
の光量を一定とすることができる。In this configuration, the control circuit 11 controls, based on the signal from the light amount detection sensor 12b, to increase the amount of current flowing through the LED 12a to the amplifier portion 12d when the amount of red light from the LED 12a decreases due to secular change or the like. 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. This makes it possible to keep the amount of red light emitted from the LED 12a constant.
【0034】図3中のCCDエリアセンサ13は、2次
元的に配列された複数の受光素子であるCCDを有して
おり、物品71の上面からの反射光を受光し、物品71
の上面の所定領域を撮像してその2次元画像を水平方向
の走査線信号として出力する。この走査線信号は増幅回
路14によって増幅されて2値化回路15に出力され
る。The CCD area sensor 13 in FIG. 3 has a plurality of CCDs, which are two-dimensionally arranged light receiving elements, receives the reflected light from the upper surface of the article 71, and
A predetermined area on the upper surface of the image pickup device is imaged, and the two-dimensional image is output as a horizontal scanning line signal. The 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 amplifier circuit 14 has a gain corresponding to the gain control voltage input from the control circuit 11, and the CCD
The scanning line signal output from the area sensor 13 is amplified. The binarization circuit 15 binarizes the scanning line signal amplified by the amplification circuit 14 based on a threshold value, and outputs it to the specific ratio detection 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 signals 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 designated by the control circuit 11. In this example,
In this way, the binary data is stored in the image memory 19 as image data after the predetermined frequency component ratio is detected by the specific ratio detection circuit 16, but as another method, the binary data is stored in the image memory 19. The image data may be stored, and then the characteristic pattern such as the frequency component ratio may be detected based on the image data.
【0037】同期パルス発生回路17は、同期パルスを
出力する。アドレス発生回路18はこの同期パルスをカ
ウントして、画像メモリ19の画像データ記憶領域に対
するアドレスを発生させる。画像データである2値デー
タは、アドレス毎に16ビット単位で書き込まれる。な
お、本実施例では、16ビット単位で書き込むようにし
ているが、例えば8ビット単位で書き込むようにしても
よい。The sync pulse generation circuit 17 outputs a sync pulse. The address generation circuit 18 counts this synchronizing 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 units of 16 bits for each address. In this embodiment, writing is performed in 16-bit units, but it may be performed in 8-bit units.
【0038】所定の周波数成分比を検出する特定比検出
回路16は、2値化回路15からの信号における「1」
から「0」への変化あるいは「0」から「1」への変化
を検出し、ある変化点から次の変化点までの間に、同期
パルス発生回路17から出力された同期パルスをカウン
トすることにより、2次元画像の中の明(白)の連続す
る長さ及び暗(黒)の連続する長さを求める。本実施例
では、QRコードを対象としているからである。The specific ratio detection circuit 16 for detecting the predetermined frequency component ratio is "1" in the signal from the binarization circuit 15.
Detecting the change from "0" to "0" or the change from "0" to "1", and counting the sync pulse output from the sync pulse generating 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 the QR code is targeted in this embodiment.
【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. Figure 8
The QR code is illustrated in the explanatory diagram of FIG. Q as shown in FIG.
The R code has three positioning symbols A, C, and D. When reading the QR code, first of all, this 3
One positioning symbol A, C, D is detected. The positioning symbols A, C, D have a specific ratio of lightness and darkness irrespective of the scanning direction, 1 (dark): 1 (bright): 3 (dark):
The pattern is 1 (bright): 1 (dark).
【0040】したがって、特定比検出回路16にて求め
られる長さの比がこの特定の比率になったことを判断し
て、位置決め用シンボルA,C,Dを検出することがで
きる。なお、QRコードは、この位置決め用シンボル
A,C,Dの間に、明、暗のセルを交互に配列したタイ
ミングセルE,Fを有するため、さらにこのタイミング
セルの中心位置から他のセルの中心位置が求められてデ
コードされる。Therefore, it is possible to detect the positioning symbols A, C, D by judging that the ratio of the lengths obtained by the specific ratio detection circuit 16 has reached this specific ratio. Since the QR code has timing cells E and F in which bright and dark cells are alternately arranged between the positioning symbols A, C, and D, the QR code is further divided from the center position of this timing cell to another cell. 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 through a communication light emitting device (not shown), and a communication light receiving device (not shown). To receive a signal from an external device. Next, the positional relationship between the two-dimensional code reading apparatus 1 and the conveyed article 71 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, the surface on the belt conveyor 70 side, a reading port 10a for making reflected light from the upper surface of the article 71 incident is formed. . CCD area sensor 13
The field of view is, as shown in FIG. 5A, an area of 50 mm square on the upper surface of the article 71. As shown in FIG. 1, two QR codes are printed side by side in the carrying direction on the upper surface of the article 71 carried by the belt conveyor 70. An image is properly 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 the QR code is recorded at the proper position is as shown in FIG. That is, when viewed in the transport direction, the tip surface 71 of the article 71 is
The first QR code is recorded at an interval of 10 mm from a, and the first QR code and the second QR code are recorded at an interval of 20 mm. Further, when viewed in a direction perpendicular to the transport direction, each QR code is recorded at a distance of 30 mm from each of 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 in the proper position, the end of the field of view of the CCD area sensor 13 in the transport direction shown in FIG. 2 which is far from the position α, that is, the symbol β in FIG. When the front end surface 71a of the article 71 reaches the position (hereinafter, simply referred to as "position β") indicated by, the first QR code is entered in the center of the visual field of the CCD area sensor 13. In the present embodiment, this position β is 90 mm from the position α (see FIG. 2). Further, the second QR code comes to the center of the field of view of the CCD area sensor 13 when the article 71 further moves by 50 mm, and the tip surface 71a of the article 71 moves by 140 mm from the position α, That is, the position indicated by the symbol δ in FIG. 2 (hereinafter simply referred to as “position δ”
Say. It was 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 in the proper position on the article (the position shown in Fig. 5 (b))
In order to determine whether or not it is recorded in the above-mentioned position, the above-mentioned two positions β and δ and an intermediate position between these positions β and δ, that is, a position indicated by a symbol γ in FIG. ), 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 α
To 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 carrying direction. Next, the operation of the two-dimensional code reading device 1 of this embodiment will be described. The two-dimensional code reading device 1 of the present embodiment is characterized by the reading process executed by the control unit 11 of the optical information reading unit 10. In this reading process, the tip surface 71a of the article 71 is detected by detecting that the tip surface 71a of the article 71 has reached the position α based on a signal from the article detection unit 20, and determining whether a predetermined time has elapsed from the detection time. Is judged to have moved to the positions β, γ and δ mentioned above, and Q
Capture the R code as an image. At this time, in this reading process, QR images are extracted from the images captured at the positions β, γ, and δ.
The recording position of the code on the article 71 is calculated, it is determined whether the recording position is an appropriate position, and the 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 this reading process will be described with reference to the flowchart of FIG. First step S100
At, it is determined whether or not the article 71 is detected. This process is based on a signal from the article detection unit 20 to determine that the front end surface 71a of the article 71 has reached the position α. If an article is detected here (S100: YE
S) and S110. On the other hand, while the article is not detected (S100: NO), this determination process is repeated.
【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 or not a predetermined time has elapsed. The conveyor speed of the belt conveyor 70 is 6 according to the specifications.
It is assumed to be 00 mm / sec. Therefore, the time required for the front end 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 milliseconds, and the time required to move to the position δ is 140 ÷ 600≈233 milliseconds. Therefore, three times are set as the predetermined time, that is, 150 milliseconds, 192 milliseconds, and 233 milliseconds.
【0048】S110において所定時間の経過が判断さ
れると(S110:YES)、S120にて画像の取り
込みを行い、S130へ移行する。S130では、所定
枚数取り込んだか否かを判断する。ここで1枚又は2枚
の画像しか取り込んでいない場合(S130:NO)、
S110へ移行し次の画像を取り込む。3枚の画像が取
り込まれている場合(S130:YES)、S140へ
移行する。When it is determined in S110 that the predetermined time has elapsed (S110: YES), the image is captured in S120, and the process proceeds to S130. In S130, it is determined whether or not a predetermined number of sheets have been captured. If only one or two images are captured here (S130: NO),
The process moves to S110 and the next image is captured. When the three images are 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 positioning symbol of the QR code in the image are calculated. In this embodiment,
Of the three positioning symbols included in the QR code, the center coordinates of the upper left positioning symbol are calculated. For example, the following description will be continued on the assumption that each image is captured as shown in FIG. Note that FIG. 7A shows the first image area. Similarly, FIG. 7B shows the second sheet,
(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 positioning symbol A at the upper left and the symbol X1 are determined based on the arrangement of the positioning symbols A, C, and D.
The coordinates of the position (hereinafter, simply referred to as “position X1”) indicated by are calculated. Similarly for FIG. 7C, the center coordinates of the positioning symbol A on 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」とい
う。)。For FIG. 7B, the calculation is performed as follows. For the first QR code included in the image area of FIG. 7B, for example, only one positioning symbol C on the upper right is included in the image. In this case, it can be determined from the arrangement of the positioning symbols A, C, D that the positioning symbol included in the image is the upper right positioning symbol C. Therefore, the center coordinates of the upper left positioning symbol A (position coordinates outside the image) are obtained from the center coordinates of the positioning symbol. This position is shown as a symbol X2 in the drawing (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.
For the second QR code, the two upper left and lower left positioning symbols A and D are included in the image. In this case, from the arrangement of the positioning symbols A, C, and D, it can be determined that the upper positioning symbol of the vertically aligned positioning symbols 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 drawing (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 there are no three positioning symbols 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 positioning symbol of the QR code can be calculated in S140. When the center coordinates can be calculated (S150: YES), S160
Move to. On the other hand, when the center coordinates cannot be calculated (S150: NO), that is, when there are no three positioning symbols in the image, it is determined that the information code recording position 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 image of FIGS.
The transport speed of the article 71 is calculated based on the coordinate value of 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 within 92-150 = 42 msec, the distance indicated by the difference between the position X1 and the position X2 may be divided by the time of 42 msec. Since the transport speed can be known based on the position information of the same QR code, based on the coordinate values of the positions Y2 and Y3 calculated from the images in FIGS. 7B and 7C and the image capture timing. The transportation speed of the article 71 may be calculated.
【0055】ベルトコンベア70の搬送速度は、仕様で
は600mm/秒であるが、このS160の処理によっ
て正確な搬送速度が算出される。搬送速度は、同一製品
の間でも5パーセント程度のばらつきがあり、また、経
年変化することも考えられるからである。The transport speed of the belt conveyor 70 is 600 mm / sec in the specification, but an accurate transport speed is calculated by the processing of S160. This is because the transport speed varies by about 5% even among the same products, and may change over time.
【0056】続く170では、QRコードの物品に対す
る記録位置を算出する。S160にて搬送速度が算出さ
れると、この搬送速度から物品71のどの領域が撮像さ
れているのかが分かる。例えば1枚目の画像は、物品7
1が位置αに来た時点から150ミリ秒後に取り込まれ
る。したがって、150ミリ秒に搬送速度を掛けた距離
だけ物品71が移動した時点で、1枚目の画像が取り込
まれる。In the following 170, the recording position for the QR code article is calculated. When the transport speed is calculated in S160, which region of the article 71 is imaged can be known from this transport speed. For example, the first image is the item 7
It is taken 150 milliseconds after the 1 comes to position α. Therefore, when the article 71 moves by a distance obtained by multiplying the carrying 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 the first based on these two position X2 and Y2 coordinate values. It is calculated as a relative position with respect 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 proper. 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, when 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, the decoding process is performed, and then the reading process is terminated. 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. Decoding processing is performed based on this.
【0060】S200では、警告処理を実行し、その
後、本読取処理を終了する。警告処理は、例えば図示し
ない光学情報読取ユニット10のブザー等を用いて利用
者に異常を報知するものであることが考えられる。ま
た、光学情報読取ユニット10が表示装置を備える構成
であれば、この表示装置にその旨を表示するようにして
もよい。At S200, a warning process is executed, and then this reading process is terminated. It is conceivable that the warning process is a process of notifying the user of the abnormality by using, for example, a buzzer of the optical information reading unit 10 (not shown). Further, if the optical information reading unit 10 is provided with a display device, it 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 reading apparatus 1 of this embodiment
Explain the effect of. This two-dimensional code reader 1
Then, the article detection unit 20 detects that the article 71 has arrived at a predetermined position (S100 in FIG. 6), and captures an image when a predetermined time has elapsed from that point (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 proper (S180: Y
ES) and decoding processing is performed (S190). On the other hand, if the center coordinates of the positioning symbol cannot be calculated (S15)
0: NO), or if 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 reading apparatus 1, it is possible to easily determine whether or not the QR code recorded on the article 71 moving on the conveying path is recorded at an appropriate position. For example, conventionally, there is no device that determines whether or not an information code such as a QR code is recorded at an appropriate position of such a moving article. Therefore, for example, if the QR code is printed on an article and then it is tried to inspect whether or not the QR code is printed at an appropriate position, it is inspected one by one. On the other hand, if the two-dimensional code reading device 1 is used, it is possible to inspect whether or not the QR code is printed at an appropriate position of the article while the article is moving on the conveyance path. Further, if the information is printed at the proper position, the decoding process is performed thereafter, so it is possible to determine whether the information recorded as the QR code is correct based on the decoding process result.
【0063】また、本2次元コード読取装置1を、例え
ば入場券、乗車券などに印刷されたQRコードを読み取
るために使用すれば、規格通りの位置にQRコードが印
刷されていない券については、QRコードが読み取られ
ない。したがって、偽造された券の使用防止に効果的で
ある。If the present two-dimensional code reading apparatus 1 is used to read a QR code printed on, for example, an entrance ticket or a ticket, a ticket in which the QR code is not printed at a position conforming to the standard is used. , QR code cannot be read. Therefore, it is effective in preventing the use of forged tickets.
【0064】さらにまた、本2次元コード読取装置1で
は、複数枚の画像を所定の取込タイミングで取り込み、
これらの画像に基づき物品71の搬送速度を算出する
(S160)。そして、この搬送速度に基づいてQRコ
ードの記録位置を算出する(S170)。これによっ
て、たとえ搬送装置の搬送速度にばらつきや経年変化が
見られる場合であっても、正確なQRコードの記録位置
を算出することができ、結果として、QRコードが適正
な位置に記録されているか否かを高い精度で判断するこ
とができる。この点からも、上述したような偽造した券
の使用防止に効果的である。Furthermore, in the present two-dimensional code reading device 1, a plurality of images are captured at a predetermined capture timing,
The transport speed of the article 71 is calculated based on these images (S160). Then, the recording position of the QR code is calculated based on this transport speed (S170). This makes it possible to accurately calculate the recording position of the QR code even if the conveying speed of the conveying device varies or changes over time, and as a result, the QR code is recorded at an appropriate position. Whether or not it can be determined with high accuracy. From this point as well, it is effective in preventing the use of the forged ticket as described above.
【0065】また、本2次元コード読取装置1では、Q
Rコードを対象としており、画像中のコード領域を特定
するための位置情報として、QRコードの有する位置決
め用シンボルの中心座標を算出する(S140)。した
がって、位置情報の算出処理が簡単である。Further, in the present two-dimensional code reading device 1, Q
For the R code, the center coordinates of the positioning symbol included in the QR code are calculated as the position information for specifying the code area in the image (S140). Therefore, the position information calculation process is simple.
【0066】なお、本実施例の物品検知ユニット20及
び光学情報読取ユニット10の制御回路11が「検知手
段」に相当し、光学情報読取ユニット10の照明LED
部12が「発光手段」に相当し、光学情報読取ユニット
10のCCDエリアセンサ13が「画像取込手段」に相
当し、光学情報読取ユニット10の制御回路11が「位
置情報算出手段」、「コード記録位置算出手段」、「コ
ード記録位置判断手段」及び「デコード手段」に相当す
る。The control circuit 11 of the article detecting unit 20 and the optical information reading unit 10 of this embodiment corresponds to "detecting means", and the illumination LED of the optical information reading unit 10 is used.
The section 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 “positional information calculating means” and “positional information calculating means”. It corresponds to "code recording position calculating means", "code recording position determining means", and "decoding means".
【0067】また、図6中のS100の処理が検知手段
としての処理に相当し、S110〜S130の処理が画
像取込手段としての処理に相当し、S140の処理が位
置情報算出手段としての処理に相当し、S170の処理
がコード記録位置算出手段としての処理に相当し、S1
80の処理がコード記録位置判断手段としての処理に相
当し、S190の処理がデコード手段としての処理に相
当する。Further, the processing of S100 in FIG. 6 corresponds to the processing as the detecting means, the processing of S110 to S130 corresponds to the processing as the image capturing means, and the processing of S140 as the position information calculating means. And the processing of S170 corresponds to the processing as the code recording position calculating means, and S1
The processing of 80 corresponds to the processing as the code recording position determination 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 the embodiments as described above, and may be implemented in various forms without departing from the gist of the present invention. (1) In the above embodiment, it was assumed that the articles 71 conveyed on the conveyance path were 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 the rotation axis, so that the front and back of the article 71 are mixed with respect to the conveyance path.
【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 of being rotated by 180 degrees. Therefore, for example, immediately after the affirmative determination is made in S130, it is conceivable to add a step of determining the orientation of the QR code by the arrangement of the positioning symbols A, C, D included in the QR code. This determination processing is executed based on an image in which all three positioning symbols A, C, 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 on the upper left, lower left, and upper right, it can be determined that there is no rotation. In addition, if it is located at the lower right, upper right, or upper left, it can be determined that it is rotated 180 degrees. Further, for example, if the article 71 has a square shape or a cubic shape, it may be conveyed in a state of being rotated by 90 degrees about an axis perpendicular to the code recording surface as a rotation axis.
【0070】その場合、取り込まれた画像中のQRコー
ドの向きが90度回転した状態で画像中に取り込まれる
ことが起こり得る。このときは、上記実施例よりもCC
Dエリアセンサの視野を広く構成しておくなどして、一
のQRコードの3つの位置決め用シンボルの全てが存在
する画像を得られるようにすれば、位置決め用シンボル
が右上、左上及び右下にある場合は右方向(時計回り)
に90度回転した状態であると判断できる。また、左
下、右下及び左上にある場合は左方向(反時計回り)に
90度回転した状態であると判断できる。In that case, it may happen that the QR code in the captured image is captured in the image in a state of being rotated by 90 degrees. At this time, CC is larger than that in the above embodiment.
If the image in which all the three positioning symbols of one QR code are present can be obtained by, for example, configuring the field of view of the D area sensor to be wide, the positioning symbols are displayed in the upper right, upper left, and lower right. If there is right direction (clockwise)
It can be determined that it is rotated by 90 degrees. Further, when it is located at the lower left, the lower right, and the upper left, it can be determined that the state has been rotated 90 degrees to the left (counterclockwise).
【0071】そして、以降のステップでは、この判断結
果を考慮してQRコードの記録位置を算出し、記録位置
が適正か否かを判断するようにする。例えばQRコード
が90度、180度といったように回転して画像中に取
り込まれている場合、算出した中心座標を補正して回転
していない状態の中心座標を算出するようにすればよ
い。このように構成すれば、搬送路を搬送される物品7
1の向きが一定にならない場合であっても、情報コード
が物品の適正な位置に記録されているか否かを判断でき
る。Then, in the subsequent steps, the recording position of the QR code is calculated in consideration of this judgment result, and it is judged whether or not the recording position is proper. For example, when the QR code is rotated by 90 degrees or 180 degrees and captured in the image, the calculated center coordinates may be corrected to calculate the center coordinates in the non-rotated state. According to this structure, the article 7 transported on the transport path
Even when the orientation of 1 is not constant, it can be determined whether or not the information code is recorded at an appropriate position on the article.
【0072】(2)また、上記実施例ではQRコードを
用いているが、本発明はQRコード以外の2次元コード
やバーコードであっても位置情報の算出アルゴリズムを
変更して同様に適用することができる。
(3)上記実施例において物品検知ユニット20は、フ
ォトセンサを用いて構成されており、物品71からの反
射光に基づいて物品71が位置α(図2参照)に来たこ
とを検知していた。(2) Further, although the QR code is used in the above embodiment, the present invention is similarly applied to a two-dimensional code or a bar code 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 by using a photo sensor, and detects that the article 71 has arrived at the position α (see FIG. 2) based on the reflected light from the article 71. It was
【0073】この物品検知ユニット20に代え、特殊イ
ンク感知ユニットを光学情報読取ユニット10と一体に
構成することが考えられる。その場合は、物品71に特
殊インクを塗布しておく。例えば図9に示す如くであ
る。特殊インクとは、いわゆる磁気インクや、所定の波
長の光を変調して反射するインクをいう。このような特
殊インクは、通常、可視光線を吸収するため人間の目に
見えない。したがって、図9に示すようにQRコードに
重ねて塗布することも考えられる。そして、特殊インク
感知ユニットが、物品71に塗布された特殊インクに所
定波長の光を照射し、変調されて反射された光を検知す
る。これによって、物品71が位置αに来たことを検知
するようにしてもよい。Instead of the article detection unit 20, a special ink detection unit may be integrated with the optical information reading unit 10. In that case, the special ink is applied to the article 71. For example, as shown in FIG. The special ink is so-called magnetic ink or ink that modulates and reflects light of a predetermined wavelength. Such special inks normally absorb visible light and are therefore invisible to the human eye. Therefore, as shown in FIG. 9, it is conceivable to apply the QR code over the QR code. Then, the special ink sensing unit irradiates the special ink applied to the article 71 with light having 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 a relative position from the position where the special ink is applied (for example, the application position shown by the arrow in FIG. 9). The recording position may be calculated. (5) Further, as shown in FIG. 10, the article detection unit 2
0, the special ink sensing unit 21, and the optical information reading unit 10 may be adopted. At this time,
The units 10, 20, and 21 are integrated so that their positional relationship does not change. If such an integrated configuration is adopted, each unit 1 can be installed when the device is installed.
It is advantageous in that the dimensional error 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 detection 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 when you 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
It is also possible to calculate the transport speed of the article 71 based on the time when the article 71 is detected by and the time when the special ink sensing unit 21 detects the article 71. Also, the recording position of the QR code can be calculated based on the time when the special ink sensing unit 21 detects the article 71. Therefore, the units 20, 2 of both the article detection unit 20 and the special ink detection unit 21 are
If the recording position of the QR code is calculated based on each detection time point of the article 71 by 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 viewed from a direction indicated by a symbol K in FIG.
【図3】 実施例の2次元コード読取装置の概略構成を
示すブロック図である。FIG. 3 is a block diagram showing a schematic configuration of a two-dimensional code reading device according to an 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 the positions of QR codes recorded on the upper surface of the article.
【図6】 2次元コード読取装置にて実行される読取処
理を示すフローチャートである。FIG. 6 is a flowchart showing a reading process executed by the two-dimensional code reading device.
【図7】 画像中のQRコードの位置情報及び基準位置
との差の算出を示す説明図である。FIG. 7 is an explanatory diagram showing position information of a QR code in an image and calculation of a difference from a reference position.
【図8】 QRコードを例示する説明図である。FIG. 8 is an explanatory diagram illustrating a QR code.
【図9】 物品に対する特殊インクの塗布を示す説明図
である。FIG. 9 is an explanatory diagram showing application of special ink to an article.
【図10】 別実施例の2次元コード読取装置の構成を示
す説明図である。FIG. 10 is an explanatory diagram showing a configuration of a two-dimensional code reading device 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 reading device 10 ... Optical information reading unit 10a ... Reading port 11 ... Control circuit 12 ... Illumination light emitting diode part 13 ... CCD
Area sensor 14 ... Amplification circuit 15 ... Binarization circuit 16 ... Specific ratio detection circuit 17 ... Sync 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 surfaces 71b, 71c ... End surface
フロントページの続き (56)参考文献 特開 平9−185671(JP,A) 特開 平11−31225(JP,A) 特開 平8−101016(JP,A) 特開 平7−243808(JP,A) 特表 平11−502348(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01B 11/00 G06T 7/00 - 7/60 Continuation of the front page (56) Reference JP-A-9-185671 (JP, A) JP-A-11-31225 (JP, A) JP-A-8-101016 (JP, A) JP-A-7-243808 (JP , A) Special Table H11-502348 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G01B 11/00 G06T 7/ 00-7/60
Claims (10)
位置に来たことを検知する検知手段と、 前記物品のコード記録面へ光を出射する発光手段と、 前記検知手段によって前記物品が所定位置に来たことが
検知された時点から所定時間経過後に、前記発光手段に
よって出射された光の反射光に基づき、前記物品の前記
コード記録面に記録された情報コードを画像として取り
込む画像取込手段と、 前記画像取込手段にて取り込まれた画像に基づき、当該
画像中の前記情報コードの存在領域を特定可能な位置情
報を算出する位置情報算出手段と、 該位置情報算出手段にて算出された位置情報に基づき、
少なくとも前記搬送方向における、前記情報コードの前
記物品に対する記録位置を算出するコード記録位置算出
手段とを備えていることを特徴とする情報コードの記録
位置検知装置。1. A detection means for detecting that an article moving on a conveyance path has arrived at a predetermined position on the conveyance path, a light emitting means for emitting light to a code recording surface of the article, and the detection means for the article. An image that captures the information code recorded on the code recording surface of the article as an image based on the reflected light of the light emitted by the light emitting means after a predetermined time has elapsed from the time when it was detected that A capturing means; a position information calculating means for calculating position information capable of specifying a region where the information code exists in the image based on the image captured by the image capturing means; Based on the calculated position information,
An information code recording position detecting device, comprising: a code recording position calculating means for calculating a recording position of the information code on the article in at least the carrying direction.
て、 さらに、前記コード記録位置算出手段によって算出され
た前記記録位置に基づき、前記情報コードが前記物品の
適正な位置に記録されているか否かを判断するコード記
録位置判断手段を備えていることを特徴とする情報コー
ドの記録位置検知装置。2. The recording position detecting device according to claim 1, further, based on the recording position calculated by the code recording position calculating means, whether the information code is recorded at an appropriate position of the article. An information code recording position detecting device comprising a code recording position judging means for judging whether or not the information code is recorded.
において、 前記位置情報算出手段は、前記情報コードの有する位置
決め用シンボルに基づいて前記位置情報を算出すること
を特徴とする情報コードの記録位置検知装置。3. The recording position detecting device according to claim 1, wherein the position information calculating means calculates the position information based on a positioning symbol included in the information code. Recording position detection device.
て、 前記情報コードがQRコードであることを前提として、 前記位置情報算出手段は、QRコードの位置決め用シン
ボルの中心座標を前記位置情報として算出することを特
徴とする情報コードの記録位置検知装置。4. The recording position detecting device according to claim 3, wherein the position information calculating unit determines the center coordinates of the positioning symbol of the QR code as the position information, on the assumption that the information code is a QR code. An information code recording position detecting device characterized by:
において、 さらに、前記情報コードの有する位置決め用シンボルに
基づいて、前記画像中の前記情報コードの向きを判断す
る向き判断手段を備え、 前記コード記録位置算出手段は、前記向き判断手段によ
る判断結果に応じて前記記録位置を算出することを特徴
とする情報コードの記録位置検知装置。5. The recording position detecting device according to claim 3, further comprising orientation determining means for determining the orientation of the information code in the image based on a positioning symbol included in the information code. The information code recording position detecting device is characterized in that the code recording position calculating means calculates the recording position in accordance with a result of the judgment by the orientation judging means.
検知装置において、 前記所定時間として複数の異なる時間が設定されている
ことを前提として、 前記画像取込手段は、前記検出手段によって前記物品が
所定位置に来たことが検出された時点から当該所定時間
が経過した複数の時点で前記画像の取り込みを行い、 前記位置情報算出手段は、前記複数枚の各画像に対して
位置情報を算出し、 前記コード記録位置算出手段は、前記複数枚の各画像に
対して算出された位置情報に基づき、前記記録位置を算
出することを特徴とする情報コードの記録位置検知装
置。6. The recording position detection device according to claim 1, wherein the image capturing unit is configured to detect the detection unit, assuming that a plurality of different times are set as the predetermined time. The image is captured at a plurality of time points after the predetermined time has elapsed since it was detected that the article came to a predetermined position, An information code recording position detecting device, characterized in that 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. An information code recording position detecting device, which is calculated as the recording position.
において、 同一の情報コードに対する前記位置情報が前記複数枚の
各画像から算出されるように前記所定時間を設定してお
くことを前提として、 前記コード記録位置算出手段は、前記同一の情報コード
に対する位置情報に基づき算出可能な前記物品の搬送速
度を考慮して、前記記録位置を算出することを特徴とす
る情報コードの記録位置検知装置。8. The recording position detecting apparatus according to claim 6 or 7, 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 conveyance speed of the article that can be calculated based on position information for the same information code. Detection device.
検知装置と、 前記画像取込手段にて取り込まれた画像中の情報コード
に対するデコード処理を行い、前記情報コードとして記
録された情報を読み取るデコード手段とを備えているこ
とを特徴とする光学情報読取装置。9. The recording position detecting device according to claim 1, wherein the information code in the image captured by the image capturing means is decoded and recorded as the information code. An optical information reading device comprising: a decoding unit for reading information.
置検知装置と、 前記画像取込手段にて取り込まれた画像中の情報コード
に対するデコード処理を行い、前記情報コードとして記
録された情報を読み取るデコード手段とを備えており、 前記デコード手段は、前記コード記録位置判断手段によ
って前記情報コードが物品の適正な位置に記録されてい
ると判断された場合に限り、前記デコード処理を行うこ
とを特徴とする光学情報読取装置。10. The recording position detecting device according to claim 2, wherein the information code in the image captured by the image capturing means is decoded and recorded as the information code. Decoding means for reading information is provided, and the decoding means performs the decoding process only when the code recording position determination means determines that the information code is recorded at an appropriate position of the article. An optical information reading device characterized by the above.
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 JP2000337853A (en) | 2000-12-08 |
| JP3397170B2 true 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) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4322147B2 (en) | 2004-03-09 | 2009-08-26 | 株式会社ナビタイムジャパン | 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 |
| JP4949800B2 (en) * | 2006-10-23 | 2012-06-13 | 大和製衡株式会社 | Alignment conveyor supply device and boxing device |
| JP4926189B2 (en) * | 2009-01-06 | 2012-05-09 | 株式会社ナビタイムジャパン | Installation method of two-dimensional code recording body |
| JP6358057B2 (en) * | 2014-11-25 | 2018-07-18 | 株式会社デンソーウェーブ | 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 |
| CN207051946U (en) * | 2017-03-31 | 2018-02-27 | 腾讯科技(深圳)有限公司 | Quick Response Code and printed article |
| CN113403942B (en) * | 2021-07-07 | 2022-11-15 | 西北工业大学 | Label-assisted bridge detection unmanned aerial vehicle visual navigation method |
-
1999
- 1999-05-27 JP JP14806899A patent/JP3397170B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000337853A (en) | 2000-12-08 |
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 | |
| US7545722B2 (en) | Method and apparatus for optically reading information attached to a target | |
| CN102640165B (en) | Imaging-based scanner including boundary search for image acquisition | |
| JP3397170B2 (en) | Information code recording position detecting device and optical information reading device | |
| JP4524429B2 (en) | Information code printing medium reading method and information code printing medium reading apparatus | |
| US20010052581A1 (en) | Position sensing device having a single photosensing element | |
| US7222790B2 (en) | Apparatus for optically reading information | |
| US5959286A (en) | Method and apparatus for raster scanning of images | |
| US20060028698A1 (en) | Automatic document feeder scanner with a scanning module capable of positioning on an adf scan position accurately | |
| JP5224398B2 (en) | Bar code reader and labeling system | |
| JP3760594B2 (en) | Optical information reader | |
| JP2010009182A (en) | Optical symbol reading apparatus | |
| JP3989137B2 (en) | Information code printing medium counterfeit judgment method | |
| JP4181071B2 (en) | Double line sensor camera and code reader using the camera | |
| JP4058883B2 (en) | Optical information reader | |
| JP3700522B2 (en) | Two-dimensional code reading system and two-dimensional code reading method | |
| JP3715489B2 (en) | Printed circuit board inspection equipment | |
| JP2016099852A (en) | Optical information reading device | |
| JP4231445B2 (en) | Coin identification device | |
| JP4876656B2 (en) | IC card orientation inspection method, IC card orientation inspection apparatus, and IC card orientation inspection program | |
| JP3911892B2 (en) | Optical information reading system | |
| JPH07334606A (en) | Optical code reader | |
| JP4063021B2 (en) | Optical information reader | |
| JPH04102052A (en) | Apparatus for inspecting painted surface of vehicle |
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 |