Electronic apparatus and method for controlling the same
AssigneeCanon Kabushiki Kaisha
InventorSeiji Ogawa
Life of this patent
Estimating the term…
Abstract
An electronic apparatus performs control to divide a face region based on the size of a face detected by the detection unit into three regions, namely an upper left region, an upper right region, and a lower region, viewed in a direction opposing the face, and select a left side eye, viewed opposing the face, when a position inside the upper left region is designated by the designation unit, a right side eye, viewed opposing the face, when a position inside the upper right region is designated by the designation unit, and the face when a position inside the lower region is designated by the designation unit.
Claims20
An electronic apparatus comprising at least one processor or circuit to perform operations of:
- a detection unit configured to detect a face and an organ of the face from an image;
- a designation unit configured to designate a face or an organ detected by the detection unit as an AF target;
- a setting unit configured to set one of a plurality of operation modes in which the AF targets designated by the designation unit are different,
- an AF control unit configured to perform control such that AF is performed on an AF target designated by the designation unit, and
- a display control unit configured to cause a display unit to display an AF result so as to be superimposed on the image,
- wherein, when a first operation mode is set in which a face and an organ can be set as the AF target, even if a face is designated by the designation unit as the AF target, the AF control unit sets, if an organ of the designated face is detected by the detection unit, the detected organ as the AF target, and the display control unit displays the result of AF to the detected organ, and
- when a second operation mode is set in which a face can be designated as the AF target, but an organ cannot be designated as the AF target, the AF control unit uses, if an organ of the face designated by the designation unit is detected by the detection unit, the detected organ as the AF target, and the display control unit displays the result of AF to the designated face.
A method of controlling an electronic apparatus, comprising:
- detecting a face and an organ of the face from an image;
- designating the detected face or organ as an AF target;
- setting one of a plurality of operation modes in which AF targets that can be designated are different;
- controlling so as to perform AF on an AF target designated in the designating;
- and
- causing a display unit to display a result of AF so as to be superimposed on the image,
- wherein, when a first operation mode, of the plurality of operation modes, is set in which a face and an organ can be designated as the AF target, if an organ of the designated face is detected even if a face is designated as the AF target, the detected organ is set as the AF target, and the result of AF is displayed to the detected organ, and
- when a second operation mode is set in which a face can be designated as the AF target, but an organ cannot be designated as the AF target, if an organ of the designated face is detected, the detected organ is used as the AF target, and the result of AF is displayed to the designated face.
A non-transitory computer-readable storage medium that stores a program for causing a computer to execute a method for controlling an electronic apparatus, the method for controlling comprising:
- detecting a face and an organ of the face from an image;
- designating the detected face or organ as an AF target;
- setting one of a plurality of operation modes in which AF targets that can be designated are different;
- controlling so as to perform AF on an AF target designated in the designating;
- and
- causing a display unit to display an AF result so as to be superimposed on the image,
- wherein, when a first operation mode, of the plurality of operation modes, is set in which a face and an organ can be designated as the AF target, if an organ of the designated face is detected even if a face is designated as the AF target, the detected organ is set as the AF target, and the result of AF is displayed to the detected organ
- when a second operation mode is set in which a face can be designated as the AF target, but an organ cannot be designated as the AF target, if an organ of the designated face is detected, the detected organ is used as the AF target, and the result of AF is displayed to the designated face.
An electronic apparatus comprising at least one processor or circuit to perform operations of:
- a detection unit configured to detect a face and an organ of the face from an image;
- a designation unit configured to designate a face or an organ detected by the detection unit as an AF target;
- a setting unit configured to set one of a plurality of operation modes in which the AF targets designated by the designation unit are different,
- an AF control unit configured to perform control such that AF is performed on an AF target designated by the designation unit, and
- a display control unit configured to cause a display unit to display an AF result so as to be superimposed on the image,
- wherein, when a first operation mode is set in which a face and an organ can be set as the AF target, even if a face is designated by the designation unit as the AF target, the AF control unit sets, if an organ of the designated face is detected by the detection unit, the detected organ as the AF target, and the display control unit displays the result of AF to the detected organ,
- the display control unit causes the display unit to:
- display an item indicating a state of being detected by the detection unit to a face or an organ detected in the image;
- and display an item indicating a state of being designated by the designation unit to the designated face or organ in the image,
- the item indicating a state of being designated uses the same representation to a face and an organ, and
- the representation of the item indicating a state of being detected is different from that of the item indicating a state of being designated.
A method of controlling an electronic apparatus comprising:
- detecting a face and an organ of the face from an image;
- designating the detected face or organ as an AF target;
- setting one of a plurality of operation modes in which the AF targets that can be designated are different,
- controlling so as to perform AF on an AF target designated in the designating, and
- causing a display unit to display an AF result so as to be superimposed on the image,
- wherein, when a first operation mode, of the plurality of operation modes, is set in which a face and an organ can be designated as the AF target, if an organ of the designated face is detected even if a face is designated as the AF target, the detected organ is set as the AF target, and the result of AF is displayed to the detected organ, and
- the display unit is controlled to:
- display an item indicating a state of being detected by the detection unit to a face or an organ detected in the image;
- and display an item indicating a state of being designated by the designation unit to the designated face or organ in the image,
- the item indicating a state of being designated uses the same representation to a face and an organ, and
- the representation of the item indicating a state of being detected is different from that of the item indicating a state of being designated.
A non-transitory computer-readable storage medium that stores a program for causing a computer to execute a method for controlling an electronic apparatus, the method for controlling comprising:
- detecting a face and an organ of the face from an image;
- designating the detected face or organ as an AF target;
- setting one of a plurality of operation modes in which the AF targets that can be designated are different,
- controlling so as to perform AF on an AF target designated in the designating, and
- causing a display unit to display an AF result so as to be superimposed on the image,
- wherein, when a first operation mode, of the plurality of operation modes, is set in which a face and an organ can be designated as the AF target, if an organ of the designated face is detected even if a face is designated as the AF target, the detected organ is set as the AF target, and the result of AF is displayed to the detected organ, and
- the display unit is controlled to:
- display an item indicating a state of being detected by the detection unit to a face or an organ detected in the image;
- and display an item indicating a state of being designated by the designation unit to the designated face or organ in the image,
- the item indicating a state of being designated uses the same representation to a face and an organ, and
- the representation of the item indicating a state of being detected is different from that of the item indicating a state of being designated.
Dependencies are inferred from the claim text.