Patent ID: 8369612

Claim:
A computer-implemented method for automatically recognizing Arabic text, comprising: acquiring a text image containing a line of Arabic characters; digitizing the line of the Arabic characters to form a two-dimensional array of pixels each associated with a pixel value expressed in a binary number, wherein the two-dimensional array of pixels comprises a plurality of rows in a first direction and a plurality of columns in a second direction, wherein the pixel values in the two-dimensional array are expressed in single-bit binary numbers; counting frequencies of consecutive pixels of a same pixel value in a column of pixels, wherein the step of counting frequencies comprises: assigning the first frequency count to be “0” when the pixel value of the first one or more pixels in a column is “0”, wherein the second frequency count is the number of consecutive pixels having a “0” pixel value at the start of the column; forming a text feature vector using the frequency counts obtained from the column of pixels; and feeding the text feature vector into a Hidden Markov Model to recognize the line of Arabic characters.