Inuktitut OCR in C# and .NET

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

126 Daha Fazla Dil

IronOCR, .NET programcılarının Inuktitut Dili dahil olmak üzere 126 dildeki resimlerden ve PDF belgelerinden metin okumasını sağlayan bir C# yazılım bileşenidir.

Tesseract'ın ileri düzey bir çatallamasıdır, yalnızca .NET geliştiricileri için oluşturulmuş olup hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakmaktadır.

IronOcr.Languages.Inuktitut İçeriği

Bu paket, .NET için 52 OCR dili içerir:

  • Inuktitut Dili
  • InuktitutBest
  • InuktitutFast

İndirme

Inuktitut Dili Dil Paketi [ᐃᓄᒃᑎᑐᑦ]

  • Şunun olarak indir Zip
  • Şununla yükle NuGet

Kurulum

İlk adım Inuktitut Dili OCR paketini .NET projenize yüklemektir:

Install-Package IronOcr.Languages.Inuktitut

Kod Örneği

Bu C# kod örneği, bir resim veya PDF belgesinden Inuktitut Dili metin okur.

// 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);
        }
    }
}
' First, make sure to install the IronOcr.Languages.Inuktitut package:
' PM> Install-Package IronOcr.Languages.Inuktitut

Imports IronOcr

Friend Class Program
	Shared Sub Main()
		' Create a new instance of IronTesseract for performing OCR
		Dim Ocr = New IronTesseract()

		' Specify the OCR language as Inuktitut
		Ocr.Language = OcrLanguage.Inuktitut

		' Define the input image or PDF file containing Inuktitut text
		Using Input = New OcrInput("images\Inuktitut.png")
			' Perform OCR on the input file
			Dim Result = Ocr.Read(Input)

			' Extract and print the recognized text
			Dim AllText = Result.Text
			Console.WriteLine("Recognized Inuktitut Text:")
			Console.WriteLine(AllText)
		End Using
	End Sub
End Class
$vbLabelText   $csharpLabel

Bu kod, IronOCR'u kullanarak bir resimden Inuktitut Dili metni nasıl tanıyacağınızı gösterir. Dili Inuktitut olarak ayarladıktan sonra, kod belirtilen resim dosyasını işler ve tanınan metni konsola yazdırır.