Inuktitut OCR in C# and .NET
IronOCR는 .NET 코더가 126개 언어의 이미지 및 PDF 문서에서 텍스트를 읽을 수 있도록 하는 C# 소프트웨어 구성 요소입니다. 여기에는 이누크티투트어도 포함됩니다.
이는 .NET 개발자 전용으로 개발된 Tesseract의 고급 포크 버전으로, 속도와 정확도 면에서 다른 Tesseract 엔진보다 뛰어난 성능을 보여줍니다.
IronOcr.Languages.Inuktitut 내용
이 패키지에는 .NET용 OCR 언어 52개가 포함되어 있습니다.
- 이누크티투트어
- InuktitutBest
- InuktitutFast
다운로드
이눅티투트 언어 팩 [ᐃᓄᒃᑎᑐᑦ]
설치
첫 번째 단계는 귀하의 .NET 프로젝트에 이눅티투트 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
이 코드는 IronOCR을 사용하여 이미지에서 이눅티투트 텍스트를 인식하는 방법을 보여줍니다. 언어를 이눅티투트로 설정한 후, 코드는 지정된 이미지 파일을 처리하고 인식된 텍스트를 콘솔에 출력합니다.

