Download this image and run the program.
from PIL import Image
import pytesseract
im = Image.open("sample1.jpg")
text = pytesseract.image_to_string(im, config = '')
print(text)
For further query refer :-https://github.com/AmanKamboj09/Character-Reader