Text characters tend to have a perceptually uniform color over the character stroke.The text color can be determined by comparing color histogram covering the four center scan lines of the text box and the color histogram covering the two scan lines directly above and underneath the text box(four scan lines together).The text image is binarized using the text color information,then,the number and the size of the text characters and the distance between the adjacent characters can be got in the binary text i...