OCR inuktitut en C# et .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English

126 autres langues

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'inuktitut.

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.Inuktitut

Ce package contient 52 langues OCR pour .NET :

  • Inuktitut
  • InuktitutBest
  • InuktitutFast

Télécharger

Pack de langue inuktitut

  • Télécharger au format Zip
  • Installer avec NuGet

Installation

La première étape consiste à installer le package OCR Inuktitut dans votre projet .NET :

Install-Package IronOCR.Languages.Inuktitut

Exemple de code

Cet exemple de code C# lit du texte en inuktitut à partir d'une image ou d'un document PDF.

// First, make sure to install the IronOcr.Languages.Inuktitut package:
// PM> Install-Package IronOcr.Languages.Inuktitut

using IronOcr;

class Program
{
    static void Main()
    {
        // Create a new instance of IronTesseract for performing OCR
        var Ocr = new IronTesseract();

        // Specify the OCR language as Inuktitut
        Ocr.Language = OcrLanguage.Inuktitut;

        // Define the input image or PDF file containing Inuktitut text
        using (var Input = new OcrInput(@"images\Inuktitut.png"))
        {
            // Perform OCR on the input file
            var Result = Ocr.Read(Input);

            // Extract and print the recognized text
            var AllText = Result.Text;
            Console.WriteLine("Recognized Inuktitut Text:");
            Console.WriteLine(AllText);
        }
    }
}
// First, make sure to install the IronOcr.Languages.Inuktitut package:
// PM> Install-Package IronOcr.Languages.Inuktitut

using IronOcr;

class Program
{
    static void Main()
    {
        // Create a new instance of IronTesseract for performing OCR
        var Ocr = new IronTesseract();

        // Specify the OCR language as Inuktitut
        Ocr.Language = OcrLanguage.Inuktitut;

        // Define the input image or PDF file containing Inuktitut text
        using (var Input = new OcrInput(@"images\Inuktitut.png"))
        {
            // Perform OCR on the input file
            var Result = Ocr.Read(Input);

            // Extract and print the recognized text
            var AllText = Result.Text;
            Console.WriteLine("Recognized Inuktitut Text:");
            Console.WriteLine(AllText);
        }
    }
}
$vbLabelText   $csharpLabel

Ce code montre comment utiliser IronOCR pour reconnaître du texte en inuktitut à partir d'une image. Après avoir sélectionné l'inuktitut comme langue, le code traite le fichier image spécifié et affiche le texte reconnu dans la console.