JP2004199203A - Portable telephone with camera - Google Patents

Portable telephone with camera Download PDF

Info

Publication number
JP2004199203A
JP2004199203A JP2002364425A JP2002364425A JP2004199203A JP 2004199203 A JP2004199203 A JP 2004199203A JP 2002364425 A JP2002364425 A JP 2002364425A JP 2002364425 A JP2002364425 A JP 2002364425A JP 2004199203 A JP2004199203 A JP 2004199203A
Authority
JP
Japan
Prior art keywords
data
camera
mobile phone
barcode
color
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
JP2002364425A
Other languages
Japanese (ja)
Inventor
Shigeki Muramatsu
茂樹 村松
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.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica 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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2002364425A priority Critical patent/JP2004199203A/en
Publication of JP2004199203A publication Critical patent/JP2004199203A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a portable telephone with a camera, which reads out more pieces of information from a colored bar code. <P>SOLUTION: The portable telephone has a comparison/determination means which compares/determines image data photographed by a camera and a data determination threshold value for each RGB data of three primary colors of red, green and blue; an analysis means which analyzes whether the image data is a color bar code based on the determination result of the comparison/determination means; and a character conversion means which, when the image data is a color bar code based on the analysis result, reads out the RGB data from the color bar code to convert the data into characters . <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、カメラで撮影したカラー化されたバーコードを認識するカメラ付き携帯電話機に関する。
【0002】
【従来の技術】
近年、カメラを搭載した携帯電話機が普及されてきており、カメラの撮影データを利用した機能を付加することが一般的になりつつある。カメラ撮影データを利用した機能として、バーコードを接写モードで撮影し、バーコードのデータを読み出すような携帯電話機も出始めている。
【0003】
また、印刷コードを読み取る従来技術例として、CCDビデオカメラで本のカラーコードを取り込み、カラーコード識別部で識別し、識別したカラーコードに対応する分野の辞書を対話辞書が有する複数の辞書の中から選択し、参照する「情報処理システムおよび情報処理方法」がある(例えば、特許文献1参照)。
【0004】
【特許文献1】
特開平9−6798号公報
【0005】
【発明が解決しようとする課題】
しかしながら、一般的に使用されている1次元のバーコードに多くの情報を入れてしまうと、バーコードが長くなってしまい、接写モードの撮影範囲に収まりきれなくなってしまうという不都合があった。また撮影範囲を広げるために、バーコードから離して撮影をするとバーコードの読み取り精度が落ちてしまうため、読み出し可能なバーコードの情報には、限りがあった。
【0006】
上記のような問題を解決するために、2次元バーコードという方式が用いられるようになってきているが、文字を2次元バーコードに変換する方法が煩雑であり、また印字精度が求められるため、2次元バーコードを印刷するためのプリンタが高価となってしまうという問題があった。
【0007】
また、特許文献1記載の「情報処理システムおよび情報処理方法」は、音声だけでは特定できない言葉に対して、その他の情報を使用して特定するというものであり、カラー化されたバーコードを読み取る手段を有していない。
【0008】
本発明は、上記事情に鑑みてなされたものであり、カメラ付き携帯電話機を提供することを目的とする。
【0009】
【課題を解決するための手段】
かかる問題を解決するために、請求項1記載のカメラ付き携帯電話機は、撮影画像を画像データとして入力する画像入力手段と、画像入力手段の撮影動作を制御するとともに、画像入力手段により入力された画像データをデジタル変換する撮影動作制御手段と、撮影動作制御手段によりデジタル変換された画像データと、データ判定しきい値とを、3原色である赤・緑・青のRGBデータ毎にそれぞれ比較・判定する比較判定手段と、比較判定手段の判定結果により画像データがカラーバーコードであるか否かを解析する解析手段と、解析手段の解析結果により画像データがカラーバーコードである場合は、カラーバーコードからRGBデータを読み出し、文字に変換する文字変換手段とを有することを特徴としている。
【0010】
請求項2記載のカメラ付き携帯電話機は、請求項1記載のカメラ付き携帯電話機において、比較判定手段がカラーバーコードのRGBデータについて色判定を行い、色判定に使用するためのデータ判定しきい値を変更することを特徴としている。
【0011】
請求項3記載のカメラ付き携帯電話機は、請求項1または2記載のカメラ付き携帯電話機において、比較判定手段は、カラーバーコードにRGB補正データを付加し、前記RGB補正データを撮影することによって、最適なデータ判定しきい値を自動的に算出することを特徴としている。
【0012】
請求項4記載のカメラ付き携帯電話機は、請求項1記載のカメラ付き携帯電話機において、文字変換手段は、メモリ内に格納されているキャラクタテーブルに従って、RGBデータを文字に変換することを特徴としている。
【0013】
請求項5記載のカメラ付き携帯電話機は、請求項4記載のカメラ付き携帯電話機において、文字変換手段は、メモリ内に格納された複数のキャラクタテーブルに従って、複数のバーコード形式に対応することを特徴としている。
【0014】
請求項6記載のカメラ付き携帯電話機は、請求項4記載のカメラ付き携帯電話機において、文字変換手段によって文字変換された文字データに従うことにより携帯電話機の各動作を制御することを特徴としている。
【0015】
請求項7記載のカメラ付き携帯電話機は、請求項3記載のカメラ付き携帯電話機において、RGB補正データは、カラーバーコードのスタートデータの前に配置することを特徴としている。
【0016】
請求項8記載のカメラ付き携帯電話機は、請求項1から7のいずれか1項に記載のカメラ付き携帯電話機において、データ判定しきい値の増加を可能とすることを特徴としている。
【0017】
請求項9記載のカメラ付き携帯電話機は、請求項1記載のカメラ付き携帯電話機において、解析手段は、バーコード上のスタートデータおよびストップデータの有無を検出することによって、画像データを解析することを特徴としている。
【0018】
請求項10記載のカメラ付き携帯電話機は、請求項4または5記載のカメラ付き携帯電話機において、文字変換手段は、キャラクタテーブルを拡張することによって、アスキーコードや漢字コードへの変換を可能とすることを特徴としている。
【0019】
【発明の実施の形態】
本発明の実施形態の構成について図7を参照しながら、携帯電話機用充電器と携帯電話機本体の回路ブロック図を説明する。
【0020】
電池パック1は、携帯電話機の電源であり、各回路に接続されている。ANT部2は無線信号の送受信が行われる。TRX3とベースバンド処理部4は、入力及び出力無線信号の変復調を行う。MCPU5は、主に携帯電話機の機能動作を制御する回路であり、カメラ制御部17へカメラモジュール部18の制御パラメータやコマンドの送出を行うことが可能となっている。レシーバ6は受話部、マイク7は送話部となっている。表示部8は、電話番号、時計、サービス圏内/圏外、充電状態/電池残量、電話帳、メール内容や、カメラで撮影した画像の表示を行う。
【0021】
ユーザIF部9は、主に番号ボタン10の入力を認識し、MCPU5に伝達する回路である。時計11は、年月日、時刻の情報をMCPU5へ伝達する回路である。ドライバ部12は、着信時の報知命令をMCPU4から受け、サウンダ13またはバイブ14を駆動させる回路である。サウンダ13は着信音を発するスピーカ、バイブ14は振動によって着信を報知する振動モータである。メモリ15は、ユーザ情報、電話帳、メール、ダウンロードした画像や音楽データ、カメラで撮影した画像や、カメラ制御用のパラメータなどのデータを記憶している。
【0022】
充電制御部16は、電池パック1の充電制御を行う回路であり、充電器と接続されたことを検知し、充電可能状態であることをMCPU5に伝達するようになっている。また、電池パック1の電圧と充電電流をモニタしており、決められた電池電圧かつ充電電流になるまで充電を継続するようになっている。更にMCPU5からの充電開始/停止信号に応じて充電制御を行うことが可能となっている。
【0023】
カメラ制御部17は、カメラモジュール部18を制御する回路であり、MCPU5から受けたカメラパラメータに従って、カメラモジュール部18の動作を制御することが可能となっている。また、カメラモジュール部18で撮影された画像データをデジタルデータに変換し、MCPU5に伝達するようになっている。
【0024】
本構成では、カメラ撮影画像はMCPU5を介して表示部8に表示させるようにしているが、画像データにフレームや文字の挿入といった画像の加工機能やデジタルズーム機能をカメラ制御部17に持たせ、カメラ制御部17から直接表示部8に画像表示させるようにしても良い。カメラモジュール部18は、カメラ制御部17から受け取ったカメラ制御信号に従って動作することが可能であり、フォーカスの調整や光学ズームなどといった望遠/接写撮影を行うことにより、バーコードの接写撮影を行うことが可能となっている。
【0025】
図1に、本発明による携帯電話機の回路ブロック図を示す。回路ブロック図は、従来の携帯電話機とほぼ同じであるが、相違点はRGB判定部19を搭載させた点である。
【0026】
RGB判定部19は、カメラ制御部17でデジタル変換された画像データを受け取り、画像データのR成分、G成分、B成分がそれぞれ事前に設定されたデータ判定しきい値と比較して、高い/低いか判定を行うことが可能となっている。判定結果は、カメラ制御部17を介してMCPU5に伝達される。また、データ判定しきい値は、MCPU5からカメラ制御部17を介して伝達された値に設定することが可能となっている。尚、RGB判定部19は、カメラ制御部17に内蔵され、1チップとしても良い。
【0027】
次に、本発明の実施形態の動作について説明する。図2に本発明による実施例の動作を表すフローチャートを示す。
【0028】
ユーザの操作により、カラーバーコード読み取りが開始(T201)されると、カメラモジュール部18で撮影された画像データがカメラ制御部17に送出され、カメラ制御部17にて画像データがデジタル変換される(T202)。デジタル変換された画像データはRGB判定部19に送出され、予めMCPU5から受け取ったRGBしきい値と比較される(T203)。画像データとRGBしきい値の比較方法については後述する。
【0029】
画像データの判定結果は、MCPU5に伝達され(T204)、MCPU5にて画像データがカラーバーコードであるか解析を行う(T205)。解析方法は、バーコードの種類によって様々な方法が考えられるが、例えば、スタートデータ、ストップデータの有無の検出による方法があげられる。
【0030】
解析の結果、画像データがカラーバーコードではなかった場合は(T205、NO)、読み取り失敗時の処理を行う。一方、解析の結果、画像データがカラーバーコードであった場合は(T205、YES)MCPU5にてカラーバーコードのデータをキャラクタに変換し(T206)、読み取り成功時の処理を行う。キャラクタ変換方法の例については後述する。
【0031】
次に、図3を用いて、本発明によるカラーバーコード読み取り方法について説明する。
【0032】
図3は、背景が白の上に、赤・緑・青・紫・黄・水色・黒が印刷されているカラーバーコードを撮影した場合の画像データを、縦軸:赤の強さ(R成分)、緑の強さ(G成分)、青の強さ(B成分)で、横軸:バーコードの水平方向の座標を示したグラフと、RGBしきい値との比較により判定した結果を表にしたものである。
【0033】
尚、本説明図では、説明の便宜上、RGBしきい値は各々1つずつとして、強い/弱いの2値のデータとしているが、RGBしきい値を2つ、3つと増やし、3値、4値のデータとして判定することにより、より細かな色判定を行うことも可能である。
【0034】
また、RGBしきい値は、MCPU5から受け取ったレベルに変更できるようになっているため、撮影環境に合わせた最適なしきい値にすることができる。 背景の白い部分を撮影した場合、R成分・G成分・B成分の全ての成分が強くなるため色判定の結果は「白」となる。同様に、R成分のみ強い場合は「赤」、G成分のみ強い場合は「緑」、B成分のみ強い場合は「青」の色判定となる。また、RGBの組合せにより、R成分とB成分が強い場合は「紫」、R成分とG成分が強い場合は「黄色」、G成分とB成分が強い場合は「水色」の色判定となる。RGB全ての成分が弱い場合は「黒」の判定となる。このようにRGBデータの組合せにより、色判定を行うようになっている。
【0035】
次に、図4に本発明によるカラーバーコードキャラクタコード表の一例を示す。本コード表は、あくまでも一例であり、1つのデータとして扱うバーコードの本数を増やすことで、キャラクタコード表を大きくすることができるため、ASCIIコードや漢字への変換も可能である。
【0036】
図4で示したカラーバーコードキャラクタコード表は、2本のバーコードを1組としてキャラクタに変換した場合の例である。
【0037】
例えば、カラーバーコードが「紫」「赤」であった場合は、「A」のキャラクタを示し、「黒」「緑」の場合は、「Z」のキャラクタを示す。また、カラーバーコードが「黒」「黒」の場合は、スタートデータまたはストップデータを示しており、カラーバーコードの両端に使用することで、カラーバーコードであることの識別や、余分なデータの読み出し・解析を防ぐことに役立たせている。
【0038】
図5に本発明によるカラーバーコードの印字例を示す。本カラーバーコードの図は、一例であり、本出願が図5に示した印字形式にとらわれるものではない。本カラーバーコード印字例は、キャラクタ「0123DEFG」を印字した場合の例であり、一番細いバーの太さを同じにしたときの、各形式による印字長さの違いを示した図である。尚、一番細いバーの太さ最小値は、バーコードを撮影するカメラモジュールに依存するため、各形式の一番細いバーの太さを統一している。
【0039】
図5(a)は、本発明によるカラーバーコードの印字例であり、図4に示したキャラクタコード表を用いてキャラクタ→カラーバーコードに変換した場合の例である。本例では、カラーバーコードの両端に、スタートデータとストップデータを付加することで、バーコードのデータエリアを限定するようになっている。また、本例では、カラーバーコードを2本で1組のデータとして扱うように設定しているため、カラーバーコードの組合せが、「黒」「黒」で示されるスタートデータ/ストップデータの半分の太さがバーコードの1本分に相当することになり、バーコード1本の太さを定義する役目も果たしている。
【0040】
図5(b)は、一般的に使われている、従来のCODE39形式でバーコードを印字した場合の図である。図5(a)の本発明によるカラーバーコードと比べて、かなり長くなってしまうため、携帯電話機に搭載されているカメラの様に、撮影範囲の狭いカメラでは、バーコード全体を撮影することができない。
【0041】
図5(c)は、図5(b)同様、一般的に使われている、従来のCODE128形式でバーコードを印字した場合の図である。CODE128形式でもかなり長くなってしまい、携帯電話機に搭載されるカメラモジュールでの撮影は困難である。
【0042】
上述の説明の通り、バーコードをカラー化することにより、バーコードの長さを短くすることができ、より多くのデータを読み出すことが可能になる。
【0043】
次に、本発明の他の実施形態について説明する。図6に、その他の実施例によるカラーバーコード印字例を示す。携帯電話機の構成・動作は、前述と同じであるが、相違点は、カラーバーコードにRGB補正データを付加した点である。スタートデータの前に赤いバー1本、緑のバー1本、青いバー1本の計3本を配置させて、この3本を撮影することで、R成分、G成分、B成分それぞれのデータ判定しきい値を最適値にすることが可能となっている。
【0044】
一般的に、カメラで撮影された画像データは、周囲の明るさなどの撮影環境によって、大きく変動してしまい、正確に色を識別させることが難しいが、本RGB補正データにより、より正確にカラーバーコードの読み出しを実現できるようになっている。
【0045】
【発明の効果】
以上の説明から明らかなように、特に携帯電話機に搭載されている従来のカメラの場合、バーコードや文字を認識させるためには、接写させる必要があるため、撮影可能範囲が狭められてしまい、バーコードから多くの情報を得ることができなかったが、本発明のカメラ付き携帯電話機によれば、携帯電話機のカメラでバーコード認識させる場合に、短いバーコードであっても、より多くの情報を得ることが可能となる。また、最近では2次元バーコードを使用することで、狭い範囲に多くの情報を入れることができるようになってきているが、本発明の構成と手段を応用することで、2次元バーコードの各ドットをカラー化し、より多くの情報を入れることが可能となる。
【0046】
請求項1記載のカメラ付き携帯電話機によれば、請求項1記載のカメラ付き携帯電話機は、撮影画像を画像データとして入力する画像入力手段と、画像入力手段の撮影動作を制御するとともに、画像入力手段により入力された画像データをデジタル変換する撮影動作制御手段と、撮影動作制御手段によりデジタル変換された画像データと、データ判定しきい値とを、3原色である赤・緑・青のRGBデータ毎にそれぞれ比較・判定する比較判定手段と、比較判定手段の判定結果により画像データがカラーバーコードであるか否かを解析する解析手段と、解析手段の解析結果により画像データがカラーバーコードである場合は、カラーバーコードからRGBデータを読み出し、文字に変換する文字変換手段とを有することを特徴としているので、カラー化されたバーコードから多くの情報を読み取ることができる。
【0047】
請求項2記載のカメラ付き携帯電話機によれば、請求項1記載のカメラ付き携帯電話機において、比較判定手段がカラーバーコードのRGBデータについて色判定を行い、色判定に使用するためのデータ判定しきい値を変更することを特徴としているので、撮影環境に合わせた最適なしきい値にすることができる。
【0048】
請求項3記載のカメラ付き携帯電話機によれば、請求項1または2記載のカメラ付き携帯電話機において、比較判定手段は、カラーバーコードにRGB補正データを付加し、前記RGB補正データを撮影することによって、最適なデータ判定しきい値を自動的に算出することを特徴としているので、より正確にカラーバーコードの読み出しを実現できる。
【0049】
請求項4記載のカメラ付き携帯電話機によれば、請求項1記載のカメラ付き携帯電話機において、文字変換手段は、メモリ内に格納されているキャラクタテーブルに従って、RGBデータを文字に変換することを特徴としているので、カラー化されたバーコードから多くの情報を読み取ることができる。
【0050】
請求項5記載のカメラ付き携帯電話機によれば、請求項4記載のカメラ付き携帯電話機において、文字変換手段は、メモリ内に格納された複数のキャラクタテーブルに従って、複数のバーコード形式に対応することを特徴としているので、より多くの種類のバーコードを読み出すことができる。
【0051】
請求項6記載のカメラ付き携帯電話機によれば、請求項4記載のカメラ付き携帯電話機において、文字変換手段によって変換された文字データに従うことにより携帯電話機の各動作を制御することを特徴としているので、バーコード内の情報を読み出して機能制御を行うことができる。
【0052】
請求項7記載のカメラ付き携帯電話機によれば、請求項3記載のカメラ付き携帯電話機において、RGB補正データはカラーバーコードのスタートデータの前に配置することを特徴としているので、より正確にカラーバーコードの読み出しを実現できる。
【0053】
請求項8記載のカメラ付き携帯電話機によれば、請求項1から7のいずれか1項に記載のカメラ付き携帯電話機において、データ判定しきい値の増加を可能とすることを特徴としているので、より細かな色判定を行うことができる。
【0054】
請求項9記載のカメラ付き携帯電話機によれば、請求項1記載のカメラ付き携帯電話機において、解析手段は、バーコード上のスタートデータおよびストップデータの有無を検出することによって、画像データを解析することを特徴としているので、カラーバーコードであることの識別や余分なデータの読み出し・解析を防止できる。
【0055】
請求項10記載のカメラ付き携帯電話機によれば、請求項4または5記載のカメラ付き携帯電話機において、文字変換手段は、キャラクタテーブルを拡張することによって、アスキーコードや漢字コードへの変換を可能とすることを特徴としているので、より多くのコード変換が可能となる。
【図面の簡単な説明】
【図1】本発明の実施形態である携帯電話機の構成を示すブロック図である。
【図2】本発明の実施形態である携帯電話機の動作を表すフローチャートである。
【図3】本発明によるカラーバーコード読み取り方法の説明図である。
【図4】本発明によるカラーバーコードキャラクタコード表の例を示す説明図である。
【図5】本発明によるカラーバーコードの印字例を示す説明図である。
【図6】本発明の他の実施形態によるカラーバーコードの印字例を示す説明図である。
【図7】従来の携帯電話機の構成を示すブロック図である。
【符号の説明】
1 電池パック
2 ANT部
3 TRX
4 ベースバンド処理部
5 MCPU
6 レシーバ
7 マイク
8 表示部
9 ユーザIF部
10 番号ボタン
11 時計
12 ドライバ部
13 サウンダ
14 バイブ
15 メモリ
16 充電制御部
17 カメラ制御部
18 カメラモジュール部
19 RGB判定部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a camera-equipped mobile phone that recognizes a colorized barcode captured by a camera.
[0002]
[Prior art]
2. Description of the Related Art In recent years, mobile phones equipped with a camera have become widespread, and it has become common to add a function using photographing data of the camera. As a function using camera photographing data, a mobile phone that shoots a barcode in a close-up mode and reads out the barcode data has started to appear.
[0003]
As a conventional example of reading a print code, a color code of a book is captured by a CCD video camera, identified by a color code identification unit, and a dictionary in a field corresponding to the identified color code is included in a plurality of dictionaries included in the interactive dictionary. There is an "information processing system and information processing method" which is selected from the following and referred to (for example, see Patent Document 1).
[0004]
[Patent Document 1]
JP-A-9-6798
[Problems to be solved by the invention]
However, if a large amount of information is put in a generally used one-dimensional barcode, the barcode becomes long, and there is an inconvenience that the barcode cannot fit within the shooting range of the close-up mode. In addition, if the image is taken away from the barcode in order to widen the imaging range, the barcode reading accuracy is reduced, so that the readable barcode information is limited.
[0006]
In order to solve the above-described problems, a method called a two-dimensional barcode has been used. However, since a method of converting a character into a two-dimensional barcode is complicated, and printing accuracy is required. There is a problem that a printer for printing a two-dimensional bar code is expensive.
[0007]
Further, the “information processing system and information processing method” described in Patent Literature 1 specifies a word that cannot be specified only by voice using other information, and reads a colorized barcode. No means.
[0008]
The present invention has been made in view of the above circumstances, and has as its object to provide a camera-equipped mobile phone.
[0009]
[Means for Solving the Problems]
In order to solve such a problem, a camera-equipped mobile phone according to claim 1 controls an image inputting means for inputting a captured image as image data and a photographing operation of the image inputting means, and receives an image input by the image inputting means. A photographing operation control means for converting the image data into digital data; comparing the image data digitally converted by the photographing operation control means with a data determination threshold for each of the three primary colors of red, green and blue RGB data; Comparing and judging means, analyzing means for analyzing whether or not the image data is a color barcode based on the judgment result of the comparing and judging means; And character conversion means for reading RGB data from the barcode and converting the data into characters.
[0010]
According to a second aspect of the present invention, there is provided the camera-equipped mobile phone according to the first aspect, wherein the comparing and judging means performs a color judgment on the RGB data of the color barcode, and a data judgment threshold value used for the color judgment. It is characterized by changing.
[0011]
The camera-equipped mobile phone according to claim 3 is the camera-equipped mobile phone according to claim 1 or 2, wherein the comparing and determining means adds RGB correction data to a color barcode and shoots the RGB correction data. It is characterized in that an optimum data determination threshold is automatically calculated.
[0012]
According to a fourth aspect of the present invention, in the camera-equipped mobile phone according to the first aspect, the character conversion means converts the RGB data into characters according to a character table stored in a memory. .
[0013]
According to a fifth aspect of the present invention, in the camera-equipped mobile phone according to the fourth aspect, the character conversion means supports a plurality of barcode formats according to a plurality of character tables stored in a memory. And
[0014]
According to a sixth aspect of the present invention, there is provided the camera-equipped mobile phone according to the fourth aspect, wherein each operation of the mobile phone is controlled by following the character data converted by the character conversion means.
[0015]
According to a seventh aspect of the present invention, there is provided the mobile phone with a camera according to the third aspect, wherein the RGB correction data is arranged before the start data of the color barcode.
[0016]
According to an eighth aspect of the present invention, there is provided a camera-equipped mobile phone according to any one of the first to seventh aspects, wherein the data determination threshold value can be increased.
[0017]
According to a ninth aspect of the present invention, in the camera-equipped mobile telephone according to the first aspect, the analyzing means analyzes the image data by detecting the presence or absence of start data and stop data on the barcode. Features.
[0018]
According to a tenth aspect of the present invention, there is provided the camera-equipped mobile phone according to the fourth or fifth aspect, wherein the character conversion means enables conversion into ASCII codes and kanji codes by expanding a character table. It is characterized by.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
A circuit block diagram of a mobile phone charger and a mobile phone body will be described with reference to FIG. 7 regarding the configuration of the embodiment of the present invention.
[0020]
The battery pack 1 is a power source of the mobile phone, and is connected to each circuit. The ANT unit 2 transmits and receives wireless signals. The TRX 3 and the baseband processing unit 4 modulate and demodulate the input and output radio signals. The MCPU 5 is a circuit that mainly controls the functional operation of the mobile phone, and can transmit control parameters and commands of the camera module unit 18 to the camera control unit 17. The receiver 6 is a receiving section, and the microphone 7 is a transmitting section. The display unit 8 displays a telephone number, a clock, a service area / out of service area, a charging state / remaining battery level, a telephone directory, mail contents, and an image captured by a camera.
[0021]
The user IF unit 9 is a circuit that mainly recognizes an input of the number button 10 and transmits the input to the MCPU 5. The clock 11 is a circuit that transmits information on the date and time to the MCPU 5. The driver unit 12 is a circuit that receives a notification command at the time of an incoming call from the MCPU 4 and drives the sounder 13 or the vibrator 14. The sounder 13 is a speaker that emits a ring tone, and the vibrator 14 is a vibration motor that notifies an incoming call by vibration. The memory 15 stores data such as user information, a telephone directory, mail, downloaded images and music data, images captured by a camera, and parameters for camera control.
[0022]
The charging control unit 16 is a circuit that controls charging of the battery pack 1, detects connection with a charger, and notifies the MCPU 5 that charging is possible. Further, the voltage and the charging current of the battery pack 1 are monitored, and charging is continued until the battery voltage and the charging current reach a predetermined value. Further, it is possible to perform charge control in response to a charge start / stop signal from the MCPU 5.
[0023]
The camera control unit 17 is a circuit that controls the camera module unit 18, and can control the operation of the camera module unit 18 according to the camera parameters received from the MCPU 5. Further, image data photographed by the camera module section 18 is converted into digital data and transmitted to the MCPU 5.
[0024]
In this configuration, the camera-captured image is displayed on the display unit 8 via the MCPU 5, but the camera control unit 17 is provided with an image processing function such as insertion of frames and characters in image data and a digital zoom function. The image may be directly displayed on the display unit 8 from the control unit 17. The camera module section 18 can operate in accordance with a camera control signal received from the camera control section 17 and performs close-up shooting of a barcode by performing telephoto / close-up shooting such as focus adjustment and optical zoom. Is possible.
[0025]
FIG. 1 shows a circuit block diagram of a mobile phone according to the present invention. The circuit block diagram is almost the same as that of the conventional mobile phone, except that an RGB determination unit 19 is mounted.
[0026]
The RGB determination unit 19 receives the image data digitally converted by the camera control unit 17, and compares the R component, the G component, and the B component of the image data with a preset data determination threshold value. It is possible to determine whether it is low. The determination result is transmitted to the MCPU 5 via the camera control unit 17. In addition, the data determination threshold can be set to a value transmitted from the MCPU 5 via the camera control unit 17. Note that the RGB determination unit 19 is built in the camera control unit 17 and may be a single chip.
[0027]
Next, the operation of the embodiment of the present invention will be described. FIG. 2 is a flowchart showing the operation of the embodiment according to the present invention.
[0028]
When reading of a color barcode is started by a user operation (T201), image data captured by the camera module unit 18 is sent to the camera control unit 17, and the image data is converted into digital data by the camera control unit 17. (T202). The digitally converted image data is sent to the RGB determination unit 19, and compared with the RGB threshold value received from the MCPU 5 in advance (T203). A method of comparing the image data with the RGB thresholds will be described later.
[0029]
The determination result of the image data is transmitted to the MCPU 5 (T204), and the MCPU 5 analyzes whether the image data is a color barcode (T205). Various analysis methods are conceivable depending on the type of barcode. For example, a method based on detection of the presence or absence of start data and stop data can be used.
[0030]
As a result of the analysis, if the image data is not a color barcode (T205, NO), a process for reading failure is performed. On the other hand, as a result of the analysis, if the image data is a color barcode (T205, YES), the MCPU 5 converts the color barcode data into a character (T206), and performs a process at the time of successful reading. An example of the character conversion method will be described later.
[0031]
Next, a method of reading a color barcode according to the present invention will be described with reference to FIG.
[0032]
FIG. 3 shows image data when a color barcode in which red, green, blue, purple, yellow, light blue, and black are printed on a white background is plotted on the vertical axis: red intensity (R Component), green intensity (G component), blue intensity (B component), the horizontal axis: a graph showing the horizontal coordinates of the barcode, and the result determined by comparing with an RGB threshold value. This is a table.
[0033]
In this explanatory diagram, for convenience of explanation, each of the RGB threshold values is set to one, and binary data of strong / weak is used. By judging as value data, it is also possible to perform more detailed color judgment.
[0034]
Further, since the RGB threshold value can be changed to the level received from the MCPU 5, it can be set to an optimal threshold value according to the shooting environment. When a white portion of the background is photographed, all the R, G, and B components become strong, and the result of the color determination is “white”. Similarly, the color determination is “red” when only the R component is strong, “green” when only the G component is strong, and “blue” when only the B component is strong. Further, according to the combination of RGB, the color judgment is “purple” when the R component and the B component are strong, “yellow” when the R component and the G component are strong, and “light blue” when the G component and the B component are strong. . If all the RGB components are weak, the determination is "black". As described above, the color judgment is performed based on the combination of the RGB data.
[0035]
Next, FIG. 4 shows an example of a color barcode character code table according to the present invention. This code table is merely an example, and the character code table can be enlarged by increasing the number of barcodes handled as one piece of data. Therefore, conversion to ASCII codes and kanji is also possible.
[0036]
The color bar code character code table shown in FIG. 4 is an example of a case where two bar codes are converted into a character as one set.
[0037]
For example, if the color barcode is “purple” or “red”, it indicates the character “A”, and if it is “black” or “green”, it indicates the character “Z”. When the color barcode is “black” or “black”, it indicates start data or stop data.Use at both ends of the color barcode to identify it as a color barcode, To prevent the reading and analysis of the data.
[0038]
FIG. 5 shows an example of printing a color barcode according to the present invention. The illustration of the color barcode is an example, and the present application is not limited to the print format shown in FIG. This color barcode printing example is an example in which the character “0123DEFG” is printed, and is a diagram showing a difference in printing length between the formats when the thinnest bar has the same thickness. Since the minimum value of the thinnest bar depends on the camera module that captures the barcode, the thickness of the thinnest bar in each format is unified.
[0039]
FIG. 5A shows an example of printing a color barcode according to the present invention, which is an example of a case where a character is converted into a color barcode using the character code table shown in FIG. In this example, start data and stop data are added to both ends of the color barcode, thereby limiting the data area of the barcode. Further, in this example, since the setting is such that two color barcodes are handled as one set of data, the combination of the color barcodes is half of the start data / stop data indicated by “black” and “black”. Corresponds to one barcode, and also serves to define the thickness of one barcode.
[0040]
FIG. 5B is a diagram when a barcode is printed in a conventional CODE39 format which is generally used. Since the length of the barcode is considerably longer than that of the color barcode according to the present invention shown in FIG. 5A, a camera having a narrow shooting range, such as a camera mounted on a mobile phone, can shoot the entire barcode. Can not.
[0041]
FIG. 5C shows a case where a barcode is printed in a commonly used conventional CODE128 format, similarly to FIG. 5B. Even the CODE 128 format is considerably long, and it is difficult to shoot with a camera module mounted on a mobile phone.
[0042]
As described above, by coloring the barcode, the length of the barcode can be reduced, and more data can be read.
[0043]
Next, another embodiment of the present invention will be described. FIG. 6 shows a color barcode printing example according to another embodiment. The configuration and operation of the mobile phone are the same as those described above, except that RGB correction data is added to the color barcode. Three red bars, one green bar and one blue bar are arranged before the start data, and the three components are photographed to determine the data of each of the R component, the G component, and the B component. The threshold value can be set to an optimum value.
[0044]
In general, image data captured by a camera greatly fluctuates depending on a surrounding environment such as brightness, and it is difficult to accurately identify a color. However, color correction is more accurately performed by the RGB correction data. Barcode reading can be realized.
[0045]
【The invention's effect】
As is apparent from the above description, in particular, in the case of the conventional camera mounted on the mobile phone, in order to recognize the barcode or the character, it is necessary to take a close-up, so the photographable range is narrowed, Although much information could not be obtained from the barcode, according to the camera-equipped mobile phone of the present invention, when a barcode is recognized by the camera of the mobile phone, even if the barcode is short, more information is obtained. Can be obtained. Recently, by using a two-dimensional barcode, a lot of information can be put in a narrow range. However, by applying the configuration and means of the present invention, the two-dimensional barcode can be used. Each dot is colored, and more information can be entered.
[0046]
According to the camera-equipped mobile phone according to the first aspect, the camera-equipped mobile phone according to the first aspect controls an image inputting means for inputting a captured image as image data, and a photographing operation of the image inputting means. Photographing operation control means for digitally converting the image data inputted by the means, image data digitally converted by the photographing operation control means, and a data determination threshold value, the RGB data of red, green and blue which are three primary colors A comparison / judgment means for comparing and judging each time, an analysis means for analyzing whether or not the image data is a color barcode based on the judgment result of the comparison / judgment means, and the image data being a color barcode based on the analysis result of the analysis means. In some cases, it has character conversion means for reading RGB data from a color barcode and converting it into characters. It can be read as much information from the color of barcode.
[0047]
According to the camera-equipped mobile phone of the second aspect, in the camera-equipped mobile phone of the first aspect, the comparison and judgment means performs color judgment on the RGB data of the color barcode, and judges data for use in color judgment. Since the threshold value is changed, an optimal threshold value can be set according to the shooting environment.
[0048]
According to the camera-equipped mobile phone according to the third aspect, in the camera-equipped mobile phone according to the first or second aspect, the comparing and judging means adds the RGB correction data to the color barcode and shoots the RGB correction data. Thus, since the optimum data determination threshold value is automatically calculated, the color barcode can be read more accurately.
[0049]
According to the camera-equipped mobile phone of the fourth aspect, in the camera-equipped mobile phone of the first aspect, the character conversion means converts the RGB data into characters according to a character table stored in a memory. Therefore, a lot of information can be read from the colorized barcode.
[0050]
According to the camera-equipped mobile phone set forth in claim 5, in the camera-equipped mobile phone set forth in claim 4, the character conversion means supports a plurality of barcode formats according to a plurality of character tables stored in a memory. Therefore, more types of barcodes can be read.
[0051]
According to the camera-equipped mobile phone of the sixth aspect, in the camera-equipped mobile phone of the fourth aspect, each operation of the mobile phone is controlled by following the character data converted by the character conversion means. The function control can be performed by reading information in the barcode.
[0052]
According to the camera-equipped mobile phone according to the seventh aspect, in the camera-equipped mobile phone according to the third aspect, the RGB correction data is arranged before the start data of the color barcode. Barcode reading can be realized.
[0053]
According to the camera-equipped mobile phone according to the eighth aspect, in the camera-equipped mobile phone according to any one of the first to seventh aspects, the data determination threshold value can be increased. More detailed color judgment can be performed.
[0054]
According to the camera-equipped mobile phone of the ninth aspect, in the camera-equipped mobile phone of the first aspect, the analysis means analyzes the image data by detecting the presence or absence of start data and stop data on the barcode. Therefore, identification of a color barcode and reading / analysis of extra data can be prevented.
[0055]
According to the camera-equipped mobile phone of the tenth aspect, in the camera-equipped mobile phone of the fourth or fifth aspect, the character conversion means can convert the character code into an ASCII code or a kanji code by expanding a character table. Therefore, more code conversion is possible.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a mobile phone according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating an operation of the mobile phone according to the embodiment of the present invention.
FIG. 3 is an explanatory diagram of a color barcode reading method according to the present invention.
FIG. 4 is an explanatory diagram showing an example of a color barcode character code table according to the present invention.
FIG. 5 is an explanatory view showing a printing example of a color barcode according to the present invention.
FIG. 6 is an explanatory diagram showing a printing example of a color barcode according to another embodiment of the present invention.
FIG. 7 is a block diagram showing a configuration of a conventional mobile phone.
[Explanation of symbols]
1 Battery pack 2 ANT section 3 TRX
4 Baseband processing unit 5 MCPU
6 Receiver 7 Microphone 8 Display unit 9 User IF unit 10 Number button 11 Clock 12 Driver unit 13 Sounder 14 Vibe 15 Memory 16 Charging control unit 17 Camera control unit 18 Camera module unit 19 RGB judgment unit

