Skip to content

Commit

Permalink
Fixed debian bug#704911: assert failure during training
Browse files Browse the repository at this point in the history
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@851 d0cd1f9f-072b-0410-8dd7-cf729c803f20
theraysmith@gmail.com committed Jun 13, 2013
1 parent 74dc14e commit 4d9e544
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classify/intfx.cpp
Original file line number Diff line number Diff line change
@@ -331,6 +331,9 @@ int ExtractIntFeat(TBLOB *Blob,
*/
Results->Ry = 1;
}
if (Results->Rx == 0) {
Results->Rx = 1;
}
Results->NumBL = NumBLFeatures;

// Extract character normalized features

0 comments on commit 4d9e544

Please sign in to comment.