mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
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
This commit is contained in:
parent
1a487252f4
commit
aa62157687
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user