Korean OCR in C# and .NET
Bu belgenin diğer versiyonları:
IronOCR, Korean dahil olmak üzere 126 dildeki metinleri resimlerden ve PDF belgelerinden okutabilen bir C# yazılım bileşenidir.
Bu, Tesseract'ın .NET geliştiricileri için özel olarak oluşturulmuş gelişmiş bir çatalıdır ve hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakır.
Contents of IronOcr.Languages.Korean
Bu paket, .NET için 108 OCR dilini içerir:
- Korean
- KoreanBest
- KoreanFast
- KoreanVertical
- KoreanVerticalBest
- KoreanVerticalFast
İndir
Korean Dil Paketi [한국어 (韓國語)]
Kurulum
İlk adım, .NET projenize Korean OCR paketini kurmaktır.
Install-Package IronOcr.Languages.Korean
Kod Örneği
Bu C# kod örneği, bir resimden veya PDF belgesinden Korean metnini 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

