Sindhi OCR in C# and .NET
이 문서의 다른 버전:
IronOCR은 .NET 개발자가 신디어를 포함한 126개 언어로 된 이미지와 PDF 문서에서 텍스트를 읽을 수 있도록 해주는 C# 소프트웨어 구성 요소입니다. 이는 .NET 개발자 전용으로 개발된 Tesseract의 고급 포크 버전으로, 속도와 정확도 면에서 다른 Tesseract 엔진보다 뛰어난 성능을 보여줍니다.
IronOcr.Languages.Sindhi의 내용
이 패키지에는 .NET 용 OCR 언어 43개가 포함되어 있습니다.
- 신디어
- 신디베스트
- 신디패스트
다운로드
신디어 언어 팩 [सिनधी]
설치
먼저 .NET 프로젝트에 신디어 OCR 패키지를 설치해야 합니다.
Install-Package IronOcr.Languages.Sindhi
코드 예제
이 C# 코드 예제는 이미지 또는 PDF 문서에서 신디어 텍스트를 읽습니다.
// Ensure the IronOCR package and Sindhi language pack are installed
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Sindhi // Set the OCR language to Sindhi
};
// Open an image or PDF document for OCR processing
using (var Input = new OcrInput(@"images\Sindhi.png"))
{
// Perform OCR and get the results
var Result = Ocr.Read(Input);
// Extract the recognized text
var AllText = Result.Text;
// Optionally, you can do something with the extracted text,
// such as displaying or saving it to a file.
}
// Ensure the IronOCR package and Sindhi language pack are installed
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Sindhi // Set the OCR language to Sindhi
};
// Open an image or PDF document for OCR processing
using (var Input = new OcrInput(@"images\Sindhi.png"))
{
// Perform OCR and get the results
var Result = Ocr.Read(Input);
// Extract the recognized text
var AllText = Result.Text;
// Optionally, you can do something with the extracted text,
// such as displaying or saving it to a file.
}
' Ensure the IronOCR package and Sindhi language pack are installed
Imports IronOcr
Private Ocr = New IronTesseract With {.Language = OcrLanguage.Sindhi}
' Open an image or PDF document for OCR processing
Using Input = New OcrInput("images\Sindhi.png")
' Perform OCR and get the results
Dim Result = Ocr.Read(Input)
' Extract the recognized text
Dim AllText = Result.Text
' Optionally, you can do something with the extracted text,
' such as displaying or saving it to a file.
End Using
이 코드 예제에서는 다음과 같습니다.
- 우리는
IronTesseract의 인스턴스를 설정했습니다. - OCR 언어를 신디어로 설정하세요.
- 신디어 텍스트가 포함된 이미지 파일을 엽니다.
- 이미지에서 OCR을 수행하고
Read메서드를 사용하여 텍스트를 추출합니다. - 추출된 텍스트는 추가 사용을 위해
AllText변수에 저장됩니다.

