JPS62120585A - Bar code recognizing device by image scanner - Google Patents

Bar code recognizing device by image scanner

Info

Publication number
JPS62120585A
JPS62120585A JP60260632A JP26063285A JPS62120585A JP S62120585 A JPS62120585 A JP S62120585A JP 60260632 A JP60260632 A JP 60260632A JP 26063285 A JP26063285 A JP 26063285A JP S62120585 A JPS62120585 A JP S62120585A
Authority
JP
Japan
Prior art keywords
black
white
barcode
width
bar 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.)
Pending
Application number
JP60260632A
Other languages
Japanese (ja)
Inventor
Akira Sakurai
彰 桜井
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP60260632A priority Critical patent/JPS62120585A/en
Publication of JPS62120585A publication Critical patent/JPS62120585A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the highly accurate reading with a simple constitution by detecting width according to a decided result when black and white decided results in plural sampling areas are the same. CONSTITUTION:A bar code to be read is raster-scanned by an image scanner 1, converted into a binary black and white picture signal and stored in a picture memory 2. A shadowed part extraction part 3 extracts some part of the bar code picture stored in the memory 2 in the length direction and picture data in the sampling area. A black and white decision and width detection part 4 decides whether an extracted shadowed value is a black or white line, judges whether the shadowed width is a thin or thick line and finally recognized the bar code. A bar code decoding part 5 decodes width information from the detection part 4, and transmits it to a host system side.

Description

【発明の詳細な説明】 投亙分互 この発明は、商品等の管理のために多く使用されている
バーコードを、イメージスキャナによって読取る方式の
バーコード認識装置に係り、特に。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a barcode recognition device that uses an image scanner to read barcodes, which are often used for managing products, and more particularly.

画質の劣化したバーコード画像でも、ノイズの影響を軽
減することによって、高精度の認識を可能にしたバーコ
ード認識装置に関する。
The present invention relates to a barcode recognition device that enables highly accurate recognition even in barcode images with degraded image quality by reducing the influence of noise.

従】U支新− 一般に、バーコードの読取りには、ベンタイプや光学タ
イプ等の読取り装置が、多く使用されている。
[Secondary] U-branch - In general, many types of reading devices such as Ben type and optical type are used to read bar codes.

このような方式の読取り装置を使用する場合には、読取
りエラーが発生したときは、直ちに再読取りを行うこと
によって、正確な入力処理が可能となる。しかし、この
ような方式の読取り装置では、処理能率の向上には限界
がある。
When using such a reading device, when a reading error occurs, by immediately rereading, accurate input processing becomes possible. However, with this type of reading device, there is a limit to the improvement in processing efficiency.

そこで、従来から、例えば帳票等に記録されているバー
コードを多量に処理するときには、イメージスキャナに
よって読取る方式のバーコード認識装置が用いられてい
る。
Therefore, when processing a large number of barcodes recorded on, for example, forms, conventionally, barcode recognition apparatuses that read barcodes using an image scanner have been used.

ところが、イメージスキャナによって、バーコードを大
量に処理する場合には、より高い読取り精度が要求され
る。
However, when processing a large number of barcodes using an image scanner, higher reading accuracy is required.

従来のイメージスキャナによるバーコード認識装置では
、パターンマツチング等によって、バーコード画像を認
識する方法が考えられるが、このような認識方法を採用
すると、装置が高値になる。
In a barcode recognition device using a conventional image scanner, a method of recognizing a barcode image by pattern matching or the like can be considered, but if such a recognition method is adopted, the device becomes expensive.

という不都合を生じる。This causes an inconvenience.

且−一孜 そこで、この発明のイメージスキャナによるバーコード
認識装置では、従来のバーコード認識装置におけるこの
ような不都合を解決し、認識対象がバーコードであるこ
とによる特性に着目して。
Therefore, the barcode recognition device using an image scanner of the present invention solves the above-mentioned inconveniences in conventional barcode recognition devices, and focuses on the characteristics of barcodes as objects to be recognized.

その特性を有効に利用することにより、比較的簡単な構
成の手段を用いるだけで、高精度の読取りが可能な認識
装置を提供することを目的とする。
It is an object of the present invention to provide a recognition device that can perform highly accurate reading by effectively utilizing the characteristics and using means with a relatively simple configuration.

