CPC G06V 10/993 (2022.01) [G06T 7/12 (2017.01); G06V 10/141 (2022.01); G06V 10/242 (2022.01); G06V 10/255 (2022.01); G06V 10/30 (2022.01); G06V 10/443 (2022.01); G06V 30/414 (2022.01)] | 20 Claims |
1. A method, comprising:
processing, by a device, a preview frame to identify an outline of an object,
wherein processing the preview frame comprises:
dilating highlighted pixels, and
identifying contours in the highlighted pixels;
determining, by the device and based on processing the preview frame, whether a first value of an image parameter, associated with the preview frame, satisfies a first threshold;
determining, by the device, whether a second value satisfies a second threshold,
the second value being associated with one or more of:
a distance between the object and the device, or
contrast associated with the preview frame;
selectively providing, by the device, feedback based on determining that the first value does not satisfy the first threshold or that the second value does not satisfy the second threshold;
automatically capturing, by the device, an image of the object based on determining that the first value satisfies the first threshold and the second value satisfies the second threshold; and
performing, by the device, a post-capture analysis of the image to determine whether a third value, associated with a parameter of the image, satisfies a third threshold.
|