JP3437343B2 - Eye gaze detection device - Google Patents
Eye gaze detection deviceInfo
- Publication number
- JP3437343B2 JP3437343B2 JP21297495A JP21297495A JP3437343B2 JP 3437343 B2 JP3437343 B2 JP 3437343B2 JP 21297495 A JP21297495 A JP 21297495A JP 21297495 A JP21297495 A JP 21297495A JP 3437343 B2 JP3437343 B2 JP 3437343B2
- Authority
- JP
- Japan
- Prior art keywords
- individual difference
- difference data
- posture
- calibration
- rotation angle
- 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
Links
Landscapes
- Automatic Focus Adjustment (AREA)
- Eye Examination Apparatus (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、観察者の視線位置
を観察者の個人差データを使って求める視線検出装置に
関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an eye-gaze detecting device for obtaining an eye-gaze position of an observer by using individual difference data of the observer.
【0002】[0002]
【従来の技術】従来より、撮影者が観察面上のどの位置
を観察しているかを検出する、いわゆる視線(視軸)を
検出する装置(例えばアイカメラ)が種々提供されてい
る。例えば特開平1−274736号公報においては、
光源からの平行光束を撮影者の眼球の前眼部へ投射し、
角膜からの反射光による角膜反射像と瞳孔の結像位置を
利用して注視点を求めている。また同公報において、注
視点検出装置を一眼レフカメラに配設し撮影者の注視点
情報を用いて撮影レンズの自動焦点調節を行う例を開示
している。2. Description of the Related Art Conventionally, various devices (for example, eye cameras) that detect what position on a viewing surface a photographer is observing, that is, a so-called line of sight (visual axis) have been provided. For example, in JP-A-1-274736,
Projects a parallel light flux from the light source to the anterior segment of the photographer's eye,
The gazing point is obtained by using the corneal reflection image by the reflected light from the cornea and the imaging position of the pupil. Further, this publication discloses an example in which a gazing point detection device is provided in a single-lens reflex camera and automatic focus adjustment of a photographing lens is performed using gazing point information of a photographer.
【0003】図7は視線検出原理を説明する為の図であ
る。FIG. 7 is a diagram for explaining the principle of line-of-sight detection.
【0004】同図において、15は撮影者の眼球、16
は角膜、17は虹彩である。以下この図を用いて視線の
検出方法を説明する。In the figure, 15 is the photographer's eyeball, and 16 is
Is a cornea and 17 is an iris. The method of detecting the line of sight will be described below with reference to this figure.
【0005】光源13bより放射された赤外光は観察者
の眼球15の角膜16を照射する。このとき角膜16の
表面で反射した赤外光の一部により形成される角膜反射
像d(虚像)は受光レンズ12により集光され、イメー
ジセンサ14上の位置d´に結像する。同様に光源13
aにより放射された赤外光は、眼球15の角膜16を照
明する。このとき、角膜16の表面で反射した赤外光の
一部により形成された角膜反射像eは受光レンズ12に
より集光され、イメージセンサ14上の位置e´に結像
する。The infrared light emitted from the light source 13b illuminates the cornea 16 of the observer's eyeball 15. At this time, the corneal reflection image d (virtual image) formed by a part of the infrared light reflected on the surface of the cornea 16 is condensed by the light receiving lens 12 and imaged at the position d ′ on the image sensor 14. Similarly, the light source 13
The infrared light emitted by a illuminates the cornea 16 of the eyeball 15. At this time, the corneal reflection image e formed by a part of the infrared light reflected on the surface of the cornea 16 is condensed by the light receiving lens 12 and is imaged at the position e ′ on the image sensor 14.
【0006】又、虹彩17の端部a,bからの光束は、
受光レンズ12を介してイメージセンサ14上の位置a
´,b´に該端部a,bの像を結像する。受光レンズ1
2の光軸に対する眼球15の光軸の回転角θが小さい場
合、虹彩17の端部a,bのx座標をxa,xbとする
と、瞳孔19の中心位置cの座標xcは、
xc≒(xa +xb)/2
と表される。The luminous flux from the ends a and b of the iris 17 is
Position a on the image sensor 14 via the light receiving lens 12
Images of the end portions a and b are formed on ′ and b ′. Light receiving lens 1
When the rotation angle θ of the optical axis of the eyeball 15 with respect to the optical axis of 2 is small, and the x coordinates of the ends a and b of the iris 17 are xa and xb, the coordinate xc of the center position c of the pupil 19 is xc≈ ( It is expressed as xa + xb) / 2.
【0007】また、角膜反射像d及びeの中点のx座標
と角膜16の曲率中心oのx座標xoとは略一致する。
このため角膜反射像の発生位置d,eのx座標をxd,
xe、角膜16の曲率中心oと瞳孔19の中心cまでの
標準的な距離をOCとすると、眼球15の光軸15aの
回転角θxは、
OC*SINθx≒(xd+xe)/2−xc ……(1)
の関係式を略満足する。このためイメージセンサ14上
に投影された眼球15の各特徴点(角膜反射像及び瞳孔
の中心)の位置を検出することにより、眼球15の光軸
15aの回転角θを求めることができる。Further, the x coordinate of the midpoint of the corneal reflection images d and e and the x coordinate xo of the center of curvature o of the cornea 16 substantially coincide with each other.
Therefore, the x-coordinates of the corneal reflection image generation positions d and e are xd,
xe, where OC is the standard distance between the center of curvature o of the cornea 16 and the center c of the pupil 19, the rotation angle θx of the optical axis 15a of the eyeball 15 is OC * SINθx≈ (xd + xe) / 2−xc. The relational expression (1) is substantially satisfied. Therefore, the rotation angle θ of the optical axis 15a of the eyeball 15 can be obtained by detecting the position of each characteristic point of the eyeball 15 (corneal reflection image and the center of the pupil) projected on the image sensor 14.
【0008】眼球15の光軸15aの回転角は(1)式
より、
β*OC*SINθx {(xpo−δx)−xic}*pitch ……(2)
β*OC*SINθy {(ypo−δy)−yic}*pitch ……(3)
と求められる。ここで、θxはz−x平面内での眼球光
軸の回転角、θyはy−z平面内での眼球光軸の回転角
である。(xpo,ypo)はイメージセンサ14上の2個
の角膜反射像の中点の座標、(xic,yic)はイメージ
センサ14上の瞳孔中心の座標である。pitchはイメー
ジセンサ14の画素ピッチである。また、βは受光レン
ズ12に対する眼球15の位置により決まる結像倍率
で、実質的には2個の角膜反射像の間隔の関数として求
められる。From the equation (1), the rotation angle of the optical axis 15a of the eyeball 15 is β * OC * SINθx {(xpo-δx) -xic} * pitch ... (2) β * OC * SINθy {(ypo-δy ) -Yic} * pitch ... (3) Here, θx is the rotation angle of the eyeball optical axis in the zx plane, and θy is the rotation angle of the eyeball optical axis in the yz plane. (Xpo, ypo) is the coordinates of the midpoint of the two corneal reflection images on the image sensor 14, and (xic, yic) is the coordinates of the pupil center on the image sensor 14. pitch is the pixel pitch of the image sensor 14. Further, β is an imaging magnification determined by the position of the eyeball 15 with respect to the light receiving lens 12, and is substantially obtained as a function of the interval between two corneal reflection images.
【0009】δx,δyは角膜反射像の中点の座標を補
正する補正項であり、撮影者の眼球を平行光ではなく発
散光にて照明していることにより生じる誤差を補正する
補正項、及び、δyに関しては、撮影者の眼球を下まぶ
たの方から発散光にて照明していることにより生じるオ
フセット成分を補正する補正項も含まれている。Δx and δy are correction terms for correcting the coordinates of the midpoint of the corneal reflection image, and a correction term for correcting an error caused by illuminating the eyeball of the photographer with divergent light instead of parallel light, Further, regarding δy, a correction term for correcting an offset component caused by illuminating the eyeball of the photographer with divergent light from the lower eyelid is also included.
【0010】次に、眼球回転角と注視点の座標の関係か
ら撮影者の注視点を求める。眼球回転角と注視点の座標
の関係は、撮影者の眼球光軸の回転角を(θx,θy)
とすると、撮影者の観察面上の注視点(x,y)は、カ
メラの姿勢が横位置の場合
x=m*(θx+Δ) …………(4)
y=m*θy …………(5)
と求められる。ここで、x方向はカメラの姿勢が横位置
の場合の撮影者に対して水平方向、y方向はカメラの姿
勢が横位置の場合の撮影者に対して垂直方向を示してい
る。mは眼球の回転角からピント板上の座標に変換する
変換係数、Δは眼球光軸15a と視軸(注視点)とのな
す角である。この時の変換係数m,Δには個人差がある
ため、この変換係数を含んだ形での個人差補正データを
予め求めておく必要がある。Next, the gazing point of the photographer is obtained from the relationship between the eyeball rotation angle and the coordinates of the gazing point. The relationship between the rotation angle of the eyeball and the coordinates of the gazing point is defined by the rotation angle of the eyeball optical axis of the photographer (θx, θy)
Then, the gazing point (x, y) on the observer's observation plane is x = m * (θx + Δ) ………… (4) y = m * θy ………… when the camera is in the horizontal position. (5) is required. Here, the x direction indicates the horizontal direction with respect to the photographer when the camera is in the horizontal position, and the y direction indicates the vertical direction with respect to the photographer when the camera is in the horizontal position. m is a conversion coefficient for converting the rotation angle of the eyeball into coordinates on the focus plate, and Δ is an angle formed by the eyeball optical axis 15a and the visual axis (gazing point). Since the conversion coefficients m and Δ at this time have individual differences, it is necessary to obtain in advance the individual difference correction data including the conversion coefficients.
【0011】個人差補正データは、撮影者に所定の座標
を注視してもらい、そのときの眼球光軸の回転角を求め
る事で算出する事ができる。この様に個人差補正データ
を求めるための検出動作をキャリブレーションといい、
キャリブレーションにより求めた個人差補正データをキ
ャリブレーションデータという。The individual difference correction data can be calculated by having the photographer look at a predetermined coordinate and obtaining the rotation angle of the optical axis of the eyeball at that time. The detection operation for obtaining individual difference correction data is called calibration,
Individual difference correction data obtained by calibration is called calibration data.
【0012】観察面上(x1,0)を注視したときの眼
球の回転角を(θx1,0)、(x2,0)を注視した
ときの眼球の回転角を(θx2,0)とすると、以下の
式で個人差データを求める事ができる。When the rotation angle of the eyeball when gazing at (x1,0) on the observation plane is (θx1,0) and the rotation angle of the eyeball when gazing at (x2,0) is (θx2,0), Individual difference data can be calculated by the following formula.
【0013】
m=(x1−x2)/(θx1−θx2) ……(6)
Δ=(x2・θx1−x1・θx2)/(x1−x2) ……(7)
尚、個人差データの入力は、視線検出を行わない姿勢で
は禁止している。例えばカメラなどでは撮影者がカメラ
を逆さに構えて撮影しないので、個人差補正データも逆
さの状態では入力できない。また、ハード的な構成など
から縦位置での視線検出が出来ない場合など縦位置での
個人差データの入力ができないようになっている。キャ
リブレーションに関する提案としては、垂直,水平方向
のクアリブレーションデータを保有する(特願平6−7
6567号)等がある。更に、縦位置,横位置関係の提
案としては、縦位置時に視線検出を禁止し、表示を消灯
する(特願平4−2602588号)や姿勢を検出して
照明を切り換える(特願平4−2602290号)等が
ある。M = (x1−x2) / (θx1−θx2) (6) Δ = (x2 · θx1−x1 · θx2) / (x1−x2) (7) Input of individual difference data Is prohibited in a posture in which the line of sight is not detected. For example, in a camera or the like, the photographer holds the camera upside down and does not take a picture, and therefore individual difference correction data cannot be input in the upside-down state. Further, due to the hardware configuration, it is impossible to input the individual difference data in the vertical position such as when the visual axis cannot be detected in the vertical position. As a calibration proposal, we have calibration data in the vertical and horizontal directions (Japanese Patent Application No. 6-7).
6567) and so on. Further, as a proposal of the vertical position and the horizontal position, the visual line detection is prohibited at the vertical position, the display is turned off (Japanese Patent Application No. 4-2602588), the posture is detected, and the illumination is switched (Japanese Patent Application No. 4-204). 2602290) and the like.
【0014】[0014]
【発明が解決しようとする課題】しかしながら、個人差
データは同じ姿勢で眼球の回転角データを求めなければ
ならないにも拘らず、キャリブレーション中の姿勢変化
に対しては何も考慮されていない。従来例では、単に禁
止された姿勢であるかどうかを判定しているだけであ
る。従来、縦位置での使用が禁止されているような視線
検出装置では、キャリブレーション途中でカメラの姿勢
を横位置から縦位置にするとキャリブレーションが失敗
になるが、これは姿勢変化を検出しているのではなく、
禁止されている縦位置になったことでキャリブレーショ
ンが失敗になるだけである。縦位置で使用できる視線検
出装置の場合、キャリブレーション途中で横から縦位置
に姿勢が変化してもキャリブレーションが出来てしま
う。However, in regard to the individual difference data, although the rotation angle data of the eyeball must be obtained in the same posture, no consideration is given to the posture change during the calibration. In the conventional example, it is merely determined whether or not the posture is prohibited. Conventionally, in the line-of-sight detection device, which is prohibited from being used in the vertical position, if the orientation of the camera is changed from the horizontal position to the vertical position during the calibration, the calibration will fail. Instead of being
Calibration is simply a failure due to the prohibited vertical position. In the case of the line-of-sight detection device that can be used in the vertical position, the calibration can be performed even if the posture changes from the horizontal position to the vertical position during the calibration.
【0015】さらに、個人差データの正確さを増すため
に複数回の眼球回転角データを検出し、統計的な処理を
行うこともある。そのような場合は特に、個人差データ
の取得中にカメラの姿勢が変化すると間違った個人差補
正データを入力してしまい、正しい視線検出動作が出来
なくなるという問題がある。Further, in order to increase the accuracy of the individual difference data, the eyeball rotation angle data may be detected a plurality of times and statistically processed. In such a case, in particular, if the attitude of the camera changes during the acquisition of the individual difference data, incorrect individual difference correction data will be input, and the correct line-of-sight detection operation cannot be performed.
【0016】(発明の目的)本発明の目的は、個人差デ
ータの取得中に該装置の姿勢が変化した為に間違った個
人差補正データを入力してしまい、誤った視線検出動作
が行われてしまうといったことを防止することのできる
視線検出装置を提供することにある。(Object of the Invention) An object of the present invention is to input incorrect correction data for individual differences due to a change in the posture of the apparatus during the acquisition of data for individual differences, thereby causing an erroneous line-of-sight detection operation. An object of the present invention is to provide a line-of-sight detection device that can prevent such a situation.
【0017】[0017]
【課題を解決するための手段】上記目的を達成するため
に、本発明は、視線検出装置の姿勢を検知する姿勢検知
手段と、個人差データを求める為の個人差データ取得手
段と、該個人差データ取得手段にて個人差データを求め
るにあたって、個人差データの取得開始時の該装置の姿
勢を記憶する記憶手段と、該記憶手段に記憶された姿勢
と個人差データ取得中の姿勢を比較し、姿勢が異なる場
合に個人差データ取得が失敗したことを出力する個人差
データ判定手段とを設け、観察者の個人差データの取得
に先駆けて該装置の姿勢を記憶しておき、その後の観察
者の個人差データの取得時に前記姿勢の変化を検出した
場合は、個人差データ取得が失敗したことを出力するよ
うにしている。In order to achieve the above object, the present invention provides a posture detecting means for detecting the posture of a visual line detecting device, an individual difference data acquiring means for obtaining individual difference data, and the individual detecting means. When the individual difference data is obtained by the difference data acquisition unit, a storage unit that stores the posture of the apparatus at the start of acquisition of the individual difference data and a posture that is stored in the storage unit and a posture during acquisition of the individual difference data are compared. However, when the postures are different, the individual difference data determination means for outputting that the individual difference data acquisition has failed is provided, and the posture of the apparatus is stored prior to the acquisition of the individual difference data of the observer. When the change in the posture is detected during the acquisition of the individual difference data of the observer, the fact that the acquisition of the individual difference data has failed is output.
【0018】[0018]
【発明の実施の態様】以下、本発明を図示の実施の形態
に基づいて詳細に説明する。BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in detail below based on the embodiments shown in the drawings.
【0019】図1は本発明の実施の各形態に係るカメラ
本体に内蔵された電気回路の要部ブロック図である。FIG. 1 is a block diagram of a main part of an electric circuit built in a camera body according to each embodiment of the present invention.
【0020】同図において、カメラ本体に内蔵されたカ
メラ制御手段であるところのマイクロコンピュータの中
央処理装置(以下、CPUと称す)100には、視線検
出回路101,姿勢検知回路102,自動焦点検出回路
103,信号入力回路104,LCD駆動回路105,
LED駆動回路106,及び、IRED駆動回路107
が接続されている。また、不図示ではあるが撮影レンズ
内に配置された焦点調節回路,絞り駆動回路とはマウン
ト接点を介して信号の伝達がなされる。In FIG. 1, a central processing unit (hereinafter referred to as CPU) 100 of a microcomputer, which is a camera control means incorporated in a camera body, includes a visual axis detection circuit 101, a posture detection circuit 102, and an automatic focus detection. Circuit 103, signal input circuit 104, LCD drive circuit 105,
LED drive circuit 106 and IRED drive circuit 107
Are connected. Further, although not shown, signals are transmitted to the focus adjusting circuit and the diaphragm driving circuit arranged in the taking lens through mount contacts.
【0021】CPU100に付随した記憶手段としての
EEPROM100aは、フィルムカウンタ、その他の撮影情
報を記憶すると共にキャリブレーションを行って得た個
人差補正データを記憶する。As a storage means attached to the CPU 100
The EEPROM 100a stores a film counter and other shooting information, and also stores individual difference correction data obtained by performing calibration.
【0022】前記視線検出回路101は、イメージセン
サ14(CCD-EYE )からの眼球像の出力をCPU100
に送信する。CPU100はイメージセンサ14からの
眼球像信号をCPU100内部のA/D変換手段により
A/D変換し、この像情報を視線検出に必要な眼球像の
各特徴点を所定のアルゴリズムに従って抽出し、さらに
各特徴点の位置から撮影者の眼球の回転角を算出する。The visual axis detection circuit 101 outputs the eyeball image output from the image sensor 14 (CCD-EYE) to the CPU 100.
Send to. The CPU 100 A / D-converts the eyeball image signal from the image sensor 14 by the A / D conversion means inside the CPU 100, extracts this image information from each feature point of the eyeball image necessary for the sight line detection according to a predetermined algorithm, and further, The rotation angle of the photographer's eyeball is calculated from the position of each feature point.
【0023】前記姿勢検知回路102は、複数のペアの
フォトセンサとLED(HV1,HV2)及び重力によ
り可動な遮蔽物から成り、重力により遮蔽物が動きフォ
トセンサHV1,HV2の出力が変化することにより姿
勢を検知する。The attitude detection circuit 102 is composed of a plurality of pairs of photosensors, LEDs (HV1, HV2) and a shield movable by gravity, and the shield moves to change the outputs of the photosensors HV1, HV2. The posture is detected by.
【0024】図2に前記姿勢検知回路102の回路図を
示す。FIG. 2 shows a circuit diagram of the posture detection circuit 102.
【0025】フォトセンサHV1,HV2は互いに90
°程度の角度で配置され、それぞれ水平軸からも角度を
もって配置される。本例では水平位置で両方のセンサの
LED出力を遮蔽物(BALL1,BALL2)が遮る
ような構成になっているが、姿勢センサは必ずしもこの
ような位置構成である必要はない。The photosensors HV1 and HV2 are 90 degrees apart from each other.
They are arranged at an angle of about °, and each is also arranged at an angle from the horizontal axis. In this example, the shields (BALL1, BALL2) block the LED outputs of both sensors at the horizontal position, but the posture sensor does not necessarily have such a position configuration.
【0026】次に、図3を使って姿勢検知出力の説明を
行う。Next, the posture detection output will be described with reference to FIG.
【0027】図3の(a−1),(a−2)はカメラが
横位置の場合を示しており、フォトセンサHV1,HV
2は共にOFFになり、出力は、HVSW1=“H”,
HVSW2=“H”となる。図3の(b−1),(b−
2)はグリップが下方向の縦位置で、フォトセンサHV
1側の遮蔽物BALL1が移動し、フォトセンサHV1
がONになる。この為出力は、HVSW1=“L”,H
VSW2=“H”となる。同様に図3の(c−1),
(c−2)は、フォトセンサHV2側の遮蔽物BALL
2が移動し、フォトセンサHV2がONになる。このた
め、出力は、HVSW1=“H”,HVSW2=“L”
となる。最後に不図示であるが、カメラを逆さに構えた
場合の出力は、HVSW1=“L”,HVSW=2
“L”となる。3A-1 and 3A-2 show the case where the camera is in the horizontal position, and the photosensors HV1 and HV are shown.
Both 2 are turned off, and the output is HVSW1 = "H",
HVSW2 = “H”. 3 (b-1), (b-
In 2), the grip is in the downward vertical position and the photo sensor HV
The shield BALL1 on the first side moves, and the photo sensor HV1
Turns on. Therefore, the output is HVSW1 = "L", H
VSW2 = “H”. Similarly, (c-1) of FIG.
(C-2) is a shield BALL on the photo sensor HV2 side
2 moves, and the photo sensor HV2 is turned on. Therefore, the output is HVSW1 = "H", HVSW2 = "L".
Becomes Finally, although not shown, the output when the camera is upside down is HVSW1 = “L”, HVSW = 2.
It becomes "L".
【0028】このようにHVSW1,HVSW2の出力
により、カメラの姿勢を検知することができる。In this way, the posture of the camera can be detected by the outputs of HVSW1 and HVSW2.
【0029】図1に戻って、前記自動焦点検出回路10
3は、複数のラインセンサから得た光電変換電圧をCP
U100に送り、CPU100では内蔵されたA/D変
換手段によってラインセンサ信号を順次A/D変換し、
所定の演算を行って焦点検出を行う。Returning to FIG. 1, the automatic focus detection circuit 10 is described.
3 is a photoelectric conversion voltage obtained from a plurality of line sensors
It is sent to U100, and in the CPU100, the line sensor signal is sequentially A / D converted by the built-in A / D conversion means,
Focus detection is performed by performing a predetermined calculation.
【0030】前記信号入力回路104は、各種スイッチ
からの信号入力を行い、スイッチの状態が変化するとC
PU100に割り込み信号を発生させる。SW−1はレ
リーズ釦の第1ストロークでONし、測光,AF,視線
検出動作を開始させる為のスイッチ、SW−2はレリー
ズ釦の第2ストロークでONするレリーズスイッチ、SW
-MDIALはカメラの各種撮影モードの他、キャリブレーシ
ョンモードやカメラのロックポジションをを選択するモ
ードダイアルである。SW-CALDELは個人差補正データ消
去スイッチである。SW-DIAL1とSW-DIAL2は電子ダイヤル
スイッチで、信号入力回路のアップダウンカウンタに入
力され、ダイヤルの回転クリック量をカウントする。The signal input circuit 104 inputs signals from various switches, and when the state of the switches changes, C
It causes the PU 100 to generate an interrupt signal. SW-1 is a switch that is turned on by the first stroke of the release button to start photometry, AF, and line-of-sight detection operations. SW-2 is a release switch that is turned on by the second stroke of the release button.
-MDIAL is a mode dial that selects the various shooting modes of the camera, as well as the calibration mode and the lock position of the camera. SW-CALDEL is an individual difference correction data erasing switch. SW-DIAL1 and SW-DIAL2 are electronic dial switches that are input to the up / down counter of the signal input circuit and count the rotary click amount of the dial.
【0031】前記LCD駆動回路105は、ファインダ
内LCD24及びモニタ用LCD42に各種情報を表示
する他に不図示のブザーを駆動しブザー音を発生させ
る。The LCD drive circuit 105 displays various information on the in-finder LCD 24 and the monitor LCD 42 and also drives a buzzer (not shown) to generate a buzzer sound.
【0032】前記LED駆動回路106は、ファインダ
内の測距点(焦点検出点)をスーパーインポーズ照明す
るLED21(LED−L2,LED−L1,LED−
C,LED−R1,LED−R2)を点灯させる為の回
路である。LED−L2,LED−L1,LED−C,
LED−R1,LED−R2はそれぞれファインダ内の
不図示の焦点検出マークFP−L2(左),FP−L1
(左中),FP−C(中央),FP−R1(右中),F
P−R2(右)に対応しており、LED21を点灯させ
ることによりファインダ内の焦点検出マークが照明され
る。The LED drive circuit 106 superimposes and illuminates a distance measuring point (focus detection point) in the finder 21 (LED-L2, LED-L1, LED-).
This is a circuit for lighting C, LED-R1, LED-R2). LED-L2, LED-L1, LED-C,
LED-R1 and LED-R2 are focus detection marks FP-L2 (left) and FP-L1 (not shown) in the viewfinder, respectively.
(Middle left), FP-C (middle), FP-R1 (middle right), F
It corresponds to P-R2 (right), and the focus detection mark in the finder is illuminated by turning on the LED 21.
【0033】前記IRED駆動回路107は、撮影者の
眼球を赤外光で照明するための赤外LED(IRED−
0,IRED−1,IRED−2,IRED−3,IR
ED−4,IRED−5,IRED−6,IRED−
7)を点灯させる為の回路である。この回路には過電流
を防止する為の回路部や長時間の通電による事故を防止
するための安全回路部が組み込まれている。IREDは
2つがペアで使用され、眼球に対し下側から照明され
る。The IRED drive circuit 107 is an infrared LED (IRED-) for illuminating the eyeball of the photographer with infrared light.
0, IRED-1, IRED-2, IRED-3, IR
ED-4, IRED-5, IRED-6, IRED-
This is a circuit for lighting 7). This circuit incorporates a circuit section for preventing overcurrent and a safety circuit section for preventing accidents due to energization for a long time. Two IREDs are used as a pair and illuminate the eyeball from below.
【0034】具体的なIREDの位置を示した図を図8
に示す。FIG. 8 is a diagram showing the position of a specific IRED.
Shown in.
【0035】カメラの姿勢が横位置の場合、裸眼用とし
てIRED−0,IRED−1が、又眼鏡用としてIR
ED−4,IRED−5が、それぞれペアとして使用さ
れ、グリップ上の縦位置では、裸眼用としてIRED−
3,IRED−0が、又眼鏡用としてIRED−7,I
RED−4が、それぞれペアとして使用される。また、
グリップ下の縦位置では、裸眼用としてIRED−1,
IRED−2が、又は眼鏡用としてIRED−5,IR
ED−6が、それぞれペアとして使用される。つまり、
どの姿勢においても裸眼の場合は間隔の狭いIREDペ
アが使用され、眼鏡や眼球の距離が遠い場合は間隔の広
いIREDペアが使用される。When the camera is in the horizontal position, IRED-0 and IRED-1 are used for naked eyes, and IRED for glasses.
ED-4 and IRED-5 are used as a pair respectively, and in the vertical position on the grip, IRED- for naked eyes is used.
3, IRED-0, IRED-7, I for eyeglasses
RED-4 is used as each pair. Also,
In the vertical position under the grip, IRED-1, for the naked eye,
IRED-2, or IRED-5, IR for glasses
ED-6 is used as a pair, respectively. That is,
In any posture, the naked eye uses an IRED pair with a narrow interval, and the glasses or the eyeballs with a long distance use an IRED pair with a wide interval.
【0036】本発明の視線検出装置及び個人差データ取
得手段は、CPU100,視線検出回路101,IRE
D駆動回路107,イメージセンサ14,LCD駆動回
路105,LED駆動回路106、及び、眼球回転角検
出手段から構成されている。眼球回転角検出手段はCP
U100内部のプログラムにより構成されている。ま
た、CPU100は視線検出装置の各機能部材に信号を
送信して制御を行うとともに、各種の検出回路からの信
号を受けてその信号処理を行う。The line-of-sight detection device and individual difference data acquisition means of the present invention include a CPU 100, a line-of-sight detection circuit 101, and an IRE.
It is composed of a D drive circuit 107, an image sensor 14, an LCD drive circuit 105, an LED drive circuit 106, and an eyeball rotation angle detection means. The eyeball rotation angle detection means is CP
It is composed of a program inside the U100. Further, the CPU 100 sends a signal to each functional member of the line-of-sight detection device to perform control, and receives signals from various detection circuits to perform signal processing thereof.
【0037】また、本発明の姿勢検知手段は、姿勢検知
回路102及び1ペアのフォトセンサ、LED(HV
1,HV2)から成る。又記憶手段はCPU100内の
RAM、個人差データ判定手段はCPU100内に書き
込まれたプログラムによって実現されている。The attitude detecting means of the present invention includes an attitude detecting circuit 102, a pair of photosensors, and an LED (HV).
1, HV2). The storage means is realized by the RAM in the CPU 100, and the individual difference data determination means is realized by the program written in the CPU 100.
【0038】次に、図4のフローチャートにより、キャ
リブレーション動作と表示について説明する。Next, the calibration operation and display will be described with reference to the flowchart of FIG.
【0039】カメラのモードダイアルSW-MDIALをキャリ
ブレーションモードにすると、プログラムの制御がステ
ップ#1に移る。キャリブレーションモードにおいて電
子ダイアル(SW-DIAL1)を回転させると、キャリブレー
ション番号の変更ができる。キャリブレーションモード
で電子ダイアルに変化があると割り込みでキャリブレー
ション番号の変更処理を行う。When the mode dial SW-MDIAL of the camera is set to the calibration mode, the program control moves to step # 1. You can change the calibration number by rotating the electronic dial (SW-DIAL1) in the calibration mode. When there is a change in the electronic dial in the calibration mode, the process of changing the calibration number is performed by interruption.
【0040】次に、パラメータの初期設定を行う(ステ
ップ#2)。初期設定が終了すると、カメラの姿勢検知
を行い、カメラの姿勢を4つの姿勢(横位置,縦位置:
グリップが上,縦位置:グリップが下,逆さ位置)に分
類する(ステップ#3)。次に、その姿勢のキャリブレ
ーションデータがあるかどうかを判定し(ステップ#
4)、データがある場合はキャリブレーション番号(CA
L番号)を点灯させる(ステップ#5)。データがなけ
ればCAL番号を点滅させる(ステップ#6)。Next, the parameters are initialized (step # 2). When the initial setting is completed, the camera posture is detected and the posture of the camera is detected in four postures (horizontal position, vertical position:
The grip is classified into the upper position and the vertical position: the grip is located in the lower position (upside down) (step # 3). Next, determine whether there is calibration data for that posture (step #
4) If there is data, calibration number (CA
The L number is turned on (step # 5). If there is no data, the CAL number is blinked (step # 6).
【0041】次に、スイッチSW−1がOFFされるの
を待つ(ステップ#7)。スイッチSW−1がONのま
まならステップ#3〜#7を繰り返す。Next, it waits until the switch SW-1 is turned off (step # 7). If the switch SW-1 remains ON, steps # 3 to # 7 are repeated.
【0042】前記スイッチSW−1がOFFになると、
キャリブレーションの指標をファインダ内にスーパーイ
ンポーズ表示する。横位置で構えた場合は右測距点を第
一の指標として使用し、縦位置に構えた場合は常に上に
なる測距点を第一の指標として使用する。When the switch SW-1 is turned off,
Superimpose the calibration index in the viewfinder. The right focus detection point is used as the first index when held in the horizontal position, and the focus detection point that is always above when used in the vertical position is used as the first index.
【0043】その為、姿勢がグリップ下位置の縦位置で
あるか判定し(ステップ#8)、そうならLED−L2
を点滅させることにより左の測距マークFP−L2を表
示する(ステップ#10)。それ以外のカメラ姿勢なら
LED−R2を点滅させ、右の測距マークFP−R2を
表示する。この状態でスイッチSW−1がONされるの
を待つ(ステップ#11)。スイッチSW−1がOFF
の間、ステップ#3〜#11を繰り返す。Therefore, it is determined whether the posture is the vertical position below the grip (step # 8), and if so, LED-L2
The left distance measuring mark FP-L2 is displayed by blinking (step # 10). If the camera is in any other posture, the LED-R2 is blinked and the right distance measuring mark FP-R2 is displayed. In this state, it waits until the switch SW-1 is turned on (step # 11). Switch SW-1 is off
During this period, steps # 3 to # 11 are repeated.
【0044】この間に電子ダイアルを回転させると、キ
ャリブレーション番号の表示が変化する。If the electronic dial is rotated during this time, the display of the calibration number changes.
【0045】スイッチSW−1がONされると(ステッ
プ#11)、ステップ#9又はステップ#10で点滅表
示したLEDを点灯表示にし(ステップ#12)、次に
キャリブレーションデータを取得するためにサブルーチ
ン「CAL視線演算」をコールする(ステップ#1
3)。詳しくは図5のフローチャートを使って説明す
る。そして、この「CAL視線演算」が終了するとLE
Dを消灯させ(ステップ#14)、視線演算が失敗した
か判定する(ステップ#15)。キャリブレーションが
失敗の場合はフラグ「CAL_ERR 」が1に設定されている
のでそれで判断する。成功なら「ピッピッ」というブザ
ーで成功したことと知らせる(ステップ#16)。When the switch SW-1 is turned on (step # 11), the LED blinking in step # 9 or step # 10 is turned on (step # 12), and then the calibration data is acquired. Call the subroutine "CAL line-of-sight calculation" (step # 1
3). Details will be described with reference to the flowchart of FIG. Then, when this "CAL line-of-sight calculation" ends, LE
D is turned off (step # 14), and it is determined whether the line-of-sight calculation has failed (step # 15). If the calibration is unsuccessful, the flag "CAL_ERR" is set to 1, so the determination is made with that. If it is successful, the buzzer "beep" informs the success (step # 16).
【0046】次に、スイッチSW−1がOFFするのを
待ち(ステップ#17)、OFFになったら、第2の指
標を点滅させる。グリップ下の縦位置の場合、点滅させ
るLEDが異なるのでそれを判断し(ステップ#1
8)、グリップ下の縦位置ならLED−R2を点滅さ
せ、右の焦点検出マークFP−R2を表示する(ステッ
プ#19)。それ以外ならLED−L2を点滅させ、左
の焦点検出マークFP−L2を表示する(ステップ#2
0)。これで、縦位置なら下の測距点が、横位置なら左
の測距点が点滅表示される。Next, it waits until the switch SW-1 is turned off (step # 17), and when it is turned off, the second index is blinked. In the case of the vertical position under the grip, the blinking LED is different, so judge that (Step # 1
8) If the vertical position is under the grip, the LED-R2 is made to blink, and the right focus detection mark FP-R2 is displayed (step # 19). Otherwise, the LED-L2 is made to blink and the left focus detection mark FP-L2 is displayed (step # 2).
0). With this, the lower focus detection point in the vertical position and the left focus detection point in the horizontal position blink.
【0047】ここでスイッチSW−1が再びONされる
のを待ち(ステップ#21)、ONされたらLEDを点
滅から点灯に変え(ステップ#22)、サブルーチン
「CAL視線検出」を行う(ステップ#23)。視線演
算が終了したらLEDを消灯させ(ステップ#24)、
視線失敗かどうかフラグ「CAL_ERR 」で判定する(ステ
ップ#25)。成功なら「ピピッ」というブザー音で知
らせる(ステップ#26)。そして、キャリブレーショ
ンが終了したことを表示し(ステップ#27)、スイッ
チSW−1がOFFされるのを待つ(ステップ#2
8)。そして、OFFされたらリターンする(ステップ
#31)。Here, waiting for the switch SW-1 to be turned on again (step # 21), when it is turned on, the LED is changed from blinking to lighting (step # 22), and the subroutine "CAL line of sight detection" is performed (step # 21). 23). When the line-of-sight calculation is completed, turn off the LED (step # 24),
It is determined by the flag "CAL_ERR" whether the line of sight has failed (step # 25). If it is successful, a buzzer sound "pip" is given (step # 26). Then, the completion of calibration is displayed (step # 27), and the switch SW-1 is turned off (step # 2).
8). When it is turned off, the process returns (step # 31).
【0048】最後にサブルーチン「CAL視線演算」で
視線演算が失敗した場合について説明する。Finally, the case where the line-of-sight calculation fails in the subroutine "CAL line-of-sight calculation" will be described.
【0049】この場合、ステップ#15又はステップ#
25からステップ#29へ分岐する。ここで失敗表示を
行う。「CAL」の表示と番号の両方を点滅し、ブザー
を連続で「ピピピピピピピピピピピピピ・・・・・・
・」と鳴らすことで失敗を認識させる。そして、スイッ
チSW−1がOFFするのを待ち(ステップ#30,#
28)、リターンする(ステップ#31)。In this case, step # 15 or step # 15
It branches from 25 to step # 29. A failure display is displayed here. Both the "CAL" display and the number will blink, and the buzzer will be displayed continuously.
・ Make the mistake recognized by sounding "." Then, it waits until the switch SW-1 is turned off (steps # 30, #
28) and returns (step # 31).
【0050】リターンした後も引き続きカメラのモード
ダイアルがキャリブレーションモードになっていれば、
ステップ#1からプログラムを実行する。After the return, if the mode dial of the camera is still in the calibration mode,
Run the program from step # 1.
【0051】ここで、個人差補正データの消去について
簡単に説明しておく。Here, the deletion of the individual difference correction data will be briefly described.
【0052】カメラのモードがキャリブレーションモー
ドの時にキャリブレーションデータ消去スイッチSW-CAL
DEL をONする事により、姿勢別の個人差補正データの
消去を行うことができる。該スイッチSW-CALDEL をON
すると、信号入力回路104はCPU100に割り込み
信号を発生させ、CPU100は割り込みサブルーチン
「データ消去」を実行する。割り込みサブルーチン「デ
ータ消去」を実行した後はステップ#1からプログラム
実行を行う。Calibration data deletion switch SW-CAL when the camera mode is the calibration mode
By turning on DEL, the individual difference correction data for each posture can be erased. Turn on the switch SW-CALDEL
Then, the signal input circuit 104 causes the CPU 100 to generate an interrupt signal, and the CPU 100 executes the interrupt subroutine “data erase”. After executing the interrupt subroutine "data erase", the program is executed from step # 1.
【0053】次に、本発明の主要部分であるサブルーチ
ン「CAL視線演算」(図4のフローチャートのステッ
プ#13及び#23の部分)について、図5のフローチ
ャートで説明する。Next, the subroutine "CAL line-of-sight calculation" (steps # 13 and # 23 in the flowchart of FIG. 4) which is the main part of the present invention will be described with reference to the flowchart of FIG.
【0054】サブルーチン「CAL視線演算」がコール
されると(ステップ#C01)、初めにカメラ姿勢が逆
さ位置であるか判定する。逆さならNAC_CAL_Failに分岐
し、キャリブレーション動作を注視する。キャリブレー
ションが失敗したことを示すフラグCAL_ERR を1にセッ
トする(ステップ#C21)。When the subroutine "CAL line-of-sight calculation" is called (step # C01), it is first determined whether the camera posture is the upside down position. If it is upside down, branch to NAC_CAL_Fail and watch the calibration operation. The flag CAL_ERR indicating that the calibration has failed is set to 1 (step # C21).
【0055】一方、逆さでないならステップ#C03へ
分岐し、キャリブレーションに必要なパラメータの設定
行い、眼球距離の閾値設定を行う(ステップ#C0
4)。眼球距離の閾値はカメラ姿勢によって(縦と横
で)異なる。次に、視線が安定するのを所定時間(10
0〜200msec)待つ(ステップ#C05)。直ぐ
にキャリブレーション動作を行うと、視線が安定してい
ないため(目がきょろきょろしてしまう)、正確なキャ
リブレーションデータが得られないからである。On the other hand, if they are not upside down, the process branches to step # C03 to set the parameters required for calibration and to set the threshold value of the eyeball distance (step # C0).
4). The eye distance threshold varies depending on the camera posture (vertical and horizontal). Next, the line of sight is stabilized for a predetermined time (10
Wait for 0 to 200 msec) (step # C05). This is because if the calibration operation is performed immediately, the line of sight is not stable (the eyes are fluttering), and accurate calibration data cannot be obtained.
【0056】次に、眼鏡判定が終了したかどうかを判定
する(ステップ#C06)。眼鏡判定は、キャリブレー
ション動作の最初だけに行う。Next, it is determined whether or not the glasses determination has been completed (step # C06). The glasses determination is performed only at the beginning of the calibration operation.
【0057】眼鏡判定が終了していなければステップ#
C07へ分岐する。そして、眼鏡判定に先立ちカメラの
姿勢を記憶する。ここでキャリブレーションデータの取
得開始前のカメラ姿勢を記録することができる。カメラ
の姿勢は、フォトセンサHV1,HV2の出力HVSW
1,HVSW2をそのまま2bitの情報としてCPU
100内の所定のRAMに格納する。姿勢情報はそれぞ
れ姿勢に対するフラグを作成し(横位置フラグ、縦位置
フラグ1、縦位置フラグ2、逆さ位置フラグというよう
に)、そのフラグに変換して記憶しておいてもよい。姿
勢の比較を行うだけなら、姿勢検知スイッチの情報をそ
のまま記憶しておいても良いが、他の制御等に使うため
にはそれぞれの位置に対応するフラグに変換してから記
憶しておく方が扱い易い。If the eyeglasses determination is not completed, step #
Branch to C07. Then, the attitude of the camera is stored prior to the eyeglass determination. Here, the camera posture before the start of the acquisition of the calibration data can be recorded. The attitude of the camera is the output HVSW of the photo sensors HV1 and HV2.
1, HVSW2 as it is as 2-bit information CPU
It is stored in a predetermined RAM in 100. The posture information may be stored as a flag for each posture (such as a horizontal position flag, a vertical position flag 1, a vertical position flag 2, and an upside down position flag), and converted into that flag. If only comparing the postures, the information of the posture detection switch may be stored as it is, but to use it for other control etc., convert it to a flag corresponding to each position and store it. Is easy to handle.
【0058】次に眼鏡判定を行う(ステップ#C0
8)。キャリブレーションの最初に撮影者が眼鏡を使用
しているか裸眼かを判定し、使用する照明や蓄積制御方
法を決定する。眼鏡判定が終了したらそのことをRAM
に記憶しておき、次回からは「姿勢記憶」と「眼鏡判
定」を行わない。眼鏡判定が正しく行えたかどうか判定
して(ステップ#C09)、眼鏡判定が失敗ならNAC_NG
フラグが1にセットされているので、(ステップ#C1
0)からキャリブレーション失敗処理(NAC_CAL_Fail)
へジャンプする。Next, eyeglasses determination is performed (step # C0
8). At the beginning of calibration, it is determined whether the photographer is wearing glasses or naked eyes, and the illumination to be used and the storage control method are determined. When the glasses are judged, RAM
"Attitude memory" and "glasses determination" will not be performed from the next time. It is determined whether or not the eyeglasses determination has been correctly performed (step # C09), and if the eyeglasses determination fails, NAC_NG
Since the flag is set to 1, (Step # C1
0) to calibration failure processing (NAC_CAL_Fail)
Jump to.
【0059】眼鏡判定が成功すればステップ#C11へ
分岐する。ここでカメラの姿勢を検知する。カメラ姿勢
が記憶した姿勢と異なる場合(ステップ#C12)、NA
C_NGフラグを1に設定して(ステップ#C13)、キャ
リブレーション失敗処理(NAC_CAL_Fail)へジャンプす
る(ステップ#C14)。If the eyeglasses determination is successful, the process branches to step # C11. Here, the attitude of the camera is detected. If the camera posture is different from the stored posture (step # C12), NA
The C_NG flag is set to 1 (step # C13), and the process jumps to the calibration failure process (NAC_CAL_Fail) (step # C14).
【0060】ステップ#C11で求めた姿勢が記憶した
姿勢と同じならサブルーチン「CalSample」でキャリブ
レーションデータの取得のため視線検出を行う(ステッ
プ#C15)。このサブルーチン「CalSample」の中で
は所定回数の視線検出を行い、統計的な処理を行うこと
でデータの正確度を増すようにしている。この時センサ
の制御や照明はサブルーチン「眼鏡判定」で決定された
もので行う。所定数視線演算を行って充分なデータが得
られないときはキャリブレーション失敗(CAL_ERR=1)
になる。If the posture obtained in step # C11 is the same as the stored posture, the line-of-sight detection is performed for acquisition of the calibration data in the subroutine "CalSample" (step # C15). In this subroutine "Cal Sample", the line of sight is detected a predetermined number of times and statistical processing is performed to increase the accuracy of the data. At this time, the control of the sensor and the illumination are performed by the subroutine "glasses determination". Calibration is failed (CAL_ERR = 1) when a sufficient number of line-of-sight calculations cannot be obtained.
become.
【0061】キャリブレーションのデータ取りが終了す
ると、キャリブレーションの2点目かどうかを判定し
(ステップ#C16)、2点目でキャリブレーション失
敗でないなら(CAL_ERR=0)ステップ#C18に分岐す
る。ここで今回のキャリブレーションデータを取得する
前にキャリブレーションのデータがあればEEPROMからR
AMに読み込む。次に、今回取得したデータと今までの
データとで新しいキャリブレーションデータを計算する
(ステップ#C19)。最後に新しいキャリブレーショ
ンデータをEEPROMにsaveし(ステップ#C20)、リタ
ーンする。When the data acquisition of the calibration is completed, it is judged whether or not it is the second point of the calibration (step # C16), and if the calibration is not failed at the second point (CAL_ERR = 0), the process branches to step # C18. If there is calibration data before acquiring this calibration data, read R from the EEPROM.
Read in AM. Next, new calibration data is calculated from the data acquired this time and the data up to now (step # C19). Finally, save the new calibration data in the EEPROM (step # C20) and return.
【0062】最後に、キャリブレーション失敗処理(NA
C_CAL_Fail)について説明する。Finally, the calibration failure process (NA
C_CAL_Fail) will be described.
【0063】ここに分岐してくるのは、最初にカメラ位
置が逆さだった場合、眼鏡判定が出来なかった場合、キ
ャリブレーションの途中で姿勢が変化した場合の何れか
である。このときはキャリブレーション失敗(CAL_ERR=
1)を設定し(ステップ#C21)、リターンする(ス
テップ#C22)。The process branches to either the case where the camera position is first inverted, the case where the glasses cannot be determined, or the case where the posture changes during the calibration. In this case, calibration failure (CAL_ERR =
1) is set (step # C21), and the process returns (step # C22).
【0064】サブルーチン「CAL視線演算」は、図4
のキャリブレーションから2回コールされるが(図4の
ステップ#13,#23)、1回目と2回目の動作の違
いについてここで補足説明する。The subroutine "CAL line-of-sight calculation" is shown in FIG.
Is called twice from the calibration (steps # 13 and # 23 in FIG. 4), the difference between the first and second operations will be supplementarily described.
【0065】まず、ステップ#13からコールされた場
合、図5のステップ#C06では眼鏡判定が終了してい
ないため、ステップ#C07で姿勢の記憶を行う。ステ
ップ#16ではCAL2点目ではないので、キャリブレ
ーションデータの計算やsaveは行わない。First, when the call is made from step # 13, the glasses determination is not completed in step # C06 in FIG. 5, so the posture is stored in step # C07. In step # 16, since it is not the second point of CAL, calibration data is not calculated or saved.
【0066】図4のステップ#23からコールされた場
合(キャリブレーション2点目)は、図5のステップ#
C06では、分岐せずにステップ#C11へ進む。この
為、次のステップ#C12では、キャリブレーション2
点目の姿勢と図4のステップ#13でコールしたCAL
視線演算中で記憶した姿勢、すなわちキャリブレーショ
ンの最初の姿勢が比較される。さらに、データ取得後、
ステップ#C16ではステップ#C17,#C18へ分
岐し、新しいキャリブレーションデータを計算しsaveす
る。When called from step # 23 in FIG. 4 (the second calibration point), step # 23 in FIG.
In C06, the process proceeds to step # C11 without branching. Therefore, in the next step # C12, the calibration 2
Posture and CAL called in step # 13 of FIG.
The posture stored during the line-of-sight calculation, that is, the first posture of calibration is compared. Furthermore, after data acquisition,
In step # C16, the process branches to steps # C17 and # C18 to calculate and save new calibration data.
【0067】このように、キャリブレーションの最初に
カメラの姿勢を記憶しておき、キャリブレーション1点
目の姿勢と2点目の途中で姿勢変化があったかどうかを
比較し、姿勢変化があった場合キャリブレーションを失
敗にし、誤ったキャリブレーションデータが入力される
のを未然に防いでいる。In this way, the posture of the camera is stored at the beginning of calibration, and the posture of the first point of calibration is compared with the posture of the second point to determine whether or not there is a posture change. It prevents the calibration from failing and inputting incorrect calibration data.
【0068】(実施の第2の形態)上記の実施の第1の
形態では、キャリブレーション1点目の姿勢と2点目の
姿勢を比較したが、サブルーチン「CalSample」(図5
のステップ#C15)の中で視線演算を行う毎に姿勢比
較を行ってもよい。(Second Embodiment) In the first embodiment, the posture of the calibration first point and the posture of the second point are compared, but the subroutine "CalSample" (FIG. 5) is used.
The posture may be compared each time the line-of-sight calculation is performed in step # C15).
【0069】図6は本発明の実施の第2の形態について
説明するためのフローチャートである。FIG. 6 is a flow chart for explaining the second embodiment of the present invention.
【0070】この図は、図5のステップ#C15のサブ
ルーチン「CalSample 」の詳細説明フローチャートであ
る。This drawing is a detailed explanation flowchart of the subroutine "CalSample" of step # C15 in FIG.
【0071】このサブルーチンがコールされるとまず、
CAL視線演算を行うに当たり初期設定を行う(ステッ
プ#60)。キャリブレーションで視線検出を試行する
回数の設定,取得したデータを格納するアドレス設定,
検出できた回数をカウントするカウンタ、及び、「CAL_
ERR フラグ」のクリアを行う。次に、カメラの姿勢を検
知し(ステップ#61)、この姿勢が図5のステップ#
C07で記憶された姿勢と違うかを比較する(ステップ
#62)。もし姿勢が違うならステップ#75へ分岐
し、キャリブレーションの失敗を表すフラグ「CAL_ERR
」を1に設定し(ステップ#75)、直にサブルーチ
ンをリターンする(ステップ#76)。When this subroutine is called, first,
Initial setting is performed when performing the CAL line-of-sight calculation (step # 60). Set the number of attempts to detect the line of sight in calibration, set the address to store the acquired data,
A counter that counts the number of times it can be detected, and "CAL_
Clear the "ERR flag". Next, the posture of the camera is detected (step # 61), and this posture is detected in step # 6 of FIG.
It is compared whether the posture is different from the posture stored in C07 (step # 62). If the posture is different, the process branches to step # 75, and the flag "CAL_ERR" indicating the failure of calibration.
Is set to 1 (step # 75), and the subroutine is immediately returned (step # 76).
【0072】一方、姿勢が変わっていなければキャリブ
レーションデータの入力を行い(ステップ#63)、視
線検出の結果を判定する。視線検出が成功していればNA
C_OKフラグが1にセットされるのでこれで判定する(ス
テップ#65)。成功していればステップ#66で今検
出した視線データを所定のアドレスに格納し、ステップ
#67で成功したデータ数をカウントする。On the other hand, if the posture has not changed, calibration data is input (step # 63), and the result of the line-of-sight detection is determined. NA if gaze detection is successful
Since the C_OK flag is set to 1, it is determined (step # 65). If successful, the line-of-sight data detected at step # 66 is stored in a predetermined address, and the number of successful data is counted at step # 67.
【0073】次に、試行する回数をカウントしているカ
ウンタを減算し(ステップ#68)もし0でないなら所
定回数、ステップ#61〜#68を繰り返す。所定回数
繰り返すとループをぬけ、個人差データの計算を行う
(ステップ#69)。ここで、片方の指標に対するデー
タが計算できる。次にフラグ「CAL_STEP2 」でキャリブ
レーション1点目が2点目かを判定し、1点目ならステ
ップ#71へ、2点目ならステップ#72へ分岐し、そ
れぞれ計算データを格納するアドレス設定を行う。アド
レスが設定されたら計算データを格納する(ステップ#
73)。次に、成功したデータ数(ステップ#67でカ
ウントしている)が所定数より多いかどうかを判定し、
所定数に満たなければ「CAL_ERR フラグ」を1に設定す
る。最後にサブルーチンをリターンする(ステップ#7
4)。Next, the counter for counting the number of trials is subtracted (step # 68). If not 0, steps # 61 to # 68 are repeated a predetermined number of times. When it is repeated a predetermined number of times, the loop is exited and the individual difference data is calculated (step # 69). Here, the data for one index can be calculated. Next, the flag “CAL_STEP2” is used to determine whether the first calibration point is the second point. If the first point is the first point, the process branches to step # 71. If the second point is the step # 72, the address for storing the calculation data is set. To do. Store the calculated data when the address is set (step #
73). Next, it is determined whether the number of successful data (counted in step # 67) is more than a predetermined number,
If it does not reach the specified number, set the "CAL_ERR flag" to 1. Finally, the subroutine returns (step # 7).
4).
【0074】このように、キャリブレーションの最初に
カメラの姿勢を記憶しておき、キャリブレーション途中
で姿勢変化があったかどうかを毎回比較し、姿勢変化が
あった場合、キャリブレーションを失敗にし、誤ったキ
ャリブレーションデータが入力されるのを未然に防いで
いる。As described above, the attitude of the camera is stored at the beginning of the calibration, and whether or not the attitude is changed during the calibration is compared every time. If the attitude is changed, the calibration is failed and an error is made. It prevents the calibration data from being input.
【0075】尚、上記実施の各形態の各構成と本発明の
各構成の対応関係は既に述べた通りであるが、本発明
は、これら実施の形態の構成に限定されるものではな
く、請求項で示した機能、又は実施の形態がもつ機能が
達成できる構成であればどのようなものであってもよい
ことは言うまでもない。Incidentally, the correspondence relationship between each configuration of each of the above-described embodiments and each configuration of the present invention is as described above, but the present invention is not limited to the configurations of these embodiments, and claims It goes without saying that any structure may be used as long as it can achieve the function shown in the section or the function of the embodiment.
【0076】(変形例)本発明は、一眼レフカメラ,レ
ンズシャッタカメラ,ビデオカメラ等のカメラに適用し
た場合を述べているが、その他の光学機器や他の装置、
更には構成ユニットとしても適用することができるもの
である。(Modification) The present invention is described as applied to a camera such as a single-lens reflex camera, a lens shutter camera, a video camera, etc. However, other optical devices and other devices,
Furthermore, it can be applied as a constituent unit.
【0077】[0077]
【発明の効果】以上説明したように、本発明によれば、
観察者の個人差データの取得に先駆けて該装置の姿勢を
記憶しておき、その後の観察者の個人差データの取得時
に前記姿勢の変化を検出した場合は、個人差データ取得
が失敗したことを出力するようにしている。As described above, according to the present invention,
The posture of the device is stored prior to the acquisition of the individual difference data of the observer, and if the change in the posture is detected during the subsequent acquisition of the individual difference data of the observer, it means that the acquisition of the individual difference data has failed. Is output.
【0078】よって、個人差データの取得中に該装置の
姿勢が変化した為に間違った個人差補正データを入力し
てしまい、誤った視線検出動作が行われてしまうといっ
たことを防止することが可能となる。Therefore, it is possible to prevent erroneous line-of-sight detection operation from being performed by inputting incorrect individual difference correction data due to a change in the posture of the apparatus during acquisition of individual difference data. It will be possible.
【図1】本発明の実施の各形態に係るカメラ本体に内蔵
された電気回路の要部ブロック図である。FIG. 1 is a block diagram of a main part of an electric circuit built in a camera body according to each embodiment of the present invention.
【図2】図1の姿勢検出回路の構成を示す回路図であ
る。FIG. 2 is a circuit diagram showing a configuration of a posture detection circuit shown in FIG.
【図3】カメラの姿勢とその時の姿勢検出センサの状態
を説明する為の図である。FIG. 3 is a diagram for explaining a posture of a camera and a state of a posture detection sensor at that time.
【図4】本発明の実施の第1の形態に係るカメラのキャ
リブレーション動作を示すフローチャートである。FIG. 4 is a flowchart showing a calibration operation of the camera of the first embodiment of the present invention.
【図5】図4のステップ#13にて実行されるCAL視
線演算の動作を示すフローチャートである。5 is a flowchart showing an operation of CAL line-of-sight calculation executed in step # 13 of FIG.
【図6】本発明の実施の第2の形態に係るカメラの Cal
Sample動作を示すフローチャートである。FIG. 6 is a Cal of a camera according to a second embodiment of the present invention.
It is a flow chart which shows Sample operation.
【図7】視線検出原理を説明する為の図である。FIG. 7 is a diagram for explaining the gaze detection principle.
【図8】実施の各形態に係るカメラに具備される眼球照
明用IREDの配置関係について説明する為の図であ
る。FIG. 8 is a diagram for explaining an arrangement relation of an eyeball illumination IRED included in the camera according to each embodiment.
14 イメージセンサ
100 マイクロコンピュータの中央処理装置(CP
U)
101 視線検出回路
102 姿勢検知回路
103 自動焦点検出回路
104 信号入力回路
105 LCD駆動回路
106 LED駆動回路
107 IRED駆動回路
HV1 姿勢検出センサの構成要素の一つであるフォト
センサ
HV2 姿勢検出センサの構成要素の一つであるフォト
センサ14 Image sensor 100 Central processing unit of microcomputer (CP
U) 101 Line-of-sight detection circuit 102 Posture detection circuit 103 Automatic focus detection circuit 104 Signal input circuit 105 LCD drive circuit 106 LED drive circuit 107 IRED drive circuit HV1 Photo sensor HV2 which is one of the constituent elements of the posture detection sensor Photo sensor, one of the components
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) A61B 3/00 - 3/16 G02B 7/28 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) A61B 3/00-3/16 G02B 7/28
Claims (4)
タを使って求める視線検出装置において、観察者の個人
差データの取得に先駆けて該装置の姿勢を記憶してお
き、その後の観察者の個人差データの取得時に前記姿勢
の変化を検知した場合は、個人差データ取得が失敗した
ことを出力することを特徴とする視線検出装置。1. An eye gaze detection device for obtaining the eye gaze position of an observer using individual difference data of the observer, the posture of the device is stored prior to acquisition of the individual difference data of the observer, and subsequent observation is performed. A line-of-sight detection device, which outputs that the acquisition of the individual difference data has failed when the change in the posture is detected during the acquisition of the individual difference data of the individual.
タを使って求める視線検出装置において、該装置の姿勢
を検知する姿勢検知手段と、個人差データを求める為の
個人差データ取得手段と、該個人差データ取得手段にて
個人差データを求めるにあたって、個人差データの取得
開始時の該装置の姿勢を記憶する記憶手段と、該記憶手
段に記憶された姿勢と個人差データ取得中の姿勢を比較
し、姿勢が異なる場合に個人差データ取得が失敗したこ
とを出力する個人差データ判定手段とを設けたことを特
徴とする視線検出装置。2. An eye-gaze detecting device for obtaining an eye-gaze position of an observer using individual difference data of the observer, and an attitude detecting means for detecting an attitude of the device, and an individual difference data acquiring means for obtaining the individual difference data. And a storage unit for storing the attitude of the apparatus at the time of starting the acquisition of the individual difference data in obtaining the individual difference data by the individual difference data acquisition unit, and the attitude and the individual difference data being acquired in the storage unit. And a personal difference data determination unit that outputs that the personal difference data acquisition has failed when the postures are different from each other.
検出手段と、眼球回転角に個人差データを使って個人差
補正を行う個人差補正手段とを備え、前記眼球回転角検
出手段により求めた眼球回転角に、前記個人差補正手段
によって個人差補正を行うことで観察者の視線位置を検
出することを特徴とする請求項2記載の視線検出装置。3. An eyeball rotation angle detection means for obtaining an eyeball rotation angle of an observer, and an individual difference correction means for performing individual difference correction using the individual difference data for the eyeball rotation angle, wherein the eyeball rotation angle detection means is provided. The eye gaze detection device according to claim 2, wherein the eye gaze position of the observer is detected by performing the individual difference correction on the obtained eyeball rotation angle by the individual difference correction means.
検出手段を備え、前記個人差データ取得手段は、前記眼
球回転角検出手段で求めた観察者の眼球回転角情報をも
とに個人差データの取得を行うことを特徴とする請求項
2記載の視線検出装置。4. An eyeball rotation angle detection means for obtaining an eyeball rotation angle of an observer, wherein the individual difference data acquisition means is an individual based on the eyeball rotation angle information of the observer obtained by the eyeball rotation angle detection means. The line-of-sight detection device according to claim 2, wherein the difference data is acquired.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21297495A JP3437343B2 (en) | 1995-07-31 | 1995-07-31 | Eye gaze detection device |
| US08/972,357 US5887200A (en) | 1995-07-31 | 1997-11-18 | Line of sight detection device and apparatus having the line of sight detection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21297495A JP3437343B2 (en) | 1995-07-31 | 1995-07-31 | Eye gaze detection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0938039A JPH0938039A (en) | 1997-02-10 |
| JP3437343B2 true JP3437343B2 (en) | 2003-08-18 |
Family
ID=16631386
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21297495A Expired - Fee Related JP3437343B2 (en) | 1995-07-31 | 1995-07-31 | Eye gaze detection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3437343B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7566517B2 (en) * | 2020-07-15 | 2024-10-15 | キヤノン株式会社 | Electronic device and control method thereof |
-
1995
- 1995-07-31 JP JP21297495A patent/JP3437343B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0938039A (en) | 1997-02-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6507702B2 (en) | Device having sight line detecting function | |
| US20250355493A1 (en) | Recording device, image-capturing apparatus, control method, and recording system | |
| JPH11338041A (en) | Optical device and camera with gaze detection function | |
| US5402199A (en) | Visual axis detecting apparatus | |
| JP2022096819A (en) | Line-of-sight detector | |
| JP3437343B2 (en) | Eye gaze detection device | |
| JPH05191686A (en) | Video camera | |
| JP3225628B2 (en) | Eye gaze detection device | |
| JP3530642B2 (en) | Eye gaze detection device | |
| JP2023045131A (en) | Detection device, control method and program | |
| JP2003307774A (en) | Optical equipment with gaze detection function | |
| JP3624030B2 (en) | Gaze detection device and optical device | |
| JP3605080B2 (en) | Eye gaze detection device | |
| JP3605081B2 (en) | Eye gaze detection device | |
| JP3309439B2 (en) | Optical device | |
| JPH0634873A (en) | Optical device having line-of-sight detection device | |
| JP2003339642A (en) | Eye-gaze detecting device and optical device having the same | |
| JP3184634B2 (en) | Optical device having line-of-sight detection device | |
| JP3176147B2 (en) | Eye gaze detection device | |
| JP3219491B2 (en) | Eye gaze detection device | |
| JP3391892B2 (en) | Eye gaze detecting device, optical device, and eye gaze detecting method | |
| JP3332581B2 (en) | An optical device, a camera, a line-of-sight detection device, a line-of-sight detection method, and a relative position determination method between an eyepiece and an eyeball position. | |
| JP2002341239A (en) | Eye gaze detection device | |
| JP3211427B2 (en) | Eye gaze detection device | |
| JP2023006629A (en) | Control device and control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080606 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090606 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090606 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100606 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110606 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |