JPS63292283A - Method and device for reading handwritten bar code - Google Patents

Method and device for reading handwritten bar code

Info

Publication number
JPS63292283A
JPS63292283A JP62127474A JP12747487A JPS63292283A JP S63292283 A JPS63292283 A JP S63292283A JP 62127474 A JP62127474 A JP 62127474A JP 12747487 A JP12747487 A JP 12747487A JP S63292283 A JPS63292283 A JP S63292283A
Authority
JP
Japan
Prior art keywords
barcode
circuit
handwritten
reading
value
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
JP62127474A
Other languages
Japanese (ja)
Inventor
Tatsuhiko Kanai
金井 龍彦
Tsuneyoshi Nakamura
中村 恒好
Akira Sunaga
明 須永
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP62127474A priority Critical patent/JPS63292283A/en
Publication of JPS63292283A publication Critical patent/JPS63292283A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To read handwritten bar codes by obtaining the maximum and minimum thickness values of lines of a handwritten bar code and producing a reference value for decision from said maximum and minimum values to discriminate the thick lines from the thin ones. CONSTITUTION:An AND gate 3 is used for production of pulse signals in number equal to the width of a black part. In other words, the output of a pulse oscillator 4 is supplied to a terminal at one side of the gate 3. Therefore, a numeric value obtained based on the number of pulses corresponding to the width of a black background is supplied to a memory circuit 5. A control circuit 6 obtains the maximum and minimum values from the numeric value showing the width of the black background stored in the circuit 5 and calculates the reference value for identification of thin and thick lines. At the same time, the circuit 6 decides data stored in the circuit 5 based on said reference value. A decoder 7 converts data into the numeric value by means 0 and 1 produced by the circuit 6 and showing the combinations of thick and thin lines.

Description

【発明の詳細な説明】 イ0発明の目的 〔産業上の利用分野〕 本発明は、太字の筆記具と細字の筆記具とを用いて記載
したバーコードを読取るための方法及び装置に関し、特
に人あるいは筆記具の違いにより異なる太さ、態様で書
かれたバーコードを読取ることができる手書きバーコー
ド読取方法及び装置に関する。
Detailed Description of the Invention A. Object of the Invention [Field of Industrial Application] The present invention relates to a method and device for reading barcodes written using a writing instrument with bold characters and a writing instrument with thin characters, and particularly relates to a method and an apparatus for reading barcodes written using writing instruments with bold characters and writing instruments with fine characters. The present invention relates to a handwritten barcode reading method and device that can read barcodes written in different thicknesses and shapes depending on different writing instruments.

〔従来の技術〕[Conventional technology]

機械的に読取るためのバーコードは、一定の規格の下に
印刷されている。例えば、太線と細線の幅とこれ等の比
、及び、各線の間の間隔等である。この規格化されたバ
ーコードであるか否かが読取装置にて判別され、エラー
の表示や読取りが行われている。従って、特定のバーコ
ードを読取るように設計された装置にあっては、異なる
幅又は規格のバーコードを読取らせると、エラー表示さ
れるか、あるいは、正しく読取ることができない。
Barcodes for mechanical reading are printed under certain standards. For example, the widths of thick lines and thin lines, their ratio, and the spacing between each line. A reading device determines whether the barcode is a standardized barcode or not, and an error is displayed and read. Therefore, if a device designed to read a specific barcode is made to read a barcode of a different width or standard, an error will be displayed or the device will not be able to read it correctly.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の装置にあっては、一定の規格に従って印刷された
バーコードしか正しく読取ることはできなかった。まし
て、手書きによる傾いたり、完全な直線とはいいy!い
バーコードを読取ることは不可能であったので、中小小
売店等においてバーコードを修正することは、事実上で
きなかった。
Conventional devices can only correctly read barcodes printed according to certain standards. What's more, handwritten slants and perfectly straight lines are fine! Since it was impossible to read a barcode that was incorrect, it was virtually impossible for small and medium-sized retail stores to modify the barcode.

そこで本発明は、直線を引くための定規等の器具や特別
な用紙を用いることなく手書きされ、たバーコードを読
取ることができる、手書きバーコード読取方法及び装置
を提供することを目的としている。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a handwritten barcode reading method and device that can read handwritten barcodes without using any special paper or tools such as rulers for drawing straight lines.

