ELECTRONIC DEVICE AND IMAGE CAPTURING METHOD USING THE SAME
First Claim
1. An image capturing method executed by at least one processor of an electronic device, comprising:
- obtaining a first image of a user captured by a front camera device of the electronic device;
identifying first coordinates of two eyes of the user in the first image;
obtaining a preview image of the user captured by a rear camera device of the electronic device;
identifying second coordinates of the two eyes of the user in the preview image;
calculating at least one difference value according to the first coordinates and the second coordinates of the two eyes of the user, wherein each of the at least one difference value is corresponding to a predetermined range;
prompting the user to move the electronic device according to the at least one difference value; and
controlling the rear camera device to capture a second image of the user when each of the at least one difference value is within the corresponding predetermined range.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of capturing images includes obtaining a first image of a user captured by a front camera device of an electronic device. First coordinates of two eyes of the user in the first image are identified. A preview image of the user from a rear camera device of the electronic device is obtained, and second coordinates of the two eyes of the user in the preview image are identified. At least one difference value is calculated according to the first coordinates and the second coordinates of the two eyes of the user. Once each of the at least one difference value is within a corresponding predetermined range, the rear camera device is controlled to capture a second image of the user.
8 Citations
18 Claims
-
1. An image capturing method executed by at least one processor of an electronic device, comprising:
-
obtaining a first image of a user captured by a front camera device of the electronic device; identifying first coordinates of two eyes of the user in the first image; obtaining a preview image of the user captured by a rear camera device of the electronic device; identifying second coordinates of the two eyes of the user in the preview image; calculating at least one difference value according to the first coordinates and the second coordinates of the two eyes of the user, wherein each of the at least one difference value is corresponding to a predetermined range; prompting the user to move the electronic device according to the at least one difference value; and controlling the rear camera device to capture a second image of the user when each of the at least one difference value is within the corresponding predetermined range. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An electronic device comprising:
-
a front camera device and a rear camera device; at least one processor; a storage device that stores images, the storage device being configured to store one or more programs that, when executed by the at least one processor, cause the at least one processor to; obtain a first image of a user captured by the front camera device; identify first coordinates of two eyes of the user in the first image; obtain a preview image of the user captured by the rear camera device; identify second coordinates of the two eyes of the user in the preview image; calculate at least one difference value according to the first coordinates and the second coordinates of the two eyes of the user, wherein each of the at least one difference value is corresponding to a predetermined range; prompt the user to move the electronic device according to the at least one difference value; and control the rear camera device to capture a second image of the user when each of the at least one difference value is within the corresponding predetermined range. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory storage medium having stored thereon instructions that, when executed by a processor of an electronic device, causes the processor to perform a method for capturing images, the electronic device comprising a front camera device and a rear camera device, wherein the method comprises:
-
obtaining a first image of a user captured by the front camera device; identifying first coordinates of two eyes of the user in the first image; obtaining a preview image of the user captured by the rear camera device; identifying second coordinates of the two eyes of the user in the preview image; calculating at least one difference value according to the first coordinates and the second coordinates of the two eyes of the user, wherein each of the at least one difference value is corresponding to a predetermined range; prompting the user to move the electronic device according to the at least one difference value; and controlling the rear camera device to capture a second image of the user when each of the at least one difference value is within the corresponding predetermined range. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification