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 kodlayıcılarının görüntülerden ve PDF belgelerinden, Inuktitut dahil 126 dilde metin okumasını sağlayan bir C# yazılım bileşenidir.

Tesseract'ın, yalnızca .NET geliştiricileri için özel olarak oluşturulmuş gelişmiş bir dalıdır ve hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakır.

IronOcr.Languages.Inuktitut İçeriği

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

  • Inuktitut
  • InuktitutBest
  • InuktitutFast

İndir

Inuktitut Dil Paketi [ᐃᓄᒃᑎᑐᑦ]

Kurulum

.NET projenize Inuktitut OCR paketini yüklemek ilk adımdır:

Install-Package IronOcr.Languages.Inuktitut

Kod Örneği

Bu C# kod örneği, bir görüntü veya PDF belgesinden Inuktitut metni 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'yi kullanarak bir görüntüden Inuktitut metni nasıl tanıyacağınızı gösterir. Dili Inuktitut olarak ayarladıktan sonra, kod belirtilen görüntü dosyasını işleyip tanınan metni konsola yazdırır.