Disclosed herein is a mechanism for detecting and/or adjusting aspect ratio in images and videos. For example, the mechanism can include analyzing a digital image having pixels by identifying sets of pixels corresponding to one or more objects in the digital image, analyzing the set of pixels corresponding to at least one object in the image to determine an estimated image aspect ratio, and applying an image transform to the digital image based on the estimated image aspect ratio to generate a modified digital image. In a more particular example, the one or more objects can correspond to faces, animals, logos, signs, or vehicles. In another example, the mechanisms can include generating a quality rating for the digital image based on the estimated image aspect ratio.
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.
Gallagher, Andrew, "Classifying Aspect Ratios Of Images", Technical Disclosure Commons, (December 12, 2017)