JP2000040121A - Code reader - Google Patents

Code reader

Info

Publication number
JP2000040121A
JP2000040121A JP10207863A JP20786398A JP2000040121A JP 2000040121 A JP2000040121 A JP 2000040121A JP 10207863 A JP10207863 A JP 10207863A JP 20786398 A JP20786398 A JP 20786398A JP 2000040121 A JP2000040121 A JP 2000040121A
Authority
JP
Japan
Prior art keywords
code reading
transition
image data
reading device
focus position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10207863A
Other languages
Japanese (ja)
Inventor
Makoto Sugiyama
誠 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP10207863A priority Critical patent/JP2000040121A/en
Publication of JP2000040121A publication Critical patent/JP2000040121A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make a user able to automatically perform read in an optimum state just by bringing a reader closer to a code without being conscious of a focus position. SOLUTION: This code reader is provided with a transition degree detection means S1 for detecting the transition degree on a specified scanning line of multi-valued image data converted by a multi-valued image data conversion circuit provided in an area sensor unit and further a focus position judgement means for judging that a code read position is at the focus position in the case of detecting that the transition degree on the specified scanning line of the multi-valued image data detected by the transition degree detection means S1 is equal to or more than a stipulated value and judging that the code read position is not at the focus position in the case of judging that the transition degree on the specified scanning line of the multi-valued image data detected by the transition degree detection means S1 is smaller than the stipulated value.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えばハンディタ
イプの2次元コードリーダのように2次元コード等を読
み取るコード読み取り装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code reader for reading a two-dimensional code or the like, such as a handy type two-dimensional code reader.

【0002】[0002]

【従来の技術】図15ないし図19を参照して従来のコ
ード読み取り装置について説明する。図15において、
11はコード読み取り装置、12はコード読み取り装置
本体、13はコード読み取り装置本体12に接続された
インタフェースケーブル、14は装置本体12の前端部
に設けられた読取口、15は読取り動作を開始させるた
めのトリガスイッチ、16は読取り結果を通知するため
の結果通知LED、17は読取りラベル18上に印刷さ
れている読取りコードとしての2次元コードである。
2. Description of the Related Art A conventional code reading apparatus will be described with reference to FIGS. In FIG.
11 is a code reading device, 12 is a code reading device main body, 13 is an interface cable connected to the code reading device main body 12, 14 is a reading port provided at the front end of the device main body 12, and 15 is a button for starting a reading operation. Is a result notifying LED for notifying the reading result, and 17 is a two-dimensional code as a reading code printed on a reading label 18.

【0003】読取口14を介して2次元コード17に光
が照射され、その反射光が読取口14を介して装置本体
12内に取り込まれる。
The two-dimensional code 17 is irradiated with light through the reading opening 14 and the reflected light is taken into the apparatus main body 12 through the reading opening 14.

【0004】この装置本体12内において、例えばCC
Dエリアセンサにより撮像手段によりその反射光が受光
されている。
In the apparatus main body 12, for example, CC
The reflected light is received by the imaging means by the D area sensor.

【0005】ユーザが2次元コードの読取りを行なう場
合には、まず読取口14を読取りラベル18上に印刷さ
れている2次元コード17に向ける。そして、トリガス
イッチ15を押すことにより、読取り動作を開始してい
る。
When a user reads a two-dimensional code, first, the reading opening 14 is turned to the two-dimensional code 17 printed on the reading label 18. Then, the reading operation is started by pressing the trigger switch 15.

【0006】そして、読取りが成功すると、LED16
が点灯され、インタフェースケーブル13を介してホス
トコンピュータにデータが転送される。
When the reading is successful, the LED 16
Lights up, and data is transferred to the host computer via the interface cable 13.

【0007】従来のコード読み取り装置11において
は、図16ないし図19のフロチャートに示すように第
1ないし第4の処理により読取り動作が行なわれる。
In the conventional code reading device 11, a reading operation is performed by first to fourth processes as shown in flowcharts of FIGS.

【0008】まず、図16のフロ−チャ−ト(第1の読
取り処理)に示すように、トリガスイッチ15が押され
たかを判定し、トリガスイッチ15が押されたと判定さ
れると読取りを開始し、読取りが成功すると、読取り結
果をホストコンピュータに転送し、そのまま次のトリガ
スイッチ15が押されるのを待つ状態となる。
First, as shown in a flowchart (first reading process) of FIG. 16, it is determined whether or not the trigger switch 15 has been pressed. When it is determined that the trigger switch 15 has been pressed, reading is started. Then, if the reading is successful, the reading result is transferred to the host computer, and the system is in a state of waiting for the next trigger switch 15 to be pressed.

【0009】また、図17のフロ−チャ−ト(第2の読
取り処理)に示すように、トリガスイッチ15が押され
たかを判定し、トリガスイッチ15が押されたと判定さ
れると、読取りを開始し、読取りが成功すると読取り結
果をホストコンピュータに転送してトリガ待ち状態とな
る。
As shown in a flowchart (second reading process) of FIG. 17, it is determined whether or not the trigger switch 15 has been pressed. If it is determined that the trigger switch 15 has been pressed, reading is performed. When the reading is successful, the reading result is transferred to the host computer and a trigger wait state is set.

【0010】一方、読取りが成功しなかった場合には、
予め定められた規定回数読取りを行なっていれば、その
ままトリガ待ち状態となり、読取り回数が規定回数行な
われていなければ、続けて読取り動作が行なわれる。
On the other hand, if the reading is not successful,
If reading has been performed a predetermined number of times, a trigger wait state is maintained. If reading has not been performed a predetermined number of times, a reading operation is continuously performed.

【0011】さらに、図18のフローチャート(第3の
読取り処理)に示すように、トリガスイッチ15が押さ
れたかを判定し、トリガスイッチ15が押されたと判定
されると読取りを開始し、読取りが成功すると、読取り
結果をホストコンピュータに転送し、そのままトリガ待
ち状態となる。
Further, as shown in the flowchart of FIG. 18 (third reading process), it is determined whether or not the trigger switch 15 has been pressed. When it is determined that the trigger switch 15 has been pressed, reading is started. If successful, the read result is transferred to the host computer, and the apparatus is directly in a trigger waiting state.

【0012】ところで、読取りが成功しなかった場合に
は、トリガスイッチ15が押し続けられていなければ、
そのままトリガ待ち状態となり、トリガスイッチ15が
押し続けていれば続けて読取り処理を行なうようにして
いる。
By the way, if the reading is not successful, if the trigger switch 15 is not kept pressed,
The trigger wait state is kept as it is, and if the trigger switch 15 is kept pressed, the reading process is continuously performed.

【0013】さらに、図19のフロ−チャ−ト(第4の
読取り処理)に示すように、トリガスイッチ15に関係
なく読取りを開始し、読取りが成功すると、読取り結果
をホストコンピュータに転送し、読取りが成功しなかっ
た場合には、そのまま続けて読取りを行なう。
Further, as shown in a flowchart (fourth reading process) of FIG. 19, reading is started irrespective of the trigger switch 15, and when reading is successful, the reading result is transferred to the host computer. If the reading is not successful, the reading is continued.

