I am trying to extract data from a .jpg file using pytesseract but just partial text is extracted that to have spelling mistakes. Could anyone please help suggest how can I extract full text. I have attached .jpg for your reference code snippet which I am using for text extraction.
img=Image.open('page-594-5.jpg')
pytesseract.pytesseract.tesseract_cmd = 'C:/Program Files/Tesseract-OCR/tesseract.exe'
text=pytesseract.image_to_string(img,lang='eng')
print(text)