Extracting Text from image using xml coordinates and tesseract engine