8. A non-transitory computer-readable storage medium comprising a plurality of instructions to at least one processor to improve automatic recognition of text, the plurality of instructions comprising: first instructions to receive a plurality of regions in an image of a scene of real world captured by a camera; second instructions to rotate at least the plurality of regions through a common angle φ, to obtain a set of skew-corrected regions; to execute after execution of the second instructions to rotate, third instructions to 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; to execute after execution of the third instructions to apply, fourth instructions to 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; fifth instructions to 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 execution of the fifth instructions; and sixth instructions to store in a memory, at least changed first coordinates generated by execution of the fifth instructions.
9. The non-transitory computer-readable storage medium of claim 8 wherein: the portion is a strip extracted from a location below a y-coordinate of a peak in a histogram, of counts of pixels of a common binary value in each row among a plurality of rows in the region.