mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-07 18:02:40 +08:00
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:
parent
74dc14ebd4
commit
4d9e544085
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user