Closed robertknight closed 7 months ago
Add --text-map option to ocrs CLI tool and supporting OcrEngine::detect_text_pixels API to generate a text probability mask.
--text-map
OcrEngine::detect_text_pixels
This is useful for debugging text detection differences between model versions.
In the process a params argument was added to TextDetector::from_model to make it easier to test adjustments to various post-processing parameters.
params
TextDetector::from_model
Add
--text-map
option to ocrs CLI tool and supportingOcrEngine::detect_text_pixels
API to generate a text probability mask.This is useful for debugging text detection differences between model versions.
In the process a
params
argument was added toTextDetector::from_model
to make it easier to test adjustments to various post-processing parameters.