here is my code: from turtle import width import pytesseract #pip install tesseract import os from PIL import Image pytesseract.pytesseract.tesseract_cmd = r"C:\Program Files\tesseract-ocr\tesseract.exe" #Path to the tesseract img = Image.open('degrecheck.jpg')# add Image name here with file extention text = pytesseract.image_to_string(img) print(text) remember = open('remember.txt','w') remember.write(text) remember.close()
i have write a code but it is extracting full certificate i want to extract only name of person enrolment number of certificate make string and convert into hash
pytesseract.image_to_string(img)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)