Skip to content

panzergame/ocrmypdf-doxa-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published