【0014】[0014]

【発明が解決しようとする課題】前述した第1ないし第
3の読取り処理においては、読取りはユーザが指定した
トリガスイッチ15を押したタイミングで行なわれる。
このように、読取りタイミングをユーザが指定している
ため、読み取り装置での読取りタイミングをユーザが指
定するため、読取り装置の適正な焦点位置をユーザは常
に意識する必要がある。
In the above-described first to third reading processes, reading is performed at the timing when the trigger switch 15 specified by the user is pressed.
As described above, since the user designates the reading timing, the user designates the reading timing of the reading device, so that the user always needs to be aware of the appropriate focal position of the reading device.

【0015】また、第4の読取り処理においては、連続
で画像データを取り込んでいるため、ユーザが取り込み
タイミングを意識する必要はないが、ピントの合ってい
ないところで、コードの画像を取り込んでデコードを行
なうと、通常よりコードの品質が悪いため読取り確率が
低くなるという問題がある。
In the fourth reading process, since the image data is fetched continuously, the user does not need to be aware of the fetch timing. However, when the image is out of focus, the code image is fetched and decoded. If this is done, there is a problem that the reading probability is lowered because the code quality is lower than usual.

【0016】また、コードが2次元コードなど、誤り訂
正を含む物の場合は、その誤り訂正を行う時間の遅延が
起こるため、ユーザは読取りが遅いように感じることに
なる。
If the code includes an error correction code such as a two-dimensional code, the time for performing the error correction is delayed, so that the user feels that reading is slow.

【0017】本発明は上記の点に鑑みてなされたもの
で、その目的は、ユーザは焦点位置を意識することなく
読取り装置をコードに近付けていくだけで、自動的に最
適な状態で読取りを行なうことができるコード読み取り
装置を提供することにある。
The present invention has been made in view of the above points, and a purpose thereof is to automatically perform reading in an optimum state simply by moving a reader close to a code without being conscious of a focus position. It is an object of the present invention to provide a code reading device capable of performing the above.

【0018】[0018]

【課題を解決するための手段】請求項1記載のコード読
み取り装置は、印刷媒体上のシンボルに光を照射し、こ
のシンボルから反射した光の受光量に対応した電気量を
出力する光電変換素子から構成された撮像手段を備えた
コード読み取り装置において、上記撮像手段から出力さ
れる画像データを多値画像データに変換する多値画像デ
ータ変換手段と、この多値画像データ変換手段により変
換された多値画像データの特定スキャンラインでの変遷
度合いを検出する変遷度合い検出手段と、この変遷度合
い検出手段により検出された上記多値画像データの特定
スキャンラインでの変遷度合いが規定値以上であると検
出された場合には、上記コード読み取り装置はピント位
置にあると判定し、この変遷度合い検出手段により検出
された上記多値画像データの特定スキャンラインでの変
遷度合いが規定値より小さいと判定された場合には、上
記コード読み取り装置はピント位置にないと判定するピ
ント位置判定手段とを具備したことを特徴とする。
According to a first aspect of the present invention, there is provided a code reading apparatus for irradiating a symbol on a print medium with light and outputting an amount of electricity corresponding to the amount of light received from the symbol. And a multi-valued image data conversion means for converting image data output from the imaging means into multi-valued image data, and Transition degree detecting means for detecting the transition degree of a specific scan line of the multi-valued image data, and when the transition degree of the multi-valued image data detected by the specific scan line is greater than or equal to a specified value If detected, the code reading device determines that it is at the focus position, and the multi-valued image detected by the transition degree detecting means is detected. If the transition degree of a particular scan line of data is determined to be smaller than the prescribed value, characterized in that the code reading device is provided with a with determining the focus position determination unit is not in focus position.

【0019】請求項2記載のコード読み取り装置は、印
刷媒体上のシンボルに光を照射し、このシンボルから反
射した光の受光量に対応した電気量を出力する光電変換
素子から構成された撮像手段を備えたコード読み取り装
置において、上記撮像手段から出力される画像データを
多値画像データに変換する多値画像データ変換手段と、
この多値画像データ変換手段により変換された多値画像
データの特定スキャンラインでの遷移量を検出する遷移
量検出手段と、この遷移量検出手段により検出された上
記多値画像データの特定スキャンラインでの遷移量が設
定値以上であると検出された場合には、上記コード読み
取り装置はピント位置にあると判定し、この遷移量検出
手段により検出された上記多値画像データの特定スキャ
ンラインでの遷移量が設定値より小さいと判定された場
合には、上記コード読み取り装置はピント位置にないと
判定するピント位置判定手段とを具備したことを特徴と
する。
According to a second aspect of the present invention, there is provided a code reading apparatus, comprising: a photoelectric conversion element configured to irradiate a symbol on a print medium with light and to output an electric quantity corresponding to an amount of light received from the symbol. In a code reading device comprising: a multi-valued image data conversion means for converting the image data output from the imaging means to multi-valued image data,
A transition amount detecting means for detecting a transition amount of the multi-valued image data converted by the multi-valued image data converting means on a specific scan line; and a specific scan line of the multi-valued image data detected by the transition amount detecting means. When it is detected that the transition amount is equal to or greater than the set value, the code reading device determines that the focus position is at the focus position, and determines whether or not the multi-valued image data detected by the transition amount detection means is in a specific scan line. When the transition amount is determined to be smaller than the set value, the code reading device includes a focus position determining unit that determines that the focus position is not at the focus position.

【0020】請求項3記載のコード読み取り装置は、印
刷媒体上のシンボルに光を照射し、このシンボルから反
射した光の受光量に対応した電気量を出力する光電変換
素子から構成された撮像手段を備えたコード読み取り装
置において、上記撮像手段から出力されるアナログ画像
信号の変遷度合いを検出する変遷度合い検出手段と、こ
の変遷度合い検出手段により検出された上記アナログ画
像信号の変遷度合いが規定値以上であると検出された場
合には、上記コード読み取り装置はピント位置にあると
判定し、この変遷度合い検出手段により検出された上記
アナログ画像信号の変遷度合いが規定値より小さいと判
定された場合には、上記コード読み取り装置はピント位
置にないと判定するピント位置判定手段とを具備したこ
とを特徴とする。
According to a third aspect of the present invention, there is provided a code reading device, comprising: a photoelectric conversion element configured to irradiate a symbol on a print medium with light and output an electric quantity corresponding to an amount of light received from the symbol. In the code reading device, the transition degree detecting means for detecting the transition degree of the analog image signal output from the imaging means, and the transition degree of the analog image signal detected by the transition degree detecting means is a specified value or more Is detected, the code reading device determines that the focus position, and when it is determined that the transition degree of the analog image signal detected by the transition degree detection means is smaller than a specified value, Is characterized in that the code reading device is provided with a focus position determining means for determining that the code position is not at the focus position.

