Assamese OCR in C# and .NET
IronOCR, C# yazılım bileşeni olarak, .NET kodlayıcılarının Assamese de dahil olmak üzere 126 dilde görüntülerden ve PDF belgelerinden metin okumasını sağlar.
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.Assamese İçeriği
Bu paket, .NET için 49 OCR dilini içerir:
- Assamca
- AssamcaBest
- AssamcaFast
İndir
Assamese Dil Paketi [অসমীয়া]
Kurulum
Yapmamız gereken ilk şey, Assamese OCR paketimizi .NET projenize yüklemektir.
Install-Package IronOcr.Languages.Assamese
Kod Örneği
Bu C# kod örneği, bir Görüntü veya PDF belgesinden Assamese metni okur.
// Make sure to install the necessary package:
// PM> Install-Package IronOcr.Languages.Assamese
using IronOcr;
class OCRExample
{
public void ReadAssameseText()
{
// Create an instance of IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the language to Assamese
Ocr.Language = OcrLanguage.Assamese;
// Create an OCR input object with the specified image or PDF file
using (var Input = new OcrInput(@"images\Assamese.png"))
{
// Read the text from the input file
var Result = Ocr.Read(Input);
// Retrieve the text from the OCR result
var AllText = Result.Text;
// Output the recognized text to the console
Console.WriteLine(AllText);
}
}
}
// Make sure to install the necessary package:
// PM> Install-Package IronOcr.Languages.Assamese
using IronOcr;
class OCRExample
{
public void ReadAssameseText()
{
// Create an instance of IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the language to Assamese
Ocr.Language = OcrLanguage.Assamese;
// Create an OCR input object with the specified image or PDF file
using (var Input = new OcrInput(@"images\Assamese.png"))
{
// Read the text from the input file
var Result = Ocr.Read(Input);
// Retrieve the text from the OCR result
var AllText = Result.Text;
// Output the recognized text to the console
Console.WriteLine(AllText);
}
}
}
' Make sure to install the necessary package:
' PM> Install-Package IronOcr.Languages.Assamese
Imports IronOcr
Friend Class OCRExample
Public Sub ReadAssameseText()
' Create an instance of IronTesseract OCR engine
Dim Ocr = New IronTesseract()
' Set the language to Assamese
Ocr.Language = OcrLanguage.Assamese
' Create an OCR input object with the specified image or PDF file
Using Input = New OcrInput("images\Assamese.png")
' Read the text from the input file
Dim Result = Ocr.Read(Input)
' Retrieve the text from the OCR result
Dim AllText = Result.Text
' Output the recognized text to the console
Console.WriteLine(AllText)
End Using
End Sub
End Class
- IronTesseract: Bu, OCR işlemlerinden sorumlu ana sınıftır.
- OcrLanguage.Assamese: Bu, OCR için dili belirtir. Bu durumda, Assamese olarak ayarlanmıştır.
- OcrInput: Bu sınıf, metin çıkartmak istediğiniz görüntüleri veya PDF'leri yüklemek için kullanılır.
- Result.Text: Görüntüden veya PDF'den çıkarılan tamamlanmış metni içerir.