口3発明の構成 〔問題点を解決するための手段〕 本発明に係る装置は、バーコードとの相対的移動により
対応する電気的出力を発生する読取り部と、前記読取り
部にて読取ったバーコードの幅に関するデータを記憶す
る記憶回路と、前記記憶されたデータにおける最大値と
最小値とを求める回路とを備え、前記最大値及び最小値
から太線と細線とを判別するための基準値を得てバーコ
ードを数値に変換する。また、本発明は、バーコードに
おける白地部分と黒地部分を閾値処理した後、黒地部分
の幅の最大値と最小値とを求め、細線と太線との区別の
ための基準値を得て成る。
3. Structure of the Invention [Means for Solving the Problems] The device according to the present invention includes a reading unit that generates a corresponding electrical output by moving relative to a barcode, and a barcode read by the reading unit. It includes a memory circuit that stores data regarding the width of the code, and a circuit that determines the maximum value and minimum value in the stored data, and a reference value for determining thick lines and thin lines from the maximum value and minimum value. and convert the barcode to a numerical value. Further, in the present invention, after thresholding the white background part and the black background part in the barcode, the maximum value and the minimum value of the width of the black background part are determined, and a reference value for distinguishing between a thin line and a thick line is obtained.

〔作  用〕[For production]

手書きされたバーコードにおける線の太さの最大値と最
小値とを求め、これ等の値から判別のための基準値を作
成して太線と細線とを判別する。
The maximum and minimum values of line thickness in a handwritten barcode are determined, and a reference value for discrimination is created from these values to discriminate between thick lines and thin lines.

〔実施例〕〔Example〕

以下、本発明の実施例を第1図乃至第3図に依1処して
説明する。
Embodiments of the present invention will be described below with reference to FIGS. 1 to 3.

