Albanian OCR in C# and .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English
Bu belgenin diğer versiyonları:

IronOCR, .NET kodlayıcılarının Arnavutça dahil 126 dilde, görüntülerden ve PDF belgelerden metin okumalarına olanak tanıyan 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.Albanian İçeriği

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

  • Arnavutça
  • ArnavutçaEn iyi
  • ArnavutçaHızlı

İndir

Arnavutça Dil Paketi [gjuha shqipe]

Kurulum

Yapmamız gereken ilk şey, Arnavutça OCR paketimizi .NET projenize kurmaktır.

Install-Package IronOcr.Languages.Albanian

Kod Örneği

Bu C# kod örneği, görüntüden veya PDF belgesinden Arnavutça metin okur.

// This example demonstrates how to use IronOCR to extract text from an image using the Albanian language pack.
using IronOcr;

var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract engine.
Ocr.Language = OcrLanguage.Albanian; // Set the OCR language to Albanian.

using (var Input = new OcrInput(@"images\Albanian.png")) // Provide path to the image file.
{
    var Result = Ocr.Read(Input); // Perform OCR on the input image.
    var AllText = Result.Text;    // Extract the recognized text from the OCR result.
    // Optionally, use the extracted text for further processing.
}
// This example demonstrates how to use IronOCR to extract text from an image using the Albanian language pack.
using IronOcr;

var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract engine.
Ocr.Language = OcrLanguage.Albanian; // Set the OCR language to Albanian.

using (var Input = new OcrInput(@"images\Albanian.png")) // Provide path to the image file.
{
    var Result = Ocr.Read(Input); // Perform OCR on the input image.
    var AllText = Result.Text;    // Extract the recognized text from the OCR result.
    // Optionally, use the extracted text for further processing.
}
' This example demonstrates how to use IronOCR to extract text from an image using the Albanian language pack.
Imports IronOcr

Private Ocr = New IronTesseract() ' Create a new instance of the IronTesseract engine.
Ocr.Language = OcrLanguage.Albanian ' Set the OCR language to Albanian.

Using Input = New OcrInput("images\Albanian.png") ' Provide path to the image file.
	Dim Result = Ocr.Read(Input) ' Perform OCR on the input image.
	Dim AllText = Result.Text ' Extract the recognized text from the OCR result.
	' Optionally, use the extracted text for further processing.
End Using
$vbLabelText   $csharpLabel