eynollah icon indicating copy to clipboard operation
eynollah copied to clipboard

Use of image from --allow-enhancement option in OCR-D workflow

Open sjscotti opened this issue 3 years ago • 4 comments
trafficstars

Hi A question. Is the --allow-enhancement option resultant image intended to be used in an OCR-D workflow? In some cases, I believe resultant image has dimensions that differ from the dimensions of the input image. So if it is intended to be used in OCR-D, what is the suggested workflow (and the commands & parameters) that preserves the overlaying of the ocr results with the image? Thanks!

sjscotti avatar Jun 04 '22 05:06 sjscotti

@sjscotti As long as I know, no. The enhanced imaged in the case of --allow-enhancement can not be applied by OCR-D workflow (@kba ).

vahidrezanezhad avatar Jun 07 '22 13:06 vahidrezanezhad

A question. Is the --allow-enhancement option resultant image intended to be used in an OCR-D workflow?

No, we currently do not use the intermediate results of eynollah, only the resulting PAGE-XML with the assumption that the original image (dimensions) remains unchanged.

kba avatar Jun 07 '22 14:06 kba

Do you think that the enhancement approaches used in eynollah should be replicated outside of it to be used in an OCR workflow, or do you think the OCR-D workflow enhancement steps produce a better quality starting image to do OCR on?

sjscotti avatar Jun 07 '22 21:06 sjscotti

Do you think that the enhancement approaches used in eynollah should be replicated outside of it to be used in an OCR workflow, or do you think the OCR-D workflow enhancement steps produce a better quality starting image to do OCR on?

The impact of enhanced image on OCR is not assessed yet. But I think for documents with low quality the enhanced images may improve OCR performance.

vahidrezanezhad avatar Jun 08 '22 16:06 vahidrezanezhad