Update nOCR

This commit is contained in:
Nikolaj Olsson 2020-06-07 21:05:27 +02:00
parent af4c8d6c49
commit c791fff443
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -2805,7 +2805,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
if (UppercaseWithAccent.Contains(result.Text))
{
var averageUppercase = _ocrUppercaseHeightsTotal / (double)_ocrUppercaseHeightsTotalCount;
if (targetItem.NikseBitmap.Height + 4 < averageUppercase)
if (targetItem.NikseBitmap.Height < averageUppercase + 3)
{
result.Text = result.Text.ToLowerInvariant();
}