Oriya OCR in C# and .NET
이 문서의 다른 버전:
IronOCR은 .NET 개발자가 오리야어를 포함한 126개 언어로 된 이미지와 PDF 문서에서 텍스트를 읽을 수 있도록 해주는 C# 소프트웨어 구성 요소입니다. 이는 .NET 개발자 전용으로 개발된 Tesseract의 고급 포크 버전으로, 속도와 정확도 면에서 다른 Tesseract 엔진보다 뛰어난 성능을 보여줍니다.
IronOcr.언어.오리야어의 내용
이 패키지에는 .NET용 OCR 언어가 여러 개 포함되어 있습니다.
- 오리야어
- 오리야베스트
- 오리야패스트
- 오리야어 알파벳
- 오리야 알파벳 베스트
- 오리야알파벳패스트
다운로드
오리야어 언어 팩 [ଓଡଆ]
설치
먼저 오리야어 OCR 패키지를 .NET 프로젝트에 설치해야 합니다.
Install-Package IronOcr.Languages.Oriya
코드 예제
이 C# 코드 예제는 이미지 또는 PDF 문서에서 오리야어 텍스트를 읽습니다.
// This example demonstrates how to use the IronOCR library to perform OCR on an Oriya language image.
using IronOcr;
class Program
{
static void Main()
{
// Instantiate the IronTesseract engine
var Ocr = new IronTesseract();
// Set the OCR language to Oriya
Ocr.Language = OcrLanguage.Oriya;
// Define the input file path for the OCR
using (var Input = new OcrInput(@"images\Oriya.png"))
{
// Perform OCR and obtain the result
var Result = Ocr.Read(Input);
// Extract all recognized text from the result
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}
// This example demonstrates how to use the IronOCR library to perform OCR on an Oriya language image.
using IronOcr;
class Program
{
static void Main()
{
// Instantiate the IronTesseract engine
var Ocr = new IronTesseract();
// Set the OCR language to Oriya
Ocr.Language = OcrLanguage.Oriya;
// Define the input file path for the OCR
using (var Input = new OcrInput(@"images\Oriya.png"))
{
// Perform OCR and obtain the result
var Result = Ocr.Read(Input);
// Extract all recognized text from the result
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}
' This example demonstrates how to use the IronOCR library to perform OCR on an Oriya language image.
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Instantiate the IronTesseract engine
Dim Ocr = New IronTesseract()
' Set the OCR language to Oriya
Ocr.Language = OcrLanguage.Oriya
' Define the input file path for the OCR
Using Input = New OcrInput("images\Oriya.png")
' Perform OCR and obtain the result
Dim Result = Ocr.Read(Input)
' Extract all recognized text from the result
Dim AllText = Result.Text
' Output the recognized text
Console.WriteLine(AllText)
End Using
End Sub
End Class
IronTesseract객체는 OCR을 구성하고 수행하는 데 사용됩니다.- OCR의 언어는
OcrLanguage.Oriya를 사용하여 오리야어로 설정됩니다. OcrInput는 텍스트 추출이 필요한 이미지나 문서를 명시할 수 있게 해줍니다.Read()메소드는 OCR을 수행하고 인식된 텍스트를 추출하고 활용할 수 있는 결과를 생성합니다.