【0021】請求項4記載のコード読み取り装置は、印
刷媒体上のシンボルに光を照射し、このシンボルから反
射した光の受光量に対応した電気量を出力する光電変換
素子から構成された撮像手段を備えたコード読み取り装
置において、上記撮像手段から出力されるアナログ画像
信号の遷移量を検出する遷移量検出手段と、この遷移量
検出手段により検出された上記アナログ画像信号の遷移
量が設定値以上であると検出された場合には、上記コー
ド読み取り装置はピント位置にあると判定し、この遷移
量検出手段により検出された上記アナログ画像信号の遷
移量が設定値より小さいと判定された場合には、上記コ
ード読み取り装置はピント位置にないと判定するピント
位置判定手段とを具備したことを特徴とする。
According to a fourth aspect of the present invention, there is provided a code reading device, comprising: a photoelectric conversion element configured to irradiate a symbol on a print medium with light and output an electric quantity corresponding to an amount of light received from the symbol. A transition amount detecting means for detecting a transition amount of the analog image signal output from the imaging means, and a transition amount of the analog image signal detected by the transition amount detecting means being equal to or more than a set value. Is detected, the code reading device determines that the focus position is present, and when it is determined that the transition amount of the analog image signal detected by the transition amount detection means is smaller than a set value, Is characterized in that the code reading device is provided with a focus position determining means for determining that the code position is not at the focus position.

【0022】請求項5記載のコード読み取り装置は、請
求項1ないし請求項4記載のうちいずれか一記載のピン
ト位置判定手段によりコード読み取り装置はピント位置
にあると判定された場合には、上記コード読み取り装置
により読み取り動作を開始させる手段とを具備したこと
を特徴とする。
According to a fifth aspect of the present invention, there is provided a code reading device, wherein the focus position determining means according to any one of the first to fourth aspects determines that the code reading device is at a focus position. Means for starting a reading operation by the code reading device.

【0023】請求項6記載のコード読み取り装置は、コ
ード読み取り装置に設けられた表示手段を備え、上記請
求項1ないし請求項4記載のうちいずれか一記載のピン
ト位置判定手段によりコード読み取り装置はピント位置
にあると判定された場合には、上記表示手段を点灯させ
る手段とを具備したことを特徴とする。
According to a sixth aspect of the present invention, there is provided a code reading apparatus including a display unit provided in the code reading apparatus, wherein the code reading apparatus is provided by the focus position determining unit according to any one of the first to fourth aspects. Means for illuminating the display means when it is determined that the camera is at the focus position.

【0024】請求項7記載のコード読み取り装置は、コ
ード読み取り装置に設けられた報音手段と、上記請求項
1ないし請求項4記載のうちいずれか一記載のピント位
置判定手段によりコード読み取り装置はピント位置にあ
ると判定された場合には、上記報音手段を駆動させる手
段とを具備したことを特徴とする。
According to a seventh aspect of the present invention, there is provided a code reading apparatus comprising: a sound emitting means provided in the code reading apparatus; and a focus position determining means according to any one of the first to fourth aspects. Means for driving the sounding means when it is determined that the camera is at the focus position.

【0025】請求項8記載のコード読み取り装置は、コ
ード読み取り装置に設けられた振動装置と、上記請求項
1ないし請求項4記載のうちいずれか一記載のピント位
置判定手段によりコード読み取り装置はピント位置にあ
ると判定された場合には、上記振動装置を駆動させる手
段とを具備したことを特徴とする。
According to an eighth aspect of the present invention, there is provided a code reading apparatus, comprising: a vibration device provided in the code reading apparatus; and a focus position determining unit according to any one of the first to fourth aspects, wherein the code reading apparatus is focused. Means for driving the vibration device when it is determined that the vibration device is located at the position.

【0026】[0026]

【発明の実施の形態】以下図面を参照して本発明の第1
の実施の形態について説明する。図1において、21は
コード読み取り装置、22はコード読み取り装置本体、
23はコード読み取り装置本体22に接続されたインタ
フェースケーブル、24は装置本体22の前端部に設け
られた読取口、25は読取り動作を開始させるためのト
リガスイッチ、26は読取り結果を通知するための結果
通知LED、27はピント情報を通知するためのLE
D、28は読取りラベル29上に印刷されている読取り
コードとしての2次元コードである。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a first embodiment of the present invention;
An embodiment will be described. In FIG. 1, 21 is a code reading device, 22 is a code reading device main body,
23 is an interface cable connected to the code reading device main body 22, 24 is a reading port provided at the front end of the device main body 22, 25 is a trigger switch for starting a reading operation, and 26 is a notification switch for notifying a reading result. The result notification LED 27 is an LE for notifying focus information.
D and 28 are two-dimensional codes as read codes printed on a read label 29.

【0027】読取口24を介して2次元コード27に光
が照射され、その反射光が読取口24を介して装置本体
22内に取り込まれる。
The two-dimensional code 27 is irradiated with light through the reading port 24, and the reflected light is taken into the apparatus main body 22 through the reading port 24.

【0028】この装置本体22内において、例えばCC
Dエリアセンサにより撮像手段によりその反射光が受光
されている。
In the apparatus main body 22, for example, CC
The reflected light is received by the imaging means by the D area sensor.

【0029】次に、図3を参照して装置本体22に搭載
されている電気回路について説明する。図3において、
31はエリアセンサユニットである。このエリアセンサ
ユニット31は、例えば800×600画素のCCDよ
り構成されるエリアセンサを備えている。
Next, an electric circuit mounted on the apparatus main body 22 will be described with reference to FIG. In FIG.
31 is an area sensor unit. The area sensor unit 31 has an area sensor composed of, for example, a CCD of 800 × 600 pixels.

【0030】さらに、このエリアセンサユニット31に
は、エリアセンサを駆動するドライブ回路と、このドラ
イブ回路からの駆動タイミングに基づいて座標値を計数
するカウンタと、エリアセンサからの撮像信号を増幅す
る増幅回路と、シェーディング補正機能を備え、増幅回
路により増幅された撮像信号を例えば8ビットの多値画
像データに変換する多値画像データ変換回路が備えられ
ている。
The area sensor unit 31 further includes a drive circuit for driving the area sensor, a counter for counting coordinate values based on the drive timing from the drive circuit, and an amplifier for amplifying an image signal from the area sensor. A multivalued image data conversion circuit is provided which has a circuit and a shading correction function, and converts an image signal amplified by the amplifier circuit into, for example, 8-bit multivalued image data.

【0031】このエリアセンサユニット31から出力さ
れる多値画像データは、DMA(direct memory acces
s)32に接続されている。
The multi-valued image data output from the area sensor unit 31 is stored in a DMA (direct memory acces
s) 32.

【0032】また、33は本コード読取り装置21を統
括して制御するCPU(中央処理装置)である。
Reference numeral 33 denotes a CPU (Central Processing Unit) that controls the code reader 21 in an integrated manner.

