Development of the ocr part of AOI
Samo Penic
2019-01-24 8dad6520729d26d90ebee48939d7f2a1fd73dd38
aoiOcr.py
@@ -28,7 +28,7 @@
    "processed_scans/20160510075445995_0026.tif",
]
# p=Paper(filename=pa[9], sid_classifier=classifier, settings=settings)
p = Paper(filename="test3.tif", sid_classifier=classifier, settings=settings)
p = Paper(filename="test3011/sizif000.tif", sid_classifier=classifier, settings=settings)
# print(p.QRData)
# print(p.errors)
@@ -42,8 +42,8 @@
print(p.get_paper_ocr_data())
exit(0)
filelist = glob("processed_scans/*.tif")
#exit(0)
filelist = glob("test3011/*.tif")
wrong_sid = 0
total = 0
for f in sorted(filelist):