OCR coreano en C# y .NET
Other versions of this document:
IronOCR es un componente de software C# que permite a los programadores de .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el coreano.
Es una bifurcación avanzada de Tesseract, construida exclusivamente para desarrolladores .NET y que supera regularmente a otros motores Tesseract en términos de velocidad y precisión.
Contenido de IronOcr.Languages.Korean
Este paquete contiene 108 idiomas de OCR para .NET:
- Coreano
- CoreanoMejor
- CoreanoRápido
- CoreanoVertical
- CoreanoVerticalMejor
- CoreanoVerticalRápido
Descargar
Paquete de Idioma Coreano [한국어 (韓國語)]
Instalación
El primer paso es instalar el paquete OCR coreano en su proyecto .NET.
Install-Package IronOCR.Languages.Korean
Ejemplo de código
Este ejemplo de código C# lee texto coreano de una imagen o documento PDF.
// 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




