Albanian OCR in C# and .NET

Other versions of this document:

IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 languages, including Albanian. It is an advanced fork of Tesseract, built exclusively for .NET developers and regularly outperforms other Tesseract engines for both speed and accuracy.

Contents of IronOcr.Languages.Albanian

This package contains 49 OCR languages for .NET:

  • Albanian
  • AlbanianBest
  • AlbanianFast

Download

Albanian Language Pack [gjuha shqipe]

Installation

The first thing we have to do is install our Albanian OCR package to your .NET project.

Install-Package IronOCR.Languages.Albanian

Code Example

This C# code example reads Albanian text from an image or PDF document.

// 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