Method for focusing control, mobile terminal and non-transitory storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorXiaopeng Li
Life of this patent
Estimating the term…
Abstract
A method for focus control and a mobile terminal are disclosed. The method includes recognizing whether a face region appears in a preview window in a photographing preview mode; acquiring a preset travel path of the lens that matches with the face region in response to an area of the face region being less than a first preset value, wherein a start point of the preset travel path is a first position, an end point of the preset travel path is a second position close to the far focus position, and the first position is not coincident with the second position; and focusing on the face region following the movement between the first position and the second position along the optical axis according to the preset travel path.
Claims18
A method for focusing control, comprising:
- recognizing whether a face region appears in a preview window in a photographing preview mode;
- acquiring a preset travel path of the lens that matches with the face region in response to an area of the face region being less than a first preset value, wherein a start point of the preset travel path is a first position, an end point of the preset travel path is a second position close to a far focus position, and the first position is not coincident with the second position;
- and
- focusing on the face region following the movement between the first position and the second position along the optical axis according to the preset travel path,
- acquiring a default travel path in response to the face region not appearing in the preview window, wherein a start point of the default travel path is a near focus position and an end point of the default travel path is the far focus position;
- and
- focusing on another object in the preview window following the movement between the near focus position and the far focus position according to the default travel path.
A mobile terminal comprising:
- a non-transitory memory storing one or more programs, a processor, and an imaging device, wherein the imaging device comprises a lens and a motor configured to drive the lens to move between a near focus position and a far focus position along an optical axis to achieve a focus function, and wherein the one or more programs are configured to be executed by the processor to perform a method for focusing control, and the method comprises:
- recognizing whether a face region appears in a preview window in a photographing preview mode;
- acquiring a preset travel path of the lens that matches with the face region in response to an area of the face region being less than a first preset value, wherein a start point of the preset travel path is a first position, an end point of the preset travel path is a second position close to the far focus position, and the first position is not coincident with the second position;
- and
- controlling the motor to drive the lens to move between the first position and the second position along the optical axis according to the preset travel path to focus on the face region,
- wherein the motor is controlled to drive the lens to move according to a default travel path to focus another object in the preview window in response to the face region not appearing in the preview window, wherein a starting point of the default travel path is the near focus position and an end point of the default travel path is the far focus position.
A non-transitory storage medium storing one or more programs, when executed by a processor, causing the processor to perform a method for focusing control, wherein the method comprises:
- recognizing whether a face region appears in a preview window in a photographing preview mode;
- acquiring a preset travel path of the lens that matches with the face region in response to an area of the face region being less than a first preset value, wherein a start point of the preset travel path is a first position, an end point of the preset travel path is a second position close to a far focus position, and the first position is not coincident with the second position;
- and
- focusing on the face region following the movement between the first position and the second position along the optical axis according to the preset travel path,
- acquiring a default travel path in response to the face region not appearing in the preview window, wherein a start point of the default travel path is a near focus position and an end point of the default travel path is the far focus position;
- and
- focusing on another object in the preview window following the movement between the near focus position and the far focus position according to the default travel path.
Dependencies are inferred from the claim text.