【0033】このCPU33からのシステムバス34に
は、プログラムメモリ35、画像メモリ36、DMA3
2、通信インタフェース37、I/O(Input/Output)
ポート38が接続されている。
A program bus 35, an image memory 36, a DMA3
2. Communication interface 37, I / O (Input / Output)
Port 38 is connected.

【0034】このI/Oポート38には、ターゲット3
9、照明40、トリガスイッチ25、外部トリガスイッ
チ41、LED26及び27である表示器42、例えば
ブザーより構成される発音器43、バイブレータ44が
接続されている。
The I / O port 38 has a target 3
9, an illumination 40, a trigger switch 25, an external trigger switch 41, a display 42 which is an LED 26 and an LED 27, for example, a sound generator 43 composed of a buzzer, and a vibrator 44 are connected.

【0035】また、プログラムメモリ35には、図4及
び図5のフロ−チャ−トに示す処理を行なうプログラム
が記憶されている。
The program memory 35 stores a program for performing the processing shown in the flowcharts of FIGS.

【0036】次に、上記のように構成された本発明の第
1の実施の形態の動作について説明する。オペレータは
装置本体22を持ち、その読取口24を読取りラベル2
9に印刷されている図2(A)に示すような2次元コー
ドに近付けるように移動させる。
Next, the operation of the first embodiment of the present invention configured as described above will be described. The operator holds the apparatus main body 22, reads the reading port 24, and reads the label 2
9 is moved so as to approach a two-dimensional code as shown in FIG.

【0037】そして、照明40から放たれた光は、読取
口24を介して読取りラベル29に照射される。そし
て、読取りラベル29で反射された反射光は、読取口2
4を介して装置本体22内に取り込まれる。
Then, the light emitted from the illumination 40 is applied to the reading label 29 through the reading port 24. Then, the reflected light reflected by the reading label 29 is read by the reading port 2.
4 and is taken into the apparatus main body 22.

【0038】そして、その反射光は、エリアセンサユニ
ット31内に設けられたエリアセンサにより撮像され
る。
The reflected light is picked up by an area sensor provided in the area sensor unit 31.

【0039】そして、エリアセンサで撮像された2次元
コードは、多値画像データ変換回路により多値画像デー
タに変化される。
Then, the two-dimensional code imaged by the area sensor is changed to multi-valued image data by a multi-valued image data conversion circuit.

【0040】ここで、多値画像データはエリアセンサで
撮像された2次元コードの明るさを8ビットの画像デー
タ(256階調)で表わしている。
Here, the multi-valued image data represents the brightness of a two-dimensional code captured by the area sensor as 8-bit image data (256 gradations).

【0041】そして、この8ビットの多値画像データ
は、DMA32の制御下で画像メモリ36に転送され
る。
The 8-bit multivalued image data is transferred to the image memory 36 under the control of the DMA 32.

【0042】従って、画像メモリ36には、2次元コー
ドの多値画像データが記憶される。ここで、画像メモリ
36に記憶されている2次元コードの多値画像データの
うち、注目しているスキャンラインの多値画像データを
図7及び図8に示しておく。図7の多値画像データはコ
ード読取り装置21のピントが合っている場合、図8の
多値画像データはコード読取り装置21のピントが合っ
ていない場合を示している。
Accordingly, the image memory 36 stores multi-dimensional image data of a two-dimensional code. Here, among the multi-valued image data of the two-dimensional code stored in the image memory 36, the multi-valued image data of the scan line of interest is shown in FIGS. The multi-valued image data of FIG. 7 shows the case where the code reader 21 is in focus, and the multi-valued image data of FIG. 8 shows the case where the code reader 21 is out of focus.

【0043】以下、図7あるいは図8の多値画像データ
を用いて図4のフロ−チャ−トに示す処理が行なわれ
る。
Hereinafter, the processing shown in the flowchart of FIG. 4 is performed using the multi-valued image data of FIG. 7 or FIG.

【0044】つまり、画像メモリ36に記憶されている
多値画像データが白黒に変化するときの変動度合いを認
識プログラムにより集計する(ステップS1)。この認
識プログラムはプログラムメモリ35に記憶されている
プログラムである。この認識プログラムは、図7に示し
た多値画像データが、白い部分7aから黒い部分7bに
変化するときの変動度合いを集計している。図7に示す
ように、ピントが合っている場合には、白い部分7aか
ら黒い部分7bへの変化は急峻であるため、変動度合い
は規定値より大きくなる。
That is, the degree of change when the multi-valued image data stored in the image memory 36 changes to black and white is totalized by the recognition program (step S1). This recognition program is a program stored in the program memory 35. This recognition program tabulates the degree of change when the multivalued image data shown in FIG. 7 changes from a white portion 7a to a black portion 7b. As shown in FIG. 7, when the subject is in focus, the change from the white portion 7a to the black portion 7b is steep, so that the degree of change is larger than the specified value.

【0045】一方、ピントが合っていない図8に示すよ
うな多値画像データについて、認識プログラムにより変
動度合いを集計した場合には、白い部分7aから黒い部
分7bに変化しても、ピントが合っていないため、多値
画像データは緩やかに変化する。このため、認識プログ
ラムにより白い部分7aから黒い部分7bに変化すると
きの変動度合いを集計しても、その変動度合いは規定値
よりも小さい。
On the other hand, when the degree of change is calculated by the recognition program for the multi-valued image data as shown in FIG. 8 which is out of focus, even if the white part 7a changes to the black part 7b, the focus is achieved. Therefore, the multi-valued image data changes slowly. For this reason, even if the change degree when changing from the white portion 7a to the black portion 7b is calculated by the recognition program, the change degree is smaller than the specified value.

【0046】従って、「変動度合い>規定値」の判定
(ステップS2)に対して、図7の多値画像データのよ
うにピントが合っている場合には、「YES」と判定さ
れて、ピントが合っている画像としてCPU33に認識
される(ステップS3)。
Therefore, if the degree of fluctuation is greater than the specified value (step S2) (step S2), if the image is in focus as in the multi-valued image data shown in FIG. Is recognized by the CPU 33 as an image matching (step S3).

【0047】このようにCPU33により認識される
と、LED27が点灯され、ピントが合ったことが知ら
される。
When recognized by the CPU 33 in this way, the LED 27 is turned on to notify that focus has been achieved.

【0048】一方、図8の多値画像データのようにピン
トが合っていない場合には、「NO」と判定されて、ピ
ントが合っていない画像としてCPU33に認識される
(ステップS4)。
On the other hand, if the image is out of focus as in the multi-valued image data of FIG. 8, the determination is "NO" and the CPU 33 recognizes the image as out of focus (step S4).

【0049】このようにして、ピントが合ったことがC
PU33により認識されると、図6のフローチャートに
示す処理により読取り処理が自動的に開始される。
As described above, the fact that the object is in focus is C.
When recognized by the PU 33, the reading process is automatically started by the process shown in the flowchart of FIG.

