Nothing Special   »   [go: up one dir, main page]

JP3691802B2 - Automatic framing camera - Google Patents

Automatic framing camera Download PDF

Info

Publication number
JP3691802B2
JP3691802B2 JP2002056746A JP2002056746A JP3691802B2 JP 3691802 B2 JP3691802 B2 JP 3691802B2 JP 2002056746 A JP2002056746 A JP 2002056746A JP 2002056746 A JP2002056746 A JP 2002056746A JP 3691802 B2 JP3691802 B2 JP 3691802B2
Authority
JP
Japan
Prior art keywords
person
distance
camera
photographing
face
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
JP2002056746A
Other languages
Japanese (ja)
Other versions
JP2003259190A (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.)
Canon Finetech Nisca Inc
Original Assignee
Nisca 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 Nisca Corp filed Critical Nisca Corp
Priority to JP2002056746A priority Critical patent/JP3691802B2/en
Priority to US10/230,326 priority patent/US6606458B2/en
Publication of JP2003259190A publication Critical patent/JP2003259190A/en
Application granted granted Critical
Publication of JP3691802B2 publication Critical patent/JP3691802B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は自動フレーミングカメラに係り、特に、人物の顔を探し出して自動的にフレーミングする自動フレーミングカメラに関する。
【0002】
【従来の技術】
近年、人の顔の画像情報を元に本人であるか否かを自動的に認証する認証システムの開発が進められている。このシステムは、例えば、特定の部屋に入室が許可された人物が入室する際に、鍵、暗証番号入力や指紋照合等に代わって考案されたものであり、これらの方法と比べて、出入りするドアの前に立つだけで本人を識別してドアを開錠するので、簡易であり、かつ、セキュリティの度合いも高い。
【0003】
このような認証システムでは、認証に必要な画像情報の情報量が多ければ誤判断を防ぐことができるので、カメラの方向を人物の顔に向けて画角内に大きくフレーミングして撮影する必要があり、それを自動的に行うには、人物の顔を自動的にフレーミングすることが必要となる。このような認証用カメラとして、被写体を撮影するための撮影手段がパン方向又はチルト方向に撮影方向を変えて、人物の顔の位置(方向)を探し出して撮影する自動フレーミングカメラが考えられる。
【0004】
【発明が解決しようとする課題】
しかしながら、上記認証システムに用いられるカメラは人物に対して顔を向けることを要求するので、人物の顔を探し出してフレーミングするまでの処理時間が迅速でなければ、上記認証システムでの入室が迅速とならない。
【0005】
本発明は上記事案に鑑み、迅速に人物の顔をフレーミングすることができる自動フレーミングカメラを提供することを課題とする。
【0006】
【課題を解決するための手段】
上記課題を解決するために、本発明の第1の態様は、被写体を撮影するための撮影手段と、一方向の距離を測距する単一の測距手段と、前記撮影手段の撮影方向と前記測距手段の測距方向とを一体として変更する方向変更手段とを備え、人物の顔をフレーミングして撮影する自動フレーミングカメラにおいて、前記方向変更手段によりチルト方向下端でパン動作を行い前記測距手段による距離情報の変化から前記人物の体軸を探し出し、前記方向変更手段により前記体軸のチルト方向の下端又は上端からチルト動作を行い前記測距手段による距離情報の変化から前記人物の頭の頂部を探し出し、前記方向変更手段により前記探し出した頭の頂部から予め設定された角度分前記撮影方向を下げることで、前記人物の顔の略中央が前記撮影手段にフレーミングされることを特徴とする。
【0007】
本態様の自動フレーミングカメラは、被写体を撮影するための撮影手段と、一方向の距離を測距する単一の測距手段と、撮影手段の撮影方向と測距手段の測距方向とを一体として変更する方向変更手段とを備えている。本態様では、方向変更手段によりチルト方向下端でパン動作が行われ測距手段による距離情報の変化から人物の体軸が探し出され、方向変更手段により体軸のチルト方向の下端又は上端からチルト動作が行われ測距手段による距離情報の変化から人物の頭の頂部が探し出され、方向変更手段により探し出した頭の頂部から予め設定された角度分撮影方向を下げることで、人物の顔の略中央が撮影手段にフレーミングされて撮影手段で人物の顔が撮影される。本態様によれば、測距手段による距離情報の変化から人物の体軸に次いで人物の頭の頂部が探し出され、頭の頂部から所定角度分撮影方向を下げることで、人物の顔の略中央がフレーミングされるので、迅速に人物の顔の画像を得ることができる。
【0008】
また、上記課題を解決するために、本発明の第2の態様は、被写体を撮影するための撮影手段と、一方向の距離を測距する単一の測距手段と、前記撮影手段の撮影方向と前記測距手段の測距方向とを一体として変更する方向変更手段とを備え、人物の顔をフレーミングして撮影する自動フレーミングカメラにおいて、前記方向変更手段によりチルト方向下端でパン動作を行い前記測距手段による距離情報の変化から前記人物の体軸を探し出し、前記方向変更手段により前記体軸のチルト方向の下端又は上端からチルト動作を行い前記測距手段による距離情報の変化から前記人物の頭の頂部を探し出し、前記撮影手段の撮影方向が前記測距手段の測距方向に対して所定角度分下げて設定されていることで、前記人物の頭の頂部を探し出したときに前記人物の顔の略中央が前記撮影手段にフレーミングされることを特徴とする。
【0009】
本態様では、方向変更手段によりチルト方向下端でパン動作が行われ測距手段による距離情報の変化から人物の体軸が探し出され、方向変更手段により体軸のチルト方向の下端又は上端からチルト動作が行われ測距手段による距離情報の変化から人物の頭の頂部が探し出される。撮影手段の撮影方向は測距手段の測距方向に対して所定角度分下げて設定されているので、人物の頭の頂部が探し出されると人物の顔の略中央が撮影手段にフレーミングされる。本態様によれば、撮影手段の撮影方向は測距手段の測距方向に対して所定角度分下げて設定されているので、第1の態様のように、方向変更手段により探し出した頭の頂部から所定角度分撮影方向を下げて人物の顔の略中央部を撮影手段にフレーミングする必要がなく、第1の態様に比べより迅速に人物の顔の画像を得ることができる。このような所定角度は、例えば、測距手段の測距可能距離が予め定められている場合に、この測距可能距離内において撮影手段と撮影手段の被写体のうちの人物との距離をL1、人物の顔の略中央から人物の頭の頂部までの距離をL2としたときに、tan−1(L2/L1)で与えられる。
【0011】
【発明の実施の形態】
(第1実施形態)
以下、図面を参照して、本発明を、人物の顔を自動的にフレーミングする自動フレーミングカメラに適用した第1の実施の形態について説明する。
【0012】
(構成)
図1に示すように、図示しない壁面には人が出入可能なドア33が具設されている。ドア33の近傍(左側)には、ドア33の前に立った人物Pの顔を撮影する自動フレーミングカメラ(以下、カメラと略称する。)1が配置されている。カメラ1の上側には、人物Pにカメラ1の方向に顔を向けるよう指示するステッカ35が壁面に貼付されている。また、ドア33の前の床面には、カメラ1が人物Pの顔を撮影可能な認証エリア34が矩形状に画成されている。認証エリア34の床面には、認証エリア34内にいる人物Pを検出可能な圧力スイッチ(図4の符号31参照)が埋設されている。カメラ1で撮影された人物Pの顔の画像情報は、図示しないインターフェースを介してパーソナルコンピュータ等の図示しないホスト部へ送出される。ホスト部では、人物Pの顔の特徴量等のデータを抽出するために人物Pの顔の画像情報についての処理がなされ、ホスト部のデータベースに蓄積された人物Pの特徴量と一致する場合にドア33が開錠される。
【0013】
図2に示すように、カメラ1は、後述するカメラ部本体を覆うヘルメット状のケーシング2aと、ケーシング2aの前方開口部を覆う半球状のフード2bとを備えている。ケーシング2aには、例えば、ABS(アクリロニトリルブタジエンスチレン)等の材質を用いることができ、フード2bには、例えば、PC(ポリカーボネート)等の材質を用いることができる。
【0014】
図3に示すように、カメラ部本体は、カメラ部本体を支持し雲台として機能する板金製の第1フレーム7を有している。第1フレーム7は、中央部が矩形板状とされており、(カメラ部本体の)正面側の中央部に上方に折り曲げられた突起を有している。この突起の正面側には、赤外線を発光(投光)する赤外LED14が固定されている。一方、第1フレーム7の突起とは反対側(背面側)の中央部からは、上方に断面L字状の支持部材が延出されている。
【0015】
第1フレーム7の中央部で突起の近傍、及び、支持部材の正面側には、樹脂製の第2フレーム8をパン方向(水平方向)に回動可能に支持するパン方向支持軸10がそれぞれ上下方向に突設されており、パン方向支持軸10は、第1フレームの中央部及び支持部材で軸支されている。第2フレーム8は、正面側から見たときに、正面側中央を原点とした第1象限部が切り欠かれた概ね四角形の形状を有している。
【0016】
第2フレーム8の内側には、樹脂製で板状の第3フレーム9が配置されている。第3フレーム9の正面側中央部には、人物Pの顔を撮影するための撮影レンズ3の焦点位置に配置され、画像をフレーム転送又はインターライン転送によりビデオ出力するCCD等の撮像素子4が固定されている。撮影レンズ3には、通常、光学系内に挿入されるIR(赤外線)カットフィルタを欠いた固定焦点レンズが用いられている。
【0017】
また、第3フレーム9の正面側には、撮影レンズ3の両側に、3mm程度の赤外スポット光を発光する円柱状の発光素子5と、発光素子5からの反射赤外光を受光する円柱状の受光素子6とが固定されている。発光素子5、撮影レンズ3(撮像素子4を含む。以下、同じ。)及び受光素子6は、略水平方向に直線状に、かつ、同一方向に配設されている。発光素子5と受光素子6とは、アクティブ方式の測距ユニットを構成しており、測距ユニットの測距可能距離は約5m以内とされている。
【0018】
発光素子5及び受光素子6の筒胴外周側面からは、それぞれ撮像素子4の反対側に略水平方向に、第3フレームを第2フレームに対してチルト方向(垂直方向)に回動可能に支持するチルト方向支持軸11が突設されている。これらのチルト方向支持軸11は、同軸線上にあり、第2フレームに軸支されている。発光素子5及び受光素子6のチルト方向支持軸11の突設位置は、垂直方向で第2フレームに最も近い位置で、第3フレームに固定された全ての部材に対して垂直方向での重心位置(正面側から見たときに発光素子5及び受光素子6を上下に均等に2分する直径位置)にあたると共に、第3フレームに固定された全ての部材に対して奥行き方向での重心位置にあたる位置とされている。
【0019】
第3フレーム9の裏面側で中央からやや発光素子5寄りの位置からは、第3フレーム9とほぼ同じ厚さの板材がカメラ部本体の背面方向に突設されている。この板材の中央部には長穴が形成されている。また、第3フレーム9の裏面側には、撮像素子4の作動を制御するCCD作動制御回路及び後述するようにカメラ部本体を制御する制御回路(図4の符号20参照)の制御基板がマウントされている。なお、制御基板からはリード線が導出されており、上述したホスト部との接続を確保するためにケーシング2aの背面側に配置された図示しないコネクタ部に接続されている。
【0020】
第2フレーム8の一側(発光素子5側)からは、断面略く字状のモータ固定板が背面方向へ延出されている。モータ固定板の先端部には、第3フレーム9を略垂直方向にチルト駆動させるためのステッピングモータ(以下、チルトモータという。)12が、チルトモータ12から延出された円柱状の2本の固定アーム12bを介してねじ止め固定されている。チルトモータ12のモータ軸には、略L字状の駆動レバー12aが嵌着されている。駆動レバー12aの先端部は、上述した第3フレーム9の板材の長穴に挿入されている。
【0021】
一方、第1フレーム7の中央部の裏面側(底面側)には、第2フレーム9を略水平方向にパン駆動させるためのステッピングモータ(以下、パンモータという。)13が、パンモータ13から延出された図示しない円柱状の2本の固定アームを介してねじ止め固定されている。パンモータ13のモータ軸には、略L字状の駆動レバー13aが嵌着されている。駆動レバー13aの先端部は、撮影レンズ3と受光素子6とのほぼ中間点位置に対応する第2フレーム9の位置に形成されたU字状切り欠きに挿入されている。
【0022】
従って、第3フレーム9はチルト方向支持軸11で第2フレーム8に対してチルト方向に回動可能に軸支され、第2フレーム8はパン方向支持軸10で第1フレーム7に対して回動可能に軸支されているので、第3フレーム9に固定された発光素子5、撮影レンズ3及び受光素子6は、パンモータ13及びチルトモータ12の駆動により、水平及び垂直方向に一体に方向(向き)を変更可能な構造とされている。なお、チルトモータ12及びパンモータ13には、本例でのステッピングモータの代わりに駆動レバー12a、13aを半周(180°)未満回動させる回動位置センサー付きのメータを用いても良い。
【0023】
図4に示すように、カメラ部本体は、チルトモータ12及びパンモータ13の駆動、並びに、発光素子5、受光素子6及び発光LED14の赤外線の発光・受光を制御する制御回路20を有している。制御回路20は、CPU、RAM、ROM及びインターフェースを内蔵したマイクロコンピュータ(以下、マイコンという。)21、マイコン21からのH(ハイ)レベル信号により発光素子5を発光させるドライバ25、演算回路を有し受光素子6で受光した赤外反射光を光電変換して被写体までの距離を測距する測距デバイス22、マイコン21からのH(ハイ)レベル信号により赤外LED14を発光させるドライバ26、及び、チルトモータ12、パンモータ13を正逆転の双方向に駆動するドライバ28、29を含んで構成されている。マイコン21は測距デバイス22に接続されており、測距デバイス22は受光素子6に接続されている。また、マイコン21はドライバ25、26に接続されており、ドライバ25、26はそれぞれ発光素子5、発光LED14に接続されている。更に、マイコン21は、ドライバ28、29に接続されており、ドライバ28はパンモータ13に、ドライバ29はチルトモータ12にそれぞれ接続されている。なお、マイコン21は上述した圧力スイッチ31にも接続されている。
【0024】
(動作)
次に、フローチャートを参照して、本実施形態のカメラ1の動作について説明する。なお、マイコン21は既にROMに記憶されたプログラムや後述する設定値等のデータのRAMへの展開を行う初期処理を終了しており、カメラ部本体の撮像素子4を人物Pの顔に向かせてフレーミングし撮像するためのフレーミングルーチンが実行可能な状態にあるものとする。
【0025】
図5に示すように、このフレーミングルーチンでは、まずステップ102において、圧力スイッチ31がオン状態となるまで待機する。圧力スイッチ31がオン状態となると、次のステップ104において、ドライバ28、29にパンモータ13及びチルトモータ12を駆動させ、カメラ部本体(測距ユニット)が測距方向の初期位置の方向を向くように移動させ、パンモータ13及びチルトモータ12の駆動を停止させる。
【0026】
図6に示すように、測距ユニットの測距方向Dは、パン方向(水平方向)及びチルト方向(垂直方向)で測距許容範囲S内に規制されている。測距許容範囲Sは、パンモータ13及びチルトモータ12の可動範囲に依存している。なお、図6に示す測距許容範囲Sは、人物Pの位置における測距ユニットの測距範囲を模式的に示したものである。初期位置(初期方向)Sは、この測距許容範囲Sのチルト方向下端かつパン方向一端部の位置とされている。測距許容範囲Sのチルト方向下端は、測距ユニットの測距可能距離の限界において床面より上方の位置、換言すれば、測距可能距離が床面までの距離より短くなるように設定されている。初期位置Sは、測距許容範囲S内において、水平方向では、人物P(又は人物P’)が存在しない位置に設定されており、垂直方向では、人物P(又は人物P’)が存在する位置に設定されている(図1も参照)。
【0027】
次のステップ106では、ドライバ25にHレベル信号を出力して発光素子5を点灯させる。これにより、受光素子6は人物P(又は人物P’)で反射した赤外反射光を受光可能な状態となる。
【0028】
次のステップ108では、ドライバ28にパンモータ13を駆動させて、測距方向Dをパン方向(図6の矢印A方向)に移動させる。これにより、測距方向Dは、チルト方向を初期位置のままとして、初期位置Sからパン方向にパン方向終端位置Sまで移動することになる。パン方向終端位置Sは、認証エリア34を挟んだ初期位置Sの反対側で人物Pが存在しない位置に設定されている。
【0029】
次にステップ110において、受光素子6で受光した信号に変化があるか、換言すれば、人物Pの一側Pや他端Pを捉えたか否かを判断する。測距デバイス22は、受光素子からの電圧により被写体までの距離を測距しており、図6に示すように、人物Pの一側P、人物Pの他端PB、人物Pよりも遠方に位置している人物P’の端部(図示せず)を含むパン動作中の各測距方向Dでその測距情報(距離情報)をマイコン21に出力している。このため、マイコン21は被写体を捉えた位置、すなわち、人物Pの一側Pや他端Pを判断することができる。
【0030】
ステップ110での判断が否定のときは、ステップ114へ進み、肯定のときは、次のステップ112において、初期位置Sから信号変化のあったところ(人物Pの一端Pや他端P)までドライバ28がパンモータ13に出力したパルス数の値及びそこでの測距デバイス22からの測距情報をRAMに記憶する。
【0031】
次にステップ114では、測距方向Dがパン方向終端位置Sに到達したか否かを、ドライバ28がパンモータ13に出力するパルス数が予め定められたパルス数となったか否かにより判断する。否定判定のときは、ステップ108に戻りパンモータ13のパン駆動を続行させ、肯定判定のときは、次のステップ116においてパンモータ13の駆動を停止させる。次いで、ステップ118では、ステップ112で記憶した距離情報を読み出し、カメラ1に最も近い被写体(人物P)を選択する。
【0032】
次のステップ120では、ステップ112で記憶した人物Pの一側P及び他側Pまでのパルス数の値を読み出し、その中間のパルス数の値{(Pまでのパルス数+Pまでのパルス数)/2}を演算して、演算されたパルス数の位置(方向)を人物Pの体軸位置(体軸方向)Pとする。初期位置Sからパン方向終端位置Sまでドライバ28がパンモータ13へ出力するパルス数は一定であり、初期位置Sから体軸位置Pまでのパルス数は演算されているので、前者から後者を減算することで、測距ユニットの測距方向Dをパン方向終端位置Sから体軸位置Pに向かせるためのパルス数を演算することができる。ステップ122では、このように演算されたパルス数分、パンモータ13を逆転駆動させて測距方向Dを体軸位置Pに向かせ、パンモータ13の駆動を停止させる。
【0033】
従って、測距ユニットは、測距許容範囲Sの下端を水平方向に、パンモータ13の正転駆動により、初期位置Sから人物P、P’を通過してパン方向終端位置Sまで向き、パン方向終端位置Sで一旦停止した後、パンモータ13の逆転駆動により、体軸位置Pを向くこととなる。
【0034】
ステップ124では、測距ユニットが体軸位置Pから上方(図6の矢印B方向)を向くようにドライバ29にチルトモータ12を駆動させ、次のステップ126において、信号変化があるか否かを判断する。すなわち、図6に示すように、測距ユニットを体軸位置Pから上方に向かせると、人物Pの頭部端(頭の頂部)Pで信号変化が得られるが、ステップ126では、この信号変化で測距方向Dが頭部端P越えたか否かを判断する。
【0035】
ステップ126で否定判断のときは、ステップ128において、体軸位置Pでの測距許容範囲S内の終端(上端位置)となる体軸チルト方向終端位置Sまで駆動させたか否かを判断し、ステップ128での判断が否定のときは、測距方向Dを更に上方に向かせるためにステップ124へ戻る。なお、測距許容範囲Sの上端位置は、身長がおよそ2.5mを超える人は存在しないことやカメラ1の垂直(高さ)方向の設置位置を考慮して設定することができる。ステップ128での判断が肯定のときは、人物Pが移動したと考えられるので、次のステップ130において、圧力スイッチ31がオン状態か否かを判断する。ステップ130で肯定判断のときは、人物Pが認証エリア34内に存在するものの、人物Pが移動したためにこのままフレーミングルーチンを続行しても人物Pの顔のフレーミングを正確には得られないものとして、再度ステップ104へ戻り、ステップ130で否定判断のときは、人物Pが認証エリア34内に存在しないので、フレーミングルーチンを終了する。
【0036】
一方、ステップ126での判断が肯定のときは、測距方向Dが人物Pの頭部端P越えたので、ステップ132において、チルトモータ12のチルト駆動を停止させると共に、発光素子5を消灯させる。次いでステップ134でチルトモータ12を逆転駆動させ、次のステップ136において、ドライバ29が予め設定された所定パルス数をチルトモータ12に出力したか否かを判断する。本実施形態のカメラ1ように人の顔のフレーミングを行う場合に、体軸位置Pの上方の頭部端Pが既知のときには、人の顔のサイズは大凡決められているので、頭部端Pから例えば15cm程度の下方の位置を人物Pの顔の中心Pと考えることができる。ステップ136では、測距方向Dが人物Pの顔の中心Pに向いたか否かを判断するために、チルトモータ12にこの15cm程度に相当する所定パルス数が出力されたか否かを判定する。
【0037】
ステップ136で否定判定のときは、チルトモータ12の逆転駆動を続行するためにステップ134へ戻り、肯定判断のときは、ステップ138において、チルトモータ12の逆転駆動を停止させる。
【0038】
従って、測距ユニットは、測距許容範囲Sの下端の体軸位置Pから垂直方向に、チルトモータ12の正転駆動により、人物Pの頭部端Pを通過して一旦停止した後、チルトモータ12の逆転駆動により、人物Pの顔の中心Pを向くこととなる。撮像素子4は、第3フレーム9上に測距ユニットに挟まれて略水平方向に直線状に、かつ、同一方向に配置されているので、測距ユニットが人物Pの顔の中心Pを向くことで、図6に示すように、人物Pの顔の中心Pを中心とした画角Vで人物Pの顔をフレーミングしている。
【0039】
次にステップ140では、発光LED14を点灯させ、次のステップ142でフレーミングの完了をホスト部へ報知するフレーミング完了信号を出力して、フレーミングルーチンを終了する。これにより、ホスト部は、撮像素子4からの画像を取り込み、上述したように、人物Pの顔の特徴量等のデータを抽出する画像処理を行い、ホスト部のデータベースに蓄積された人物Pの特徴量と一致する場合にドア33を開錠する。
【0040】
(作用等)
次に、本実施形態のカメラ1の作用等について説明する。
【0041】
本実施形態のカメラ1では、パンモータ13によりチルト方向下端でパン動作が行われ(ステップ104〜116)、一方向の測距が可能な測距ユニット(発光素子5、受光素子6)による信号変化から人物Pの体軸位置Pが探し出される(ステップ118、120)。次いで、チルトモータ12により体軸位置P(チルト方向の下端)から上方に向けてチルト動作が行われ測距ユニットによる信号変化から人物Pの頭部端Pが探し出される(ステップ124〜132)。そして、チルトモータ12により、探し出された人物Pの顔の中心Pに撮影レンズ3の撮影方向Dが向けられて人物Pの顔の中心Pが画角Vにフレーミングされて(ステップ134〜138)、撮像素子4で人物Pの顔が撮影される。従って、本実施形態のカメラ1は、(1)初期位置Sからパン方向終端位置Sまでの正転パン動作、(2)パン方向終端位置Sから体軸位置Pまでの逆転パン動作、(3)体軸位置Pから頭部端Pまでの正転チルト動作、及び、(4)頭部端Pから人物Pの顔の中心Pまでの逆転チルト動作、の4動作で人物Pの顔をフレーミングすることができるので、迅速に人物Pの顔の画像を得ることができる。従って、本実施形態のカメラ1によれば、静止状態の人物Pの顔の画像を迅速に得ることができるので、ホスト部では、従来技術のように人物Pの顔の部分を背景等から切り出すトリミング処理が不要なため画像処理の時間を短縮することができると共に、トリミング処理に伴って発生する撮像素子4の高解像度化が不要なため画素数が少ない低コストのカメラを使用することができる。換言すれば、本実施形態のカメラ1を使用することにより、画像を取り込んだ後人物Pの顔を中心とするトリミング処理が必要なく画像を取り込む時点でトリミング処理後の画像を得ることができるので、ホスト部での処理時間の短縮化やカメラの低コスト化を図ることができる。
【0043】
また、殆どの場合に撮影対象となる被写体(人物P)は、カメラ1に最も近い位置に存在するので、本実施形態では、人物P、P’を含む複数の被写体が存在する場合でも、カメラ1に最も近い被写体である人物Pの顔を撮像素子4で撮影することで、被写体の特定を簡素化した。従って、本実施形態では、マイコン21をソフトウエア(プログラム)で作動させる例を示したが、マイコン21やソフトウエアによらずコンパレータ(比較器)等を含んたハードウエアで制御回路を構成することも可能なため、より低コスト化、ダウンサイジング化を図ることができる。
【0044】
更に、本実施形態のカメラ1では、アクティブ方式の三角測距を採用している。このため、発光素子5を赤外域で発光させることで、暗いところでも人物P等の被写体を探し出すことができる。また、本実施形態のカメラ1は、一旦人物Pの顔の中心を探し出した後、赤外LED14を発光させて(ステップ140)、撮像素子4で人物Pの顔を撮影するので、被写体の人物Pを驚かせたり、人物Pの視力を損傷することもない。また更に、本実施形態のカメラ1では、撮影レンズ3にIRカットフィルタを欠く構成としたので、撮像素子4は赤外域でも撮影が可能である。すなわち、一般に本実施形態のような認証用のカメラ1は廊下や玄関等の比較的暗いところに配置されるので、赤外域のアクティブ方式を採用し、赤外LED14で被写体に投光し、更に、IRカットフィルタを取り外した撮影レンズ3を用いることで、暗い場所でも撮影可能な認証用カメラ本来の機能を発揮させることができる。
【0045】
更にまた、本実施形態のカメラ1では、光スポット径を3mm程度とした発光素子5を用いた。光スポット径が大き過ぎると、受光素子6からの出力での判別が難しく人物Pの輪郭等がぼけてしまう場合がある。本実施形態のカメラ1では、発光素子5の光スポットをぼけが生じない小径としたので、信号変化を精度よく把握することができ、誤差なく人物Pの顔をフレーミングして撮影することができる。
【0046】
なお、本実施形態では、人物の顔をフレーミングして撮影する例を示したが、本発明はこれに限定されることなく、物の特定の部位をフレーミングして撮影するカメラにも適用できることは論を待たない。このような場合には、撮影対象となる物の形状に応じて一側や他側及び頭部端に相当する個所を定めるようにすればよい。
【0047】
また、本実施形態では、連続投光型の発光LED14を例示したが、フラッシュ型の発光LEDを用いるようにしてもよい。このようにすれば、真っ暗な場所にカメラ1が配置されても鮮明な人物Pの顔の画像を得ることができる。
【0048】
更に、本実施形態では、撮影レンズ3からIRカットフィルタを除き暗い場所での適用例を示したが、カメラ1が常時明るい場所に配置されるときには、撮影レンズ3にIRカットフィルタを挿入することで、撮像素子4に入る光線のうち不要となる赤外域の光線を排除して人の目に馴染みのある画像を得るようにしてもよい。
【0049】
また、本実施形態では、カメラ1側に制御回路20を設けた例を示したが、このような制御回路20は、カメラ1の外部や上述した図示しないホスト部側でもソフトウエアにより同様の機能を果たさせることができる。このような態様では、ホスト部側とカメラ側を接続する制御用のインターフェースを確保したり、BLUETOOTHに代表される無線リンクを確保するようにすればよい。
【0050】
そして、本実施形態では、人物Pの顔にカメラ1の画角Vを向けるために、体軸位置Pから図6の矢印B方向に(上方に)チルトモータ12をチルト駆動させる例を示したが、測距許容範囲Sの体軸位置Pの上端となる体軸チルト方向終端位置Sから矢印B方向とは反対側に(下方に)チルトモータ12をチルト駆動させて頭部端Pの信号変化を捉えるようにしてもよい。
【0051】
(第2実施形態)
次に、本発明を、人物の顔を自動的にフレーミングする自動フレーミングカメラに適用した第2の実施形態について説明する。なお、本実施形態において、第1実施形態と同一の部材及び同一のステップには同一の符号を付してその説明を省略し、異なる個所のみ説明する。
【0052】
図7に示すように、本実施形態では、発光素子5、撮影レンズ3及び受光素子6は、略水平方向に直線状に配設されているが、撮影レンズ3の撮影方向Cは、測距ユニットの測距方向Dから所定角度θだけ下げて設定されている。この角度θは、撮像素子4のCCD面から人物Pまでの距離をL1とし、人物Pの顔の中心Pから人物Pの頭部端Pまでの距離をL2(例えば、15cm)としたときに、tanθ=L2/L1で与えられる。なお、図1に示すように、認証エリア34(特に、カメラ1に向かう方向の辺)を小さくすることで、この角度θの精度は高まり、人物Pの顔のフレーミング精度を高めることができる。
【0053】
図8に示すように、本実施形態のカメラ1のフレーミングルーチンでは、図5に示したステップ132〜ステップ136を欠いている。すなわち、本実施形態では、図7及び図9に示すように、撮影レンズ3の撮影方向Cが測距ユニットの測距方向Dから、人物Pの顔の中心Pから人物Pの頭部端Pまでの距離L2に相当する角度θだけ下げて設定されているので、人物Pの頭部端Pで信号変化が得られたときに、チルトモータ12の駆動を停止すれば、その位置(方向)で撮像素子4は人物Pの顔の中心Pを画角Vの中心に捉えることができる。
【0054】
本実施形態のカメラによれば、人物Pの顔を捉えるために、ステップ132〜ステップ136の工程が不要となるので、すなわち、第1実施形態に則して説明すれば、上述した(4)頭部端Pから人物Pの顔の中心Pまでの逆転チルト動作がないので、第1実施形態のカメラ1より更に迅速に人物の顔をフレーミングすることができる。
【0055】
【発明の効果】
以上説明したように、本発明の第1の態様によれば、測距手段による距離情報の変化から人物の体軸に次いで人物の頭の頂部が探し出され、頭の頂部から所定角度分撮影方向を下げることで、人物の顔の略中央がフレーミングされるので、迅速に人物の顔をフレーミングすることができ、本発明の第2の態様によれば、撮影手段の撮影方向は測距手段の測距方向に対して所定角度分下げて設定されているので、第1の態様のように、方向変更手段により探し出した頭の頂部から所定角度分撮影方向を下げて人物の顔の略中央部を撮影手段にフレーミングする必要がなく、第1の態様に比べより迅速に人物の顔をフレーミングすることができる、という効果を得ることができる。
【図面の簡単な説明】
【図1】本発明が適用可能な第1実施形態の自動フレーミングカメラの配置位置を模式的に示す外観斜視図である。
【図2】第1実施形態の自動フレーミングカメラの外観斜視図である。
【図3】第1実施形態の自動フレーミングカメラのカメラ部本体の概略構成を示す外観斜視図である。
【図4】第1実施形態の自動フレーミングカメラの制御回路の概略構成を示すブロック図である。
【図5】第1実施形態の自動フレーミングカメラの制御回路のマイコンが実行するフレーミングルーチンのフローチャートである。
【図6】第1実施形態の自動フレーミングカメラの測距方向及び測距許容範囲を模式的に示す説明図である。
【図7】本発明が適用可能な第2実施形態の自動フレーミングカメラの撮影レンズと測距ユニットとの角度関係を模式的に示す説明図である。
【図8】第2実施形態の自動フレーミングカメラの制御回路のマイコンが実行するフレーミングルーチンのフローチャートである。
【図9】第2実施形態の自動フレーミングカメラの測距方向、撮影方向及び測距許容範囲を模式的に示す説明図である。
【符号の説明】
1 自動フレーミングカメラ
3 撮影レンズ(撮影手段の一部)
4 撮像素子(撮影手段の一部)
5 発光素子(測距手段の一部)
6 受光素子(測距手段の一部)
12 チルトモータ(方向変更手段の一部)
13 パンモータ(方向変更手段の一部)
20 制御回路(測距手段の一部、方向変更手段の一部)
22 測距デバイス(測距手段の一部)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an automatic framing camera, and more particularly to an automatic framing camera that searches for a person's face and automatically performs framing.
[0002]
[Prior art]
In recent years, development of an authentication system that automatically authenticates whether or not the person is the person based on the image information of the person's face has been promoted. This system, for example, was devised in place of keys, PIN number input, fingerprint verification, etc. when a person who was allowed to enter a specific room entered the room. Since the person is identified and unlocked simply by standing in front of the door, it is simple and has a high degree of security.
[0003]
In such an authentication system, if the amount of image information required for authentication is large, misjudgment can be prevented. Therefore, it is necessary to shoot the image with the camera facing the person's face and greatly framing within the angle of view. Yes, to do that automatically requires framing the person's face. As such an authentication camera, an automatic framing camera that captures and captures the position (direction) of a person's face by changing the shooting direction in a panning direction or a tilting direction can be considered.
[0004]
[Problems to be solved by the invention]
However, since the camera used in the authentication system requires the person to face his face, if the processing time until the person's face is searched for and framing is not quick, entry into the authentication system is quick. Don't be.
[0005]
An object of the present invention is to provide an automatic framing camera capable of framing a person's face quickly.
[0006]
[Means for Solving the Problems]
In order to solve the above-described problem, a first aspect of the present invention is to measure a distance in one direction with a photographing unit for photographing a subject. single The distance measuring means, and the photographing direction of the photographing means and the distance measuring direction of the distance measuring means are integrally changed. direction An automatic framing camera for framing and photographing a person's face, and panning at the lower end of the tilt direction by the direction changing means to find the body axis of the person from a change in distance information by the distance measuring means The direction changing means performs a tilting operation from the lower end or the upper end in the tilt direction of the body axis, finds the top of the person's head from the change in distance information by the distance measuring means, and the direction changing means The photographing means is framed by the photographing means by lowering the photographing direction by a preset angle from the top.
[0007]
The automatic framing camera of this aspect measures the distance in one direction with the photographing means for photographing the subject. single The distance measuring means, and the photographing direction of the photographing means and the distance measuring direction of the distance measuring means are changed together. direction Changing means. In this aspect, the panning operation is performed at the lower end of the tilt direction by the direction changing means, the body axis of the person is found from the change in the distance information by the distance measuring means, and the tilt is applied from the lower end or the upper end of the tilt direction of the body axis by the direction changing means. The top of the person's head is found from the change in distance information by the distance measuring means, and the photographing direction is lowered by a preset angle from the top of the head found by the direction changing means. The approximate center is framed by the photographing means, and the face of the person is photographed by the photographing means. According to this aspect, the top of the person's head is searched after the person's body axis from the change in the distance information by the distance measuring means, and the photographing direction is lowered by a predetermined angle from the top of the head, thereby Since the center is framed, an image of a person's face can be obtained quickly.
[0008]
In order to solve the above-mentioned problem, the second aspect of the present invention is to measure a distance in one direction with a photographing means for photographing a subject. single The distance measuring means, and the photographing direction of the photographing means and the distance measuring direction of the distance measuring means are integrally changed. direction An automatic framing camera for framing and photographing a person's face, and panning at the lower end of the tilt direction by the direction changing means to find the body axis of the person from a change in distance information by the distance measuring means The direction changing means performs a tilt operation from the lower end or the upper end of the tilt direction of the body axis, finds the top of the person's head from the change in distance information by the distance measuring means, and the shooting direction of the shooting means is the distance measuring The center of the person's face is framed by the photographing means when the top of the person's head is found by being set at a predetermined angle with respect to the distance measuring direction of the means. To do.
[0009]
In this aspect, the panning operation is performed at the lower end of the tilt direction by the direction changing means, the body axis of the person is found from the change in the distance information by the distance measuring means, and the tilt is applied from the lower end or the upper end of the tilt direction of the body axis by the direction changing means. The operation is performed, and the top of the person's head is found from the change in the distance information by the distance measuring means. Since the photographing direction of the photographing means is set to be lowered by a predetermined angle with respect to the distance measuring direction of the distance measuring means, when the top of the person's head is found, the approximate center of the person's face is framed by the photographing means. . According to this aspect, since the photographing direction of the photographing means is set to be lowered by a predetermined angle with respect to the distance measuring direction of the distance measuring means, the top of the head found by the direction changing means as in the first aspect. Thus, it is not necessary to lower the photographing direction by a predetermined angle and to frame the substantially central portion of the person's face on the photographing means, and it is possible to obtain an image of the person's face more quickly than in the first mode. Such a predetermined angle is, for example, Within the distance measurement possible distance when the distance measurement means distance is determined in advance Shooting means and Of the subject of the shooting means When the distance from the person is L1, and the distance from the approximate center of the person's face to the top of the person's head is L2, tan -1 It is given by (L2 / L1).
[0011]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
A first embodiment in which the present invention is applied to an automatic framing camera that automatically frames a person's face will be described below with reference to the drawings.
[0012]
(Constitution)
As shown in FIG. 1, a door 33 through which a person can enter and exit is provided on a wall surface (not shown). In the vicinity (left side) of the door 33, an automatic framing camera (hereinafter abbreviated as a camera) 1 for photographing the face of the person P standing in front of the door 33 is disposed. On the upper side of the camera 1, a sticker 35 for instructing the person P to face his face in the direction of the camera 1 is attached to the wall surface. An authentication area 34 in which the camera 1 can photograph the face of the person P is defined in a rectangular shape on the floor surface in front of the door 33. A pressure switch (see reference numeral 31 in FIG. 4) capable of detecting the person P in the authentication area 34 is embedded in the floor surface of the authentication area 34. Image information of the face of the person P photographed by the camera 1 is sent to a host unit (not shown) such as a personal computer via an interface (not shown). In the host unit, processing is performed on the image information of the face of the person P in order to extract data such as the feature amount of the face of the person P, and when the feature amount matches the feature amount of the person P stored in the database of the host unit. The door 33 is unlocked.
[0013]
As shown in FIG. 2, the camera 1 includes a helmet-shaped casing 2 a that covers a camera unit main body, which will be described later, and a hemispherical hood 2 b that covers a front opening of the casing 2 a. For example, a material such as ABS (acrylonitrile butadiene styrene) can be used for the casing 2a, and a material such as PC (polycarbonate) can be used for the hood 2b.
[0014]
As shown in FIG. 3, the camera unit main body has a first frame 7 made of sheet metal that supports the camera unit main body and functions as a pan head. The first frame 7 has a rectangular plate shape at the center, and has a protrusion bent upward at the center on the front side (of the camera body). An infrared LED 14 that emits infrared light (projects light) is fixed to the front side of the protrusion. On the other hand, a support member having an L-shaped cross section is extended upward from a central portion on the opposite side (back side) to the protrusion of the first frame 7.
[0015]
Pan direction support shafts 10 that support the resin-made second frame 8 so as to be rotatable in the pan direction (horizontal direction) are provided in the vicinity of the protrusion at the center of the first frame 7 and on the front side of the support member. The pan-direction support shaft 10 protrudes in the vertical direction, and is supported by the center portion of the first frame and the support member. When viewed from the front side, the second frame 8 has a substantially quadrangular shape in which the first quadrant having the center at the front side as the origin is cut out.
[0016]
Inside the second frame 8, a plate-like third frame 9 made of resin is disposed. An image sensor 4 such as a CCD that is arranged at the focal position of the photographing lens 3 for photographing the face of the person P and outputs a video image by frame transfer or interline transfer is provided at the center of the front side of the third frame 9. It is fixed. The photographic lens 3 is usually a fixed focus lens that lacks an IR (infrared) cut filter that is inserted into the optical system.
[0017]
Further, on the front side of the third frame 9, a cylindrical light emitting element 5 that emits infrared spot light of about 3 mm on both sides of the photographing lens 3, and a circle that receives reflected infrared light from the light emitting element 5. A columnar light receiving element 6 is fixed. The light emitting element 5, the photographing lens 3 (including the imaging element 4, the same applies hereinafter) and the light receiving element 6 are arranged in a straight line in the substantially horizontal direction and in the same direction. The light emitting element 5 and the light receiving element 6 constitute an active distance measuring unit, and the distance measurement possible distance of the distance measuring unit is within about 5 m.
[0018]
From the outer peripheral side surfaces of the light emitting element 5 and the light receiving element 6, the third frame is supported so as to be rotatable in a substantially horizontal direction on the opposite side of the imaging element 4 and in a tilt direction (vertical direction) relative to the second frame. The tilt direction support shaft 11 is projected. These tilt direction support shafts 11 are on a coaxial line and are pivotally supported by the second frame. The protruding position of the tilt direction support shaft 11 of the light emitting element 5 and the light receiving element 6 is the position closest to the second frame in the vertical direction, and the barycentric position in the vertical direction with respect to all members fixed to the third frame. (Diameter position that equally divides the light-emitting element 5 and the light-receiving element 6 into two vertically when viewed from the front side) and the position corresponding to the center of gravity in the depth direction with respect to all members fixed to the third frame It is said that.
[0019]
A plate material having substantially the same thickness as that of the third frame 9 is projected from the back surface side of the third frame 9 toward the back surface of the camera body from a position slightly closer to the light emitting element 5 from the center. A long hole is formed in the center of the plate material. Mounted on the back side of the third frame 9 is a control board for a CCD operation control circuit for controlling the operation of the image sensor 4 and a control circuit (see reference numeral 20 in FIG. 4) for controlling the camera body as will be described later. Has been. A lead wire is led out from the control board, and is connected to a connector portion (not shown) disposed on the back side of the casing 2a in order to ensure connection with the host portion described above.
[0020]
From one side of the second frame 8 (the light emitting element 5 side), a motor fixing plate having a substantially square cross section extends in the back direction. A stepping motor (hereinafter referred to as a tilt motor) 12 for tilting the third frame 9 in a substantially vertical direction is provided at the front end of the motor fixing plate, and has two cylindrical shapes extending from the tilt motor 12. It is fixed with screws via a fixed arm 12b. A substantially L-shaped drive lever 12 a is fitted on the motor shaft of the tilt motor 12. The distal end of the drive lever 12a is inserted into the long hole of the plate material of the third frame 9 described above.
[0021]
On the other hand, a stepping motor (hereinafter referred to as a pan motor) 13 for driving the second frame 9 to pan in a substantially horizontal direction extends from the pan motor 13 on the back surface side (bottom surface side) of the center portion of the first frame 7. These are fixed by screws via two cylindrical fixing arms (not shown). A substantially L-shaped drive lever 13 a is fitted on the motor shaft of the pan motor 13. The distal end portion of the drive lever 13a is inserted into a U-shaped notch formed at the position of the second frame 9 corresponding to the substantially middle position between the photographic lens 3 and the light receiving element 6.
[0022]
Accordingly, the third frame 9 is pivotally supported by the tilt direction support shaft 11 so as to be rotatable in the tilt direction with respect to the second frame 8, and the second frame 8 is rotated about the first frame 7 by the pan direction support shaft 10. Since the shaft is movably supported, the light emitting element 5, the photographing lens 3, and the light receiving element 6 fixed to the third frame 9 are integrally moved in the horizontal and vertical directions by driving the pan motor 13 and the tilt motor 12 ( (Orientation) can be changed. The tilt motor 12 and the pan motor 13 may be a meter with a rotation position sensor that rotates the drive levers 12a and 13a by less than a half turn (180 °) instead of the stepping motor in this example.
[0023]
As shown in FIG. 4, the camera unit body has a control circuit 20 that controls driving of the tilt motor 12 and pan motor 13, and infrared light emission / light reception of the light emitting element 5, the light receiving element 6, and the light emitting LED 14. . The control circuit 20 includes a microcomputer (hereinafter referred to as a microcomputer) 21 having a CPU, a RAM, a ROM, and an interface, a driver 25 for causing the light emitting element 5 to emit light in response to an H (high) level signal from the microcomputer 21, and an arithmetic circuit. A distance measuring device 22 that photoelectrically converts infrared reflected light received by the light receiving element 6 to measure the distance to the subject, a driver 26 that causes the infrared LED 14 to emit light based on an H (high) level signal from the microcomputer 21, and The driver 28 and 29 are configured to drive the tilt motor 12 and the pan motor 13 in both forward and reverse directions. The microcomputer 21 is connected to the distance measuring device 22, and the distance measuring device 22 is connected to the light receiving element 6. The microcomputer 21 is connected to drivers 25 and 26, and the drivers 25 and 26 are connected to the light emitting element 5 and the light emitting LED 14, respectively. Further, the microcomputer 21 is connected to drivers 28 and 29, the driver 28 is connected to the pan motor 13, and the driver 29 is connected to the tilt motor 12. The microcomputer 21 is also connected to the pressure switch 31 described above.
[0024]
(Operation)
Next, the operation of the camera 1 of the present embodiment will be described with reference to a flowchart. Note that the microcomputer 21 has already completed the initial processing for expanding the program stored in the ROM and data such as setting values, which will be described later, into the RAM, so that the image pickup device 4 of the camera unit body faces the face of the person P. It is assumed that a framing routine for framing and imaging is ready to be executed.
[0025]
As shown in FIG. 5, in this framing routine, first, in step 102, the process waits until the pressure switch 31 is turned on. When the pressure switch 31 is turned on, in the next step 104, the drivers 28 and 29 are driven to drive the pan motor 13 and the tilt motor 12, so that the camera body (ranging unit) faces the initial position of the distance measuring direction. And the driving of the pan motor 13 and the tilt motor 12 is stopped.
[0026]
As shown in FIG. 6, the distance measurement direction D of the distance measurement unit is regulated within the distance measurement allowable range S in the pan direction (horizontal direction) and the tilt direction (vertical direction). The distance measurement allowable range S depends on the movable range of the pan motor 13 and the tilt motor 12. The distance measurement allowable range S shown in FIG. 6 schematically shows the distance measurement range of the distance measurement unit at the position of the person P. Initial position (initial direction) S O Is the position of the lower end in the tilt direction and one end in the pan direction of the distance measurement allowable range S. The lower end of the distance measurement allowable range S in the tilt direction is set so as to be located above the floor surface at the limit of the distance measurement possible distance of the distance measurement unit, in other words, the distance measurement possible distance is shorter than the distance to the floor surface. ing. Initial position S O Is set at a position where the person P (or person P ′) does not exist in the horizontal direction within the distance measurement allowable range S, and at a position where the person P (or person P ′) exists in the vertical direction. (See also FIG. 1).
[0027]
In the next step 106, an H level signal is output to the driver 25 to light the light emitting element 5. As a result, the light receiving element 6 is in a state where it can receive infrared reflected light reflected by the person P (or person P ′).
[0028]
In the next step 108, the driver 28 drives the pan motor 13 to move the distance measuring direction D in the pan direction (arrow A direction in FIG. 6). As a result, the distance measuring direction D is the initial position S while the tilt direction remains the initial position. O Pan direction end position S from pan to pan E Will move to. Pan direction end position S E Is the initial position S across the authentication area 34 O Is set at a position where no person P exists.
[0029]
Next, at step 110, there is a change in the signal received by the light receiving element 6, in other words, one side P of the person P. A And other end P B Judge whether or not. The distance measuring device 22 measures the distance to the subject by the voltage from the light receiving element, and as shown in FIG. A , The other end P of the person P B, The distance measurement information (distance information) is output to the microcomputer 21 in each distance measurement direction D during the panning operation including the end (not shown) of the person P ′ located farther than the person P. For this reason, the microcomputer 21 captures the subject, that is, one side P of the person P. A And other end P B Can be judged.
[0030]
If the determination in step 110 is negative, the process proceeds to step 114. If the determination is affirmative, the initial position S is determined in the next step 112. O Where there was a signal change (one end P of person P A And other end P B The value of the number of pulses output by the driver 28 to the pan motor 13 and the distance measurement information from the distance measurement device 22 are stored in the RAM.
[0031]
Next, in step 114, the distance measuring direction D is the pan direction end position S. E Whether or not the number of pulses output from the driver 28 to the pan motor 13 has reached a predetermined number. If a negative determination is made, the process returns to step 108 to continue the pan drive of the pan motor 13, and if an affirmative determination is made, the drive of the pan motor 13 is stopped in the next step 116. Next, in step 118, the distance information stored in step 112 is read, and the subject (person P) closest to the camera 1 is selected.
[0032]
In the next step 120, one side P of the person P stored in step 112. A And other side P B Read the value of the number of pulses up to the value of the intermediate number of pulses {(P A Number of pulses up to + P B Number of pulses) / 2} and the position (direction) of the calculated number of pulses is the body axis position (body axis direction) P of the person P C And Initial position S O Pan direction end position S E The number of pulses output from the driver 28 to the pan motor 13 is constant until the initial position S O To body axis position P C Since the number of pulses up to is calculated, the distance measurement direction D of the distance measurement unit is changed to the pan direction end position S by subtracting the latter from the former. E To body axis position P C The number of pulses for directing to can be calculated. In step 122, the pan motor 13 is driven in the reverse direction by the number of pulses calculated in this way, and the distance measuring direction D is set to the body axis position P. C The pan motor 13 is stopped driving.
[0033]
Accordingly, the distance measuring unit sets the initial position S by rotating the pan motor 13 forward in the horizontal direction at the lower end of the distance measuring allowable range S. O Through the person P, P ′ and the panning end position S E Pan direction end position S E After stopping once at the body axis position P C Will turn to.
[0034]
In step 124, the distance measuring unit moves the body axis position P. C The tilt motor 12 is driven by the driver 29 so as to face upward (in the direction of arrow B in FIG. 6), and in the next step 126, it is determined whether there is a signal change. That is, as shown in FIG. C When facing upward from the head, the head end (the top of the head) P of the person P D In step 126, the distance measurement direction D is changed to the head end P by this signal change. D Judge whether or not it has been exceeded.
[0035]
If the determination in step 126 is negative, in step 128, the body axis position P C Body axis tilt direction end position S that is the end (upper end position) within the distance measurement allowable range S C If the determination in step 128 is negative, the process returns to step 124 in order to make the distance measurement direction D further upward. The upper end position of the distance measurement allowable range S can be set in consideration of the fact that there is no person whose height exceeds approximately 2.5 m and the installation position of the camera 1 in the vertical (height) direction. If the determination in step 128 is affirmative, it is considered that the person P has moved. Therefore, in the next step 130, it is determined whether or not the pressure switch 31 is in the ON state. If the determination in step 130 is affirmative, it is assumed that the person P exists in the authentication area 34, but the person P has moved, and thus the framing routine of the person P cannot be accurately obtained even if the framing routine is continued. Returning to step 104 again, if a negative determination is made in step 130, since the person P does not exist in the authentication area 34, the framing routine is terminated.
[0036]
On the other hand, when the determination in step 126 is affirmative, the distance measuring direction D is the head end P of the person P. D In step 132, the tilt drive of the tilt motor 12 is stopped and the light emitting element 5 is turned off. Next, in step 134, the tilt motor 12 is driven in reverse, and in the next step 136, it is determined whether or not the driver 29 has output a predetermined number of pulses to the tilt motor 12. When framing a human face like the camera 1 of the present embodiment, the body axis position P C Head end P above D Is known, the size of the person's face is roughly determined, so the head edge P D For example, the position P about 15 cm below the center P of the face of the person P E Can be considered. In step 136, the distance measurement direction D is the center P of the face of the person P. E In order to determine whether or not it is suitable for the above, it is determined whether or not a predetermined number of pulses corresponding to about 15 cm is output to the tilt motor 12.
[0037]
When a negative determination is made at step 136, the process returns to step 134 to continue the reverse rotation driving of the tilt motor 12. When an affirmative determination is made, the reverse rotation driving of the tilt motor 12 is stopped at step 138.
[0038]
Therefore, the distance measuring unit can detect the body axis position P at the lower end of the distance measuring allowable range S. C The head end P of the person P is driven by the forward rotation of the tilt motor 12 in the vertical direction. D After passing through and once stopped, the tilt motor 12 rotates backward to drive the center P of the face of the person P. E Will turn to. Since the imaging device 4 is sandwiched between the distance measurement units on the third frame 9 and is arranged in a straight line in the substantially horizontal direction and in the same direction, the distance measurement unit is the center P of the face of the person P. E To face center P of person P, as shown in FIG. E Angle of view V around A And framing the face of the person P.
[0039]
Next, in step 140, the light emitting LED 14 is turned on, and in the next step 142, a framing completion signal for notifying the host unit of completion of framing is output, and the framing routine is ended. As a result, the host unit captures an image from the image sensor 4, performs image processing for extracting data such as the feature amount of the face of the person P, and the person P stored in the host unit database as described above. When it matches the feature amount, the door 33 is unlocked.
[0040]
(Action etc.)
Next, the operation and the like of the camera 1 of the present embodiment will be described.
[0041]
In the camera 1 of the present embodiment, the panning operation is performed at the lower end of the tilt direction by the pan motor 13 (steps 104 to 116), and the signal change by the ranging unit (light emitting element 5 and light receiving element 6) capable of ranging in one direction. Body axis position P of person P C Is located (steps 118, 120). Next, the body axis position P is tilted by the tilt motor 12. C A tilting operation is performed from the (lower end in the tilt direction) upward, and a head end P of the person P is detected from a signal change by the distance measuring unit. D Is found (steps 124-132). The center P of the face of the person P found by the tilt motor 12 E The photographing direction D of the photographing lens 3 is directed to the center P of the face of the person P E Is angle of view V A The face of the person P is photographed by the image sensor 4. Accordingly, the camera 1 of the present embodiment has (1) initial position S O Pan direction end position S E (2) Pan direction end position S E To body axis position P B (3) Body axis position P B To head edge P D Forward rotation tilting up to (4) head end P D To the center P of the face of the person P E Since the face of the person P can be framed by the four movements of the reverse tilt operation up to the above, an image of the face of the person P can be obtained quickly. Therefore, according to the camera 1 of the present embodiment, an image of the face of the person P in a stationary state can be quickly obtained, so that the host unit cuts out the face part of the person P from the background or the like as in the prior art. Since trimming processing is unnecessary, the time required for image processing can be shortened, and a high-cost camera with a small number of pixels can be used because it is not necessary to increase the resolution of the image sensor 4 that occurs in accordance with the trimming processing. . In other words, by using the camera 1 of the present embodiment, the trimmed image can be obtained at the time when the image is captured without the need for the trimming process centered on the face of the person P after the image is captured. The processing time in the host unit can be shortened and the cost of the camera can be reduced.
[0043]
Further, in most cases, the subject (person P) to be photographed is present at the position closest to the camera 1. Therefore, in this embodiment, even when there are a plurality of subjects including the persons P and P ′, the camera By photographing the face of the person P, which is the subject closest to 1, with the image sensor 4, the identification of the subject is simplified. Therefore, in the present embodiment, an example in which the microcomputer 21 is operated by software (program) has been shown, but the control circuit is configured by hardware including a comparator (comparator) or the like regardless of the microcomputer 21 or software. Therefore, cost reduction and downsizing can be achieved.
[0044]
Further, the camera 1 of the present embodiment employs active type triangulation. For this reason, it is possible to search for a subject such as a person P even in a dark place by causing the light emitting element 5 to emit light in the infrared region. In addition, the camera 1 of the present embodiment once finds the center of the face of the person P and then causes the infrared LED 14 to emit light (step 140), and the image pickup device 4 captures the face of the person P. It does not surprise P or damage the visual acuity of the person P. Furthermore, in the camera 1 of the present embodiment, since the photographing lens 3 lacks an IR cut filter, the imaging element 4 can shoot even in the infrared region. That is, since the authentication camera 1 as in the present embodiment is generally disposed in a relatively dark place such as a corridor or a front door, an infrared active method is adopted, and the subject is projected by the infrared LED 14. By using the photographing lens 3 from which the IR cut filter is removed, the original function of the authentication camera capable of photographing even in a dark place can be exhibited.
[0045]
Furthermore, in the camera 1 of the present embodiment, the light emitting element 5 having a light spot diameter of about 3 mm is used. If the light spot diameter is too large, it may be difficult to discriminate by the output from the light receiving element 6, and the outline of the person P may be blurred. In the camera 1 of the present embodiment, since the light spot of the light emitting element 5 has a small diameter that does not cause blurring, the signal change can be accurately grasped, and the face of the person P can be framed and photographed without error. .
[0046]
In the present embodiment, an example in which a person's face is photographed by framing is shown. However, the present invention is not limited to this, and the present invention can be applied to a camera that framing and photographing a specific part of an object. Don't wait for the argument. In such a case, locations corresponding to one side, the other side, and the head end may be determined according to the shape of the object to be photographed.
[0047]
Further, in the present embodiment, the continuous light emission type light emitting LED 14 is exemplified, but a flash type light emitting LED may be used. In this way, a clear face image of the person P can be obtained even when the camera 1 is placed in a dark place.
[0048]
Furthermore, in the present embodiment, an application example in a dark place is shown except for the IR cut filter from the photographing lens 3, but when the camera 1 is always placed in a bright place, the IR cut filter is inserted into the photographing lens 3. Thus, unnecessary infrared rays among the rays entering the image sensor 4 may be eliminated to obtain an image familiar to human eyes.
[0049]
In the present embodiment, an example in which the control circuit 20 is provided on the camera 1 side is shown. However, such a control circuit 20 has the same function by software on the outside of the camera 1 or on the host unit (not shown). Can be fulfilled. In such an embodiment, a control interface for connecting the host unit side and the camera side may be secured, or a wireless link represented by BLUETOOTH may be secured.
[0050]
In this embodiment, the angle of view V of the camera 1 is placed on the face of the person P. A Body axis position P C 6 illustrates an example in which the tilt motor 12 is tilt-driven in the direction of arrow B in FIG. 6 (upward). C Body axis tilt direction end position S which becomes the upper end of C The tilt motor 12 is tilted to the opposite side to the arrow B direction (downward) from the head end P D You may make it catch the signal change of.
[0051]
(Second Embodiment)
Next, a second embodiment in which the present invention is applied to an automatic framing camera that automatically frames a person's face will be described. In the present embodiment, the same members and the same steps as those in the first embodiment are denoted by the same reference numerals, description thereof is omitted, and only different portions will be described.
[0052]
As shown in FIG. 7, in the present embodiment, the light emitting element 5, the photographing lens 3, and the light receiving element 6 are arranged linearly in a substantially horizontal direction, but the photographing direction C of the photographing lens 3. D Is set lower than the distance measuring direction D of the distance measuring unit by a predetermined angle θ. This angle θ is L1 as the distance from the CCD surface of the image sensor 4 to the person P, and the center P of the face of the person P E To head P of person P D Is given by tan θ = L2 / L1, where L2 (for example, 15 cm). As shown in FIG. 1, by reducing the authentication area 34 (particularly, the side in the direction toward the camera 1), the accuracy of the angle θ is increased, and the framing accuracy of the face of the person P can be increased.
[0053]
As shown in FIG. 8, the framing routine of the camera 1 of the present embodiment lacks steps 132 to 136 shown in FIG. 5. That is, in the present embodiment, as shown in FIGS. D Is the center P of the face of the person P from the distance measuring direction D of the distance measuring unit. E To head P of person P D Is set to be lowered by an angle θ corresponding to the distance L2 to the head end P of the person P. D If the drive of the tilt motor 12 is stopped when the signal change is obtained at, the image pickup device 4 moves the center P of the face of the person P at that position (direction). E Angle of view V A Can be seen at the center of
[0054]
According to the camera of the present embodiment, the steps 132 to 136 are not required to capture the face of the person P. That is, if described in accordance with the first embodiment, (4) Head edge P D To the center P of the face of the person P E Therefore, the person's face can be framed more quickly than the camera 1 of the first embodiment.
[0055]
【The invention's effect】
As described above, according to the first aspect of the present invention, the top of the person's head is searched after the body axis of the person from the change in the distance information by the distance measuring means, and is imaged from the top of the head by a predetermined angle. Since the approximate center of the person's face is framed by lowering the direction, the person's face can be quickly framed. According to the second aspect of the present invention, the photographing direction of the photographing means is the distance measuring means. Since the distance measurement direction is set to be lowered by a predetermined angle, as in the first aspect, the photographing direction is lowered by a predetermined angle from the top of the head searched for by the direction changing means, and approximately the center of the human face. There is no need to frame the portion on the photographing means, and it is possible to obtain an effect that the face of the person can be framed more quickly than in the first mode.
[Brief description of the drawings]
FIG. 1 is an external perspective view schematically showing an arrangement position of an automatic framing camera according to a first embodiment to which the present invention is applicable.
FIG. 2 is an external perspective view of the automatic framing camera of the first embodiment.
FIG. 3 is an external perspective view showing a schematic configuration of a camera unit body of the automatic framing camera of the first embodiment.
FIG. 4 is a block diagram showing a schematic configuration of a control circuit of the automatic framing camera of the first embodiment.
FIG. 5 is a flowchart of a framing routine executed by the microcomputer of the control circuit of the automatic framing camera of the first embodiment.
FIG. 6 is an explanatory diagram schematically showing a distance measurement direction and a distance measurement allowable range of the automatic framing camera of the first embodiment.
FIG. 7 is an explanatory diagram schematically showing an angular relationship between a photographing lens and a distance measuring unit of an automatic framing camera according to a second embodiment to which the present invention is applicable.
FIG. 8 is a flowchart of a framing routine executed by the microcomputer of the control circuit of the automatic framing camera of the second embodiment.
FIG. 9 is an explanatory diagram schematically showing a distance measurement direction, a shooting direction, and a distance measurement allowable range of the automatic framing camera of the second embodiment.
[Explanation of symbols]
1 Automatic framing camera
3 Photography lens (part of photography means)
4 Image sensor (part of imaging means)
5 Light-emitting elements (part of ranging means)
6 Light receiving element (part of distance measuring means)
12 Tilt motor (part of direction changing means)
13 Pan motor (part of direction changing means)
20 Control circuit (part of ranging means, part of direction changing means)
22 Ranging device (part of ranging means)

Claims (3)

被写体を撮影するための撮影手段と、一方向の距離を測距する単一の測距手段と、前記撮影手段の撮影方向と前記測距手段の測距方向とを一体として変更する方向変更手段とを備え、人物の顔をフレーミングして撮影する自動フレーミングカメラにおいて、前記方向変更手段によりチルト方向下端でパン動作を行い前記測距手段による距離情報の変化から前記人物の体軸を探し出し、前記方向変更手段により前記体軸のチルト方向の下端又は上端からチルト動作を行い前記測距手段による距離情報の変化から前記人物の頭の頂部を探し出し、前記方向変更手段により前記探し出した頭の頂部から予め設定された角度分前記撮影方向を下げることで、前記人物の顔の略中央が前記撮影手段にフレーミングされることを特徴とする自動フレーミングカメラ。An imaging unit for imaging a subject, a single ranging unit that measures a distance in one direction, and a direction changing unit that integrally changes the imaging direction of the imaging unit and the ranging direction of the ranging unit. In an automatic framing camera for framing and photographing a person's face, panning is performed at the lower end in the tilt direction by the direction changing means, and the body axis of the person is found from a change in distance information by the distance measuring means, The direction changing means performs a tilting operation from the lower end or the upper end of the tilt direction of the body axis, finds the top of the person's head from the change in the distance information by the distance measuring means, and from the head of the head found by the direction changing means The automatic framing is characterized in that the photographing means is framed by the photographing means by lowering the photographing direction by a preset angle. Camera. 被写体を撮影するための撮影手段と、一方向の距離を測距する単一の測距手段と、前記撮影手段の撮影方向と前記測距手段の測距方向とを一体として変更する方向変更手段とを備え、人物の顔をフレーミングして撮影する自動フレーミングカメラにおいて、前記方向変更手段によりチルト方向下端でパン動作を行い前記測距手段による距離情報の変化から前記人物の体軸を探し出し、前記方向変更手段により前記体軸のチルト方向の下端又は上端からチルト動作を行い前記測距手段による距離情報の変化から前記人物の頭の頂部を探し出し、前記撮影手段の撮影方向が前記測距手段の測距方向に対して所定角度分下げて設定されていることで、前記人物の頭の頂部を探し出したときに前記人物の顔の略中央が前記撮影手段にフレーミングされることを特徴とする自動フレーミングカメラ。An imaging unit for imaging a subject, a single ranging unit that measures a distance in one direction, and a direction changing unit that integrally changes the imaging direction of the imaging unit and the ranging direction of the ranging unit. In an automatic framing camera for framing and photographing a person's face, panning is performed at the lower end in the tilt direction by the direction changing means, and the body axis of the person is found from a change in distance information by the distance measuring means, The direction changing means performs a tilting operation from the lower end or the upper end of the tilt direction of the body axis, finds the top of the person's head from the change in distance information by the distance measuring means, and the shooting direction of the shooting means is determined by the distance measuring means. By being set at a predetermined angle with respect to the distance measuring direction, the center of the person's face is framed by the photographing means when the top of the person's head is found. Auto framing camera, characterized in that. 前記測距手段の測距可能距離は予め定められており、前記所定角度は、前記測距可能距離内において前記撮影手段と前記撮影手段の被写体のうちの人物との距離をL1、前記人物の顔の略中央から前記人物の頭の頂部までの距離をL2としたときに、tan−1(L2/L1)で与えられることを特徴とする請求項2に記載の自動フレーミングカメラ。 A distance that can be measured by the distance measuring unit is determined in advance, and the predetermined angle is a distance L1 between the photographing unit and the person of the subject of the photographing unit within the distance measurement range . 3. The automatic framing camera according to claim 2, wherein tan −1 (L2 / L1) is given when a distance from the approximate center of the face to the top of the person's head is L2.
JP2002056746A 2001-09-05 2002-03-04 Automatic framing camera Expired - Fee Related JP3691802B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002056746A JP3691802B2 (en) 2002-03-04 2002-03-04 Automatic framing camera
US10/230,326 US6606458B2 (en) 2001-09-05 2002-08-29 Automatic framing camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002056746A JP3691802B2 (en) 2002-03-04 2002-03-04 Automatic framing camera

Publications (2)

Publication Number Publication Date
JP2003259190A JP2003259190A (en) 2003-09-12
JP3691802B2 true JP3691802B2 (en) 2005-09-07

Family

ID=28667177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002056746A Expired - Fee Related JP3691802B2 (en) 2001-09-05 2002-03-04 Automatic framing camera

Country Status (1)

Country Link
JP (1) JP3691802B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100587430B1 (en) 2004-09-23 2006-06-09 전자부품연구원 System and method for shooting by correcting face pose
JP4793179B2 (en) 2005-11-14 2011-10-12 オムロン株式会社 Authentication device and portable terminal
CN105357442A (en) 2015-11-27 2016-02-24 小米科技有限责任公司 Shooting angle adjustment method and device for camera

Also Published As

Publication number Publication date
JP2003259190A (en) 2003-09-12

Similar Documents

Publication Publication Date Title
US6606458B2 (en) Automatic framing camera
JP4926766B2 (en) Shooting range adjusting device, shooting range adjusting method, and computer program
KR101627192B1 (en) Image pickup apparatus, Flash apparatus usable with image pickup apparatus, and Control method for Image pickup apparatus
KR20080027443A (en) Image pickup device and image pickup device control method, and computer program
US20040160518A1 (en) IRIS recognition camera for an iris recognition system and a method of operation for an iris recognition camera
CN112449107B (en) Control apparatus, control method, and storage medium
US9876961B2 (en) Lighting apparatus including first housing and second housing that can rotate with respect to the first housing and control method
JP2009163179A (en) Photographing device and method of controlling the same
JP2004295572A (en) Imaging apparatus of certification object image and imaging method therefor
JP3691802B2 (en) Automatic framing camera
JP2021057660A5 (en)
JP2962295B2 (en) Automatic attitude control method and automatic attitude control system for built-in camera of automatic information processing device
JP6584129B2 (en) Lighting device
JP3600827B2 (en) Swing camera
JP3693604B2 (en) Camera, camera system, control method, program, and recording medium
JP3835691B2 (en) Automatic framing camera
JP2003255219A (en) Automatic framing camera
JP2003255441A (en) Automatic framing camera
JP2019133275A (en) Face authentication device and face authentication method
JP2000148972A (en) Image recognition device
JP3207169B2 (en) Imaging device
JP4765860B2 (en) Surveillance camera and imaging device
JPH11242152A (en) Image pickup device
JP4538924B2 (en) Eye imaging device
JP3207167B2 (en) Imaging device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041019

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041206

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: 20050531

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050616

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090624

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees