- Install Python and DocTROCR.
- Install bottle and Paste:
pip install bottle Paste - Run the following to start the server:
python server.py - Download the plugin files and put
doctrOCRPlugin.jaranddoctrOCRPlugin.xmlinto the plugins folder of ImageTrans.
For convenience, you can directly use the Windows package: link
Unzip the file and start run.bat to run the server. You need to keep the server running in the background.
The package is using ONNXRuntime. You can also use the Pytorch version: link.
If you failed to download the model for the Pytorch version, you can download the models and unzip them to C:\Users\<your username>\.cache\doctr\models\.