盪−一戒 そのために、この発明のイメージスキャナによルバーコ
ード認識装置では、バーコードの長す方向に対して予め
設定されたサンプリング領域について、イメージスキャ
ナで読取られたバーコード画像データからサンプリング
領域の画像データを抽出し、この画像データの長さ方向
の黒画素数を検出する斜影抽出手段と、この斜影抽出手
段からの黒画素数が入力され、この黒画素数を所定のし
きい値で判定する白黒判定手段と、この白黒判定手段で
黒と判定された領域について、その線幅を検出する幅検
出手段と、この幅検出手段により検出された線幅をデコ
ードするデコード手段、とで構成するようにしている。
(2) - One Precept To this end, the barcode recognition device using an image scanner of the present invention detects a sampling area from barcode image data read by an image scanner with respect to a sampling area set in advance in the longitudinal direction of the barcode. A diagonal shadow extraction means extracts the image data of and detects the number of black pixels in the length direction of this image data, and the number of black pixels from this diagonal shadow extraction means is input, and this number of black pixels is set at a predetermined threshold value. Consisting of a black and white determining means for determining black and white, a width detecting means for detecting the line width of an area determined as black by the black and white determining means, and a decoding means for decoding the line width detected by the width detecting means. I try to do that.

また、斜影抽出手段を、異なる複数個所のサンプリング
領域からその長さ方向の黒画素数を検出するように構成
し、さらに、白黒判定手段には、白黒の判定結果を比較
する比較手段を付加し、この比較手段による複数個所の
サンプリング領域についての白黒の判定結果が一致した
とき、その判定結果を幅検出手段へ送出することによっ
て、より高精度の読取りが行えるように構成している。
Further, the oblique shadow extraction means is configured to detect the number of black pixels in the length direction from a plurality of different sampling areas, and the black and white determination means is further provided with a comparison means for comparing the black and white determination results. When the black and white determination results for the plurality of sampling areas by the comparing means match, the determination result is sent to the width detecting means so that more accurate reading can be performed.

次に、この発明のイメージスキャナによるバーコード認
識装置について、図面を参照しながら。
Next, a barcode recognition device using an image scanner according to the present invention will be explained with reference to the drawings.

その一実施例を詳細に説明する。One embodiment thereof will be described in detail.

第1図は、この発明のイメージスキャナによるバーコー
ド認識装置について、その要部構成の一実施例を示す機
能ブロック図である。図面において、1はイメージスキ
ャナ(画像読取り装置)。
FIG. 1 is a functional block diagram showing an embodiment of the main structure of a barcode recognition device using an image scanner according to the present invention. In the drawing, 1 is an image scanner (image reading device).

2は画像メモリ、3は斜影抽出部、4は白黒判定および
幅検出部、5はバーコード・デコード部を示す。
Reference numeral 2 indicates an image memory, 3 indicates a diagonal shadow extraction section, 4 indicates a monochrome determination and width detection section, and 5 indicates a barcode decoding section.

読取り対象のバーコードは、イメージスキャナlでラス
ター走査され、白黒2値の画像信号に変換される。
The barcode to be read is raster scanned by an image scanner 1 and converted into a black and white binary image signal.

イメージスキャナ1から出力された白黒2値の画像信号
は、画像メモリ2へ一旦格納される。
The black and white binary image signal output from the image scanner 1 is temporarily stored in the image memory 2.

斜影抽出部3では、画像メモリ2に格納されたバーコー
ド画像の長さ方向の一部分、すなわちサンプリング領域
(後述するように、数十ドツト分程度の長さでよい)の
画像データを抽出する。
The oblique shadow extraction unit 3 extracts image data of a portion in the length direction of the barcode image stored in the image memory 2, that is, a sampling area (as described later, the length may be about several tens of dots).

白黒判定および幅検出部4では、ノイズの影響を減少さ
せるために、まず、斜影抽出部3によって抽出された斜
影値について、所定のしきい値で白線か黒線かの判断を
行う。
In order to reduce the influence of noise, the black-and-white determination and width detection section 4 first determines whether the diagonal value extracted by the diagonal extraction section 3 is a white line or a black line using a predetermined threshold.

