houqp / leptess

Productive and safe Rust binding for leptonica and tesseract
https://houqp.github.io/leptess/leptess/index.html
MIT License
259 stars 29 forks source link

hocr output #27

Closed LennyPenny closed 3 years ago

LennyPenny commented 3 years ago

Is there any way of getting hocr output instead of just the plain text output?

ccouzens commented 3 years ago

Not at the moment.

It doesn't look too difficult to add. I'll try and do so

ccouzens commented 3 years ago

@LennyPenny I've created a pull request. I can't add you as a reviewer, but I would still appreciate it if you could take a look.

https://github.com/houqp/leptess/pull/28

ccouzens commented 3 years ago

The crate has been released as 0.10.0 https://crates.io/crates/leptess/0.10.0