Electronic device, electronic device control method, program, and storage medium

The camera system enhances object detection accuracy by aligning GUI elements with the user's viewpoint, addressing deviations in line-of-sight positioning and improving focus on intended subjects.

JP7567012B2Active Publication Date: 2024-10-15CANON KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023185320
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-10-30
Publication Date
2024-10-15
Estimated Expiration
2039-09-06

AI Technical Summary

Technical Problem

When using line-of-sight information for object detection in cameras, deviations occur between the detected object area and the actual object position due to the user's line of sight being easily diverted from the desired area, making it difficult to maintain focus on the intended subject.

Method used

The camera system includes a display control mechanism that adjusts the position and visibility of graphical user interface (GUI) elements based on detected user viewpoint, ensuring they align with the actual object position and reducing overlap to maintain user focus.

Benefits of technology

This approach facilitates easier alignment of the user's line of sight with the desired area, improving object detection accuracy and reducing user discomfort by minimizing distractions in the display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007567012000001
    Figure 0007567012000001
  • Figure 0007567012000002
    Figure 0007567012000002
  • Figure 0007567012000003
    Figure 0007567012000003
Patent Text Reader

Abstract

To easily direct a user's line of sight to a desired area.SOLUTION: An electronic apparatus of the present invention has display control means that displays an input image and a first GUI image on a display unit, first detection means that detects a user's viewpoint in the input image, and second detection means that detects the position of a predetermined object in the input image. When the position of the predetermined object is detected based on the viewpoint, the display control means makes the first GUI image inconspicuous compared with a case where the position of the predetermined object is detected not based on the viewpoint.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an electronic device, a control method for an electronic device, a program, and a storage medium. [Background technology]

[0002] In recent years, cameras have become more automated and intelligent, and a technology has been proposed that detects an object intended by a user based on information on the gaze position of the user looking through a viewfinder (gaze information; gaze input information) and controls the focus without the need to manually input the object's position. Patent Document 1 discloses a technology that improves the accuracy of object detection by correcting an area detected as the object area using gaze information. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2018-205648 A Summary of the Invention [Problem to be solved by the invention]

[0004] Here, when acquiring the user's gaze position, if a GUI image is displayed in an area other than the user's desired area (the area the user wants to see), the user's gaze is likely to be directed toward the displayed GUI image, making it difficult to keep the gaze in the desired area. Therefore, even if gaze information is used, there is a case where a discrepancy occurs between the position of the area detected as the object area and the actual position of the object.

[0005] Therefore, an object of the present invention is to make it easier for a user to direct his or her gaze to a desired area. [Means for solving the problem]

[0006] One aspect of the present invention is An input image and a first GUI image Second GUI ImageA display control means for displaying the above on a display unit; a first detection means for detecting a position of a predetermined object in the input image; A second detection means for detecting a user's viewpoint in the input image; having The display control means displaying the first GUI image at a position corresponding to the position of the predetermined object detected by the first detection means, and displaying the second GUI image at a position corresponding to the viewpoint detected by the second detection means; When the first GUI image and the second GUI image overlap, the first GUI image is made less noticeable than when the first GUI image and the second GUI image do not overlap. The electronic device is characterized by the above. Effect of the Invention

[0007] According to the present invention, it is possible to easily direct the user's gaze to a desired area. [Brief description of the drawings]

[0008] [Figure 1] FIG. 2 is a cross-sectional view of the camera according to the embodiment. [Diagram 2] FIG. 1 is a block diagram of a camera according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a diagram showing a field of view within a viewfinder according to the present embodiment. [Figure 4] 1A to 1C are diagrams for explaining the principle of a visual field detection method according to the present embodiment. [Diagram 5] FIG. 4 is a diagram showing an eye image according to the present embodiment. [Figure 6] 5 is a flowchart of a gaze detection operation according to the present embodiment. [Figure 7] FIG. 13 is a diagram showing a display example of a conventional live view image. [Figure 8] 4 is a flowchart of a tracking process according to the first embodiment. [Figure 9] FIG. 2 is a diagram showing a display example of a live view image according to the first embodiment. [Figure 10] 11 is a flowchart of a tracking process according to the second embodiment. [Figure 11] FIG. 11 is a diagram showing a display example of a live view image according to the second embodiment. [Figure 12] FIG. 11 is a block diagram of a camera according to a third embodiment. [Figure 13] 13 is a flowchart of face detection processing according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

[0010] (Embodiment 1) <Configuration Description> 1 is a cross-sectional view of a camera 1 (digital still camera; interchangeable lens camera) according to this embodiment, and shows a rough internal configuration of the camera 1. Camera 1 includes a photographing lens unit 1A and a camera housing 1B.

[0011] The photographing lens unit 1A includes two lenses 101 and 102, an aperture 111, an aperture drive section 112, a lens drive motor 113, a lens drive member 114, a photocoupler 115, a pulse plate 116, a mount contact 117, and a focus adjustment circuit 118. The lens drive member 114 is made up of a drive gear and the like, and the photocoupler 115 detects the rotation of the pulse plate 116 that is linked to the lens drive member 114 and transmits it to the focus adjustment circuit 118. The focus adjustment circuit 118 drives the lens drive motor 113 based on information from the photocoupler 115 and information from the camera housing 1B (information on the lens drive amount), and moves the lens 101 to change the focus position. The mount contact 117 is an interface between the photographing lens unit 1A and the camera housing 1B. Although two lenses 101 and 102 are shown for simplicity, more than two lenses are actually included in the photographing lens unit 1A.

