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