Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1017 Bytes

README.md

File metadata and controls

45 lines (27 loc) · 1017 Bytes

ocrmypdf-doxa-plugin

OCRmyPDF plugin including Δoxa binarization framework

Features

Binarization using Δoxa's library algorithms (https://github.com/brandonmpetty/Doxa)

Installation

pip install .

Usage

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.

Author

👤 Tristan Porteries

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Tristan Porteries.
This project is CC0-1.0 License licensed.