[0012] The camera housing 1B contains an image sensor 2, a CPU 3, a memory section 4, a display device 10, a display device drive circuit 11, an eyepiece 12, etc. The image sensor 2 is disposed at the intended imaging plane of the photographing lens unit 1A. The CPU 3 is the central processing section of the microcomputer, and controls the entire camera 1. The memory section 4 stores images captured by the image sensor 2, etc. The display device 10 is composed of a liquid crystal or the like, and displays the captured image (subject image), etc. The display device drive circuit 11 drives the display device 10. The eyepiece 12 is a lens for observing the image (visual image) displayed on the display device 10.

[0013] The camera housing 1B also includes light sources 13a and 13b, a light splitter 15, a light receiving lens 16, an eye image sensor 17, and the like. The light sources 13a and 13b are light sources that have been used in single-lens reflex cameras and the like to detect the line of sight from the relationship between the pupil and a reflection image (corneal reflection image) of light reflected by the cornea, and are light sources for illuminating the user's eyeball 14. Specifically, the light sources 13a and 13b are infrared light emitting diodes or the like that emit infrared light that is insensitive to the user, and are arranged around the eyepiece 12. An optical image of the illuminated eyeball 14 (eyeball image; an image formed by light emitted from the light sources 13a and 13b and reflected by the eyeball 14) passes through the eyepiece 12 and is reflected by the light splitter 15. The eyeball image is then formed by the light receiving lens 16 on the eye image sensor 17, which is a two-dimensional array of photoelectric elements such as a CCD. The light receiving lens 16 positions the pupil of the eye 14 and the ocular imaging element 17 in a conjugate imaging relationship. The line of sight (the viewpoint in the visual image) is detected from the position of the corneal reflection image in the eyeball image formed on the ocular imaging element 17 by a predetermined algorithm described later.

[0014] 2 is a block diagram showing the electrical configuration within the camera 1. The CPU 3 includes a line-of-sight detection circuit 201, a photometry circuit 202, an autofocus detection circuit 203, a display device drive circuit 11, a light source A drive circuit 205, a tracking processing circuit 207, etc. are connected to the CPU 3. The CPU 3 also transmits signals to a focus adjustment circuit 118 arranged in the photographing lens unit 1A and an aperture control circuit 206 included in an aperture drive section 112 in the photographing lens unit 1A via a mount contact 117. A memory section 4 associated with the CPU 3 has a function of storing image pickup signals from the image pickup element 2 and the eye image pickup element 17, and a function of storing line of sight correction parameters for correcting individual differences in the line of sight, which will be described later.

[0015] The gaze detection circuit 201 A / D converts the output of the eye image sensor 17 (CCD-EYE) when an eyeball image is formed on the eye image sensor 17 (eye image obtained by capturing an image of the eye), and transmits the result to the CPU 3. The CPU 3 extracts feature points required for gaze detection from the eye image according to a predetermined algorithm described later, and calculates the user's gaze (the viewpoint in the visual image) from the positions of the feature points.

[0016] The photometry circuit 202 amplifies, logarithmically compresses, and performs A / D conversion on the signal obtained from the image sensor 2, which also functions as a photometry sensor, specifically, the luminance signal corresponding to the brightness of the field, and sends the result to the CPU 3 as field luminance information.

[0017] The auto focus detection circuit 203 A / D converts signal voltages from a plurality of detection elements (a plurality of pixels) used for phase difference detection, which are included in the CCD in the image sensor 2, and sends the converted signal to the CPU 3. The CPU 3 calculates the distance to the subject corresponding to each focus detection point from the signals of the plurality of detection elements. This is a well-known technique known as image plane phase difference AF. In this embodiment, as an example, it is assumed that there are focus detection points at each of 180 locations on the image plane corresponding to the 180 locations shown in the viewfinder field image (visual image) in FIG. 3(a).

[0018] The tracking processing circuit 207 performs object tracking processing based on an image captured by the image sensor 2. Specifically, the tracking processing circuit 207 performs matching processing between the current frame image (current frame image) and the reference image, and extracts (detects) an area having the highest similarity (correlation) with the reference image from the current frame image as the area of ​​the tracking target. In this embodiment, the reference image is an image (partial image) of an area detected as the area of ​​the tracking target in the previous frame image (a frame image before the current one). The similarity may be a similarity of the feature amount of the image. Then, the tracking processing circuit 207 judges whether or not to continue tracking according to the similarity. The tracking processing circuit 207 also calculates tracking reliability (reliability of tracking processing; tracking state value) based on the similarity corresponding to the detected area, and sends it to the CPU 3. The tracking processing is performed for autofocus control, etc., and the tracking reliability is used for display control of a GUI showing the subject, etc.

[0019] Fig. 3(a) is a diagram showing the field of view in the finder, and shows a state in which the display device 10 is operating (a state in which a visual image is displayed). As shown in Fig. 3(a), the field of view in the finder includes a focus detection area 300, 180 ranging point indices 301, a field of view mask 302, etc. Each of the 180 ranging point indices 301 is displayed superimposed on a through image (live view image) displayed on the display device 10 so as to be displayed at a position corresponding to the focus detection point on the imaging surface. Also, of the 180 ranging point indices 301, the ranging point indices 301 that corresponds to the current viewpoint A (estimated position) is displayed highlighted with a frame or the like.