次に、斜影の幅について、細い線か、太い線かの判断を
行うことにより、バーコードを認識する。
Next, the barcode is recognized by determining whether the width of the diagonal shadow is a thin line or a thick line.

なお、実際には、3種類の幅のバーコードが使用されて
いるので、そのいずれであるか、につぃて判断を行う。
Note that since three types of barcode widths are actually used, it is determined which one of them is used.

バーコード・デコード部5では、白黒判定および幅検出
部4から与えられる幅情報をデコードし。
The barcode decoding section 5 decodes the width information given from the black and white determination and width detection section 4.

文字コード等に変換して、ホストシステム側へ送出する
Convert it to character code etc. and send it to the host system side.

第2図は、バーコードの一例と、この発明のイメージス
キャナによるバーコード認識装置によるバーの読取り位
置との関係を示す図である。
FIG. 2 is a diagram showing the relationship between an example of a barcode and the position at which the bar is read by the barcode recognition device using the image scanner of the present invention.

この発明のイメージスキャナによるバーコード認識装置
では、この第2図に示すように、予めバーについて、所
定幅のサンプリング領域を設定しておく。このサンプリ
ング幅は5例えば、20〜30ドツト程度の長さでよい
In the barcode recognition device using an image scanner of the present invention, as shown in FIG. 2, a sampling area of a predetermined width is set for the bar in advance. This sampling width may be about 5, for example, 20 to 30 dots.

この第2図では、3つのサンプリング領域を設定する場
合を示している。このように複数個のサンプリング領域
を設定する理由は、バーの汚れ等によって、読取られた
バーコード画像に発生するノイズの影響をより確実に除
去するためである。
FIG. 2 shows a case where three sampling areas are set. The reason why a plurality of sampling areas are set in this way is to more reliably eliminate the influence of noise that occurs in the read barcode image due to dirt on the bar or the like.

簡単な認識方法で良い場合には、このようなサンプリン
グ領域を、1個所だけ設定すれば充分である。しかし、
高精度の読取りを行うためには、この第2図のように1
例えば、3つのサンプリング領域を設定しておき、第1
のサンプリング領域の読取り結果と、第2のサンプリン
グ領域の読取り結果とを比較し、両者が一致したときは
、その読取り結果によって、白黒の判定を行う。
If a simple recognition method is sufficient, it is sufficient to set only one such sampling area. but,
In order to perform high-precision reading, it is necessary to
For example, if you set three sampling areas and
The reading result of the second sampling area is compared with the reading result of the second sampling area, and when the two match, black and white is determined based on the reading result.

もし、両者が一致しないときは、さらに、第3のサンプ
リング領域の読取り結果と、第1または第2のサンプリ
ング領域の読取り結果とを比較し、両者が一致したとき
の読取り結果によって、白黒の判定を行う。
If the two do not match, further compare the reading result of the third sampling area with the reading result of the first or second sampling area, and determine whether it is black or white based on the reading result when both match. I do.

このように、複数個所のサンプリング領域について、そ
の白黒の判定処理を行うことによって、バーコードの読
取り精度は、著しく向上されることになる。
In this way, by performing black and white determination processing for a plurality of sampling areas, barcode reading accuracy is significantly improved.

次の第3図は、第1図に示したこの発明のイメージスキ
ャナによるバーコード認識装置において。
The following FIG. 3 shows the barcode recognition apparatus using the image scanner of the present invention shown in FIG.

バーコードの識別方法の原理を説明するための図である
。図面において、w1〜w5は白黒判定部へ与えられる
線幅、Wは基本線幅を示す。
FIG. 3 is a diagram for explaining the principle of a barcode identification method. In the drawings, w1 to w5 indicate line widths given to the black and white determination section, and W indicates a basic line width.

すでに説明したように、イメージスキャナによって読取
られたバーコードの画像データは、第1図の画像メモリ
2に格納されている。
As already explained, the image data of the barcode read by the image scanner is stored in the image memory 2 shown in FIG.

この発明のイメージスキャナによるバーコード認識装置
では、画像メモリ2に格納されているバーコード画像デ
ータから、この第3図の上図に示すように1例えば20
〜30ドツト程度の、予め設定されたサンプリング領域
のデータを取出する。
In the barcode recognition device using an image scanner of the present invention, from the barcode image data stored in the image memory 2, 1, for example, 20
Data in a preset sampling area of about 30 dots is extracted.

