15. A mobile device comprising: a camera; a memory operatively connected to the camera to receive at least an image therefrom; at least one processor operatively connected to the memory to execute a plurality of instructions stored in the memory; wherein the plurality of instructions cause the at least one processor to: rotate at least the plurality of regions through a common angle φ, to obtain a set of skew-corrected regions; after rotation through the common angle φ, apply to the set of skew-corrected regions one or more tests that determine presence of text, to identify a subset of regions likely to be text; after application of the one or more tests, determine a slant angle θ of at least a portion of a region in the subset, by combining a plurality of angles of a plurality of lines relative to a common direction, each line in the plurality of lines representing multiple line segments in the region that are at least one pixel wide, located adjacent to one another, and formed by pixels of text; use the slant angle θ to change first coordinates of at least pixels in the portion, whereby a first height at a first end of the portion and a second height at a second end of the portion remain unchanged after the use; and store in the memory, at least changed first coordinates generated by the use.
19. The mobile device of claim 15 wherein the plurality of instructions further cause the at least one processor to: classify regions in the subset as text/non-text, by use of a neural network or stroke width; wherein the instructions to classify are to execute after application of the one or more tests and before determination of the slant angle θ.