Commit Graph

13 Commits (0a3f525f0a2c8efbdfe55c5a27c3e8ac526662f9)

Author SHA1 Message Date
kba 0a3f525f0a port processor to core v3
kba 84d05bd0ae s,url,local_filename,
Robert Sachunsky 318ea6acca OCR-D wrapper: expose tables param
Konstantin Baierer 5124a60527 set pcGtsId before adding file to mets
Konstantin Baierer 80795c9e6c 📦 v0.0.5
Konstantin Baierer 45939abdff OCR-D CLI: remove allow_enhancement parameter
It does not toggle enhancement (eynollah does that internally anyway)
but setting it to true will base the coordinate calculations on that
enhanced (different-sized) image instead of the original. That is never
sensible in the OCR-D context.
Konstantin Baierer c7f304dcb6 ocrd processor: pass local filename as image_filename, ht @bertsky
Konstantin Baierer d0b0e23ac6 do DPI calculation as part of caching images
Konstantin Baierer ae0b4a825a ocrd cli: catch dpi == 1, return 230
Konstantin Baierer 2e8a3e3bee use Page.imageFilename directly for accurate DPI estimate
Konstantin Baierer 4897cefdb7 allow passing PIL image to Eynollah w/o disk I/O
Konstantin Baierer 8c4e9b6068 allow passing pcgts to eynollah and writer
Konstantin Baierer 9db6edf51e OCR-D CLI