Patent attributes
A user device may capture a plurality of preview images that each include image data. The user device may process, in substantially real-time, a preview image to identify an object in the preview image, including determining an outline of the object. The user device may create a mask that hides a portion of the image data associated with an area outside of the outline of the object in one or more of the preview images. Based on determining that a parameter associated with glare of the object in the preview images does not satisfy a threshold, the user device may provide, in substantially real-time, feedback to a user, including an instruction to the user to perform an action with respect to the user device or to the object, and, based on determining that the parameter satisfies the threshold, the user device may automatically capture an image of the object.