I'm uploading an image, from that image I want to get the white color rectangular portion which contains some numbers or even if I get the location means the pixel values of that whole rectangular portion it will be sufficient for me. I want to send that block of image to Tesseract for Image Processing, Can anyone tell me How can I get it ?
Note - I do not want to use OpenCV.
Thanks in Advance !!!
http://stackoverflow.com/questions/4063965/how-can-i-convert-an-rgb-image-to-grayscale-but-keep-one-color – Shaz Nov 22 '13 at 11:52