[0020] <Explanation of gaze detection operation> The gaze detection method will be described with reference to Figs. 4, 5(a), 5(b) and 6. Fig. 4 is a diagram for explaining the principle of the gaze detection method, and is a schematic diagram of an optical system for performing gaze detection. As shown in Fig. 4, light sources 13a and 13b are disposed approximately symmetrically with respect to the optical axis of light receiving lens 16, and illuminate eyeball 14 of the user. Light emitted from light sources 13a and 13b is incident on eyeball 14. A part of the light reflected by 4 is collected by light receiving lens 16 onto ocular imaging element 17. Fig. 5(a) is a schematic diagram of an eye image captured by ocular imaging element 17 (eyeball image projected onto ocular imaging element 17), and Fig. 5(b) is a diagram showing the output intensity of the CCD in ocular imaging element 17. Fig. 6 is a schematic flowchart of the gaze detection operation.

[0021] 6, when the gaze detection operation starts, the light sources 13a and 13b emit infrared light toward the user's eyeball 14. An image of the user's eyeball illuminated by the infrared light is formed on the eye imaging element 17 through the light receiving lens 16 and is photoelectrically converted by the eye imaging element 17. As a result, an electrical signal of the eye image that can be processed is obtained.

[0022] In step S602, the gaze detection circuit 201 sends the eye image (eye image signal; electric signal of the eye image) obtained from the eye imaging element 17 to the CPU 3.

[0023] In step S603, the CPU 3 obtains the coordinates of the points corresponding to the corneal reflection images Pd and Pe of the light sources 13a and 13b and the pupil center c from the eye image obtained in step S602.

[0024] The infrared light emitted from the light sources 13a and 13b illuminates the cornea 142 of the user's eyeball 14. At this time, corneal reflection images Pd and Pe formed by a portion of the infrared light reflected from the surface of the cornea 142 are collected by the light receiving lens 16 and focused on the ocular imaging element 17 to become corneal reflection images Pd' and Pe' in the eye image. Similarly, light beams from the ends a and b of the pupil 141 are also focused on the ocular imaging element 17 to become pupil end images a' and b' in the eye image.

[0025] FIG. 5(b) shows luminance information (luminance distribution) of the region α' in the eye image of FIG. 5(a). In FIG. 5(b), the horizontal direction of the eye image is the X-axis direction, and the vertical direction is the Y-axis direction, and the luminance distribution in the X-axis direction is shown. In this embodiment, the coordinates of the corneal reflection images Pd', Pe' in the X-axis direction (horizontal direction) are Xd, Xe, and the coordinates of the pupil edge images a', b' in the X-axis direction are Xa, Xb. As shown in FIG. 5(b), an extremely high level of luminance is obtained at the coordinates Xd, Xe of the corneal reflection images Pd', Pe'. In the region from the coordinate Xa to the coordinate Xb, which corresponds to the region of the pupil 141 (the region of the pupil image obtained by focusing the light beam from the pupil 141 on the ocular imaging element 17), an extremely low level of luminance is obtained except for the coordinates Xd, Xe. And, in the region of iris 143 outside pupil 141 (the region of the iris image outside the pupil image obtained by focusing the light beam from iris 143), a luminance intermediate between the above two types of luminance is obtained. Specifically, in the region where the X coordinate (coordinate in the X-axis direction) is smaller than coordinate Xa, and in the region where the X coordinate is larger than coordinate Xb, a luminance intermediate between the above two types of luminance is obtained.

[0026] From the luminance distribution as shown in FIG. 5(b), the X coordinates Xd, Xe of the corneal reflection images Pd', Pe' and the X coordinates Xa, Xb of the pupil edge images a', b' can be obtained. Specifically, the coordinates of the corneal reflection images Pd', Pe' can be obtained as the coordinates of the corneal reflection images, and the coordinates of the pupil edge images a', b' can be obtained as the coordinates of the pupil edge images a', b'. In addition, when the rotation angle θx of the optical axis of the eyeball 14 relative to the optical axis of the light receiving lens 16 is small, the coordinate Xc of the pupil center image c' (center of the pupil image) obtained by forming an image of the light beam from the pupil center c on the ocular imaging element 17 can be expressed as Xc≒(Xa+Xb) / 2. In other words, the coordinate Xc of the pupil center image c' can be calculated from the X coordinates Xa, Xb of the pupil edge images a', b'. In this manner, the coordinates of the corneal reflection images Pd', Pe' and the coordinates of the pupil center image c' can be estimated.

[0027] In step S604, CPU 3 calculates the imaging magnification β of the eyeball image. The imaging magnification β is determined by the position of eyeball 14 relative to light receiving lens 16, and can be found using a function of the distance (Xd-Xe) between corneal reflection images Pd', Pe'.

[0028] In step S605, the CPU 3 calculates the relationship between the optical axis of the eyeball 14 and the optical axis of the light receiving lens 16. The rotation angle is calculated. The X coordinate of the midpoint between the corneal reflection images Pd and Pe and the X coordinate of the center of curvature O of the cornea 142 are almost the same. Therefore, if the standard distance from the center of curvature O of the cornea 142 to the center c of the pupil 141 is Oc, the rotation angle θ of the eyeball 14 in the ZX plane (plane perpendicular to the Y axis) is X can be calculated by the following formula 1. The rotation angle θy of the eyeball 14 in the ZY plane (plane perpendicular to the X-axis) can also be calculated in a similar manner to the calculation of the rotation angle θx. β×Oc×SINθ X ≒{(Xd+Xe) / 2}-Xc (Formula 1)

