OCRmyPDF plugin including Δoxa binarization framework
Binarization using Δoxa's library algorithms (https://github.com/brandonmpetty/Doxa)
pip install .
ocrmypdf \
--plugin ocrmypdf_doxa_plugin/plugin.py \
--doxa-algorithm WAN \
--doxa-parameters k=0.2 window=20 \
-- input.pdf output.pdf
--doxa-parameters
can be omitted and will be defaulted for each algorithm.
👤 Tristan Porteries
- Github: @panzergame
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2020 Tristan Porteries.
This project is CC0-1.0 License licensed.