【0050】つまり、図6において、ピントが合ってい
るかが判定される(ステップS21)。このステップS
21の判定は、図4のステップS3及びS4の判定結果
を用いている。
That is, in FIG. 6, it is determined whether focus is achieved (step S21). This step S
The determination of 21 uses the determination results of steps S3 and S4 in FIG.

【0051】そして、このステップS21の判定で「Y
ES」と判定された場合には、画像メモリ36に記憶さ
れている多値画像データに基づいてデコード処理を行な
う読取りが開始される(ステップS22)。
Then, in the determination in step S21, "Y
If it is determined to be "ES", reading for performing decoding processing based on the multi-valued image data stored in the image memory 36 is started (step S22).

【0052】そして、ステップS22で開始された読取
り処理が成功したかが判定される(ステップS23)。
Then, it is determined whether the reading process started in step S22 is successful (step S23).

【0053】このステップS23の判定で「YES」と
判定された場合には、LED26が点灯されて、読取り
が成功したことが報知される。さらに、その読取り結果
は、インタフェースケーブル23を介してホストコンピ
ュータに転送される。
If "YES" is determined in step S23, the LED 26 is turned on to notify that the reading has been successful. Further, the read result is transferred to the host computer via the interface cable 23.

【0054】以上のようにして、ピントが合った場合に
は、自動的に読取り処理が開始されるので、従来のよう
にトリガスイッチを押す必要がなく、コード読取り装置
の操作性を向上させることができる。
As described above, when the image is in focus, the reading process is automatically started, so that it is not necessary to press the trigger switch as in the prior art, thereby improving the operability of the code reader. Can be.

【0055】次に、本発明の第2の実施の形態について
図5のフロ−チャ−トを参照して説明する。前述した図
4のフロ−チャ−トにおいては、画像メモリ36に記憶
されている多値画像データより白い部分7aから黒い部
分7bに変化するときの変動度合いを集計したが、この
図5のフロ−チャ−トにおいては、遷移量を集計してい
る。ここで、変動度合いは多値画像データの変化率に相
当し、遷移量は多値画像データの絶対値の差に相当す
る。
Next, a second embodiment of the present invention will be described with reference to the flowchart of FIG. In the flowchart of FIG. 4 described above, the degree of change when the multi-valued image data stored in the image memory 36 changes from the white portion 7a to the black portion 7b is tabulated. -In the chart, the transition amount is totaled. Here, the degree of change corresponds to the rate of change of the multi-valued image data, and the amount of transition corresponds to the difference between the absolute values of the multi-valued image data.

【0056】次に、この第2の実施の形態の動作につい
て図5のフロ−チャ−トを参照して説明する。
Next, the operation of the second embodiment will be described with reference to the flowchart of FIG.

【0057】つまり、画像メモリ36に記憶されている
多値画像データが白黒に変化するときの遷移量を認識プ
ログラムにより集計する(ステップS11)。この認識
プログラムはプログラムメモリ35に記憶されているプ
ログラムである。この認識プログラムは、図7に示した
多値画像データが、白い部分7aから黒い部分7bに変
化するときの遷移量を集計している。図7に示すよう
に、ピントが合っている場合には、白い部分7aから黒
い部分7bへの変化は大きいため、遷移量は設定値より
大きくなる。
That is, the amount of transition when the multivalued image data stored in the image memory 36 changes to black and white is totalized by the recognition program (step S11). This recognition program is a program stored in the program memory 35. This recognition program tabulates the transition amounts when the multivalued image data shown in FIG. 7 changes from the white portion 7a to the black portion 7b. As shown in FIG. 7, when the image is in focus, the change from the white portion 7a to the black portion 7b is large, and the transition amount is larger than the set value.

【0058】一方、ピントが合っていない図8に示すよ
うな多値画像データについて、認識プログラムにより遷
移量を集計した場合には、白い部分7aから黒い部分7
bに変化しても、ピントが合っていないため、多値画像
データは緩やかに変化する。このため、認識プログラム
により白い部分7aから黒い部分7bに変化するときの
遷移量を集計しても、その遷移量は設定値よりも小さ
い。
On the other hand, when the amount of transition is counted by the recognition program for multi-valued image data as shown in FIG.
Even if it changes to b, the multi-valued image data changes gently because it is out of focus. Therefore, even if the amount of transition when changing from the white portion 7a to the black portion 7b is tabulated by the recognition program, the amount of transition is smaller than the set value.

【0059】従って、「遷移量>設定値」の判定(ステ
ップS12)に対して、図7の多値画像データのように
ピントが合っている場合には、「YES」と判定され
て、ピントが合っている画像としてCPU33に認識さ
れる(ステップS13)。
Accordingly, if the focus is determined as in the multi-valued image data of FIG. 7 with respect to the determination of "transition amount> set value" (step S12), it is determined to be "YES" and the focus is determined. Is recognized by the CPU 33 as an image matching (step S13).

【0060】このようにCPU33により認識される
と、LED27が点灯され、ピントが合ったことが知ら
される。
When the recognition is made by the CPU 33, the LED 27 is turned on to notify that focus has been achieved.

【0061】一方、図8の多値画像データのようにピン
トが合っていない場合には、「NO」と判定されて、ピ
ントが合っていない画像としてCPU33に認識される
(ステップS14)。
On the other hand, if the image is out of focus as in the multi-valued image data of FIG. 8, the determination is "NO" and the CPU 33 recognizes the image as out of focus (step S14).

【0062】このようにして、ピントが合ったことがC
PU33により認識されると、前述した図6のフローチ
ャートに示す処理により読取り処理が自動的に開始され
る。
As described above, it is determined that the object is in focus.
When recognized by the PU 33, the reading process is automatically started by the process shown in the flowchart of FIG.

【0063】以上のようにして、ピントが合った場合に
は、自動的に読取り処理が開始されるので、従来のよう
にトリガスイッチを押す必要がなく、コード読取り装置
の操作性を向上させることができる。
As described above, when focus is achieved, the reading process is automatically started, so that it is not necessary to press a trigger switch as in the prior art, thereby improving the operability of the code reader. Can be.

【0064】次に、図9ないし図13を参照して本発明
の第3の実施の形態について説明する。
Next, a third embodiment of the present invention will be described with reference to FIGS.

【0065】まず、図10及び図11の波形図について
簡単に説明する。図10は、ピントが合った位置で読み
取られたコードのアナログ波形図である。図10の波形
図は、白、黒、白というデータが等間隔で現れたときに
エリアセンサの出力波形図である。
First, the waveform diagrams of FIGS. 10 and 11 will be briefly described. FIG. 10 is an analog waveform diagram of a code read at a focused position. The waveform diagram of FIG. 10 is an output waveform diagram of the area sensor when white, black, and white data appear at equal intervals.

