OCR tártaro en C# y .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English
Other versions of this document:

IronOCR es un componente de software C# que permite a los programadores .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el tártaro.

Es un fork avanzado de Tesseract, construido exclusivamente para desarrolladores .NET y supera regularmente a otros motores Tesseract en términos de velocidad y precisión.

Contenido de IronOcr.Languages.Tatar

Este paquete contiene 40 idiomas OCR para .NET:

  • Tártar
  • TatarBest
  • TatarFast

Descargar

Paquete de idioma tártaro [татар теле]

Instalación

Lo primero que tenemos que hacer es instalar nuestro paquete OCR Tártar en tu proyecto .NET.

Install-Package IronOCR.Languages.Tatar

Ejemplo de código

Este ejemplo de código C# lee texto en tártaro de una imagen o documento 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
$vbLabelText   $csharpLabel