Changing image DPI for usage with tesseract
问题 I am working on a project to recognize text in Business Cards and map them to appropriate fields.I am using opencv for image processing.I need to feed the preprocessed image to Tesseract-OCR engine for text recognition.This link states that images should have atleast a DPI of 300.My image pixel size is 2560x1536 with 72 DPI. How to increase the DPI to 300? It is also said that it is beneficial to resize image.How to resize my image optimally for good OCR results Tesseract works best on images