【0066】図11は、ピントが合っていない位置で読
み取られたコードのアナログ波形図である。図11の波
形図は、白、黒、白というデータが等間隔で現れたとき
にエリアセンサの出力波形図であり、ピントが合ってい
ないため、白と黒の境目はデータの変動がなめらかで、
しかも白と黒の絶対値の差も低い。
FIG. 11 is an analog waveform diagram of a code read at an out-of-focus position. The waveform diagram of FIG. 11 is an output waveform diagram of the area sensor when white, black, and white data appear at equal intervals. Since the focus is not adjusted, the boundary between white and black has a smooth data fluctuation. ,
Moreover, the difference between the absolute values of white and black is low.

【0067】図9はエリアセンサユニット31に設けら
れているエリアセンサから出力されるアナログの画像信
号を入力信号として入力している第3の実施の形態の要
部を示すブロック図である。
FIG. 9 is a block diagram showing a main part of the third embodiment in which an analog image signal output from an area sensor provided in the area sensor unit 31 is input as an input signal.

【0068】図9において、51はアナログの画像信号
を微分する微分回路である。この微分回路51は、白黒
の変動度合い(勾配)を検出している。
In FIG. 9, reference numeral 51 denotes a differentiating circuit for differentiating an analog image signal. The differentiating circuit 51 detects the degree of change (gradient) between black and white.

【0069】そして、微分回路51で検出された変動度
合いの最大値と最小値はピークホールド回路52により
保持される。そして、CPU52はピークホールド回路
52に保持された変動度合いの最大値及び最小値と規定
値とを比較し、規定値を超えていればピントがあってい
る画像と判断し、規定値を下回っていればピントがあっ
ていない画像として判断する。つまり、図10の波形を
微分回路51により微分すると、図12に示す波形とな
り、図11の波形を微分回路51により微分すると、図
13に示す波形となる。
The maximum value and the minimum value of the degree of change detected by the differentiating circuit 51 are held by the peak hold circuit 52. Then, the CPU 52 compares the maximum value and the minimum value of the degree of variation held in the peak hold circuit 52 with the specified value, and if the value exceeds the specified value, determines that the image is in focus, and determines that the image is in focus. If so, it is determined that the image is out of focus. That is, when the waveform of FIG. 10 is differentiated by the differentiating circuit 51, the waveform shown in FIG. 12 is obtained, and when the waveform of FIG. 11 is differentiated by the differentiating circuit 51, the waveform shown in FIG. 13 is obtained.

【0070】以下、前述した図6のフロ−チャ−トと同
様な処理が行なわれて、ピントが合った場合にLED2
7が点灯し、自動的に読取り処理を開始するようにして
いるので、コード読取り装置の操作性を向上させること
ができる。
Thereafter, the same processing as in the above-described flowchart of FIG. 6 is performed, and when the focus is achieved, the LED 2 is turned on.
7 is turned on and the reading process is automatically started, so that the operability of the code reader can be improved.

【0071】次に、本発明の第4の実施の形態について
図14を参照して説明する。この第4の実施の形態で
は、エリアセンサから出力されるアナログの画像信号を
入力信号としてピークホールド回路61に入力してい
る。このピークホールド回路61は、エリアセンサから
出力されるアナログの画像信号の最大値及び最小値を保
持する。
Next, a fourth embodiment of the present invention will be described with reference to FIG. In the fourth embodiment, an analog image signal output from the area sensor is input to the peak hold circuit 61 as an input signal. This peak hold circuit 61 holds the maximum value and the minimum value of the analog image signal output from the area sensor.

【0072】そして、CPU33はアナログの画像信号
の最大値及び最小値と設定値とを比較し、その値が設定
値を超えていれば、ピントが合っていると判定し、設定
値より下回った場合には、ピントは合っていないと判定
している。
Then, the CPU 33 compares the maximum value and the minimum value of the analog image signal with the set value, and if the values exceed the set value, it is determined that the camera is in focus, and the value falls below the set value. In this case, it is determined that the subject is out of focus.

【0073】以下、前述した図6のフロ−チャ−トと同
様な処理が行なわれて、ピントが合った場合には、LE
D27を点灯させて、自動的に読取り処理を開始するよ
うにしているので、コード読取り装置の操作性を向上さ
せることができる。
Thereafter, the same processing as in the above-described flowchart of FIG. 6 is performed.
Since the reading process is automatically started by turning on D27, the operability of the code reader can be improved.

【0074】なお、上記した実施の形態では、コード読
取り装置のピントが合った場合に、LED27を点灯す
るようにしたが、発音器(ブザー)43で報音しても良
く、バイブレータ44を振動させるようにしても良い。
In the above-described embodiment, the LED 27 is turned on when the code reader is in focus. However, a sound may be emitted from a sound generator (buzzer) 43 and the vibrator 44 may be vibrated. You may make it do.

【0075】[0075]

【発明の効果】請求項1記載の発明によれば、コード読
取り装置のピントが合っているか合っていないかの判定
を確実に行なうことができる。
According to the first aspect of the present invention, it is possible to reliably determine whether the code reader is in focus or not.

【0076】請求項2記載の発明によれば、コード読取
り装置のピントが合っているか合っていないかの判定を
確実に行なうことができる。
According to the second aspect of the present invention, it is possible to reliably determine whether the code reader is in focus or not.

【0077】請求項3記載の発明によれば、コード読取
り装置のピントが合っているか合っていないかの判定を
確実に行なうことができる。
According to the third aspect of the present invention, it is possible to reliably determine whether the code reader is in focus or not.

【0078】請求項4記載の発明によれば、コード読取
り装置のピントが合っているか合っていないかの判定を
確実に行なうことができる。
According to the fourth aspect of the present invention, it is possible to reliably determine whether the code reader is in focus or not.

【0079】請求項5記載の発明によれば、コード読取
り装置のピントが合っている場合には、読取り動作を自
動的に開始するようにしたので、トリガスイッチを操作
しなくても読取り動作を行なうことができ、操作性を向
上させることができる。
According to the fifth aspect of the invention, when the code reader is in focus, the reading operation is automatically started, so that the reading operation can be performed without operating the trigger switch. And operability can be improved.

【0080】請求項6記載の発明によれば、コード読取
り装置のピントが合った場合には、表示手段を点灯させ
るようにしたので、ユーザはピントが合ったことを視認
することができる。
According to the sixth aspect of the present invention, when the code reader is in focus, the display means is turned on, so that the user can visually recognize that the focus has been achieved.

【0081】請求項7記載の発明によれば、コード読取
り装置のピントが合った場合には、報音手段により報音
するようにしたので、ユーザはピントが合ったことを音
で確認することができる。
According to the seventh aspect of the present invention, when the code reader is in focus, a sound is generated by the sounding means, so that the user can confirm that the focus has been achieved by sound. Can be.