Claims (10)

撮影画像を画像データとして入力する画像入力手段と、
前記画像入力手段の撮影動作を制御するとともに、前記画像入力手段により入力された前記画像データをデジタル変換する撮影動作制御手段と、
前記撮影動作制御手段によりデジタル変換された前記画像データと、データ判定しきい値とを、3原色である赤・緑・青のRGBデータ毎にそれぞれ比較・判定する比較判定手段と、
前記比較判定手段の判定結果により前記画像データがカラーバーコードであるか否かを解析する解析手段と、
前記解析手段の解析結果により前記画像データがカラーバーコードである場合は、前記カラーバーコードから前記RGBデータを読み出し、文字に変換する文字変換手段と、
を有することを特徴とするカメラ付き携帯電話機。
Image input means for inputting a captured image as image data,
A photographing operation control unit that controls a photographing operation of the image input unit and converts the image data input by the image input unit into a digital signal.
Comparing and judging means for comparing and judging the image data digitally converted by the photographing operation control means and a data judgment threshold value for each of the three primary colors of red, green and blue RGB data;
Analysis means for analyzing whether or not the image data is a color barcode according to the determination result of the comparison determination means,
When the image data is a color barcode according to the analysis result of the analysis unit, a character conversion unit that reads the RGB data from the color barcode and converts the RGB data into characters.
A mobile phone with a camera, characterized by having:
前記比較判定手段は、前記カラーバーコードの前記RGBデータについて色判定を行い、前記色判定に使用する前記データ判定しきい値を変更することを特徴とする請求項1記載のカメラ付き携帯電話機。2. The camera-equipped mobile phone according to claim 1, wherein the comparison determination unit performs a color determination on the RGB data of the color barcode, and changes the data determination threshold used for the color determination. 前記比較判定手段は、前記カラーバーコードにRGB補正データを付加し、前記RGB補正データを撮影することによって、最適な前記データ判定しきい値を自動的に算出することを特徴とする請求項1または2記載のカメラ付き携帯電話機。2. The method according to claim 1, wherein the comparing and judging means adds the RGB correction data to the color barcode, and automatically calculates the optimum data judgment threshold by photographing the RGB correction data. Or the mobile phone with a camera according to 2. 前記文字変換手段は、メモリ内に格納されているキャラクタテーブルに従って、前記RGBデータを文字に変換することを特徴とする請求項1記載のカメラ付き携帯電話機。2. The camera-equipped mobile phone according to claim 1, wherein the character conversion unit converts the RGB data into characters according to a character table stored in a memory. 前記文字変換手段は、メモリ内に格納された複数のキャラクタテーブルに従って、複数のバーコード形式に対応することを特徴とする請求項4記載のカメラ付き携帯電話機。5. The camera-equipped mobile phone according to claim 4, wherein the character conversion unit supports a plurality of barcode formats according to a plurality of character tables stored in a memory. 前記文字変換手段によって文字変換された文字データに従って、前記携帯電話機の各動作を制御することを特徴とする請求項4記載のカメラ付き携帯電話機。5. The camera-equipped mobile phone according to claim 4, wherein each operation of the mobile phone is controlled according to the character data converted by the character conversion means. 前記RGB補正データは、前記カラーバーコードのスタートデータの前に配置することを特徴とする請求項3記載のカメラ付き携帯電話機。4. The camera-equipped mobile phone according to claim 3, wherein the RGB correction data is arranged before start data of the color barcode. 前記データ判定しきい値の増加を可能とすることを特徴とする請求項1から7のいずれか1項に記載のカメラ付き携帯電話機。8. The camera-equipped mobile phone according to claim 1, wherein the data determination threshold can be increased. 前記解析手段は、バーコード上のスタートデータおよびストップデータの有無を検出することによって、前記画像データを解析することを特徴とする請求項1記載のカメラ付き携帯電話機。2. The camera-equipped mobile phone according to claim 1, wherein the analysis unit analyzes the image data by detecting presence / absence of start data and stop data on a barcode. 前記文字変換手段は、前記キャラクタテーブルを拡張することによって、アスキーコードや漢字コードへの変換を可能とすることを特徴とする請求項4または5に記載のカメラ付き携帯電話機。6. The camera-equipped mobile phone according to claim 4, wherein the character conversion unit is capable of converting the character table into an ASCII code or a kanji code by expanding the character table.
JP2002364425A 2002-12-16 2002-12-16 Portable telephone with camera Pending JP2004199203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002364425A JP2004199203A (en) 2002-12-16 2002-12-16 Portable telephone with camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002364425A JP2004199203A (en) 2002-12-16 2002-12-16 Portable telephone with camera