[0029] In step S606, the CPU 3 uses the rotation angles θx, θy calculated in step S605 to determine (estimate) the user's viewpoint (the position where the line of sight is fixed; the position where the user is looking) in the visual image displayed on the display device 10. If the coordinates (Hx, Hy) of the viewpoint are coordinates corresponding to the pupil center c, the coordinates (Hx, Hy) of the viewpoint can be calculated by the following formulas 2 and 3. Hx=m×(Ax×θx+Bx) (Formula 2) Hy=m×(Ay×θy+By) (Formula 3)

[0030] Parameter m in Equations 2 and 3 is a constant determined by the configuration of the viewfinder optical system (light receiving lens 16, etc.) of camera 1, is a conversion coefficient for converting rotation angles θx, θy into coordinates corresponding to the pupil center c in the visual image, and is determined in advance and stored in memory unit 4. Parameters Ax, Bx, Ay, and By are gaze correction parameters for correcting individual differences in gaze, and are acquired by performing a calibration operation described later and are stored in memory unit 4 before the gaze detection operation starts.

[0031] In step S607, the CPU 3 stores the coordinates (Hx, Hy) of the viewpoint in the memory unit 4, and ends the line of sight detection operation.

[0032] In the above explanation, a method for obtaining the coordinates of the viewpoint (point of gaze) on the display device by using the corneal reflection image of light sources 13a and 13b has been described. However, the present invention is not limited to this method and any method for obtaining the coordinates of the viewpoint (eyeball rotation angle) from a captured eyeball image can be applied.

[0033] <Calibration procedure explanation> As described above, the gaze point can be estimated by acquiring the rotation angles θx, θy of the eyeball 14 from the eye image in the gaze detection operation and converting the position of the pupil center c into a position on the visual recognition image by coordinate conversion.

[0034] However, due to factors such as individual differences in the shape of the human eyeball, the viewpoint may not be estimated with high accuracy. Specifically, if the gaze correction parameters Ax, Ay, Bx, and By are not adjusted to values ​​appropriate for the user, a discrepancy will occur between the actual viewpoint B and the estimated viewpoint C, as shown in Figure 3(b). In Figure 3(b), the user is gazing at a person, but camera 1 erroneously estimates that the user is gazing at the background, resulting in a state in which appropriate focus detection and adjustment cannot be performed.

[0035] Therefore, before the camera 1 captures an image, a calibration process must be performed to obtain viewpoint correction parameters suitable for the user and store them in the camera 1.

[0036] Conventionally, calibration work has been performed by highlighting multiple indices at different positions in the visual image before capturing an image, as shown in Figure 3(c), and having the user look at the indices. A technique is known in the art that performs a gaze detection operation when gazing at each index, and calculates a viewpoint correction parameter suitable for the user from the calculated multiple viewpoints (estimated positions) and the coordinates of each index. Note that as long as the position where the user should look is suggested, it is not necessary to display the index, and the position may be emphasized by changing the brightness or color.

[0037] <Conventional tracking processing (conventional method)> 7(a) to 7(d) are diagrams showing display examples of a frame image 701 in a conventional method. In the frame image 701, a subject 702 and a subject GUI 703 indicating the area in which the subject has been tracked are displayed. The subject GUI 703 is a GUI image indicating the area that the camera has identified as a moving subject (subject recognition area; recognition area). The user instructs the camera that the subject 702 is the subject to be tracked by touching the screen, for example, and shoots a video while keeping the subject on the screen.

[0038] FIG. 7(a) is a diagram showing a state immediately after starting to track an object (subject) to be tracked, in which the subject 702 and the subject GUI 703 match. At this time, the tracking reliability (for example, 0 to 100%), which indicates the similarity (the certainty of the subject recognition area) between the subject 702 and the area surrounded by the subject GUI 703, is a high value. The tracking reliability can also be considered as the reliability of the position of the subject GUI 703. FIG. 7(b) and FIG. 7(c) are diagrams showing how the subject GUI 703 gradually shifts away from the subject 702 as the subject 702 moves at high speed or blends in with the background object. FIG. 7(d) is a diagram showing a state in which the tracking reliability falls below the threshold Th, the tracking process is stopped, and the subject GUI 703 is hidden.

[0039] As described above, in the conventional tracking process, when the subject 702 moves at high speed or blends in with the background object, the subject may not be tracked appropriately. Here, in the tracking process of the subject 702, it is possible to adjust the subject recognition area based on the user's line of sight 704. As shown in FIG. 7(d), after the subject GUI 703 is hidden, the line of sight 704 is likely to capture the subject 702, so it is useful to adjust the subject recognition area based on the line of sight 704. However, as shown in FIG. 7(c), when the subject GUI 703 that is shifted from the subject 702 is displayed, the line of sight 704 is likely to be directed toward the subject GUI 703, and is difficult to keep on the subject 702. Therefore, if the subject recognition area is adjusted based on the line of sight 704 in the state of the frame image shown in FIG. 7(c), a shift occurs between the subject recognition area and the actual subject.

[0040] <Tracking process using viewpoint (this embodiment)> 8 is a flowchart showing an example of a tracking process according to the present embodiment. Each process in this flowchart is realized by the CPU 3 executing a program stored in the memory unit 4. In this embodiment, the process in this flowchart is started when the power of the camera is turned on.

[0041] In step S801, when the power supply of the camera is turned on and the image sensor 2 starts acquiring a through image (input image), the CPU 3 starts displaying the through image on the display device 10. In this embodiment, the user visually recognizes the subject by looking at the through image displayed on the display device 10 in the viewfinder.