次に、第3図の下図に示すように、このサンプリング幅
について、バーの黒画素数をカウントし。
Next, as shown in the lower part of FIG. 3, the number of black pixels of the bar is counted for this sampling width.

これを斜影値とする(このような処理は、第1図の斜影
抽出部3によって行われる)。
This is taken as a shading value (such processing is performed by the shading extraction unit 3 in FIG. 1).

そして、この斜影値に対して、所定の「しきい値」によ
って、白黒の判定を行う。「しきい値」としては、例え
ば、斜影値の最大値の172程度の値を用いる。
Then, black and white is determined using a predetermined "threshold value" for this shading value. As the "threshold", for example, a value of about 172, which is the maximum value of the shading value, is used.

バーコードの場合には、白黒が交互に存在し、かつ、白
黒の線幅は最も繕い線幅の整数倍、という関係にある。
In the case of barcodes, black and white lines exist alternately, and the line width of the black and white lines is an integral multiple of the width of the most mended line.

そこで、このような特性に着目し、まず、斜影値の最大
値の半分程度の「しきい値」で、白黒を判定すればよい
Therefore, focusing on such characteristics, black and white may be determined first using a "threshold value" that is approximately half the maximum value of the shading value.

このような処理によって、第3図の上図のバーの一部に
示されている。丸印のような汚れに起因するノイズが除
去される。
As a result of such processing, a part of the bar in the upper part of FIG. 3 shows. Noise caused by dirt such as circles is removed.

次に、第3図の下図に示すような白黒の各部分について
、線幅W 1 ”’−W 5を算出する。
Next, the line width W 1 ''-W 5 is calculated for each black and white portion as shown in the lower part of FIG.

そして、この算出された線幅W、〜w5に基いて、実際
の線幅の認識を行う。
Then, the actual line width is recognized based on the calculated line widths W, ~w5.

実際の線幅の認識には、基本線幅Wが用いられ、次の条
件によって判断する。なお、この基本線幅Wは、&も繕
い線の理想値で、予め決められた値である。具体的にい
えば、この「しきい値」は、(太い線の理想値+細い線
の理想値)Xi/2とされる。
The basic line width W is used to recognize the actual line width, and the determination is made based on the following conditions. Note that this basic line width W is a predetermined value and is an ideal value for a repair line. Specifically, this "threshold value" is (ideal value of thick line + ideal value of thin line) Xi/2.

例えば、実際の線幅は、 ■      w<1.5WのときW ■ 1,5W≦w<2.5Wのとき2W■ 2.5W:
aw<3.5Wのとき3Wの関係で認識される(これら
の処理は、第1図の白黒判定および幅検出部4によって
行われる)。
For example, the actual line width is: ■ W when w<1.5W ■ 2W when 1,5W≦w<2.5W■ 2.5W:
When aw<3.5W, it is recognized based on the relationship of 3W (these processes are performed by the black and white determination and width detection unit 4 in FIG. 1).

このような処理によって、第3図の最下段に示すように
、白と黒の実際の線幅が認識される。この第3図の場合
には、「黒W、白W、黒2W、白W、黒W」のように認
識される。
Through such processing, the actual line widths of white and black are recognized, as shown in the bottom row of FIG. In the case of FIG. 3, the recognition is as follows: "black W, white W, black 2W, white W, black W".

このような認識結果は、次のバーコード・デコード部5
へ与えられ、対応する文字コードに変換される。
Such recognition results are sent to the next barcode decoding section 5.
and converted to the corresponding character code.

ところで、すでに説明したように、バーコード画像デー
タの高精度処理を行うためには、複数個所で、白線か黒
線かの判定処理を行い、それぞれの判定結果の一致不一
致を検出し、一致したときは、その判定結果によって次
の線幅の算出処理を行い、不一致のときは、さらに一致
するまで、同様の白線か黒線かの判定処理を繰返えすこ
とによって、読取り精度を一層向上させることができる
By the way, as already explained, in order to perform high-precision processing of barcode image data, it is necessary to perform processing to determine whether the line is a white line or a black line at multiple locations, detect whether the determination results match, and then determine whether the line is a white line or a black line. If there is a difference, the next line width calculation process is performed based on the determination result, and if there is a mismatch, the same process of determining whether it is a white line or a black line is repeated until a match is made, further improving reading accuracy. be able to.

