Uzbek OCR in C# and .NET
Autres versions de ce document :
IronOCR est un composant logiciel C# permettant aux développeurs .NET de lire du texte à partir d'images et de documents PDF dans 126 langues, dont l'ouzbek.
Il s'agit d'une version avancée de Tesseract, conçue exclusivement pour les développeurs .NET et qui surpasse régulièrement les autres moteurs Tesseract en termes de vitesse et de précision.
Contenu de IronOcr.Languages.Uzbek
Ce package contient 102 langues OCR for .NET :
- Ouzbek
- OuzbekBest
- OuzbekFast
- OuzbekCyrillic
- OuzbekCyrillicBest
- OuzbekCyrillicFast
Télécharger
Pack de langue ouzbèke [ouzbek]
Installation
La première chose à faire est d'installer notre package OCR ouzbek sur votre projet .NET.
PM> Install-Package IronOcr.Languages.Uzbek
Exemple de code
Cet exemple de code C# lit du texte ouzbek à partir d'une image ou d'un document 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

