CPC G06T 5/003 (2013.01) [G06N 20/00 (2019.01); G06T 11/20 (2013.01); G06V 10/993 (2022.01); G06V 40/165 (2022.01); G06V 40/166 (2022.01); G06T 2210/12 (2013.01)] | 29 Claims |
1. A method comprising:
receiving an image of a face of a patient, the image including a depiction of lips of the patient;
determining a region of interest in the image, wherein the region of interest comprises an area inside of the lips;
applying a focus operator to pixels within the region of interest;
calculating a sharpness metric for the region of interest using an output of the focus operator, wherein data for the pixels inside of the region of interest is used to calculate the sharpness metric, and wherein data for pixels of a second region that is outside of the region of interest is not used to calculate the sharpness metric;
determining whether the sharpness metric satisfies a sharpness criterion; and
performing one or more additional operations responsive to determining that the sharpness metric satisfies the sharpness criterion, wherein the one or more additional operations comprise generating a modified version of the image, wherein the region of interest is replaced with a depiction of a new smile of the patient in the modified version of the image.
|