Ftr minimal digit
Created by: bennguvaye
So this has got a number of changes :
- Builders inherit from
BaseBuilder
(easy to drop if you want to) - Builders' class attributes become instance attributes
-
DigitBuilder
moved tobuilders.py
-
DigitLineBoxBuilder
for digits inherits fromLineBoxBuilder
-
libtesseract
is available with version 3.3 - Tests have been restructured to reduce code redundancy.
Some mixins are defined in
tests/tests_base.py
then multiple inheritance is used for the actual tests. - Tests have been added for the new builders.
-
test_version
intests_libtesseract
passes with version (3,4,1).
On my system (libtesseract3.4.1) most of the tests pass except :
- The cuneiform tests since I don't have it installed
- The libtesseract words and lines japanese tests
- The libtesseract
TestBasicDoc
test - The line digits test since the files
test-digits.lines
don't exist