Patent ID: 11941785
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A tangible, non-transitory, machine-readable medium comprising instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
receiving input pixel data corresponding to an input image;
analyzing the input pixel data relative to a plurality of angles;
determining mode data corresponding to one or more angles of the plurality of angles identified as associated with the input image based at least in part on analysis of the input pixel data;
verifying the one or more angles of the mode data as indicative of the input image;
adjusting one or more respective confidence levels associated with the one or more angles based at least in part on the verifying;
determining best mode data based at least in part on the mode data and the adjusted one or more respective confidence levels, wherein the best mode data comprises:
a first angle having a highest confidence level among a first set of confidence levels, of the adjusted one or more respective confidence levels, associated with horizontal and vertical angles; or
a second angle having another highest confidence level among a second set of confidence levels, of the adjusted one or more respective confidence levels, associated with non-horizontal and non-vertical angles; or
both; and

scaling the input pixel data to generate scaled pixel data based at least in part on the best mode data.