From aa62157687cde8724bd01294e87e27f80c80ad3f Mon Sep 17 00:00:00 2001 From: "theraysmith@gmail.com" Date: Fri, 24 Jan 2014 21:17:43 +0000 Subject: [PATCH] Fixed slow-down that was caused by upping MAX_NUM_CLASSES git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1014 d0cd1f9f-072b-0410-8dd7-cf729c803f20 --- wordrec/tface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordrec/tface.cpp b/wordrec/tface.cpp index de6db3f4..383505bf 100644 --- a/wordrec/tface.cpp +++ b/wordrec/tface.cpp @@ -140,7 +140,7 @@ BLOB_CHOICE_LIST *Wordrec::call_matcher(TBLOB *tessblob) { rotated_blob = tessblob; } BLOB_CHOICE_LIST *ratings = new BLOB_CHOICE_LIST(); // matcher result - AdaptiveClassifier(rotated_blob, ratings, NULL); + AdaptiveClassifier(rotated_blob, ratings); if (rotated_blob != tessblob) { delete rotated_blob; }