Uzbek OCR in C# and .NET

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

IronOCR 是一個 C# 軟體元件,允許 .NET 編碼人員從圖像和 PDF 文件中讀取文字,語言包括烏茲別克語等 126 種。

它是 Tesseract 的進階分叉,專為 .NET 開發人員打造,在速度和精確度上都經常超越其他 Tesseract 引擎。

IronOcr.Languages.Uzbek 的內容

下載[O'zbek]。 * 下載方式為 Zip * 使用 NuGet 安裝

安裝

Install-Package IronOCR.Languages.Uzbek` 安裝套件。

程式碼範例

Install-Package IronOcr.Languages.Uzbek using IronOcr; namespace UzbekOcrExample { class Program { static void Main(string[] args) { // Initialize the IronTesseract object var Ocr = new IronTesseract(); // Set the OCR language to Uzbek Ocr.Language = OcrLanguage.Uzbek; // Specify the file path of the image or PDF containing Uzbek text using (var Input = new OcrInput(@"images\Uzbek.png")) { // Perform OCR on the input and get the result var Result = Ocr.Read(Input); // Extract all recognized text from the result var AllText = Result.Text; // Output the recognized text to the console Console.WriteLine(AllText); } } } } ```