[0042] In step S802, the CPU 3 determines whether the gaze input is ON. In this embodiment, the CPU 3 determines that the gaze input is ON when the gaze detection function (gaze input function) is ON. If the gaze input is ON, the process proceeds to step S803, and if not, the process proceeds to step S808.

[0043] In step S803, the CPU 3 executes the gaze detection routine shown in Fig. 6. In this embodiment, the gaze detection routine shown in Fig. 6 is executed to obtain the coordinates (Hx, Hy) of the above-mentioned viewpoint on the display device 10.

[0044] In step S804, CPU 3 determines whether or not the subject GUI indicating the position of the subject and the line-of-sight GUI indicating the viewpoint (line-of-sight position; estimated gaze point) overlap. If they overlap, proceed to step S806; if not, proceed to step S805. Here, examples of cases in which the subject GUI and the line-of-sight GUI overlap include a case in which a line that is the subject GUI intersects with a line that is the line-of-sight GUI, or a case in which at least a part of the subject GUI area or the line-of-sight GUI area is included in one of the other areas. Note that since the subject GUI is displayed in step S813 described later, if the subject GUI is not displayed (for example, immediately after the start of processing), proceed to step S805.

[0045] In step S805, the CPU 3 displays the line-of-sight GUI on the display device 10. In this embodiment, the line-of-sight GUI is a frame that surrounds the position of the user's line of sight.

[0046] In step S806, the CPU 3 hides the line of sight GUI. This is because if the subject GUI and the line of sight GUI are displayed overlapping on the subject, the subject becomes difficult to see, which may cause discomfort to the user. Note that as long as the subject GUI can be made easy to see, the line of sight GUI may be made less noticeable by lightening the color of the line of sight GUI or making it smaller.

[0047] In step S807, the CPU 3 sets the threshold Th to the threshold Th1. In step S808, the CPU 3 sets the threshold Th to the threshold Th2 (<threshold Th1). Although details will be described later, in this embodiment, when the tracking reliability becomes equal to or lower than the threshold Th, the subject GUI is erased (hidden) to prevent the line of sight from being directed to the subject GUI that has shifted from the subject. For this reason, the threshold Th1 when detecting the viewpoint is set to be larger than the threshold Th2 when not detecting the viewpoint. This makes it possible to quickly detect the beginning of the shift of the subject GUI when detecting the viewpoint, and to make it easier to direct the line of sight to the subject. In this embodiment, an example will be described in which the threshold Th1 is set to 70% and the threshold Th2 is set to 50%.

[0048] In step S809, the CPU 3 controls the tracking processing circuit 207 to perform moving object detection (tracking processing). It can also be considered that the CPU 3 extracts the position of the object without being based on the viewpoint. Various existing methods can be applied as the moving object detection method. For example, as described above, a matching process between frames is performed, and an area with the highest similarity (correlation) between frames is detected as the subject recognition area. The CPU 3 also controls the tracking processing circuit 207 to calculate the tracking reliability according to the similarity corresponding to the detected area. Note that the tracking reliability increases as the similarity increases.

[0049] In step S810, the CPU 3 sets the result of step S809 (detection result of the area of ​​the moving object) as subject position information. The subject position information is used as, for example, a distance measurement point.

[0050] In step S811, CPU 3 determines whether or not the tracking reliability is lower than threshold Th. If the tracking reliability is lower than threshold Th, proceed to step S812, otherwise proceed to step S813. Here, the tracking reliability is lower than threshold Th when there is a deviation between the subject position and the subject GUI position. Moreover, the tracking reliability is higher than threshold Th when the subject position and the subject GUI position are substantially the same.

[0051] In step S812, the CPU 3 makes the object GUI invisible. It is sufficient to prevent the gaze from being directed toward I, and the subject GUI may be made less noticeable by lightening the color of the subject GUI or making the subject GUI smaller. In addition to the subject GUI, an OSD (On Screen Display) that displays shooting setting information may be displayed as a GUI on the shooting screen. These OSDs may also direct the gaze away from the subject and become a factor in hindering tracking processing using gaze information, so it is advisable to change the display mode of the OSD (make the OSD less noticeable) in the same way as the subject GUI. Note that by hiding the subject GUI and displaying only the gaze GUI, it is also possible to make it easier for the user to recognize that tracking processing is being performed by gaze input.

[0052] In step S813, CPU 3 displays the subject GUI. This is because there is a high possibility that the subject position and the position of the subject GUI substantially match.

[0053] In step S814, the CPU 3 updates the subject position information based on the line-of-sight information. Here, since the subject GUI is hidden in the above-mentioned step S812, it is highly likely that the user is gazing at the subject. Therefore, the position of the line of sight and the position of the subject recognition area are weighted and added to correct the subject recognition area, thereby reducing the deviation between the subject recognition area and the subject. Note that the area including the position of the line of sight (the area corresponding to the line of sight GUI) may be used as the subject recognition area as it is. Note that, when the reliability is lower than the threshold value Th, the CPU 3 may detect the position of the object extracted in step S809 without being based on the viewpoint and corrected based on the viewpoint as the subject recognition area (the position detected based on the viewpoint). Also, when the reliability is higher than the threshold value Th, the CPU 3 may detect the position of the object extracted (without being corrected based on the viewpoint) as the subject recognition area (the position detected without being based on the viewpoint).

