Korean OCR in C# and .NET
Bu belgenin diğer versiyonları:
IronOCR, C# yazılım bileşeni olan bir bileşen olup, .NET kodlayıcılarının Kore dili de dahil olmak üzere 126 dildeki görüntü ve PDF belgelerinden metin okuyabilmesini sağlar.
Tesseract'ın ileri seviye bir dalıdır, yalnızca .NET geliştiricileri için tasarlanmıştır ve hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geçmektedir.
IronOcr.Languages.Korean içeriği
Bu paket, .NET için 108 OCR dili içerir:
- Korece
- KoreceEnIyi
- KoreceHizli
- KoreceDikey
- KoreceDikeyEnIyi
- KoreceDikeyHizli
İndirme
Kore Dil Paketi [한국어 (韓國語)]
Kurulum
İlk adım, .NET projenize Korean OCR paketini yüklemektir.
Install-Package IronOcr.Languages.Korean
Kod Örneği
Bu C# kod örneği, bir görüntü veya PDF belgesinden Kore dili metni okur.
// Ensure you have installed the IronOCR Korean language package
using IronOcr;
var Ocr = new IronTesseract();
// Specify that we want to use the Korean OCR capability
Ocr.Language = OcrLanguage.Korean;
// Create an OCR input, loading the image from the specified path
using (var Input = new OcrInput(@"images\Korean.png"))
{
// Use the OCR engine to read the text from the image
var Result = Ocr.Read(Input);
// Once reading is complete, extract the text from the result
var AllText = Result.Text;
// AllText now contains the text recognized from the image
}
// Ensure you have installed the IronOCR Korean language package
using IronOcr;
var Ocr = new IronTesseract();
// Specify that we want to use the Korean OCR capability
Ocr.Language = OcrLanguage.Korean;
// Create an OCR input, loading the image from the specified path
using (var Input = new OcrInput(@"images\Korean.png"))
{
// Use the OCR engine to read the text from the image
var Result = Ocr.Read(Input);
// Once reading is complete, extract the text from the result
var AllText = Result.Text;
// AllText now contains the text recognized from the image
}
' Ensure you have installed the IronOCR Korean language package
Imports IronOcr
Private Ocr = New IronTesseract()
' Specify that we want to use the Korean OCR capability
Ocr.Language = OcrLanguage.Korean
' Create an OCR input, loading the image from the specified path
Using Input = New OcrInput("images\Korean.png")
' Use the OCR engine to read the text from the image
Dim Result = Ocr.Read(Input)
' Once reading is complete, extract the text from the result
Dim AllText = Result.Text
' AllText now contains the text recognized from the image
End Using

