mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Update nOCR
This commit is contained in:
parent
af4c8d6c49
commit
c791fff443
BIN
Ocr/Latin.nocr
BIN
Ocr/Latin.nocr
Binary file not shown.
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user