【0082】請求項8記載の発明によれば、コード読取
り装置のピントが合った場合には、振動装置を振動させ
るようにしたので、ユーザはピントが合ったことを振動
で伝えることができる。
According to the eighth aspect of the present invention, when the code reader is in focus, the vibration device is caused to vibrate, so that the user can be informed of the focus by vibration.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係わるコード読取
り装置の外観図。
FIG. 1 is an external view of a code reading device according to a first embodiment of the present invention.

【図2】同実施の形態に係わる2次元コードを示す図。FIG. 2 is an exemplary view showing a two-dimensional code according to the embodiment;

【図3】同コード読取り装置内に搭載された制御回路
図。
FIG. 3 is a control circuit diagram mounted in the code reader.

【図4】本発明の第1の実施の形態の動作を説明するた
めのフロ−チャ−ト。
FIG. 4 is a flowchart for explaining the operation of the first embodiment of the present invention.

【図5】本発明の第2の実施の形態の動作を説明するた
めのフロ−チャ−ト。
FIG. 5 is a flowchart for explaining the operation of the second embodiment of the present invention.

【図6】本発明の第1ないし第4の実施の形態の動作に
共通な自動読取り処理を説明するためのフロ−チャ−
ト。
FIG. 6 is a flowchart for explaining an automatic reading process common to the operations of the first to fourth embodiments of the present invention;
G.

【図7】画像メモリに記憶されている多値画像データの
うち特定スキャンラインの多値画像データを示す図。
FIG. 7 is a diagram showing multi-level image data of a specific scan line among multi-level image data stored in an image memory.

【図8】画像メモリに記憶されている多値画像データの
うち特定スキャンラインの多値画像データを示す図。
FIG. 8 is a diagram showing multi-level image data of a specific scan line among multi-level image data stored in an image memory.

【図9】本発明の第3の実施の形態に係わる要部回路
図。
FIG. 9 is a main part circuit diagram according to a third embodiment of the present invention.

【図10】エリアセンサから出力されるアナログ画像信
号を示す図。
FIG. 10 is a diagram showing an analog image signal output from an area sensor.

【図11】エリアセンサから出力されるアナログ画像信
号を示す図。
FIG. 11 is a diagram showing an analog image signal output from an area sensor.

【図12】図10のアナログ画像信号の微分波形図。FIG. 12 is a differential waveform diagram of the analog image signal of FIG.

【図13】図11のアナログ画像信号の微分波形図。FIG. 13 is a differential waveform diagram of the analog image signal of FIG.

【図14】本発明の第4の実施の形態に係わる要部回路
図。
FIG. 14 is a main part circuit diagram according to a fourth embodiment of the present invention.

【図15】従来のコード読取り装置の外観図。FIG. 15 is an external view of a conventional code reader.

【図16】従来の読取り動作を説明するためのフロ−チ
ャ−ト。
FIG. 16 is a flowchart for explaining a conventional reading operation.

【図17】従来の読取り動作を説明するためのフロ−チ
ャ−ト。
FIG. 17 is a flowchart for explaining a conventional reading operation.

【図18】従来の読取り動作を説明するためのフロ−チ
ャ−ト。
FIG. 18 is a flowchart for explaining a conventional reading operation.

【図19】従来の読取り動作を説明するためのフロ−チ
ャ−ト。
FIG. 19 is a flowchart for explaining a conventional reading operation.

【符号の説明】[Explanation of symbols]

