robertknight / ocrs

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

Add `--text-line-images` option for debugging #29

Closed robertknight closed 6 months ago

robertknight commented 6 months ago

This extracts the lines of text identified in the input image and saves them to the lines directory. This is useful for debugging text line recognition by exporting the images that will be passed to the line recognition model. Note that these images are not currently rescaled to 64px high as the actual recognition model inputs are.