gitanat / simple-ocr-opencv

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

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

Closed eddex closed 6 years ago

eddex commented 6 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

gitanat commented 6 years ago

Thanks eddex!