JP4241072B2 - Bar code reader - Google Patents

Bar code reader Download PDF

Info

Publication number
JP4241072B2
JP4241072B2 JP2003031343A JP2003031343A JP4241072B2 JP 4241072 B2 JP4241072 B2 JP 4241072B2 JP 2003031343 A JP2003031343 A JP 2003031343A JP 2003031343 A JP2003031343 A JP 2003031343A JP 4241072 B2 JP4241072 B2 JP 4241072B2
Authority
JP
Japan
Prior art keywords
image
barcode
bar code
data
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003031343A
Other languages
Japanese (ja)
Other versions
JP2004240874A (en
Inventor
好郎 青柳
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2003031343A priority Critical patent/JP4241072B2/en
Publication of JP2004240874A publication Critical patent/JP2004240874A/en
Application granted granted Critical
Publication of JP4241072B2 publication Critical patent/JP4241072B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、バーコード読取装置に関し、更に詳しくは1個の包装箱等に貼り付けられた複数個のバーコードを関連付けて同時に読み取ることができるバーコード読取装置に関する。
【0002】
【従来の技術】
デジタルカメラにより複数の商品を撮影してデジタル化された画像データを入力し、この画像データからバーコードパターンに相当する画像データを抽出してバーコードを認識し、この認識で得たバーコードデータに対応する商品情報を商品データメモリに記憶された商品情報から検索するバーコード読取装置が知られている(特許文献1)。
【0003】
また、バーコードラベルを貼り付けた移動体をベルトコンベアで移動しながら、ベルトコンベアの上部に設置された複数のカメラと同期回路からなるマルチカメラユニットで撮影し、この画像からバーコードを抽出するとともにバーコードの傾きを検出し、この傾きに応じてバーコードの特徴量を抽出し、この抽出された特徴量に基づいてバーコードを読み取るバーコード読取装置が知られている(特許文献2)。
【0004】
【特許文献1】
特開平9−114913号公報
【特許文献2】
特開平9−185671号公報
【0005】
【発明が解決しようとする課題】
ところで、複数個の商品を収納した1個の包装箱には、例えば包装箱の通し番号を示すバーコードと、包装箱の中に収納した商品の情報(商品名や個数等)を示すバーコードというように、関連した複数枚のバーコードラベルを貼り付けることがある。ところが、上記特許文献1,2は、いずれも1個の商品につき1個のバーコードが設けられていることを前提としており、1個の包装箱に設けられた複数個のバーコードを互いに関連したものとして読み取ることができないという問題点があった。
【0006】
本発明は、上記問題点を解決するためになされたもので、1個の包装箱等に設けられた複数個のバーコードを関連付けて同時に読み取ることができるバーコード読取装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
上記問題点を解決するために、本発明のバーコード読取装置は、影して得られた一の撮影画像のデジタル画像データか複数のバーコードが表記されたバーコード表記物の輪郭情報を抽出するバーコード輪郭抽出手段と、パターン化された輪郭情報を用いてあらかじめ作成されたマスク画像を記憶するマスク画像記憶手段と、前記バーコード表記物の輪郭情報ごとに、前記マスク画像記憶手段から読み出されたマスク画像を前記バーコード表記物の画像と重ね合わせ、前記撮影画像中のバーコードを除くバーコード表記物の画像を覆うように合成された画像より複数の前記バーコードの位置を特定する複数バーコード位置特定手段と、この複数バーコード位置特定手段によって位置が特定されたバーコードをそれぞれ読み取る読取手段と、前記バーコードに対応する対応データを記憶する対応データ記憶手段と、前記読み取り手段により読み取られた前記各バーコードと、前記対応データ記憶手段に記憶されている各バーコードに対応する対応データとを関連付けて記憶するワークメモリとからなるものである。
【0010】
【発明の実施の形態】
本発明の実施形態であるバーコード読取装置を示す図1において、バーコード読取装置1は、デジタルカメラ2と、これに接続された画像処理装置3とからなる。デジタルカメラ2は、バーコード表記物たる包装箱5の側面5aを撮影してデジタル化した画像データを画像処理装置3に入力する。
【0011】
デジタルカメラ2には、シャッタと同調して側面5aを照明する外部ストロボ装置6が接続されている。また、撮影する包装箱5の数に応じて、デジタルカメラ2と包装箱5との撮影距離,ズームレンズ7の撮影倍率及び記録画素数を一定に決めてあり、1個の包装箱5を撮影すると、図3に示すように、側面5aの撮影画像29は常に一定の画像サイズで撮影される。なお、符号29aは撮影画像29の輪郭画像を示し、符号30はデジタルカメラ2によって撮影された1ショットの全体撮影画像を示す。
【0012】
包装箱5の側面5aには、2箇所にバーコードラベル8,9が貼着されており、それぞれのバーコードラベル8,9には、バーコード10,11が印刷されている。バーコードラベル8,9の貼付位置は包装箱5の側面5aの形状・サイズによって予め一定に決められている。前記バーコード10は、包装箱5のシリアルナンバーを示し、前記バーコード11は、包装箱5に収納されている商品のPOS(Point of Sale :販売時点情報管理)コードを示す。なお、包装箱5に収納される商品は、本出願人が製造・販売しているレンズ付きフイルムユニットである。
【0013】
画像処理装置3の構成を概略的に示す図2において、画像処理装置3は、制御部15,ROM16,画像データメモリ17,輪郭抽出手段としての輪郭強調部18,バーコード位置特定手段としての画像合成部19,ワークメモリ20,マスク画像メモリ21,商品POSデータメモリ22,ハードディスク23,表示メモリ24,液晶ディスプレイ25及び操作部26より構成されている。
【0014】
制御部15は、ROM16に格納されたプログラムに従ってバーコード読取装置1全体のシーケンスを制御する。画像データメモリ17は、デジタルカメラ2によって入力された画像データを記憶するメモリであり、ワークメモリ20は、制御部15のワークエリアとして使用するメモリである。
【0015】
マスク画像メモリ21は、包装箱の側面の形状・サイズによって予めバーコードの位置が設定された複数個のマスク画像の画像データを記憶してある。マスク画像の一例を示す図4において、マスク画像31は、包装箱5の側面5aに対応してバーコード10,11を露呈する矩形の開口31a,31bが形成してあり、画像合成部19で撮影画像29(図3参照)と重ね合わされることにより、ハッチングで表すマスク部31cがバーコード10,11以外の部分を覆い隠す(図5参照)。これにより、バーコードの位置が特定される。なお、マスク画像は、板紙等で実際に作成したマスクをデジタルカメラ2で撮影してもよいし、またコンピュータにより作成(CG)してもよい。
【0016】
商品POSデータメモリ22は、バーコード11のデータに対応したPOSデータとして、商品名,包装箱1個あたりの商品の個数,製造年月日,製造国名が照合用に予め記憶してある。また、輪郭強調部18は、画像データメモリ17に記憶された画像データを読み出して、これに周知の輪郭強調処理及び2値化処理を施して輪郭が明瞭なノイズの少ない側面25aの画像データを作成する。
【0017】
液晶ディスプレイ25は、後述の商品情報の収集結果、エラーメッセージ等のデータ表示を行うものである。表示メモリ24は、液晶ディスプレイ25に表示させるデータをドット展開するビデオメモリである。また、操作部6は、マニュアル操作を必要とする処理時に押下される各種操作キーを具備した入力装置である。
【0018】
ここで、商品POSデータメモリ22の記憶内容について説明する。図6に示すように、符号41,42は、それぞれバーコードデータ領域、商品POSデータ領域を示している。バーコードデータは、白バー及び黒バーよりなるバーコードを数値化したものであり、バーコードデータ領域41に記憶される。商品POSデータは、バーコードデータが示す商品名・包装箱1個あたりの商品の個数・製造年月日・輸出国名をデータ化した商品POS情報であり、バーコードデータに対応させて商品POSデータ領域42に記憶される。
【0019】
このように構成されたバーコード読取装置1の動作について図7のフローチャートを参照して説明する。まず、デジタルカメラ2を包装箱5の位置から予め決められた距離だけ離して設置する。そして、デジタルカメラ2の記録画素数及びズームレンズ7の撮影倍率を予め決められた数値にセットする。
【0020】
作業者がデジタルカメラ2のシャッタを切ると、外部ストロボ装置6が同調発光して包装箱5の側面5aが撮影される。側面5aの光学画像は、デジタルカメラ2のCCDイメージセンサによって電気信号に変換され、更に内部の画像処理回路によってデジタルの画像データに変換されてから画像処理装置3に出力される。
【0021】
制御部15は、デジタルカメラ2で撮影された撮影画像29(図3参照)の画像データを取り込んで画像データメモリ17に格納する。撮影画像29の画像データは、輪郭強調部18に送られ、輪郭強調処理及び2値化処理を施されてから、画像合成部19に送られる。
【0022】
制御部15は、撮影画像29の輪郭画像29aに対応するマスク画像31をマスク画像メモリ21から読み出して画像合成部19に送る。画像合成部19は、図5に示すように、撮影画像29にマスク画像31を重ね合わせて合成画像32を作成する。これにより、撮影画像29のうちバーコード10,11とわずかな周囲を除く全ての領域がマスク画像31のマスク部31cによって覆われるから、バーコード10,11の位置が明瞭に特定される。
【0023】
制御部15は、開口31a,31bをピンポイントでスキャンしてバーコード10,11をバーコードデータ(数値)にデコードする。バーコード11のバーコードデータは商品POSデータメモリ22に記憶されているバーコードデータと照合され、対応した商品POSデータが商品POSデータメモリ22から読み出されて、バーコード10のバーコードデータであるシリアルナンバーと対にしてワークメモリ20に記憶される。なお、前記シリアルナンバーは包装箱5の通し番号である。これにより、シリアルナンバー「1」の包装箱5には、2002年10月10日に製造された100個のレンズ付きフイルムユニット「写ルンですシンプルEye800」が収納されており、この包装箱5はニューヨークに輸出されるという包装箱5についての商品情報がワークメモリ20に記憶されることになる。
【0024】
以下、同様にして別の包装箱の側面を順次に撮影して2つのバーコードを同時に読み取り、照合して商品情報をワークメモリ20に格納する。読み取るべき全ての包装箱についてバーコードの読み取りが終了した後、ワークメモリ20に格納された商品情報をハードディスク23に移動する。そして、例えば、「輸出国」をキーワードとして商品情報をソートすれば、輸出国毎にどのような機種のレンズ付きフイルムユニットがそれぞれ何個出荷されているかという情報が液晶ディスプレイ25に一覧表示される。
【0025】
このように1個の包装箱に設けられた2個のバーコードを自動的に関連付けて読み取ることができるから、バーコードをひとつひとつ読み取ってから作業者が関連付けることと異なり、関連付けのミスが発生しない。したがって、複数個の商品を詰め込んだ包装箱等を管理する業務において検品等の作業効率が格段に向上する。
【0026】
図8に示すように、複数個の包装箱5を一度に撮影する場合には、全体撮影画像30に対する側面1枚あたりの撮影画像は小さくなるから、これに対応したマスク画像の画像データをマスク画像メモリ21に記憶しておく。包装箱5の数に応じて撮影距離,ズームレンズ7の撮影倍率及び記録画素数が決めてあり、これにしたがって、横に2個、縦に3個を積み重ねた包装箱5の側面5aをデジタルカメラ2で撮影すると、図9に示すように、側面5aの6枚分の撮影画像45が全体撮影画像30内に納まる。
【0027】
撮影画像45の画像データを輪郭強調部18により輪郭強調処理及び2値化処理すると、全体の輪郭画像45aと側面5aの境界線画像45bが明瞭になる。これら輪郭画像45a,境界線画像45bで囲まれた領域A〜Fの形状・サイズに対応するマスク画像をマスク画像メモリ21から読み出して領域A〜Fの各々に重ね合わせる。そして,バーコード10,11をピンポイントでスキャンし、領域A〜Fの商品POSデータを商品POSデータメモリ22から読み込んでバーコードデータとともにワークメモリ20に記憶する。以下は上述した実施形態と同様であるから説明を省略する。
【0028】
次に、別の実施形態を説明する。上記実施形態と同様に6個の包装箱5の側面5aをデジタルカメラ2で一度に撮影する。これにより得られた撮影画像45の全体をスキャンしてバーコードの特徴である黒の縞模様を抽出する。この抽出された縞模様抽出画像に膨張処理と縮小処理を行い、バーコードラベル46,47のエリアを抽出する。そして、図10に示すように、鉤形で表す各エリアの先頭座標48〜59を算出し、これをワークメモリ20に記憶する。
【0029】
一方、撮影画像45の画像データを輪郭強調部18により輪郭強調処理及び2値化処理して、全体の輪郭画像45aと側面5aの境界線画像45bを明瞭にする。輪郭画像45a,境界線画像45bで囲まれた領域A〜Fについて、領域A〜Fの各々に含まれる2個の先頭座標から2個のバーコードを関連付ける。すなわち、領域Aではバーコード61,63が一対であって、バーコード61がシリアルナンバーを示し、バーコード63が商品POSデータを示すことを特定することができる。領域B〜Fについても全く同様であり、結果として図11に示すような表60が得られる。
【0030】
そして、バーコード63,64,67,68,71,72に対応する商品POSデータを商品POSデータメモリ22から読み出し、バーコード61のシリアルナンバーと一緒にバーコード63に対応する商品POSデータをワークメモリ20に記憶し、バーコード62のシリアルナンバーと一緒にバーコード64に対応する商品POSデータをワークメモリ20に記憶し、・・・、バーコード70のシリアルナンバーと一緒にバーコード72に対応する商品POSデータをワークメモリ20に記憶する。以下は、前記実施形態と同様であるから、説明を省略する。
【0031】
次に、図12及び図13を参照して別の実施形態を説明する。デジタルカメラ70は、バーコード読取機能を内蔵し、バーコード読取装置として使用できる。なお、前出したものには同じ符号を用いて説明を省略する。
【0032】
デジタルカメラ70は、ズームレンズ71,固体撮像素子(CCDイメージセンサ)72,相関二重サンプリング回路(CDS)73,A/D変換器74,デジタル処理回路75,CPU76,画像メモリ77,メモリ78,画像表示回路79,液晶パネル(LCD)81,情報表示回路82,パーソナルコンピュータ接続用のPC−I/F83,レンズ駆動回路84,ストロボ回路85,ストロボ発光部86及びスイッチ入力回路87からなる。このスイッチ入力回路87は、各種設定を行う他、デジタルカメラ70を通常の撮影モードとバーコード読取モードとに切り換える。
【0033】
CDS73は、CCDイメージセンサ72の各セルの蓄積電荷量に正確に対応したR,G,Bの画像データを出力する。この画像データはA/D変換器74でデジタルの画像データに変換された後、デジタル処理回路75に入力される。
【0034】
デジタル処理回路75は、ガンマ補正等の一般的な画像処理機能の他に、前記画像処理装置3の輪郭強調部18,画像合成部19と同様の機能を有する。また、CPU76は、デジタルカメラ70全体を制御するとともに、前記制御部15の機能を果たす。また、メモリ78は、前記ワークメモリ20と同様の機能を果たす他、マスク画像メモリ21,商品POSデータメモリ22と同様に、複数個のマスク画像の画像データと、バーコードデータと、これに対応したPOSデータとを記憶している。
【0035】
デジタル処理回路75は、A/D変換器74から出力された画像データに一般的な画像処理を施して画像メモリ77に入力するとともに、バーコード読取モード時には、CPU76の指令に従って、画像メモリ77から画像データを読み出して輪郭強調処理及び2値化処理を施して輪郭が明瞭なノイズの少ない画像データを作成した後、撮影画像29にマスク画像31を重ね合わせて合成画像32を作成する。
【0036】
CPU76は、開口31a,31bをピンポイントでスキャンしてバーコード10,11をバーコードデータにデコードし、このバーコードデータをメモリ78から読み出したバーコードデータと照合し、バーコード11に対応する商品POSデータをメモリ78から読み出してバーコード10のバーコードデータであるシリアルナンバーと対にしてメモリ78に記憶する。
【0037】
メモリ78に記憶された商品情報は、情報表示回路82によって画像表示回路79に送られ、LCD81に表示される。また、前記商品情報は、PC−I/F83を介してデジタルカメラ70と接続されたパーソナルコンピュータのハードディスクに転送され、商品の管理に利用される。なお、デジタルカメラ70は、図8に示すように、複数個の包装箱5を一度に撮影する場合にも適用できるのは勿論である。
【0038】
以上説明した実施形態では、1個の包装箱に対して2個のバーコードを付したが、本発明はこれに限定されることなく、例えば1個の包装箱に対して3個のバーコードを付して、これを一度の撮影で読み取るようにしてもよい。また、前記商品POSデータは、図6に示すように、商品名,包装箱1個あたりの商品の個数,製造年月日,製造国名としたが、本発明はこれに限定されないのは勿論である。また、上記実施形態では、バーコード表記物として包装箱を用いたが、本発明はこれに限定されることなく、予め輪郭情報毎にマスク画像をパターン化して作成できれば、どのような物にも適用できる。
【0039】
また、上記実施形態では、前記バーコード10は、包装箱5のシリアルナンバーを示し、前記バーコード11は、包装箱5に収納されている商品のPOSコードを示すとしたが、本発明はこれに限定されることなく、前記バーコード10を商品のPOSコードとし、前記バーコード11を包装箱5のシリアルナンバーを示すとしてもよく、また、全く別の意味を示すものとしてもよい。また、包装箱5に収納される商品は、本出願人が製造・販売しているレンズ付きフイルムユニットとしたが、本発明はこれに限定されることなく、例えばデジタルカメラでもよい。
【0040】
また、上記実施形態では、シリアルナンバー「1」の包装箱5には、2002年10月10日に製造された100個のレンズ付きフイルムユニット「写ルンですシンプルEye800」が収納されており、この包装箱5はニューヨークに輸出されるという包装箱5についての商品情報がワークメモリ20に記憶されるとしたが、本発明はこれらの日付や商品名に限定されないのは勿論である。
【0041】
また、上記実施形態では、包装箱5を横に2個、縦に3個を積み重ねたが、本発明はこれに限定されることなく、例えば横に3個、縦に5個でもよい。
【0042】
【発明の効果】
以上説明したように、本発明のバーコード読取装置によれば、撮影して得られたバーコード表記物の輪郭情報からバーコードの位置を特定してバーコードを読み取るので、1個のバーコード表記物に複数個のバーコードが表記されていてもこれらのバーコードを関連付けて同時に読み取ることができる。この結果、関連付けのミスを防止でき、検品等の作業効率を格段に向上できる。また、バーコード表記物の輪郭情報毎にパターン化して作成したマスク画像をバーコード表記物の画像と重ね合わせることによりバーコードを除くバーコード表記物の画像を覆うようにしたので、きわめて簡単,確実にバーコードの位置を特定できる。
【図面の簡単な説明】
【図1】バーコード読取装置と包装箱を示す説明図である。
【図2】バーコード読取装置の構成を概略的に示すブロック図である。
【図3】デジタルカメラによる撮影画像を示す説明図である。
【図4】マスク画像の一例を示す説明図である。
【図5】マスク画像と撮影画像とを重ね合わせた合成画像を示す説明図である。
【図6】商品POSデータメモリの記憶内容の一例を示す説明図である。
【図7】バーコードの読取手順を示すフローチャートである。
【図8】別の実施形態を示す説明図である。
【図9】図8に示す実施形態のデジタルカメラによる撮影画像を示す説明図である。
【図10】領域A〜Bとバーコードラベルの各エリアの先頭座標とを示す説明図である。
【図11】領域A〜Bと関連付けられたバーコードを示す説明図である。
【図12】デジタルカメラにバーコード読取機能を内蔵した実施形態を示す説明図である。
【図13】デジタルカメラの電気的構成を示すブロック図である。
【符号の説明】
1 バーコード読取装置
2,70 デジタルカメラ
3 画像処理装置
5 包装箱
5a 側面
8,9,46,47 バーコードラベル
10,11,61〜72 バーコード
15 制御部
16 ROM
17 画像データメモリ
18 輪郭強調部
19 画像合成部
20 ワークメモリ
21 マスク画像メモリ
22 商品POSデータメモリ
29,45 撮影画像
29a,45a,45b 輪郭画像
31 マスク画像
32 合成画像
48〜59 先頭座標
72 CCDイメージセンサ
75 デジタル処理回路
76 CPU
A〜F 領域
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a barcode reader, and more particularly to a barcode reader that can simultaneously read a plurality of barcodes attached to a single packaging box or the like in association with each other.
[0002]
[Prior art]
Bar code data obtained by capturing multiple products with a digital camera and inputting digitized image data, extracting image data corresponding to the bar code pattern from this image data, and recognizing the bar code There is known a barcode reader that searches for product information corresponding to the item information stored in a product data memory (Patent Document 1).
[0003]
In addition, while moving the moving body with the barcode label attached on the belt conveyor, the photograph is taken with a multi-camera unit consisting of a plurality of cameras and a synchronizing circuit installed on the belt conveyor, and the barcode is extracted from this image. In addition, there is known a barcode reader that detects the inclination of a barcode, extracts a feature amount of the barcode according to the inclination, and reads the barcode based on the extracted feature amount (Patent Document 2). .
[0004]
[Patent Document 1]
JP-A-9-114913 [Patent Document 2]
Japanese Patent Laid-Open No. 9-185671
[Problems to be solved by the invention]
By the way, in one packaging box containing a plurality of products, for example, a barcode indicating a serial number of the packaging box and a barcode indicating information (product name, number, etc.) of the products stored in the packaging box are called. In this way, a plurality of related barcode labels may be attached. However, Patent Documents 1 and 2 are based on the premise that one bar code is provided for each product, and a plurality of bar codes provided in one packaging box are related to each other. There was a problem that it could not be read.
[0006]
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a barcode reader that can simultaneously read a plurality of barcodes provided in a single packaging box in association with each other. And
[0007]
[Means for Solving the Problems]
In order to solve the above problem, a bar code reading device of the present invention, shooting barcode title compound in which one digital picture image data or et plurality of bar codes of a captured image of obtained is denoted by For each contour information of the bar code notation, the mask contour storing means for extracting the contour information of the bar code, the mask image storing means for storing the mask image created in advance using the patterned contour information , and the mask The mask image read from the image storage means is overlaid with the image of the bar code notation, and a plurality of the bar images are combined from the image synthesized so as to cover the bar code notation image excluding the bar code in the photographed image. a plurality barcode position specifying means for specifying a position of the code, and reading means for reading the bar code position is specified by the plurality barcode position specifying means respectively Corresponding data storage means for storing corresponding data corresponding to the barcode, each barcode read by the reading means, and correspondence data corresponding to each barcode stored in the correspondence data storage means It consists of a work memory that is stored in association with each other.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
In FIG. 1 showing a barcode reading apparatus according to an embodiment of the present invention, the barcode reading apparatus 1 includes a digital camera 2 and an image processing apparatus 3 connected thereto. The digital camera 2 inputs the digitized image data to the image processing device 3 by photographing the side surface 5a of the packaging box 5 as a bar code notation.
[0011]
The digital camera 2 is connected with an external strobe device 6 that illuminates the side surface 5a in synchronization with the shutter. Further, according to the number of packaging boxes 5 to be photographed, the photographing distance between the digital camera 2 and the packaging box 5, the photographing magnification of the zoom lens 7 and the number of recording pixels are fixed, and one packaging box 5 is photographed. Then, as shown in FIG. 3, the captured image 29 of the side surface 5a is always captured with a constant image size. Reference numeral 29 a indicates a contour image of the captured image 29, and reference numeral 30 indicates one shot of the entire captured image captured by the digital camera 2.
[0012]
Barcode labels 8 and 9 are attached to the side surface 5a of the packaging box 5 at two locations, and the barcodes 10 and 11 are printed on the barcode labels 8 and 9, respectively. The position where the bar code labels 8 and 9 are attached is determined in advance by the shape and size of the side surface 5a of the packaging box 5. The bar code 10 indicates a serial number of the packaging box 5, and the bar code 11 indicates a POS (Point of Sale) code of a product stored in the packaging box 5. The product stored in the packaging box 5 is a lens-fitted photo film unit manufactured and sold by the applicant.
[0013]
In FIG. 2 schematically showing the configuration of the image processing apparatus 3, the image processing apparatus 3 includes a control unit 15, a ROM 16, an image data memory 17, an outline emphasizing unit 18 as an outline extracting unit, and an image as a barcode position specifying unit. The composition unit 19 includes a work memory 20, a mask image memory 21, a product POS data memory 22, a hard disk 23, a display memory 24, a liquid crystal display 25, and an operation unit 26.
[0014]
The control unit 15 controls the entire sequence of the barcode reading apparatus 1 in accordance with a program stored in the ROM 16. The image data memory 17 is a memory for storing image data input by the digital camera 2, and the work memory 20 is a memory used as a work area for the control unit 15.
[0015]
The mask image memory 21 stores image data of a plurality of mask images in which the barcode positions are set in advance according to the shape and size of the side surface of the packaging box. In FIG. 4 showing an example of the mask image, the mask image 31 is formed with rectangular openings 31 a and 31 b that expose the barcodes 10 and 11 corresponding to the side surface 5 a of the packaging box 5. By overlapping the captured image 29 (see FIG. 3), the mask portion 31c represented by hatching covers the portions other than the barcodes 10 and 11 (see FIG. 5). Thereby, the position of the barcode is specified. The mask image may be created by photographing a mask actually created with paperboard or the like with the digital camera 2, or may be created (CG) with a computer.
[0016]
The product POS data memory 22 stores in advance for verification the product name, the number of products per packaging box, the date of manufacture, and the country of manufacture as POS data corresponding to the barcode 11 data. Further, the contour emphasizing unit 18 reads out the image data stored in the image data memory 17 and performs well-known contour emphasis processing and binarization processing on the image data to obtain image data of the side 25a with clear contours and less noise. create.
[0017]
The liquid crystal display 25 displays data such as a collection result of product information and an error message described later. The display memory 24 is a video memory that performs dot expansion of data to be displayed on the liquid crystal display 25. The operation unit 6 is an input device that includes various operation keys that are pressed during processing that requires manual operation.
[0018]
Here, the contents stored in the product POS data memory 22 will be described. As shown in FIG. 6, reference numerals 41 and 42 denote a barcode data area and a product POS data area, respectively. The barcode data is obtained by digitizing a barcode consisting of a white bar and a black bar, and is stored in the barcode data area 41. The product POS data is product POS information in which the product name indicated by the barcode data, the number of products per packaging box, the date of manufacture, and the name of the exporting country are converted into data, and the product POS data corresponding to the barcode data. Stored in area 42.
[0019]
The operation of the barcode reader 1 configured as described above will be described with reference to the flowchart of FIG. First, the digital camera 2 is set apart from the position of the packaging box 5 by a predetermined distance. Then, the recording pixel number of the digital camera 2 and the photographing magnification of the zoom lens 7 are set to predetermined numerical values.
[0020]
When the operator releases the shutter of the digital camera 2, the external strobe device 6 emits light synchronously and the side surface 5 a of the packaging box 5 is photographed. The optical image of the side surface 5a is converted into an electrical signal by the CCD image sensor of the digital camera 2, and further converted into digital image data by an internal image processing circuit, and then output to the image processing device 3.
[0021]
The control unit 15 captures image data of a captured image 29 (see FIG. 3) captured by the digital camera 2 and stores it in the image data memory 17. The image data of the captured image 29 is sent to the contour emphasizing unit 18, subjected to contour emphasis processing and binarization processing, and then sent to the image composition unit 19.
[0022]
The control unit 15 reads the mask image 31 corresponding to the contour image 29 a of the captured image 29 from the mask image memory 21 and sends it to the image composition unit 19. As shown in FIG. 5, the image composition unit 19 creates a composite image 32 by superimposing a mask image 31 on the captured image 29. As a result, the entire area of the captured image 29 except for the barcodes 10 and 11 and a slight periphery is covered with the mask portion 31c of the mask image 31, so that the positions of the barcodes 10 and 11 are clearly identified.
[0023]
The controller 15 scans the openings 31a and 31b pinpoint to decode the barcodes 10 and 11 into barcode data (numerical values). The barcode data of the barcode 11 is collated with the barcode data stored in the product POS data memory 22, and the corresponding product POS data is read from the product POS data memory 22, and the barcode data of the barcode 10 is read. A pair with a serial number is stored in the work memory 20. The serial number is a serial number of the packaging box 5. As a result, the packaging unit 5 with the serial number “1” contains 100 lens film units “Photocopying Simple Eye800” manufactured on October 10, 2002. The product information about the packaging box 5 to be exported to New York is stored in the work memory 20.
[0024]
In the same manner, the side surfaces of the other packaging boxes are sequentially photographed, two barcodes are read simultaneously, collated, and the product information is stored in the work memory 20. After reading the barcodes for all the packaging boxes to be read, the product information stored in the work memory 20 is moved to the hard disk 23. For example, if the product information is sorted using “exporting country” as a keyword, information on what type of lens-fitted film units is shipped on the liquid crystal display 25 for each exporting country. .
[0025]
In this way, since two barcodes provided in one packaging box can be automatically associated and read, unlike the case where the operator associates the barcodes after reading them one by one, no association error occurs. . Accordingly, the work efficiency of inspection and the like is remarkably improved in the business of managing a packaging box packed with a plurality of products.
[0026]
As shown in FIG. 8, when a plurality of packaging boxes 5 are photographed at a time, the photographed image per side surface with respect to the entire photographed image 30 becomes small. Therefore, the image data of the corresponding mask image is masked. Stored in the image memory 21. The shooting distance, the zoom magnification of the zoom lens 7 and the number of recording pixels are determined according to the number of packaging boxes 5, and according to this, the side surface 5a of the packaging box 5 which is stacked two horizontally and three vertically is digitally displayed. When the image is taken by the camera 2, as shown in FIG. 9, six taken images 45 on the side surface 5a are stored in the whole taken image 30.
[0027]
When the image emphasis processing and binarization processing are performed on the image data of the captured image 45 by the contour emphasizing unit 18, the entire contour image 45a and the boundary line image 45b of the side surface 5a become clear. A mask image corresponding to the shape and size of the areas A to F surrounded by the contour image 45a and the boundary line image 45b is read from the mask image memory 21 and superimposed on each of the areas A to F. Then, the barcodes 10 and 11 are scanned pinpoint, and the product POS data in the areas A to F are read from the product POS data memory 22 and stored in the work memory 20 together with the barcode data. Since the following is the same as the above-described embodiment, the description thereof is omitted.
[0028]
Next, another embodiment will be described. Similar to the above-described embodiment, the side surfaces 5 a of the six packaging boxes 5 are photographed at once by the digital camera 2. The entire captured image 45 thus obtained is scanned to extract a black stripe pattern that is a feature of the barcode. The extracted striped pattern extraction image is subjected to expansion processing and reduction processing, and the areas of the bar code labels 46 and 47 are extracted. Then, as shown in FIG. 10, the leading coordinates 48 to 59 of each area represented by a saddle shape are calculated and stored in the work memory 20.
[0029]
On the other hand, the image data of the captured image 45 is subjected to the contour emphasis processing and binarization processing by the contour emphasizing unit 18, and the entire contour image 45a and the boundary line image 45b of the side surface 5a are clarified. For the areas A to F surrounded by the contour image 45a and the boundary line image 45b, two barcodes are associated from the two leading coordinates included in each of the areas A to F. That is, in the area A, it can be specified that the barcodes 61 and 63 are a pair, the barcode 61 indicates a serial number, and the barcode 63 indicates product POS data. The same applies to the regions B to F, and as a result, a table 60 as shown in FIG. 11 is obtained.
[0030]
Then, the product POS data corresponding to the barcodes 63, 64, 67, 68, 71, 72 is read from the product POS data memory 22, and the product POS data corresponding to the barcode 63 together with the serial number of the barcode 61 is processed. Store in the memory 20 and store the product POS data corresponding to the barcode 64 together with the serial number of the barcode 62 in the work memory 20... Corresponding to the barcode 72 together with the serial number of the barcode 70 The product POS data to be stored is stored in the work memory 20. Since the following is the same as the above embodiment, the description thereof is omitted.
[0031]
Next, another embodiment will be described with reference to FIGS. 12 and 13. The digital camera 70 has a built-in barcode reading function and can be used as a barcode reading device. In addition, the description is abbreviate | omitted using the same code | symbol to what was mentioned previously.
[0032]
The digital camera 70 includes a zoom lens 71, a solid-state imaging device (CCD image sensor) 72, a correlated double sampling circuit (CDS) 73, an A / D converter 74, a digital processing circuit 75, a CPU 76, an image memory 77, a memory 78, It comprises an image display circuit 79, a liquid crystal panel (LCD) 81, an information display circuit 82, a PC-I / F 83 for connecting a personal computer, a lens driving circuit 84, a strobe circuit 85, a strobe light emitting unit 86, and a switch input circuit 87. The switch input circuit 87 performs various settings and switches the digital camera 70 between a normal photographing mode and a barcode reading mode.
[0033]
The CDS 73 outputs R, G, B image data that accurately corresponds to the amount of charge stored in each cell of the CCD image sensor 72. This image data is converted into digital image data by the A / D converter 74 and then input to the digital processing circuit 75.
[0034]
The digital processing circuit 75 has the same functions as the contour emphasizing unit 18 and the image synthesizing unit 19 of the image processing apparatus 3 in addition to general image processing functions such as gamma correction. The CPU 76 controls the entire digital camera 70 and fulfills the function of the control unit 15. Further, the memory 78 performs the same function as the work memory 20, and similarly to the mask image memory 21 and the commodity POS data memory 22, a plurality of mask image image data, barcode data, and corresponding to this. Stored POS data.
[0035]
The digital processing circuit 75 performs general image processing on the image data output from the A / D converter 74 and inputs the image data to the image memory 77. In the barcode reading mode, the digital processing circuit 75 reads the image data from the image memory 77 according to a command from the CPU 76. After the image data is read out and subjected to contour emphasis processing and binarization processing to create image data with clear contours and less noise, a mask image 31 is superimposed on the captured image 29 to create a composite image 32.
[0036]
The CPU 76 scans the openings 31a and 31b pinpointly to decode the barcodes 10 and 11 into barcode data, compares the barcode data with the barcode data read from the memory 78, and corresponds to the barcode 11. The product POS data is read from the memory 78 and stored in the memory 78 in a pair with the serial number which is the barcode data of the barcode 10.
[0037]
The product information stored in the memory 78 is sent to the image display circuit 79 by the information display circuit 82 and displayed on the LCD 81. The product information is transferred to the hard disk of a personal computer connected to the digital camera 70 via the PC-I / F 83 and used for product management. Of course, the digital camera 70 can be applied to a case where a plurality of packaging boxes 5 are photographed at a time as shown in FIG.
[0038]
In the embodiment described above, two barcodes are attached to one packaging box, but the present invention is not limited to this, and for example, three barcodes to one packaging box. It is possible to read this by one shooting. Further, as shown in FIG. 6, the product POS data includes a product name, the number of products per packaging box, the date of manufacture, and the name of the country of manufacture. However, the present invention is not limited to this. is there. In the above embodiment, the packaging box is used as the bar code notation, but the present invention is not limited to this, and any object can be used as long as it can be created by patterning a mask image for each contour information in advance. Applicable.
[0039]
In the above embodiment, the barcode 10 indicates the serial number of the packaging box 5 and the barcode 11 indicates the POS code of the product stored in the packaging box 5. The bar code 10 may be a POS code of a product, the bar code 11 may indicate a serial number of the packaging box 5, or may have a completely different meaning. In addition, the product stored in the packaging box 5 is a lens-fitted photo film unit manufactured and sold by the applicant, but the present invention is not limited to this and may be a digital camera, for example.
[0040]
Further, in the above embodiment, the packaging unit 5 with the serial number “1” stores 100 lens unit with a lens “Shoot Rune Simple Eye800” manufactured on October 10, 2002. Although the product information about the packaging box 5 to be exported to New York is stored in the work memory 20, the present invention is of course not limited to these dates and product names.
[0041]
In the above embodiment, two packaging boxes 5 are stacked horizontally and three vertically. However, the present invention is not limited to this, and may be three horizontally and five vertically.
[0042]
【The invention's effect】
As described above, according to the bar code reading device of the present invention, since the contour information of the shooting-obtained barcode title product to identify the position of the bar code reading bar codes, one of the bar Even if a plurality of barcodes are written on the code notation , these barcodes can be associated and read simultaneously. As a result, an association error can be prevented, and work efficiency of inspection and the like can be significantly improved. In addition, the mask image created by patterning each contour information of the bar code notation is overlapped with the bar code notation image to cover the bar code notation image excluding the bar code. The position of the barcode can be specified reliably.
[Brief description of the drawings]
FIG. 1 is an explanatory view showing a barcode reader and a packaging box.
FIG. 2 is a block diagram schematically showing a configuration of a barcode reader.
FIG. 3 is an explanatory diagram showing an image captured by a digital camera.
FIG. 4 is an explanatory diagram showing an example of a mask image.
FIG. 5 is an explanatory diagram showing a composite image obtained by superimposing a mask image and a captured image.
FIG. 6 is an explanatory diagram showing an example of the contents stored in a product POS data memory.
FIG. 7 is a flowchart showing a barcode reading procedure.
FIG. 8 is an explanatory diagram showing another embodiment.
FIG. 9 is an explanatory diagram illustrating an image captured by the digital camera according to the embodiment illustrated in FIG. 8;
FIG. 10 is an explanatory diagram showing areas A to B and the top coordinates of each area of a bar code label.
FIG. 11 is an explanatory diagram showing barcodes associated with areas A to B;
FIG. 12 is an explanatory diagram showing an embodiment in which a barcode reading function is built in a digital camera.
FIG. 13 is a block diagram showing an electrical configuration of the digital camera.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Bar code reader 2,70 Digital camera 3 Image processing apparatus 5 Packaging box 5a Side surface 8, 9, 46, 47 Bar code label 10, 11, 61-72 Bar code 15 Control part 16 ROM
17 Image data memory 18 Outline enhancement unit 19 Image composition unit 20 Work memory 21 Mask image memory 22 Product POS data memory 29, 45 Captured images 29a, 45a, 45b Contour image 31 Mask image 32 Composite image 48-59 First coordinate 72 CCD image Sensor 75 Digital processing circuit 76 CPU
AF area

Claims (1)

影して得られた一の撮影画像のデジタル画像データか複数のバーコードが表記されたバーコード表記物の輪郭情報を抽出するバーコード輪郭抽出手段と、
パターン化された輪郭情報を用いてあらかじめ作成されたマスク画像を記憶するマスク画像記憶手段と、
前記バーコード表記物の輪郭情報ごとに、前記マスク画像記憶手段から読み出されたマスク画像を前記バーコード表記物の画像と重ね合わせ、前記撮影画像中のバーコードを除く前記バーコード表記物の画像を覆うように合成された画像より複数の前記バーコードの位置を特定する複数バーコード位置特定手段と、
この複数バーコード位置特定手段によって位置が特定されたバーコードをそれぞれ読み取る読取手段と
前記バーコードに対応する対応データを記憶する対応データ記憶手段と、
前記読み取り手段により読み取られた前記各バーコードと、前記対応データ記憶手段に記憶されている各バーコードに対応する対応データとを関連付けて記憶するワークメモリと
からなることを特徴とするバーコード読取装置。
And a bar code contour extraction means shooting and one digital picture image data or et plurality of bar codes of a captured image of the obtained extracts contour information of the bar code representation thereof, labeled,
Mask image storage means for storing a mask image created in advance using the patterned contour information;
For each contour information of the barcode notation, the mask image read from the mask image storage means is superimposed on the image of the barcode notation, and the barcode notation of the barcode notation excluding the barcode in the captured image A plurality of barcode position specifying means for specifying positions of the plurality of barcodes from an image synthesized so as to cover the image ;
Reading means for reading each respective bar code position is specified by the plurality barcode position specifying means,
Corresponding data storage means for storing corresponding data corresponding to the barcode;
A bar code reading system comprising: a work memory that associates and stores each bar code read by the reading unit and corresponding data corresponding to each bar code stored in the corresponding data storage unit. apparatus.
JP2003031343A 2003-02-07 2003-02-07 Bar code reader Expired - Fee Related JP4241072B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003031343A JP4241072B2 (en) 2003-02-07 2003-02-07 Bar code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003031343A JP4241072B2 (en) 2003-02-07 2003-02-07 Bar code reader

Publications (2)

Publication Number Publication Date
JP2004240874A JP2004240874A (en) 2004-08-26
JP4241072B2 true JP4241072B2 (en) 2009-03-18

Family

ID=32957970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003031343A Expired - Fee Related JP4241072B2 (en) 2003-02-07 2003-02-07 Bar code reader

Country Status (1)

Country Link
JP (1) JP4241072B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008047049A (en) * 2006-08-21 2008-02-28 Brother Ind Ltd Wireless tag communication device and tag label generation device
JP5169052B2 (en) * 2007-07-25 2013-03-27 大日本印刷株式会社 Information reading system and program
CN113877827B (en) * 2021-09-14 2023-06-16 深圳玩智商科技有限公司 Logistics part grabbing method, grabbing equipment and storage medium
JP7269312B1 (en) 2021-12-16 2023-05-08 株式会社シーエーシー Program, method and apparatus for identifying related markers from multiple markers
JP7252580B1 (en) 2021-12-28 2023-04-05 三菱倉庫株式会社 box counter

Also Published As

Publication number Publication date
JP2004240874A (en) 2004-08-26

Similar Documents

Publication Publication Date Title
JP4407663B2 (en) Imaging device
KR100916867B1 (en) Image processing apparatus and image processing method
JP2004328265A (en) Display method and display device
JP2007201948A (en) Imaging apparatus, image processing method and program
US20070053586A1 (en) Image processing apparatus and image processing method
JP5182182B2 (en) Color correction method and imaging system
JP3973462B2 (en) Image capture method
US7679792B2 (en) Merged camera and scanner
US6331903B1 (en) Order apparatus for print including recording order information on developed film, a card reader for reading the order information, or confirming the order information
JP4241072B2 (en) Bar code reader
JP2003092726A (en) Imaging apparatus
US7034879B2 (en) Imaging device for ID card preparation and associated method
JP2000147685A (en) Group printing sheet and image forming device
JPH11212992A (en) Picture filing system and record medium recording program controlling the system
US7903142B2 (en) Digital still camera with print-order information
JP3903110B2 (en) Method and system for creating print with message
JP2004207987A (en) Image processing method and print system
JP3240899B2 (en) Document image input device
JP2005217721A (en) Apparatus and method for generating still picture
JP4162477B2 (en) Image capturing apparatus, article information adding method to article file, and article information adding program
JP2007148612A (en) Photographing device, image processing method and image processing program
JPH1069536A (en) Image synthesizer
JPH05290063A (en) Id card information forming device
JP3903109B2 (en) Print production system with message
KR100919341B1 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050221

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080312

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080502

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081210

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081222

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees