I am trying to get character position of image files using pytesseract library .
import pytesseract
from PIL import Image
print pytesseract.image_to_string(Image.open('5.png'))
Is there any library for getting each position of character
Using pytesseract doesn't seem the best idea to have the position but you can do this :
from pytesseract import pytesseract
pytesseract.run_tesseract('image.png', 'output', lang=None, boxes=False, config="hocr")