ocr-d-modul-2-segmentierung / page-segmentation

Pixel classifier for historic prints. Mirror of https://gitlab2.informatik.uni-wuerzburg.de/ls6/ocr4all-pixel-classifier. Report issues here.
Other
5 stars 2 forks source link

update skimage calls #7

Open bertsky opened 2 years ago

bertsky commented 2 years ago

IMO in https://github.com/ocr-d-modul-2-segmentierung/page-segmentation/blob/e60677447d7ebe58c49ddb2e8a5ac242574d7c53/ocr4all_pixel_classifier/lib/dataset.py#L115

there should be a conversion to uint8, because I get:

FutureWarning: Input image dtype is bool. Interpolation is not defined with bool data type. Please set order to 0 or explicitely cast input image to another data type. Starting from version 0.19 a ValueError will be raised instead of this warning.