Javanese OCR in C# and .NET
IronOCR, Javanese dahil olmak üzere 126 dildeki metinleri resimlerden ve PDF belgelerinden okutabilen 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.
Contents of IronOcr.Languages.Javanese
Bu paket, .NET için 49 OCR dilini içerir:
- Javanese
- JavaneseBest
- JavaneseFast
İndir
Javanese Dil Paketi [basa Jawa]
Kurulum
İlk yapmamız gereken şey, Javanese OCR paketimizi .NET projenize kurmaktır.
Install-Package IronOcr.Languages.Javanese
Kod Örneği
Bu C# kod örneği, bir resimden veya PDF belgesinden Javanese metnini okur.
// Import the IronOCR namespace to use its OCR functionalities
using IronOcr;
var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese; // Set the OCR language to Javanese
// Use the OcrInput class to specify the image or PDF document that will be read
using (var Input = new OcrInput(@"images\Javanese.png"))
{
// Perform OCR on the specified input
var Result = Ocr.Read(Input);
// Retrieve all recognized text from the result
var AllText = Result.Text;
}
// Import the IronOCR namespace to use its OCR functionalities
using IronOcr;
var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese; // Set the OCR language to Javanese
// Use the OcrInput class to specify the image or PDF document that will be read
using (var Input = new OcrInput(@"images\Javanese.png"))
{
// Perform OCR on the specified input
var Result = Ocr.Read(Input);
// Retrieve all recognized text from the result
var AllText = Result.Text;
}
' Import the IronOCR namespace to use its OCR functionalities
Imports IronOcr
Private Ocr = New IronTesseract() ' Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese ' Set the OCR language to Javanese
' Use the OcrInput class to specify the image or PDF document that will be read
Using Input = New OcrInput("images\Javanese.png")
' Perform OCR on the specified input
Dim Result = Ocr.Read(Input)
' Retrieve all recognized text from the result
Dim AllText = Result.Text
End Using

