we are doing pan OCR, using tesseract but is not able to detect the details like name and pan number
问题 We are cropping the pan card image by increasing the height by 20px for every iteration and then we are passing that image to tesseract to do ocr but we are getting noise with output.if you have better solution on Image processing or another libraries like cv2 then please help us. import pytesseract from PIL import Image, ImageEnhance, ImageFilter im = Image.open("image/testpan.jpg") width = im.size[0] height = im.size[1] print('width,height-->',width,height) yy='img' zz='.jpg' x=0 for j in