Closed mikegerber closed 2 years ago
This comes from OCR-D/core. The pixel density calculation of ImageMagick is more robust than PIL in my experience, hence we delegate to identify
if it is available in $PATH
. If it is not, we fall back to PIL to get the PPI.
Yeah, I thought so, I just need to include ImageMagick in the core images.
For example
ocrd-sbb-textline-detector --overwrite -I OCR-D-IMG-BIN -O OCR-D-SEG-LINE-SBB-TLD -P model "/var/lib/textline_detection
gives this warning: