Systems and methods for applying scale factors to image objects
AssigneeCapital One Services, LLC
InventorsJason Pribble, Swapnil Patil, Natalie Siejczuk
Life of this patent
Estimating the term…
Abstract
Methods and systems are described herein for applying padding (e.g., a scale factor) to a detected object (e.g., a rotated rectangle or other shape) in an image before rotation correction is applied. By applying the padding prior to the rotation correction, the system is more efficient as rotation correction may be performed simultaneously with other processing tasks such as cropping and downscaling. For example, by applying padding first, the system is able to keep rotation correction, cropping, and/or downscaling as a single step, which is quicker and more efficient.
Claims20
A system for applying scale factors to image objects during a document liveness check before correcting rotations of the image objects, the system comprising:
- one or more processors;
- and
- one or more non-transitory, computer-readable media comprising instructions that, when executed by the one or more processors, cause operations comprising:
- receiving, from a first user, a first user communication comprising a first image, wherein the first image comprises a first object within a first portion of the first image;
- determining a center point of the first object;
- determining a rotation angle of the first object;
- determining a size of the first object;
- determining edge locations of the first portion;
- determining, prior to applying rotation correction, respective percent changes in the size of the first object for each of a plurality of corner points to correspond to a first edge location of the first portion;
- selecting a minimum percent change from the respective percent changes;
- determining a first scale factor based on the minimum percent change;
- performing, based on the first scale factor, an image processing task on the first image to generate a processed first image;
- and
- applying one or more geometric corrections, comprising at least one rotation correction, to the processed first image.
A method for applying scale factors to image objects received as part of user communications, the method comprising:
- receiving, from a first user, a first user communication comprising a first image, wherein the first image comprises a first object within a first portion of the first image;
- generating a first model input based on the first user communication;
- inputting the first model input into a first model to receive a first output, wherein the first model is trained to determine respective scale factors for objects of inputted images in portions of the inputted images;
- determining, based on the first output, a first scale factor for the first object, wherein the first scale factor comprises a maximum expansion of the first object while maintaining a first aspect ratio before a first corner point of a plurality of corner points of the first object corresponds to a first edge of a plurality of edges of the first portion;
- and
- performing, based on the first scale factor, a first image processing task on the first image using a second model trained to apply geometric correction, filtering correction, thresholding correction, feature extraction, or projective transformation on the inputted images.
One or more non-transitory, computer-readable media comprising instructions that, when executed by one or more processors, cause operations comprising:
- receiving, from a first user, a first user communication comprising a first image, wherein the first image comprises a first object within a first portion of the first image;
- generating a first model input based on the first user communication;
- inputting the first model input into a first model to receive a first output, wherein the first model is trained to determine respective scale factors for objects of inputted images in portions of the inputted images;
- determining, based on the first output, a first scale factor for the first object, wherein the first scale factor comprises a maximum expansion of the first object while maintaining a first aspect ratio before a first corner point of a plurality of corner points of the first object corresponds to a first edge of a plurality of edges of the first portion;
- and
- in response to determining the first scale factor, performing a first image processing task on the first image based on the first scale factor, wherein performing the first image processing task comprises:
- accessing an image processing library;
- and
- selecting a set of functions from the image processing library for performing the first image processing task.
Dependencies are inferred from the claim text.