Fixed debian bug#704911: assert failure during training

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@851 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
theraysmith@gmail.com 2013-06-13 22:53:43 +00:00
parent 74dc14ebd4
commit 4d9e544085

View File

@ -331,6 +331,9 @@ int ExtractIntFeat(TBLOB *Blob,
*/ */
Results->Ry = 1; Results->Ry = 1;
} }
if (Results->Rx == 0) {
Results->Rx = 1;
}
Results->NumBL = NumBLFeatures; Results->NumBL = NumBLFeatures;
// Extract character normalized features // Extract character normalized features