show error if no match
This commit is contained in:
@@ -1416,7 +1416,10 @@ namespace TetraPackOCR
|
||||
ShowTheLansRs(mMatchingStr, (double)m1 / (double)ocrTextResult.Count);
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowTheLansRs(mMatchingStr, 0);
|
||||
log.Info("OCR识别完成,匹配失败");
|
||||
}
|
||||
Ocr_picBox.BackgroundImage = Bmp;
|
||||
NoticePLCCompleteOCR();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user