Patent ID: 8144989

Claim:
A method for determining a text orientation in a digital image, said method comprising: computing, for each of a plurality of text-object pairs in a digital image, a first alignment feature value for a first alignment feature, thereby producing a first plurality of feature values; computing, for each of said plurality of text-object pairs, a second alignment feature value for a second alignment feature, thereby producing a second plurality of feature values; generating a first histogram of said first plurality of feature values; generating a second histogram of said second plurality of feature values; determining a text orientation in a digital image based on said first histogram and said second histogram; and wherein each of said plurality of text-object pairs comprises a first text object and a second text object; and: said computing, for each of said plurality of text-object pairs, said first alignment feature value for said first alignment feature comprises: determining a first absolute difference between a first bounding edge of said first text object and an associated first bounding edge of said second text object, thereby associating said first histogram with said first bounding edge; and said computing, for each of said plurality of text-object pairs, said second alignment feature value for said second alignment feature comprises: determining a second absolute difference between a second bounding edge of said first text object and an associated second bounding edge of said second text object, thereby associating said second histogram with said second bounding edge.