Publications (1)

Publication Number Publication Date
JP2004199203A true JP2004199203A (en) 2004-07-15

Family

ID=32762286

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002364425A Pending JP2004199203A (en) 2002-12-16 2002-12-16 Portable telephone with camera

Country Status (1)

Country Link
JP (1) JP2004199203A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4499825B1 (en) * 2009-09-30 2010-07-07 広行 遠藤 2D code, 2D code reader and program
WO2011040032A1 (en) * 2009-09-30 2011-04-07 株式会社シフト Two-dimensional code, two-dimensional code reader, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4499825B1 (en) * 2009-09-30 2010-07-07 広行 遠藤 2D code, 2D code reader and program
WO2011040032A1 (en) * 2009-09-30 2011-04-07 株式会社シフト Two-dimensional code, two-dimensional code reader, and program
JP2011076395A (en) * 2009-09-30 2011-04-14 Hiroyuki Endo Two-dimensional code, two-dimensional code reader and program
US8714456B2 (en) 2009-09-30 2014-05-06 Shift Co. Ltd. Two-dimensional code, two-dimensional code reader, and program

Similar Documents

Publication Publication Date Title
JP4337879B2 (en) Multi-colored two-dimensional barcode and video display device, information terminal device, display method, decoding method, information communication system, and information communication method
US20100110212A1 (en) Camera device
US7095982B2 (en) Communication apparatus for communication with communication network, image pickup apparatus for inter-apparatus communication, and communication apparatus for communication with the same image pickup apparatus
JP4282610B2 (en) CAMERA, PORTABLE COMMUNICATION DEVICE EQUIPPED WITH THE CAMERA, SHOOTING METHOD AND PROGRAM
JP2004056696A (en) Portable terminal, information reading program and recording medium with the program recorded thereon
EP2130383A1 (en) Apparatus and method for image color correction in a portable device
JP2007306461A (en) Mobile terminal with camera and photographing mode particularizing method thereof
US7432954B2 (en) Communications terminal having image shooting function and program for the communications terminal
US7508420B2 (en) Image processing apparatus
JP2003169187A (en) Information processing terminal
JP4153271B2 (en) Portable terminal device, electronic device, two-dimensional barcode display method, information display program, and recording medium recording the program
KR20100028315A (en) Method for taking pictures in mobie communication terminal having camera module and apparatus therefor
US20120188440A1 (en) Camera device, mobile terminal and ae controlling method
JP4113565B2 (en) Mobile phone
JP2004199203A (en) Portable telephone with camera
JP4251643B2 (en) Image capturing apparatus and program
JP3717919B2 (en) Mobile phone
KR100597810B1 (en) Camera phone with auto focus
KR100399107B1 (en) Wireless cellular phone for having digital camera function
KR100800896B1 (en) Apparatus and method message transmission in mobile telephone
KR101015753B1 (en) Mobile terminal having a function of transmitting a document image and image converting method therefor
JP2010258753A (en) Portable terminal and projection program
JP2009003770A (en) Color two-dimensional code reader, its method of reading, and electronic camera
JP2006025258A (en) Print system
JP2004015284A (en) Digital camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061107

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070306