Slovene OCR in C# and .NET

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

IronOCR for .NET 是一個 C# 軟體元件,可讓 .NET 開發人員從圖片和 PDF 文件中讀取 126 種語言的文字,包括斯洛文尼亞語。 它是 Tesseract 的進階分叉,專為 .NET 開發人員打造,在速度和精確度上都經常超越其他 Tesseract 引擎。

IronOcr.Languages.Slovene 的內容

下載[slovenski jezik] * 下載方式為 Zip * 使用 NuGet 安裝

安裝

程式碼範例 Install-Package IronOcr.Languages.Slovene using IronOcr; class Program { static void Main() { // Create a new instance of IronTesseract for OCR operations. var Ocr = new IronTesseract(); // Set the OCR language to Slovene. Ocr.Language = OcrLanguage.Slovene; // Perform OCR inside a using block to ensure resources are released properly. using (var Input = new OcrInput(@"images\Slovene.png")) { // Read the text from the input image or PDF. var Result = Ocr.Read(Input); // Get all the recognized text as a string. var AllText = Result.Text; // Output the recognized text to the console. System.Console.WriteLine(AllText); } } } ```