第1図は、本発明に係る装置の一実施例のブロック回路
図であって、光電的にバーコードを読取るための読取ヘ
ッドが参照番号1で示される。2は閾値処理回路であっ
て、読取ヘッド1が読取った、例えば第2図に示される
ような手書きバーコードを閾値処理して黒部分に相当す
る信号に形成する。また、3はANDゲートで、黒部分
の幅に相当する数のパルス信号を形成するために用いら
れる。即ち、ANDゲート3の一方の端子には、パルス
発振器4の出力が供給されているので、記憶回路5には
黒字の幅に対応するパルス数に基づ(数値が記憶される
。6は制御回路であって、記憶回路5に記憶された黒地
の幅を示す数値から、最大値と最小値とを求めて細線と
太線とを識別するための基準値を算出すると共に、この
基準値を用いて記憶回路5に記憶されたデータの判別を
行う。7はデコーダであって、制御回路6が発生する細
線と太線との組合わせを示ずOと1とによるデータを数
値に変換し、表示回路8に表示させる。
FIG. 1 is a block circuit diagram of an embodiment of a device according to the invention, in which a reading head for photoelectrically reading bar codes is designated with reference numeral 1. Reference numeral 2 denotes a threshold processing circuit, which performs threshold processing on a handwritten barcode read by the reading head 1, such as the one shown in FIG. 2, to form a signal corresponding to a black portion. Further, 3 is an AND gate, which is used to form a number of pulse signals corresponding to the width of the black portion. That is, since the output of the pulse oscillator 4 is supplied to one terminal of the AND gate 3, the memory circuit 5 stores a numerical value based on the number of pulses corresponding to the width of the black character. The circuit calculates the maximum value and the minimum value from the numerical value indicating the width of the black background stored in the memory circuit 5, calculates a reference value for distinguishing between thin lines and thick lines, and uses this reference value. The data stored in the memory circuit 5 is determined by the data stored in the memory circuit 5.The decoder 7 converts the data generated by the control circuit 6, indicating the combination of thin lines and thick lines, by O and 1 into numerical values, and displays the data. Display on circuit 8.

なお、本発明は、読取ったバーコードにおける最大幅の
線と最小幅の線を検出して、太線と細線とを区別するた
めの基準値を動的に発生可能なものであれば良く、第1
図のブロック回路に何等特定されるものではない。
Note that the present invention can detect the maximum width line and the minimum width line in a read barcode and dynamically generate a reference value for distinguishing between thick lines and thin lines. 1
It is not specified in any way by the block circuit shown in the figure.

第3図は本発明に係る装置の動作フローを示すフローチ
ャートであって、ステップ5100にて表示装置その他
の初期値のセットを行い、ステップ5111にて読取っ
たバーコードに対応する数値の表示を行う動作フローが
示される。同図において、ステップS 101において
読取ヘンド1による読取が開始され、ステップ5102
において読取時のレベルによる処理が分岐される。
FIG. 3 is a flowchart showing the operation flow of the device according to the present invention, in which initial values of the display device and others are set in step 5100, and numerical values corresponding to the read barcode are displayed in step 5111. An operational flow is shown. In the same figure, reading by the reading hand 1 is started in step S101, and reading is started in step S102.
The processing at the time of reading is branched depending on the level.

即ち、反射光量のレベルが低い場合は、ステップ510
3において黒地部分が入力されたものとしての処理が行
われ、また、そのレベルが高い場合は、ステップS 1
04において白地部分を読取ったものとして処理を行う
。この白レベル処理と黒レベル処理により、一連のデー
タが読取られたことがステップ5105において判別さ
れると、ステップ8106において、読取ったデータに
おける最大値と最小値が求められる。次いでステップ5
107において、読取ったデータ中に、所定の最大幅あ
るいは最小幅を超えるものがあることが判別されると、
図示せぬブザーの鳴動等により操作者に再入力を促して
、ステップ5100に処理が戻る。正しいデータである
と判別された場合は、ステップ3108にて太線と細線
との判定が行われる。この際に数値に変換できないよう
なコードの組合わせがあると、ステップ5109におい
てエラーと判別され、ステップ5100に処理が戻る。
That is, if the level of the amount of reflected light is low, step 510
3, processing is performed as if the black background part was input, and if the level is high, step S1
Processing is performed assuming that the white background portion was read in step 04. When it is determined in step 5105 that a series of data has been read through the white level processing and black level processing, the maximum value and minimum value in the read data are determined in step 8106. Then step 5
In step 107, if it is determined that some of the read data exceeds a predetermined maximum width or minimum width,
The operator is prompted to input again by a buzzer (not shown) or the like, and the process returns to step 5100. If it is determined that the data is correct, a determination is made at step 3108 as to whether the line is a thick line or a thin line. At this time, if there is a combination of codes that cannot be converted into numerical values, it is determined as an error in step 5109, and the process returns to step 5100.

正しいデータの例であると判別された場合は、ステップ
5110にてデコードされて数値に変換され、ステップ
5l11において表示される。
If it is determined that the data is an example of correct data, it is decoded in step 5110, converted into a numerical value, and displayed in step 5l11.

本発明に係る装置では、自由にバーを書くことができる
ので、数値以外の記号や文字を表すこともでき、桁数、
バーの間隔、バーの長さ等も自由に設定できる。太線と
細線との幅の比は、例えば、2対1程度でも良く、また
、バーコードの間隔は、人が読取れる程度に広くするこ
とができる。バーコードを書き込むための用紙は、特別
なものを用いる必要がなく、一般のもので差支えない。
In the device according to the present invention, bars can be freely written, so symbols and characters other than numerical values can be represented, and the number of digits,
You can freely set the bar spacing, bar length, etc. The ratio of the widths of the thick lines to the thin lines may be, for example, about 2:1, and the spacing between the barcodes can be wide enough to be readable by humans. There is no need to use special paper for writing the barcode, and ordinary paper can be used.

勿論色のついたものであってもよい。更に、筆記具もボ
ールペン、サインペン又は鉛筆その他種々のものを利用
できる。そのために、中小の商店等で単価や数量を即座
に設定、変更できると共に、肉眼で充分読取れるバーコ
ードを一般紙に書込めるので、非常に都合が良い。更に
、コンピューター等の機械器具に不慣れな人達も、同等
抵抗なく使用できる。
Of course, it may be colored. Furthermore, various writing instruments such as a ballpoint pen, a felt-tip pen, or a pencil can be used. For this reason, small and medium-sized stores can instantly set and change unit prices and quantities, and barcodes that can be easily read with the naked eye can be written on general paper, which is extremely convenient. Furthermore, even people who are not familiar with mechanical devices such as computers can use it without any difficulty.

ハ0発明の効果 以上述べてきたように、本発明によれば、直線を引くた
めの定規等の器具や特別な用紙を用いることなく手書き
されたバーコードを読取ることができる、手書きバーコ
ード読取方法及び装置が得られ、以て商品の単価、数量
等を極めて容易に設定し且つ変更し得、商品価格の日毎
の変動等に対処し得る効果がある。
C. Effects of the Invention As described above, according to the present invention, a handwritten barcode reader is capable of reading handwritten barcodes without using any tools such as a ruler or special paper for drawing straight lines. A method and apparatus are obtained that allow the unit price, quantity, etc. of a product to be extremely easily set and changed, and have the advantage of being able to cope with daily fluctuations in product prices.

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

第1図は本発明の実施例のブロック回路図、第2図は手
書きバーコードの例を示す図、第3図は本発明に係る装
置の動作フローを示すフローチャートである。 符号の説明
FIG. 1 is a block circuit diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of a handwritten bar code, and FIG. 3 is a flowchart showing the operation flow of the apparatus according to the present invention. Explanation of symbols

Claims (2)

【特許請求の範囲】[Claims] (1)手書きバーコードを読取るための装置であって、
バーコードとの相対的移動により対応する電気的出力を
発生する読取り部と、前記読取り部にて読取ったバーコ
ードの幅に関するデータを記憶する記憶回路と、前記記
憶されたデータにおける最大値と最小値とを求める回路
とを備え、前記最大値及び最小値から太線と細線とを判
別するための基準値を得てバーコードを数値に変換する
ことを特徴とする手書きバーコード読取装置。
(1) A device for reading handwritten barcodes,
a reading unit that generates a corresponding electrical output by moving relative to the barcode; a storage circuit that stores data regarding the width of the barcode read by the reading unit; and maximum and minimum values of the stored data. What is claimed is: 1. A handwritten barcode reading device, comprising: a circuit for determining a value, and converts a barcode into a numerical value by obtaining a reference value for distinguishing between a thick line and a thin line from the maximum value and the minimum value.
(2)手書きバーコードを読取るための方法であって、
バーコードにおける白地部分と黒地部分を閾値処理した
後、黒地部分の幅の最大値と最小値とを求めて細線と太
線との区別のための基準値を得ることを特徴とする手書
きバーコード読取方法。
(2) A method for reading handwritten barcodes, the method comprising:
Handwritten barcode reading characterized by performing threshold processing on the white background part and the black background part in the barcode, and then determining the maximum value and minimum value of the width of the black background part to obtain a reference value for distinguishing between thin lines and thick lines. Method.
JP62127474A 1987-05-25 1987-05-25 Method and device for reading handwritten bar code Pending JPS63292283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62127474A JPS63292283A (en) 1987-05-25 1987-05-25 Method and device for reading handwritten bar code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62127474A JPS63292283A (en) 1987-05-25 1987-05-25 Method and device for reading handwritten bar code

Publications (1)

Publication Number Publication Date
JPS63292283A true JPS63292283A (en) 1988-11-29

Family

ID=14960824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62127474A Pending JPS63292283A (en) 1987-05-25 1987-05-25 Method and device for reading handwritten bar code

Country Status (1)

Country Link
JP (1) JPS63292283A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0496881A (en) * 1990-08-13 1992-03-30 Tesco:Kk Analyzing method for bar-code data
WO2011034107A1 (en) * 2009-09-17 2011-03-24 株式会社オプトエレクトロニクス Optical information reader and control method therefor
US9204241B2 (en) 2011-04-18 2015-12-01 Wei Xu Method, device and mobile terminal utilizing barcode images for communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5164828A (en) * 1974-12-03 1976-06-04 Fujitsu Ltd Baakoodono fukuchohoshiki
JPS5377136A (en) * 1976-12-20 1978-07-08 Omron Tateisi Electronics Co Information read-in system
JPS62197877A (en) * 1986-02-26 1987-09-01 Hitachi Ltd Bar code reading system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5164828A (en) * 1974-12-03 1976-06-04 Fujitsu Ltd Baakoodono fukuchohoshiki
JPS5377136A (en) * 1976-12-20 1978-07-08 Omron Tateisi Electronics Co Information read-in system
JPS62197877A (en) * 1986-02-26 1987-09-01 Hitachi Ltd Bar code reading system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0496881A (en) * 1990-08-13 1992-03-30 Tesco:Kk Analyzing method for bar-code data
WO2011034107A1 (en) * 2009-09-17 2011-03-24 株式会社オプトエレクトロニクス Optical information reader and control method therefor
US9204241B2 (en) 2011-04-18 2015-12-01 Wei Xu Method, device and mobile terminal utilizing barcode images for communication

Similar Documents

Publication Publication Date Title
EP0390162A2 (en) An apparatus for reading a bar code
JPS6011973A (en) Bar code reader
US4533825A (en) Bar code recognition apparatus
US4109143A (en) Optical reader
JPS63292283A (en) Method and device for reading handwritten bar code
EP0331758B1 (en) Data code on a code sheet and apparatus of recognizing the code
JPS6213712B2 (en)
CN1065972C (en) Digital graphic coding capable of writing by hand and its recognition method
JPS61180380A (en) Bar code demodulation system
JPH0421915B2 (en)
JPS59177687A (en) Color bar-code system
JPH01222393A (en) Information code sheet and its code recognizing method
JPS62197877A (en) Bar code reading system
JPS6231485A (en) Bar code reader
JP2677805B2 (en) Code reader
JPH045231B2 (en)
JP2754440B2 (en) Barcode judgment method
JPH07175632A (en) Bar code reader
JPH05266244A (en) Character reader
CA1078061A (en) Multiple code sensing optical reader
JP2779898B2 (en) Barcode reader
JPS63291183A (en) Data reader
JPS63229590A (en) Reading and displaying method for printed matter
JPS5812073A (en) Composite data input method for automatic reader
JPH0540861A (en) Symbol display method and symbol reader