- First install python in your system and make sure that these commands (run in terminal) give no error
python --version
pip --version
- Then save the
server.py
file to a directory and run these commands in terminal to install dependencies
pip install paddleocr paddlepaddle numpy
- Uninstall the "Image Occlusion Enhanced" from Anki
- Download this zip
- Extract it and copy this directory
image-occlusion-sm/src/image_occlusion_sm
, you will paste it later - Open Anki, go to
Tools
>Add-ons
>View files
- File explorer will pop up, paste the copied directory in this directory
- Restart Anki
- Open the directory where you saved
server.py
- Open terminal window in the same directory
- Run this command
python server.py
- Awesome!! Now you can use the "Auto occlude" feature!
NOTE: You will have to start the server everytime you restart your computer