×

Rendering glasses shadows

  • US 10,403,036 B2
  • Filed: 05/22/2018
  • Issued: 09/03/2019
  • Est. Priority Date: 01/22/2015
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a processor; and

    a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to;

    generate a face image corresponding to an image of a set of images based at least in part on a face model, wherein the set of images is associated with a user'"'"'s face, wherein the generating of the face image corresponding to the image of the set of images comprises to transform the face model using a set of extrinsic information corresponding to the image;

    generate a face with shadows image corresponding to the image based at least in part on shadows casted by a glasses model on the face model;

    generate a shadow transform based at least in part on a difference determined based at least in part on the face image and the face with shadows image, comprises to;

    generate a difference image by subtracting the face image from the face with shadows image;

    invert colors associated with the difference image to obtain an inverted difference image; and

    determine the inverted difference image as the shadow transform;

    generate a shadowed image based at least in part on applying the shadow transform to the image; and

    present the shadowed image including by overlaying a glasses image associated with the glasses model over the shadowed image.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×