Uzbek OCR in C# and .NET
Outras versões deste documento:
O IronOCR é um componente de software C# que permite aos programadores .NET ler texto de imagens e documentos PDF em 126 idiomas, incluindo o uzbeque.
Trata-se de uma versão avançada do Tesseract, criada exclusivamente para desenvolvedores .NET e que supera regularmente outros mecanismos do Tesseract em termos de velocidade e precisão.
Conteúdo do IronOcr.Idiomas.Uzbeque
Este pacote contém 102 linguagens de OCR for .NET:
- Uzbeque
- UzbequeBest
- UzbequeFast
- Uzbeque cirílico
- Uzbeque cirílicoBest
- Uzbeque cirílicoFast
Baixar
Pacote de idioma uzbeque [O'zbek]
Instalação
A primeira coisa que precisamos fazer é instalar nosso pacote OCR para uzbeque em seu projeto .NET .
PM> Install-Package IronOcr.Languages.Uzbek
Exemplo de código
Este exemplo de código C# lê texto em uzbeque de uma imagem ou 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

