Possible solution to solve “Failed to init API, possibly an invalid tessdata path” error
RuntimeError: Failed to init API, possibly an invalid tessdata path: <PATH>
It’s supposed that you already have added the directories where you installed Python and Tesseract-OCR to Path.
You don’t have the tessdata folder in the Python path.
For example, if you have Python installed in C:\Programs\Python, you must copy-paste the tessdata folder from Tesseract-OCR to main Python one.