CPC H04N 23/683 (2023.01) [H04N 23/675 (2023.01); H04N 23/6812 (2023.01)] | 18 Claims |
1. An electronic apparatus comprising:
at least one camera comprising at least one lens;
a first sensor configured to detect a motion of the electronic apparatus; and
at least one processor configured to:
perform a first focusing operation comprising: determining a target position of the at least one lens by focusing processing on a subject and moving the at least one lens to the target position,
perform a second focusing operation comprising, according to a determination that a first condition that a photographing distance, which is a distance to the subject, is less than a distance reference value and a depth-of-field value is less than or equal to a depth reference value is satisfied:
calculating a motion value in an optical-axis direction from a detection value of the first sensor,
calculating a focusing correction value for compensating for the motion value in the optical-axis direction, and
additionally driving the at least one lens based on the focusing correction value,
operate in a first mode of activating the second focusing operation, based on the determination that the first condition is satisfied, and
operate in a second mode of not performing the second focusing operation, based on a determination that the first condition is not satisfied.
|