Inuktitut OCR in C# and .NET
This article was translated from English: Does it need improvement?
Translated
View the article in English
IronOCR 是一款 C# 軟體元件,讓 .NET 程式設計師能夠從 126 種語言(包括因紐特語)的圖片和 PDF 文件中讀取文字。
這是 Tesseract 的進階分支版本,專為 .NET 開發者打造,無論在速度或準確度方面,其表現均經常優於其他 Tesseract 引擎。
IronOcr.Languages.Inuktitut 的內容
此套件包含 52 種適用於 .NET 的 OCR 語言:
- 因紐特語
- 因紐特語最佳
- 因紐特語Fast
下載
因努伊特語語言套件 [ᐃᓄᒃᑎᑐᑦ]
安裝
第一步是在您的 .NET 專案中安裝 Inuktitut OCR 套件:
Install-Package IronOcr.Languages.Inuktitut
程式碼範例
此 C# 程式碼範例用於從圖片或 PDF 文件中讀取因紐特語文字。
// First, make sure to install the IronOcr.Languages.Inuktitut package:
// PM> Install-Package IronOcr.Languages.Inuktitut
using IronOcr;
class Program
{
static void Main()
{
// Create a new instance of IronTesseract for performing OCR
var Ocr = new IronTesseract();
// Specify the OCR language as Inuktitut
Ocr.Language = OcrLanguage.Inuktitut;
// Define the input image or PDF file containing Inuktitut text
using (var Input = new OcrInput(@"images\Inuktitut.png"))
{
// Perform OCR on the input file
var Result = Ocr.Read(Input);
// Extract and print the recognized text
var AllText = Result.Text;
Console.WriteLine("Recognized Inuktitut Text:");
Console.WriteLine(AllText);
}
}
}
// First, make sure to install the IronOcr.Languages.Inuktitut package:
// PM> Install-Package IronOcr.Languages.Inuktitut
using IronOcr;
class Program
{
static void Main()
{
// Create a new instance of IronTesseract for performing OCR
var Ocr = new IronTesseract();
// Specify the OCR language as Inuktitut
Ocr.Language = OcrLanguage.Inuktitut;
// Define the input image or PDF file containing Inuktitut text
using (var Input = new OcrInput(@"images\Inuktitut.png"))
{
// Perform OCR on the input file
var Result = Ocr.Read(Input);
// Extract and print the recognized text
var AllText = Result.Text;
Console.WriteLine("Recognized Inuktitut Text:");
Console.WriteLine(AllText);
}
}
}
' First, make sure to install the IronOcr.Languages.Inuktitut package:
' PM> Install-Package IronOcr.Languages.Inuktitut
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Create a new instance of IronTesseract for performing OCR
Dim Ocr = New IronTesseract()
' Specify the OCR language as Inuktitut
Ocr.Language = OcrLanguage.Inuktitut
' Define the input image or PDF file containing Inuktitut text
Using Input = New OcrInput("images\Inuktitut.png")
' Perform OCR on the input file
Dim Result = Ocr.Read(Input)
' Extract and print the recognized text
Dim AllText = Result.Text
Console.WriteLine("Recognized Inuktitut Text:")
Console.WriteLine(AllText)
End Using
End Sub
End Class
$vbLabelText
$csharpLabel
此程式碼示範如何使用 IronOCR 從圖片中辨識因紐特語文字。 將語言設定為因紐特語後,程式碼會處理指定的圖像檔案,並將辨識出的文字PRINT至主控台。