次の第4図は、この発明のイメージスキャナによるバー
コード認識装置において、2個所のサンプリング領域の
画像データを比較する場合の原理を説明するための図で
ある。
FIG. 4 is a diagram for explaining the principle of comparing image data of two sampling areas in the barcode recognition device using an image scanner of the present invention.

バーコードに汚れが多くて、この第4図のように、第1
と第2のサンプリング領域の画像データが異なっている
場合には、先の第3図の下図のように黒画素数を検出す
ると5両者の検出結果に不一致が生じる。
If the barcode has a lot of dirt, as shown in Figure 4,
When the image data of the first and second sampling areas are different, when the number of black pixels is detected as shown in the lower diagram of FIG. 3, there will be a discrepancy between the two detection results.

このように、検出結果に不一致が生じたときは、さらに
、第3のサンプリング領域の画像データと、第1あるい
は第2のサンプリング領域の画像゛データとを比較し、
一致した画像データについて、実際の線幅を認識するた
めの処理を行う。
In this way, when a discrepancy occurs in the detection results, the image data of the third sampling area is further compared with the image data of the first or second sampling area,
Processing is performed to recognize the actual line width for the matched image data.

読取られたバーコードの線数は、一定であるから、両者
が一不致であることは、いずれかのサンプリング領域の
画像データに、読取りエラーが生じていることを意味し
ている。
Since the number of lines of a read barcode is constant, a mismatch between the two means that a reading error has occurred in the image data of one of the sampling areas.

したがって、このような処理により、実際の線幅の認識
ミスを未然に防止することが可能となり、高精度の読取
りを行うことができる。
Therefore, through such processing, it is possible to prevent errors in recognizing the actual line width, and it is possible to perform highly accurate reading.

以上に詳細に説明したとおり、この発明のイメージスキ
ャナによるバーコード認識装置では、バーコードの長さ
方向に対して予め設定されたサンプリング領域について
、イメージスキャナで読取られたバーコード画像データ
からサンプリング領域の画像データを抽出し、この画像
データの長さ方向の黒画素数を検出する斜影抽出手段と
、この斜影抽出手段からの黒画素数が入力され、この黒
画素数を所定のしきい値で判定する白黒判定手段と、こ
の白黒判定手段で黒と判定された領域について、その線
幅を検出する幅検出手段と、この幅検出手段により検出
された線幅をデコードするデコード手段、とで構成する
ようにしている。
As explained in detail above, in the barcode recognition device using an image scanner of the present invention, the sampling area is determined from the barcode image data read by the image scanner with respect to the sampling area preset in the longitudinal direction of the barcode. A diagonal shadow extraction means extracts the image data of and detects the number of black pixels in the length direction of this image data, and the number of black pixels from this diagonal shadow extraction means is input, and this number of black pixels is set at a predetermined threshold value. Consisting of a black and white determining means for determining black and white, a width detecting means for detecting the line width of an area determined as black by the black and white determining means, and a decoding means for decoding the line width detected by the width detecting means. I try to do that.

また、斜影抽出手段を、異なる複数個所のサンプリング
領域からその長さ方向の黒画素数を検出するように構成
し、さらに、白黒判定手段には。
Further, the oblique shadow extracting means is configured to detect the number of black pixels in the length direction from a plurality of different sampling areas, and the black and white determining means further includes:

白黒の判定結果を比較する比較手段を付加し、この比較
手段による複数個所のサンプリング領域についての白黒
の判定結果が一致したとき、その判定結果を幅検出手段
へ送出することによって、より高精度の読取りが行える
ように構成している。
By adding a comparison means for comparing black and white determination results, and when the comparison means matches the black and white determination results for multiple sampling areas, the determination results are sent to the width detection means, thereby achieving higher accuracy. It is configured so that it can be read.