21…コード読取り装置、 22…コード読取り装置本体、 23…インタフェースケーブル、 24…読取口、 25…トリガスイッチ、 26…LED、 27…LED、 28…2次元コード、 29…ラベル。 DESCRIPTION OF SYMBOLS 21 ... Code reading device, 22 ... Code reading device main body, 23 ... Interface cable, 24 ... Reading port, 25 ... Trigger switch, 26 ... LED, 27 ... LED, 28 ... 2D code, 29 ... Label.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 印刷媒体上のシンボルに光を照射し、こ
のシンボルから反射した光の受光量に対応した電気量を
出力する光電変換素子から構成された撮像手段を備えた
コード読み取り装置において、 上記撮像手段から出力される画像データを多値画像デー
タに変換する多値画像データ変換手段と、 この多値画像データ変換手段により変換された多値画像
データの特定スキャンラインでの変遷度合いを検出する
変遷度合い検出手段と、 この変遷度合い検出手段により検出された上記多値画像
データの特定スキャンラインでの変遷度合いが規定値以
上であると検出された場合には、上記コード読み取り装
置はピント位置にあると判定し、この変遷度合い検出手
段により検出された上記多値画像データの特定スキャン
ラインでの変遷度合いが規定値より小さいと判定された
場合には、上記コード読み取り装置はピント位置にない
と判定するピント位置判定手段とを具備したことを特徴
とするコード読み取り装置。
1. A code reading apparatus comprising: an imaging unit configured to irradiate a symbol on a print medium with light and output an amount of electricity corresponding to an amount of light reflected from the symbol, and A multi-valued image data conversion means for converting the image data output from the imaging means into multi-valued image data, and detecting a transition degree of the multi-valued image data converted by the multi-valued image data conversion in a specific scan line When the degree of transition of the multi-valued image data detected by the transition degree detecting means on a specific scan line is equal to or greater than a specified value, the code reading device is moved to a focus position. And the degree of transition of the multi-valued image data detected by the transition degree detecting means on a specific scan line is a specified value. A code reading device comprising: a focus position determining unit that determines that the code reading device is not at a focus position when it is determined that the value is smaller than the focus position.
【請求項2】 印刷媒体上のシンボルに光を照射し、こ
のシンボルから反射した光の受光量に対応した電気量を
出力する光電変換素子から構成された撮像手段を備えた
コード読み取り装置において、 上記撮像手段から出力される画像データを多値画像デー
タに変換する多値画像データ変換手段と、 この多値画像データ変換手段により変換された多値画像
データの特定スキャンラインでの遷移量を検出する遷移
量検出手段と、 この遷移量検出手段により検出された上記多値画像デー
タの特定スキャンラインでの遷移量が設定値以上である
と検出された場合には、上記コード読み取り装置はピン
ト位置にあると判定し、この遷移量検出手段により検出
された上記多値画像データの特定スキャンラインでの遷
移量が設定値より小さいと判定された場合には、上記コ
ード読み取り装置はピント位置にないと判定するピント
位置判定手段とを具備したことを特徴とするコード読み
取り装置。
2. A code reading apparatus comprising: an imaging unit configured to irradiate a symbol on a print medium with light and output an amount of electricity corresponding to an amount of light reflected from the symbol; A multi-valued image data converting means for converting the image data output from the imaging means into multi-valued image data; and detecting a transition amount of the multi-valued image data converted by the multi-valued image data converting means on a specific scan line. A transition amount detecting means for detecting whether the transition amount of the multi-valued image data detected by the transition amount detecting means on a specific scan line is equal to or greater than a set value, When the transition amount of the multi-valued image data detected by the transition amount detection means in a specific scan line is smaller than a set value. In this case, the code reading device includes a focus position determining unit that determines that the code reading device is not at the focus position.
【請求項3】 印刷媒体上のシンボルに光を照射し、こ
のシンボルから反射した光の受光量に対応した電気量を
出力する光電変換素子から構成された撮像手段を備えた
コード読み取り装置において、 上記撮像手段から出力されるアナログ画像信号の変遷度
合いを検出する変遷度合い検出手段と、 この変遷度合い検出手段により検出された上記アナログ
画像信号の変遷度合いが規定値以上であると検出された
場合には、上記コード読み取り装置はピント位置にある
と判定し、この変遷度合い検出手段により検出された上
記アナログ画像信号の変遷度合いが規定値より小さいと
判定された場合には、上記コード読み取り装置はピント
位置にないと判定するピント位置判定手段とを具備した
ことを特徴とするコード読み取り装置。
3. A code reading apparatus comprising: an image pickup unit configured to irradiate a symbol on a print medium with light and output an amount of electricity corresponding to an amount of light received from the symbol, and A transition degree detecting means for detecting a transition degree of the analog image signal output from the imaging means, and when the transition degree of the analog image signal detected by the transition degree detecting means is detected to be a specified value or more. Determines that the code reading device is at the focus position, and when it is determined that the transition degree of the analog image signal detected by the transition degree detecting means is smaller than a specified value, the code reading device is in focus. A code reading device comprising: a focus position determining unit that determines that the position is not at the position.
【請求項4】 印刷媒体上のシンボルに光を照射し、こ
のシンボルから反射した光の受光量に対応した電気量を
出力する光電変換素子から構成された撮像手段を備えた
コード読み取り装置において、 上記撮像手段から出力されるアナログ画像信号の遷移量
を検出する遷移量検出手段と、 この遷移量検出手段により検出された上記アナログ画像
信号の遷移量が設定値以上であると検出された場合に
は、上記コード読み取り装置はピント位置にあると判定
し、この遷移量検出手段により検出された上記アナログ
画像信号の遷移量が設定値より小さいと判定された場合
には、上記コード読み取り装置はピント位置にないと判
定するピント位置判定手段とを具備したことを特徴とす
るコード読み取り装置。
4. A code reading apparatus comprising: an imaging unit configured to irradiate a symbol on a print medium with light and to output an amount of electricity corresponding to an amount of light reflected from the symbol; A transition amount detection unit that detects a transition amount of the analog image signal output from the imaging unit; and a detection unit that detects when a transition amount of the analog image signal detected by the transition amount detection unit is equal to or more than a set value. Determines that the code reading device is at the focus position, and when it is determined that the amount of transition of the analog image signal detected by the transition amount detecting means is smaller than a set value, the code reading device focuses. A code reading device comprising: a focus position determining unit that determines that the position is not at the position.
【請求項5】 上記請求項1ないし請求項4記載のうち
いずれか一記載のピント位置判定手段によりコード読み
取り装置はピント位置にあると判定された場合には、上
記コード読み取り装置により読み取り動作を開始させる
手段とを具備したことを特徴とするコード読み取り装
置。
5. When the code reading device is determined to be in the focus position by the focus position determining means according to any one of claims 1 to 4, the reading operation is performed by the code reading device. A code reading device, comprising: means for starting.
【請求項6】 コード読み取り装置に設けられた表示手
段を備え、 上記請求項1ないし請求項4記載のうちいずれか一記載
のピント位置判定手段によりコード読み取り装置はピン
ト位置にあると判定された場合には、上記表示手段を点
灯させる手段とを具備したことを特徴とするコード読み
取り装置。
6. A code reading device, comprising: display means provided in the code reading device, wherein the focus position determination device according to any one of claims 1 to 4 determines that the code reading device is at the focus position. And a means for turning on the display means in the case.
【請求項7】 コード読み取り装置に設けられた報音手
段と、 上記請求項1ないし請求項4記載のうちいずれか一記載
のピント位置判定手段によりコード読み取り装置はピン
ト位置にあると判定された場合には、上記報音手段を駆
動させる手段とを具備したことを特徴とするコード読み
取り装置。
7. The code reading device is determined to be in the focus position by the sounding means provided in the code reading device and the focus position determining device according to any one of claims 1 to 4. And a means for driving the sounding means.
【請求項8】 コード読み取り装置に設けられた振動装
置と、 上記請求項1ないし請求項4記載のうちいずれか一記載
のピント位置判定手段によりコード読み取り装置はピン
ト位置にあると判定された場合には、上記振動装置を駆
動させる手段とを具備したことを特徴とするコード読み
取り装置。
8. When the code reading device is determined to be in the focus position by the vibration device provided in the code reading device, and the focus position determination means according to any one of claims 1 to 4. A means for driving the vibration device.
JP10207863A 1998-07-23 1998-07-23 Code reader Pending JP2000040121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10207863A JP2000040121A (en) 1998-07-23 1998-07-23 Code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10207863A JP2000040121A (en) 1998-07-23 1998-07-23 Code reader

Publications (1)

Publication Number Publication Date
JP2000040121A true JP2000040121A (en) 2000-02-08

Family

ID=16546801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10207863A Pending JP2000040121A (en) 1998-07-23 1998-07-23 Code reader

Country Status (1)

Country Link
JP (1) JP2000040121A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005122609A (en) * 2003-10-20 2005-05-12 Mitsubishi Electric Corp Device for recognizing photographed object

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005122609A (en) * 2003-10-20 2005-05-12 Mitsubishi Electric Corp Device for recognizing photographed object

Similar Documents

Publication Publication Date Title
US7227117B1 (en) High speed auto-exposure control
US10356269B2 (en) Image reading apparatus and original size detection method
JP4559485B2 (en) System and method for reducing motion detection sensitivity of an imaging device based optical code reader
JP4412214B2 (en) Pattern recognition apparatus, pattern recognition method, and electronic apparatus having the pattern recognition apparatus
JP4059173B2 (en) Optical information reading apparatus and optical information reading method
JP2006134303A (en) Optical information reader
JP2000040121A (en) Code reader
JP2781716B2 (en) Symbol reader
JPH11312210A (en) Symbol reader
JP3760594B2 (en) Optical information reader
JP4258523B2 (en) Optical information reader
JP2002150215A (en) Information reader
JP2005018391A (en) Code reading device and program
US8059168B2 (en) System and method for scene change triggering
JP2778884B2 (en) 2D code scanner
JP3890991B2 (en) Information code existence estimation method, information code reader, and information code existence estimation program
JP2001036697A (en) Scanner automatically recognizing scanning range of original and its method
US10242240B1 (en) Decoded imaging engine using standard un-decoded engine interface
JP2008263292A (en) Image reader
JP3380039B2 (en) Special symbol reading device and inspection device
JP2779846B2 (en) Barcode reader
JP3918713B2 (en) Optical information reader
JP5262994B2 (en) Optical information reader
JPH11215316A (en) Image reader
JP2001188878A (en) Photometry system for code reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061205

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070522