Patent ID: 9002139
Filing Date: 2015-04-07
Classification: G06F,G06K,G06T,H04N

Abstract:
1. A computer-implemented method, comprising: accessing, by a processor, data from a computer-readable medium and comprising a plurality of pixels representing an image; identifying, by the processor, at least two scanlines in the plurality of pixels; determining, by the processor, if the image is suited for slicing by carrying out at least one scoring operation; identifying one or more identical or near-identical horizontal runs; identifying one or more identical or near-identical vertical runs, wherein a run is determined to be nearly identical to another run when a number of mismatched pixels between the runs is less than an error threshold; based on determining that the image is suited for slicing, determining a slicing strategy based on one or more of a horizontal score value and a vertical score value by analyzing pixel values of the at least two scanlines, wherein analyzing the pixel values comprises generating a candidate score for each of the identified runs, the candidate score for each run generated based at least in part on the run's size and the run's proximity to a center of the image; and storing, by the processor, data in the computer-readable medium, the stored data indicating the slicing strategy, if any, or indicating that the image is not suited for slicing.