ccouzens / tesseract-sys

Rust FFI bindings to tesseract
MIT License
26 stars 18 forks source link

Add PageIteratorLevel and PolyBlockType enums #23

Closed StripedMonkey closed 1 year ago

StripedMonkey commented 1 year ago

These changes are a requisite to further changes I'm making upstream in tesseract-rs.

I am working on making Tesseract's iterators compatible in rust. For the moment I have only needed PageIteratorLevel and PolyBlockType. I'm not clear on the reasoning for limiting the public types you're exposing in this crate aside from not wanting to simultaniously expose Leptonica bindings. (Side note, the tesseract-sys description on github claims that these are leptonica bindings, that should probably be fixed)

ccouzens commented 1 year ago

Merged and published as 0.6.0

Thank you for your contribution 🙂