[0054] In step S815, the CPU 3 determines whether or not a photographing switch (not shown) has been turned ON by a user operation, and if it has been turned ON, the process proceeds to step S816, and if not, the process returns to step S802.

[0055] In step S816, the CPU 3 performs a photographing operation. Specifically, the CPU 3 records an image signal obtained by the image sensor 2 in the memory unit 4.

[0056] In step S817, the CPU 3 determines whether or not the image capturing is completed. If the image capturing is completed, the process flow ends. If not, the process returns to step S802. The image capturing is completed when, for example, the power is turned off.

[0057] 9(a) to 9(d) each show an example of a frame image 701 in a moving image or live view in this embodiment.

[0058] Fig. 9(a) is a diagram showing a state immediately after tracking of a moving subject 702 has begun, in which the subject 702 and the subject GUI 703 are aligned. At this time, the tracking reliability is a high value (e.g., 90%). Also, Fig. 9(a) displays an OSD 901 and a line-of-sight GUI 905. Here, since the line-of-sight detection function is on, the threshold Th is a threshold Th1 (e.g., 70%).

[0059] FIG. 9(b) is a diagram showing a state in which the position of the subject 702 and the subject GUI 703 are beginning to deviate, but the tracking reliability (e.g., 80%) is higher than the threshold Th (threshold Th1). FIG. 9(b) also shows a state in which the subject GUI 703 and the line of sight GUI 905 overlap. When the line of sight GUI 905 and the subject GUI 703 overlap, the information becomes complicated, which may cause discomfort to the user. Therefore, in this embodiment, when the subject GUI 703 and the line of sight GUI 905 overlap, priority is given to the visibility of the subject GUI 703. (In the example of FIG. 9(b), the line of sight GUI 905 is hidden.)

[0060] FIG. 9C is a diagram showing a state in which the position of the subject 702 and the subject GUI 703 are significantly misaligned, and the tracking reliability (for example, 60%) falls below the threshold Th (threshold Th1). In the example of FIG. 9C, the subject GUI 703 is hidden to make it less noticeable. Also, in the example of FIG. 9C, the color of the OSD 901 is lightened to make it less noticeable. In this embodiment, when the gaze detection function is ON, a relatively large threshold Th1 is used to quickly detect the beginning of the shift of the subject GUI 703. Then, when the beginning of the shift of the subject GUI 703 is detected, the subject GUI 703 is hidden or the color of the OSD 901 is lightened, making it difficult for the user to direct his or her gaze to the subject GUI 703 or the OSD 901, and making it easier for the user to direct his or her gaze to the subject 702.

[0061] Fig. 9(d) is a diagram showing a state in which the position of the subject GUI 703 and the position of the subject 702 again approximately coincide as a result of performing tracking processing based on the position of the gaze. In the example of Fig. 9(d), since the tracking reliability (for example, 90%) becomes higher than the threshold Th (threshold Th1), the subject GUI 703 is displayed again and the OSD 901 is returned to its normal color. Note that in the example of Fig. 9(d), the gaze GUI 905 is hidden because it overlaps with the subject GUI 703.

[0062] As described above, in this embodiment, when the gaze detection function is ON, the threshold value Th for evaluating the tracking reliability is increased. In this way, the start of a shift between the subject GUI and the subject's position is quickly detected, and the subject GUI 703 is made inconspicuous, making it easier for the user to direct their gaze to the subject, and improving the accuracy of the tracking process using the gaze information. In addition, by making the subject GUI inconspicuous, the user is made aware that the tracking process is being performed using the gaze information, making it easier for the user to focus on the subject.

[0063] (Embodiment 2) In embodiment 1, an example was described in which the gaze GUI is always displayed except when the position of the subject GUI and the gaze position overlap. In this embodiment, however, an example is described in which the gaze GUI is displayed only when tracking processing is performed using gaze information.

[0064] Fig. 10 is a flowchart showing an example of a tracking process according to this embodiment. Each process in this flowchart is realized by the CPU 3 executing a program stored in the memory unit 4. In this embodiment, the process in this flowchart is started when the power supply of the camera is turned on. Note that the same processes as those shown in Fig. 8 are denoted by the same numbers and will not be described.

[0065] In this embodiment, the processes of steps S804 to S806 shown in Fig. 8 are not performed, and therefore the process of displaying or hiding the gaze GUI is not performed immediately after the gaze detection routine is performed. The timing at which the gaze GUI is displayed is the timing after the tracking reliability falls below the threshold value Th in step S811 and the subject GUI 703 is hidden (step S1018). The timing at which the gaze GUI is hidden is the timing after the tracking reliability exceeds the threshold value Th in step S811 and the subject GUI 703 is displayed (step S1019).

[0066] In this way, it is possible to make the user aware that tracking processing is being performed using gaze information, without causing discomfort to the user by displaying the gaze GUI more than necessary.

[0067] 11(a) to 11(d) each show a frame image 701 in a moving image or live view in this embodiment.

[0068] 11A is a diagram showing a state immediately after tracking of a moving subject 702 has started, and the subject 702 and the subject GUI 703 are aligned (the tracking reliability is higher than a threshold Th1). At this time, if the line of sight GUI 905 and the subject GUI 703 were displayed simultaneously on the display device 10, the information on the display device 10 would become complicated, which may cause discomfort to the user. Therefore, unlike the first embodiment, the line of sight GUI 905 is not displayed.

