CPC G06T 19/20 (2013.01) [G06T 7/62 (2017.01); G06T 7/75 (2017.01); H04N 23/56 (2023.01); G06T 2207/30201 (2013.01); G06T 2219/2004 (2013.01); G06T 2219/2016 (2013.01)] | 24 Claims |
1. A computer-implemented method, comprising:
capturing, with a camera, an image of a face of a user;
determining three-dimensional location information for a plurality of points associated with the face of the user in the image;
identifying at least one landmark associated with the face of the user in the image, the at least one landmark corresponding to at least one of the plurality of points;
determining a size of a virtual representation of a first pair of spectacles based on the three-dimensional location information and a three-dimensional model of the first pair of spectacles;
determining a position of the virtual representation of the first pair of spectacles 1a intersecting at least one point of the three-dimensional model of the first pair of spectacles with a first location in the image based on the at least one landmark in a facial coordinate system having an origin at the at least one landmark; and
displaying, on a display, a combined image including the image of the face of the user and the virtual representation of the first pair spectacles with the determined size and at the determined position.
|