Calamari-OCR / calamari

Line based ATR Engine based on OCRopy
Apache License 2.0
1.04k stars 209 forks source link

Fix final_preparation for already normalized data #266

Closed andbue closed 3 years ago

andbue commented 3 years ago

When normalize=False is set, FinalPreparation must not multiply the data with 255. Otherwise it renders many line images unreadable.

ChWick commented 3 years ago

can you verify if my fix works also for you?