[0069] Fig. 11(c) is a diagram showing a state in which the tracking reliability falls below the threshold Th (step S811-Yes). In this case, the gaze GUI 905 is displayed to let the user know that tracking processing is performed using gaze information. On the other hand, in Fig. 11(b) and Fig. 11(d), since the tracking reliability is higher than the threshold Th (step S811-No), the gaze GUI 905 is hidden as in Fig. 11(a).

[0070] As described above, in this embodiment, the gaze GUI is displayed only when the gaze information is used for the tracking process. In this way, the user's gaze can be easily directed to the subject while suppressing the complexity of information on the display device 10, thereby improving the accuracy of the tracking process using the gaze information. In addition, the user can be made aware that the tracking process is being performed using the gaze information.

[0071] (Embodiment 3) In the above embodiment, an example has been described in which gaze information is used when tracking a moving object. In the present embodiment, however, an example will be described in which gaze information is used when performing face detection.

[0072] 12 is a block diagram showing the electrical configuration within the camera 1 of this embodiment. In FIG. 12, a face detection circuit 208 is provided instead of the tracking processing circuit 207 in FIG.

[0073] The face detection circuit 208 uses template data of a human face stored in advance in the memory unit 4 to detect, as a face image, a portion (area) in the frame image whose similarity to the template is equal to or greater than a reference value. Note that the face detection method is not limited to the above, and various known techniques can be applied.

[0074] Fig. 13 is a flowchart showing face detection processing according to this embodiment. Each process in this flowchart is realized by the CPU 3 executing a program stored in the memory unit 4. In this embodiment, the process in this flowchart is started when the power of the camera is turned on. Note that the same processes as those shown in Fig. 8 are given the same numbers and their explanations are omitted.

[0075] In step S1304, CPU 3 determines whether or not the face GUI indicating the position of the face and the line of sight GUI overlap. If they overlap, proceed to step S806; if not, proceed to step S805. Here, examples of cases in which the face GUI and the line of sight GUI overlap include a case in which a line that is the face GUI intersects with a line that is the line of sight GUI, or a case in which at least a part of the face GUI area or the line of sight GUI area is included in one of the other areas. Note that since the face GUI is displayed in step S1313 described later, if the face GUI is not displayed (for example, immediately after the start of processing), proceed to step S805.

