OCR uzbeko 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 uzbeko.
Es una rama avanzada de Tesseract, construida exclusivamente para desarrolladores de .NET y supera regularmente a otros motores de Tesseract tanto en velocidad como en precisión.
Contenido de IronOcr.Languages.Uzbek
Este paquete contiene 102 idiomas OCR para .NET:
- Uzbeko
- UzbekoBest
- UzbekoFast
- UzbekooCirílico
- UzbekooCirílicoBest
- UzbekooCirílicoFast
Descargar
Paquete de idioma Uzbeko [O'zbek]
Instalación
Lo primero que tenemos que hacer es instalar nuestro paquete de OCR Uzbeko en tu proyecto .NET.
PM> Install-Package IronOCR.Languages.Uzbek
Ejemplo de código
Este ejemplo de código C# lee texto uzbeko de una imagen o documento PDF.
// Ensure you have installed the Uzbek language package for IronOCR
// PM> Install-Package IronOcr.Languages.Uzbek
using IronOcr;
namespace UzbekOcrExample
{
class Program
{
static void Main(string[] args)
{
// Initialize the IronTesseract object
var Ocr = new IronTesseract();
// Set the OCR language to Uzbek
Ocr.Language = OcrLanguage.Uzbek;
// Specify the file path of the image or PDF containing Uzbek text
using (var Input = new OcrInput(@"images\Uzbek.png"))
{
// Perform OCR on the input and get the result
var Result = Ocr.Read(Input);
// Extract all recognized text from the result
var AllText = Result.Text;
// Output the recognized text to the console
Console.WriteLine(AllText);
}
}
}
}// Ensure you have installed the Uzbek language package for IronOCR
// PM> Install-Package IronOcr.Languages.Uzbek
using IronOcr;
namespace UzbekOcrExample
{
class Program
{
static void Main(string[] args)
{
// Initialize the IronTesseract object
var Ocr = new IronTesseract();
// Set the OCR language to Uzbek
Ocr.Language = OcrLanguage.Uzbek;
// Specify the file path of the image or PDF containing Uzbek text
using (var Input = new OcrInput(@"images\Uzbek.png"))
{
// Perform OCR on the input and get the result
var Result = Ocr.Read(Input);
// Extract all recognized text from the result
var AllText = Result.Text;
// Output the recognized text to the console
Console.WriteLine(AllText);
}
}
}
}' Ensure you have installed the Uzbek language package for IronOCR
' PM> Install-Package IronOcr.Languages.Uzbek
Imports IronOcr
Namespace UzbekOcrExample
Friend Class Program
Shared Sub Main(ByVal args() As String)
' Initialize the IronTesseract object
Dim Ocr = New IronTesseract()
' Set the OCR language to Uzbek
Ocr.Language = OcrLanguage.Uzbek
' Specify the file path of the image or PDF containing Uzbek text
Using Input = New OcrInput("images\Uzbek.png")
' Perform OCR on the input and get the result
Dim Result = Ocr.Read(Input)
' Extract all recognized text from the result
Dim AllText = Result.Text
' Output the recognized text to the console
Console.WriteLine(AllText)
End Using
End Sub
End Class
End Namespace




