Filipino OCR in C# and .NET
IronOCR 은 .NET 개발자가 이미지와 PDF 문서에서 필리핀어를 포함한 126개 언어로 텍스트를 읽을 수 있도록 지원하는 C# 소프트웨어 구성 요소입니다. Tesseract의 고급 포크 버전으로, .NET 개발자 전용으로 개발되었으며 속도와 정확도 면에서 다른 Tesseract 엔진보다 뛰어난 성능을 보여줍니다.
IronOCR 의 내용.언어.필리핀어
이 패키지에는 .NET용 OCR 언어 49개가 포함되어 있습니다.
- 필리핀인
- 필리피노베스트
- FilipinoFast
다운로드
필리핀어 학습 자료 [필리핀의 국어]
설치
먼저 .NET 프로젝트에 필리핀어 OCR 패키지를 설치해야 합니다.
Install-Package IronOcr.Languages.Filipino
코드 예제
이 C# 코드 예제는 이미지 또는 PDF 문서에서 필리핀어 텍스트를 읽습니다.
// Import the IronOcr namespace to use its classes and methods.
using IronOcr;
class Program
{
static void Main()
{
// Create a new instance of the IronTesseract OCR engine.
var Ocr = new IronTesseract();
// Set the OCR language to Filipino.
Ocr.Language = OcrLanguage.Filipino;
// Create a new OcrInput object, specifying the path to the image
// or document that contains the text you want to read.
using (var Input = new OcrInput(@"images\Filipino.png"))
{
// Perform OCR on the input.
var Result = Ocr.Read(Input);
// Extract the read text from the OCR result.
var AllText = Result.Text;
// Output the text to the console or use it in your application.
Console.WriteLine(AllText);
}
}
}
// Import the IronOcr namespace to use its classes and methods.
using IronOcr;
class Program
{
static void Main()
{
// Create a new instance of the IronTesseract OCR engine.
var Ocr = new IronTesseract();
// Set the OCR language to Filipino.
Ocr.Language = OcrLanguage.Filipino;
// Create a new OcrInput object, specifying the path to the image
// or document that contains the text you want to read.
using (var Input = new OcrInput(@"images\Filipino.png"))
{
// Perform OCR on the input.
var Result = Ocr.Read(Input);
// Extract the read text from the OCR result.
var AllText = Result.Text;
// Output the text to the console or use it in your application.
Console.WriteLine(AllText);
}
}
}
' Import the IronOcr namespace to use its classes and methods.
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Create a new instance of the IronTesseract OCR engine.
Dim Ocr = New IronTesseract()
' Set the OCR language to Filipino.
Ocr.Language = OcrLanguage.Filipino
' Create a new OcrInput object, specifying the path to the image
' or document that contains the text you want to read.
Using Input = New OcrInput("images\Filipino.png")
' Perform OCR on the input.
Dim Result = Ocr.Read(Input)
' Extract the read text from the OCR result.
Dim AllText = Result.Text
' Output the text to the console or use it in your application.
Console.WriteLine(AllText)
End Using
End Sub
End Class