[0076] In step S1307, the CPU 3 sets the threshold Th to the threshold Th1. In step S1308, the CPU 3 sets the threshold Th to the threshold Th2 (<threshold Th1). In this embodiment, when the face reliability, which will be described later, becomes equal to or lower than the threshold Th by a process which will be described later, the face GUI is erased (non- By displaying the face GUI as a face GUI, the gaze is prevented from being directed to a face GUI that is shifted from the face. For this reason, the threshold Th when detecting the gaze point (threshold Th1) is set to be larger than the threshold Th when not detecting the gaze point (threshold Th2). This makes it possible to detect the beginning of a shift in the face GUI when detecting the gaze point, and to make it easier to direct the gaze to the face. In this embodiment, an example will be described in which threshold Th1 is 70% and threshold Th2 is 50%.

[0077] In step S1309, CPU 3 controls face detection circuit 208 to perform face detection. Various existing methods can be applied as the face detection method. For example, a matching process is performed on the image in the current frame with a reference image, and an area having the highest similarity (correlation) with the reference image is extracted. The reference image is, for example, a face template image stored in memory unit 4 in advance. CPU 3 also controls face detection circuit 208 to calculate face reliability according to the similarity corresponding to the detected area. Note that the higher the similarity, the higher the face reliability.

[0078] In step S1310, the CPU 3 sets the result of step S1309 (the detection result of the face area) as face position information. The face position information is used as, for example, a distance measurement point.

[0079] In step S1311, the CPU 3 determines whether the face reliability is lower than the threshold value Th. If the face reliability is lower than the threshold value Th, the process proceeds to step S812, and if not, the process proceeds to step S813. Here, the face reliability is lower than the threshold value Th when there is a deviation between the face position and the position of the face GUI. Moreover, the face reliability is higher than the threshold value Th when the face position and the position of the face GUI are substantially the same.

[0080] In step S1312, the CPU 3 hides the face GUI. This is because there is a high possibility that the deviation between the face position and the position of the face GUI is large. Note that it is sufficient to prevent the gaze from being directed at the face GUI, and the face GUI may be made less noticeable by lightening the color of the face GUI or making it smaller. Also, it is preferable to change the display mode of the OSD (to make it less noticeable) as in the first embodiment. Note that by hiding the face GUI and displaying only the gaze GUI, it is also possible to make it easier for the user to recognize that face detection processing is being performed by gaze input.

[0081] In step S1313, the CPU 3 displays a face GUI, since there is a high possibility that the face position and the position of the face GUI substantially match.

[0082] In step S1314, CPU3 updates the face position information based on the gaze information. For example, the position of the gaze and the position of the area recognized as a face (face recognition area) are weighted and added to correct the face recognition area, thereby reducing the deviation between the face recognition area and the face. Note that the area including the gaze position (area corresponding to the gaze GUI) may be used as the face recognition area as it is.

[0083] As described above, according to this embodiment, when the gaze detection function is used, the threshold value of the face reliability is increased to quickly detect the beginning of a shift between the face GUI and the face position and hide the face GUI. This makes it easier for the gaze to be directed toward the face, making it possible to improve the accuracy of face detection processing using gaze information.

[0084] (Modification) In the above embodiment, examples of methods for making the GUI less noticeable are described, such as hiding it, reducing its size, and making its color lighter, but the present invention is not limited to these. For example, the GUI may be made less noticeable by changing its brightness or color according to the background (to approach the brightness or color of the background), or by increasing the transparency (transparency) of the GUI.

[0085] In the above embodiment, an example has been described in which the subject GUI is made less noticeable in order to make the subject GUI more noticeable when the subject GUI and the line-of-sight GUI indicating the position of the line of sight overlap, but the subject GUI may be made less noticeable in order to make the line-of-sight GUI more noticeable. Specifically, when the subject GUI and the line-of-sight GUI indicating the position of the line of sight overlap, the subject GUI may be made less noticeable by changing the brightness, color, size, etc. of the subject GUI.

[0086] In the above embodiment, an example has been described in which, when a subject tracking process or face detection process is performed in a camera, the subject GUI or face GUI is made inconspicuous to facilitate the user's gaze to a desired area (an area including a subject or face). However, the present invention is also applicable to a case in which a tracking process or face detection process is not performed. For example, when a user's viewpoint (position of gaze) is detected in a display device, if a GUI image is displayed in an area different from the desired area, the user's gaze is likely to be directed to the GUI image. Therefore, in order to facilitate the user's gaze to a desired area, when the user's viewpoint (position of gaze) is detected, the GUI image may be made inconspicuous compared to a case in which the viewpoint is not detected. For example, the present invention can be understood as an electronic device including the following display control unit and detection unit. Here, the display control unit displays an input image and a GUI image on the display unit. The detection unit detects the user's viewpoint in the input image. In addition, when the detection unit detects the viewpoint, the detection unit makes the GUI image inconspicuous compared to a case in which the display control unit does not detect the viewpoint.

[0087] In the above embodiment, the present invention is applied to a camera, but is not limited thereto. For example, the present invention is applicable to any electronic device that can receive eye-gaze input. For example, the present invention is applicable to a personal computer, a PDA, a mobile phone terminal, a display, an HMD (head mounted display), and the like.

[0088] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions. [Explanation of symbols]

[0089] 1: Camera 3: CPU

Claims

1. a display control means for displaying the input image, the first GUI image, and the second GUI image on a display unit; a first detection means for detecting a position of a predetermined object in the input image; a second detection means for detecting a user's viewpoint in the input image; having The display control means displaying the first GUI image at a position corresponding to the position of the predetermined object detected by the first detection means, and displaying the second GUI image at a position corresponding to the viewpoint detected by the second detection means; When the first GUI image and the second GUI image overlap, the first GUI image is made less noticeable than when the first GUI image and the second GUI image do not overlap.

1. An electronic device comprising:

2. When the position of the predetermined object is detected based on the viewpoint, the display control means does not display the second GUI image.

2. The electronic device according to claim 1 .

3. the first detection means tracks the predetermined object using frame images constituting the input image; 3. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.

4. The predetermined object is a face.

4. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.

5. when the reliability of the position of the predetermined object detected without being based on the viewpoint is lower than a threshold, the first detection means detects the position of the predetermined object based on the viewpoint.

5. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.

6. The first detection means is Extracting a position of an object without being based on the viewpoint; if the reliability is lower than the threshold, correcting the position of the extracted object based on the viewpoint, and detecting the corrected position of the object as a position detected based on the viewpoint; When the reliability is higher than the threshold, the position of the extracted object is not corrected based on the viewpoint, and the position of the extracted object is detected as a position detected without being based on the viewpoint.

6. The electronic device according to claim 5,

7. the threshold value when the second detection means detects the viewpoint is larger than the threshold value when the second detection means does not detect the viewpoint; 7. The electronic device according to claim 5 or 6.

8. when the first GUI image and the second GUI image overlap each other, the display control means changes at least one of the brightness, color, size, and transparency of the second GUI image so that the second GUI image stands out more than the first GUI image; 8. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.

9. when the first GUI image and the second GUI image overlap each other, the display control means changes at least one of the brightness, color, size, and transparency of the first GUI image so that the first GUI image becomes less noticeable than the second GUI image; 9. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.

10. When the first GUI image and the second GUI image overlap each other, the display control means does not display the first GUI image.

8. The electronic device according to claim 1, wherein the first and second electrodes are electrically connected to the first and second electrodes.

11. The display control means If the confidence level is lower than the threshold, displaying a second GUI image showing a user's viewpoint in the input image; When the reliability is higher than the threshold, a second GUI image showing a user's viewpoint in the input image is not displayed.

8. The electronic device according to claim 5, wherein the first and second electrodes are electrically connected to the first and second electrodes.

12. a display control step of displaying the input image, the first GUI image, and the second GUI image on a display unit; a first detection step of detecting a position of a predetermined object in the input image; a second detection step of detecting a user's gaze point in the input image; having In the display control step, displaying the first GUI image at a position corresponding to a position of the predetermined object detected in the first detection step, and displaying the second GUI image at a position corresponding to the viewpoint detected in the second detection step; When the first GUI image and the second GUI image overlap, the first GUI image is made less noticeable than when the first GUI image and the second GUI image do not overlap.

23. A method for controlling an electronic device comprising:

13. A program for causing a computer to function as each of the means of the electronic device according to any one of claims 1 to 11.

14. A computer-readable storage medium storing a program for causing a computer to function as each of the means of the electronic device according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Image pickup device

    JP1993304631A

  • Optical device

    JP1997160112A

  • Image processing device, imaging device, and control method

    JP2018129659A

  • Imaging device

    JP2018205648A