Patent Document ID: 10157326
Application ID: 15298270
Patent Status: 1

Claim One:
1. A method for character area identification, comprising: binarizing a text area including a row of characters; calculating a histogram in a vertical direction of the binarized text area, wherein the histogram includes abscissas of pixels in each column and corresponding accumulated values of foreground color pixels of the pixels in each column; and identifying a character area of each of one or more characters in the text area according to distribution information of the accumulated values, wherein identifying the character area of each of the one or more characters comprises: determining a plurality of sets of abscissas according to the distribution information of the accumulated values in the histogram, each of the plurality of sets of abscissas including a first abscissa and a second abscissa to the right of the first abscissa, wherein: accumulated values respectively corresponding to the first abscissa and an adjacent abscissa on the right of the first abscissa are larger than a first threshold, an accumulated value corresponding to an adjacent abscissa on the left of the first abscissa is smaller than a second threshold, accumulated values respectively corresponding to the second abscissa and an adjacent abscissa on the left of the second abscissa are larger than the first threshold, and an accumulated value corresponding to an adjacent abscissa on the right of and the second abscissa is smaller than the second threshold; and for each of the plurality of sets of abscissas, identifying a pixel column where the first abscissa locates as a left edge of a character area, and identifying a pixel column where the second abscissa locates as a right edge of the character area.