I intend to use PaddleOCR to detect image orientation and plan to use their Text Angle Classification Model. However, I got stuck trying to figure out how to install it and integrate it into my code (I just have a downloaded tar
file). How do I use the model in my Python code?
If it matters, I am using WSL (Windows Subsystem for Linux) and do not have a GPU.
You would need to create a virtual environment either via Anaconda or via Python venv and then install the PaddleOCR package via pip. Steps you should follow:
pip install "paddleocr>=2.0.1"