ocropus-archive / DUP-ocropy

Python-based tools for document analysis and OCR
Apache License 2.0
3.41k stars 590 forks source link

Fix TypeError with new numpy version #301

Closed zuphilip closed 5 years ago

zuphilip commented 6 years ago

It is now important that the True, False values in the matrix are transformed to numbers before passing them to imsave function.

This fixes #299.

freen commented 6 years ago

@zuphilip just wanted to confirm that we tested this patch and it fixed our issue