Image Segmentation For Text Extraction