帶斜線的零

This article was translated from English: Does it need improvement?
Translated
View the article in English

斜零誤識別,認為是 g、6 或 8?

這可能是 Tesseract 語言包的問題。

以下語言包可能有助於解決斜零的問題:

https://github.com/yusufuyanik1/SlashedZeroOCR

這可以與 IronOCR 功能一起使用以載入自訂語言包:

https://ironsoftware.com/csharp/ocr/languages/#custom-language-example

using IronOcr; var Ocr = new IronTesseract();
    Ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata");
    using (var Input = new OcrInput(@"images\image.png"))
    {
    var Result = Ocr.Read(Input);
    Console.WriteLine(Result.Text);
    }
using IronOcr; var Ocr = new IronTesseract();
    Ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata");
    using (var Input = new OcrInput(@"images\image.png"))
    {
    var Result = Ocr.Read(Input);
    Console.WriteLine(Result.Text);
    }
Imports IronOcr
Private Ocr = New IronTesseract()
	Ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata")
	Using Input = New OcrInput("images\image.png")
	Dim Result = Ocr.Read(Input)
	Console.WriteLine(Result.Text)
	End Using
VB   C#