×

Electronic device and method for capturing images using rear camera device

  • US 9,729,783 B2
  • Filed: 07/08/2015
  • Issued: 08/08/2017
  • Est. Priority Date: 10/14/2014
  • Status: Active Grant
First Claim
Patent Images

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;

    wherein the at least one difference value comprises a horizontal coordinate difference value and a vertical coordinate difference value between the first coordinates and the second coordinates of the two eyes of the user;

    wherein the horizontal coordinate difference value and the vertical coordinate difference value are obtained by;

    calculating a first average coordinate of the first coordinates of the two eyes of the user in the first image;

    calculating a second average coordinate of the second coordinates of the two eyes of the user in the preview image;

    obtaining the horizontal coordinate difference value by subtracting a horizontal coordinate of the second average coordinate from a horizontal coordinate of the first average coordinate; and

    obtaining the vertical coordinate difference value by subtracting a vertical coordinate of the second average coordinate from a vertical coordinate of the first average coordinate.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×