python wiki_extractor.py --keyword= "Topic name" --num_urls= 100
--output= "output.json"
Go to - https://github.com/oschwartz10612/poppler-windows/releases/
Specifying poppler path in code
pages = convert_from_path(filepath, poppler_path=r"actualpoppler_path")
Go to - https://github.com/UB-Mannheim/tesseract/wiki
Specifying Tesseract path in code before call image_to_string function
pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'
Go to - https://github.com/tesseract-ocr/tessdata/
Download the .traineddata file and place it in C:\Program Files\Tesseract-OCR\tessdata
For more info visit on - https://ocrmypdf.readthedocs.io/en/latest/languages.html
Specifying language in pytesseract
text = pytesseract.image_to_string(file,lang='mar')
pip install pytesseract
pip install pdf2image
pip install openpyxl # for excel files
pip install python-poppler