goncalopp / simple-ocr-opencv

A simple python OCR engine using opencv
GNU Affero General Public License v3.0
524 stars 175 forks source link

fixed numpy 1.14.0 TypeError caused by boolean subtract. issue #31 #32

Closed eddex closed 5 years ago

eddex commented 5 years ago

Hi goncalopp

Here's the pull request for issue #31. As you suggested I used True ^ g instead of 1 - g for better readability.

Cheers, eddex

goncalopp commented 5 years ago

Thanks eddex!