From 8dad6520729d26d90ebee48939d7f2a1fd73dd38 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Thu, 24 Jan 2019 15:24:06 +0000
Subject: [PATCH] Fix in pages that don't have qr code

---
 aoiOcr.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/aoiOcr.py b/aoiOcr.py
index e186b20..5b575ca 100644
--- a/aoiOcr.py
+++ b/aoiOcr.py
@@ -28,7 +28,7 @@
     "processed_scans/20160510075445995_0026.tif",
 ]
 # p=Paper(filename=pa[9], sid_classifier=classifier, settings=settings)
-p = Paper(filename="sizif000.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):

--
Gitblit v1.9.3