Feature Extraction Based Document Image Processing for OCR