夏−一層 したがって、この発明のイメージスキャナによるバーコ
ード認識装置によれば、比較的簡単な構成の手段を用い
るだけで、ノイズの影響を減少することができ、高精度
の読取りが可能となる。
Summer - Further Therefore, according to the barcode recognition device using an image scanner of the present invention, the influence of noise can be reduced and high-precision reading can be performed simply by using means with a relatively simple configuration.

特に、複数個所のサンプリング領域で読取った画像デー
タを処理すれば、コンタクトガラス上に原稿を載せて読
取る方式のスキャナのように、孤立ノイズが発生しやす
い場合でも、充分に読取り精度を高くすることができる
。という優れた効果が奏せられる。
In particular, if image data read in multiple sampling areas is processed, the reading accuracy can be sufficiently increased even in cases where isolated noise is likely to occur, such as with scanners that read documents by placing them on contact glass. I can do it. This excellent effect can be achieved.

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

髪±凰はこの発明のイメージスキャナによるバーコード
認識装置について、その要部構成の一実施例を示す機能
ブロック図、IJLはバーコードの一例と、この発明の
イメージスキャナによるバーコード認識装置によるバー
の読取り位置との関係を示す図、1じ[屑−は第1図に
示したこの発明のイメージスキャナによるバーコード認
識装置において、バーコードの識別方法の原理を説明す
るための図、LJLはこの発明のイメージスキャナによ
るバーコード認識装置において、2個所のサンプリング
領域の画像データを比較する場合の原理を説明するため
の図である。 図面において、1はイメージスキャナ、2は画像メモリ
、3は斜影抽出部、4は白黒判定および幅検出部、5は
バーコード・デコード部を示す。 特許出願人 株式会社 リ  コ  −同代理人弁理士
 官川俊崇 碕  1  図 身 2 図 り 3 図 神  4  閾
Hair ± 凰 is a functional block diagram showing an example of the essential configuration of a barcode recognition device using an image scanner of this invention, and IJL is a functional block diagram showing an example of a barcode and a barcode recognition device using an image scanner of this invention. 1 is a diagram for explaining the principle of the barcode identification method in the barcode recognition device using the image scanner of the present invention shown in FIG. FIG. 3 is a diagram for explaining the principle of comparing image data of two sampling areas in the barcode recognition device using an image scanner according to the present invention. In the drawings, 1 is an image scanner, 2 is an image memory, 3 is a diagonal shadow extraction section, 4 is a monochrome determination and width detection section, and 5 is a barcode decoding section. Patent Applicant: Ricoh Co., Ltd. - Patent Attorney: Toshitaka Kankawa 1. Figure 2. Figure 3. Figure 4. Threshold

Claims (1)

【特許請求の範囲】 1、バーコードの長さ方向に対して予め設定されたサン
プリング領域について、イメージスキャナで読取られた
バーコード画像データから該領域の画像データを抽出し
、該画像データの長さ方向の黒画素数を検出する斜影抽
出手段と、該斜影抽出手段からの黒画素数が入力され、
該黒画素数を所定のしきい値で判定する白黒判定手段と
、該白黒判定手段で黒と判定された領域について、その
線幅を検出する幅検出手段と、該幅検出手段により検出
された線幅をデコードするデコード手段、とを備えたこ
とを特徴とするバーコード認識装置。 2、特許請求の範囲第1項記載のイメージスキャナによ
るバーコード認識装置において、斜影抽出手段は、異な
る複数個所のサンプリング領域からその長さ方向の黒画
素数を検出するように構成され、白黒判定手段には、白
黒の判定結果を比較する比較手段が付加されて、該比較
手段による前記複数個所のサンプリング領域についての
白黒の判定結果が一致したとき、該判定結果を幅検出手
段へ送出することを特徴とするバーコード認識装置。
[Claims] 1. With respect to a sampling area set in advance in the length direction of the barcode, image data of the area is extracted from barcode image data read by an image scanner, and the length of the image data is a diagonal shadow extraction means for detecting the number of black pixels in the horizontal direction, and the number of black pixels from the diagonal shadow extraction means is input;
black and white determining means for determining the number of black pixels using a predetermined threshold; width detecting means for detecting the line width of an area determined as black by the black and white determining means; A barcode recognition device comprising: decoding means for decoding line width. 2. In the barcode recognition device using an image scanner as set forth in claim 1, the oblique shadow extraction means is configured to detect the number of black pixels in the length direction from a plurality of different sampling areas, and performs black and white determination. The means includes a comparison means for comparing the black and white judgment results, and when the black and white judgment results for the plurality of sampling areas by the comparison means match, the judgment result is sent to the width detection means. A barcode recognition device featuring:
JP60260632A 1985-11-20 1985-11-20 Bar code recognizing device by image scanner Pending JPS62120585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60260632A JPS62120585A (en) 1985-11-20 1985-11-20 Bar code recognizing device by image scanner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60260632A JPS62120585A (en) 1985-11-20 1985-11-20 Bar code recognizing device by image scanner

Publications (1)

Publication Number Publication Date
JPS62120585A true JPS62120585A (en) 1987-06-01

Family

ID=17350615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60260632A Pending JPS62120585A (en) 1985-11-20 1985-11-20 Bar code recognizing device by image scanner

Country Status (1)

Country Link
JP (1) JPS62120585A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0276087A (en) * 1988-08-03 1990-03-15 Image Business Syst Corp Bar code reading technique
JPH0290383A (en) * 1988-09-28 1990-03-29 Toshiba Corp Image scanner device
US8333327B2 (en) 2009-03-12 2012-12-18 Ricoh Company, Ltd. Apparatus, system, and method of image processing
CN105512595A (en) * 2015-12-04 2016-04-20 北京奇虎科技有限公司 Barcode correcting method and device
US9686428B2 (en) 2015-02-26 2017-06-20 Konica Minolta, Inc. Equipment to determine line width of check image and image-forming apparatus using the same
US9762763B2 (en) 2015-04-07 2017-09-12 Konica Minolta, Inc. Image inspection apparatus that determines a line width of a test image, and image forming apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0276087A (en) * 1988-08-03 1990-03-15 Image Business Syst Corp Bar code reading technique
JPH0290383A (en) * 1988-09-28 1990-03-29 Toshiba Corp Image scanner device
US8333327B2 (en) 2009-03-12 2012-12-18 Ricoh Company, Ltd. Apparatus, system, and method of image processing
US9686428B2 (en) 2015-02-26 2017-06-20 Konica Minolta, Inc. Equipment to determine line width of check image and image-forming apparatus using the same
US9762763B2 (en) 2015-04-07 2017-09-12 Konica Minolta, Inc. Image inspection apparatus that determines a line width of a test image, and image forming apparatus
CN105512595A (en) * 2015-12-04 2016-04-20 北京奇虎科技有限公司 Barcode correcting method and device
CN105512595B (en) * 2015-12-04 2018-10-02 北京奇虎科技有限公司 Bar code modification method and device

Similar Documents

Publication Publication Date Title
US6366696B1 (en) Visual bar code recognition method
EP0669593B1 (en) Two-dimensional code recognition method
EP0322920B1 (en) Optical character reader
US6386454B2 (en) Detecting bar code candidates
US7636483B2 (en) Code type determining method and code boundary detecting method
US5319181A (en) Method and apparatus for decoding two-dimensional bar code using CCD/CMD camera
JP5334042B2 (en) Character string recognition method and character string recognition apparatus
US6959121B2 (en) Document image processing device, document image processing method, and memory medium
JPH0157394B2 (en)
JP5011508B2 (en) Character string recognition method and character string recognition apparatus
JPS62120585A (en) Bar code recognizing device by image scanner
JP2644041B2 (en) Character recognition device
KR100295360B1 (en) Image Processing Method Using Shading Algorithm
JPH0291789A (en) Character recognizing system
JPH07230525A (en) Method for recognizing ruled line and method for processing table
JP5470734B2 (en) Image processing apparatus and image processing program
JP2590099B2 (en) Character reading method
JPH07192085A (en) Document picture inclination detector
JP4089807B2 (en) Bar code recognition method, apparatus, and program
JPH11161739A (en) Character recognizing device
JPH04276888A (en) Character reader
JP3100619B2 (en) Photo region extraction device
JP2643092B2 (en) Method and system for processing non-standard data located outside predefined fields on a document form
JP2004013188A (en) Business form reading device, business form reading method and program therefor
JPH05298482A (en) Character reader