The AmharicOCR class is a Python class that performs Optical Character Recognition (OCR) on Amharic PDF files using Tesseract OCR. The class extracts text from each page of the input PDF file, converts it to grayscale, and uses Tesseract OCR to extract the text from the grayscale image.
The AmharicOCR class is a Python class that performs Optical Character Recognition (OCR) on Amharic PDF files using Tesseract OCR. The class extracts text from each page of the input PDF file, converts it to grayscale, and uses Tesseract OCR to extract the text from the grayscale image.