robertknight / ocrs

Rust library and CLI tool for OCR (extracting text from images)
Apache License 2.0
1.1k stars 46 forks source link

Extract OCR phases into sub-modules with consistent APIs #5

Closed robertknight closed 8 months ago

robertknight commented 8 months ago

The entry point for the ocrs lib was getting large and cluttered, and the individual pieces were not amenable to testing. Split out the different phases into submodules.

In the process I realized that internal APIs for layout analysis were inadvertently exposed in the public API. These have been removed.