goncalopp / simple-ocr-opencv

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

Merge OpenCV 3 support into master without losing OpenCV 2 support #21

Closed RedFantom closed 7 years ago

RedFantom commented 7 years ago

The commit added contains code to check the version of the OpenCV library before executing any version specific functions. It has support for Travis Ubuntu builds as well as Windows and Debian. Ubuntu provides a different version number than expected, but since it checks only for version 3, that works as well. This PR is the solution to issue #20.

goncalopp commented 7 years ago

Great, thank you!