Dzongkha OCR in C# and .NET
IronOCR 은 .NET 개발자가 종카어를 포함한 126개 언어로 된 이미지와 PDF 문서에서 텍스트를 읽을 수 있도록 해주는 C# 소프트웨어 구성 요소입니다.
이는 .NET 개발자 전용으로 개발된 Tesseract의 고급 포크 버전으로, 속도와 정확도 면에서 다른 Tesseract 엔진보다 뛰어난 성능을 보여줍니다.
IronOCR 의 내용.언어.종카어
이 패키지에는 .NET용 OCR 언어 49개가 포함되어 있습니다.
- 종카어
- DzongkhaBest
- DzongkhaFast
다운로드
종카어 언어 팩 [རང་ཁ]
설치
먼저 해야 할 일은 Dzongkha OCR 패키지를 .NET 프로젝트에 설치하는 것입니다.
Install-Package IronOcr.Languages.Dzongkha
코드 예제
이 C# 코드 예제는 이미지 또는 PDF 문서에서 종카어 텍스트를 읽습니다.
// Ensure to install the IronOcr.Languages.Dzongkha package before use.
// Usage of IronOCR library for reading Dzongkha text from images or PDFs.
using IronOcr;
var Ocr = new IronTesseract();
// Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha;
// Specify the path to the input image file
using (var Input = new OcrInput(@"images\Dzongkha.png"))
{
// Reading text from the input file
var Result = Ocr.Read(Input);
// Retrieve all the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
// Ensure to install the IronOcr.Languages.Dzongkha package before use.
// Usage of IronOCR library for reading Dzongkha text from images or PDFs.
using IronOcr;
var Ocr = new IronTesseract();
// Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha;
// Specify the path to the input image file
using (var Input = new OcrInput(@"images\Dzongkha.png"))
{
// Reading text from the input file
var Result = Ocr.Read(Input);
// Retrieve all the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
' Ensure to install the IronOcr.Languages.Dzongkha package before use.
' Usage of IronOCR library for reading Dzongkha text from images or PDFs.
Imports IronOcr
Private Ocr = New IronTesseract()
' Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha
' Specify the path to the input image file
Using Input = New OcrInput("images\Dzongkha.png")
' Reading text from the input file
Dim Result = Ocr.Read(Input)
' Retrieve all the recognized text
Dim AllText = Result.Text
' Output the recognized text
Console.WriteLine(AllText)
End Using

