Tatar 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 le tatar.
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.
-
Jeûne au sarrasin Ce package contient 40 langues OCR for .NET :
- Tatar
- TatarBest
- Jeûne au sarrasin
Télécharger
Pack de langue tatare [Tatar]
Installation
La première chose à faire est d'installer notre package Tatar OCR sur votre projet .NET.
Install-Package IronOcr.Languages.Tatar
Exemple de code
Cet exemple de code C# lit du texte tatar à partir d'une image ou d'un document PDF.
// Install the Tatar OCR Language package using NuGet
// PM> Install-Package IronOcr.Languages.Tatar
using IronOcr;
var Ocr = new IronTesseract();
// Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar;
// Define the input source as an image or PDF containing Tatar text
using (var Input = new OcrInput(@"images\Tatar.png"))
{
// Perform OCR to read text from the input image
var Result = Ocr.Read(Input);
// Retrieve the recognized text and store it in a variable
var AllText = Result.Text;
}
// Install the Tatar OCR Language package using NuGet
// PM> Install-Package IronOcr.Languages.Tatar
using IronOcr;
var Ocr = new IronTesseract();
// Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar;
// Define the input source as an image or PDF containing Tatar text
using (var Input = new OcrInput(@"images\Tatar.png"))
{
// Perform OCR to read text from the input image
var Result = Ocr.Read(Input);
// Retrieve the recognized text and store it in a variable
var AllText = Result.Text;
}
' Install the Tatar OCR Language package using NuGet
' PM> Install-Package IronOcr.Languages.Tatar
Imports IronOcr
Private Ocr = New IronTesseract()
' Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar
' Define the input source as an image or PDF containing Tatar text
Using Input = New OcrInput("images\Tatar.png")
' Perform OCR to read text from the input image
Dim Result = Ocr.Read(Input)
' Retrieve the recognized text and store it in a variable
Dim AllText = Result.Text
End Using

