Fraktur Alphabet OCR in C#
IronOCR, .NET kodlayıcılarının 126 dil, Fraktur Alfabe dahil, içerisinden resimler ve PDF belgelerinden metin okumaları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.Fraktur İçeriği
Bu paket, .NET için 70 OCR dili içerir:
- FrakturAlfabesi
- FrakturAlfabesiEnİyi
- FrakturAlfabesiHızlı
İndir
Fraktur Alfabe Dil Paketi [Genel Fraktur]
Kurulum
Yapmamız gereken ilk şey, .NET projenize Fraktur Alfabe OCR paketimizi kurmaktır.
Kod Örneği
Bu C# kod örneği, bir Resim veya PDF belgesinden Fraktur Alfabe metin okur.
// Requires the IronOcr NuGet package and the Fraktur language package to be installed.
using IronOcr;
class FrakturOCRExample
{
static void Main()
{
// Create an instance of the IronTesseract class
var Ocr = new IronTesseract();
// Set the OCR language to Fraktur
Ocr.Language = OcrLanguage.Fraktur;
// Load the image containing Fraktur text
using (var Input = new OcrInput(@"images\Fraktur.png"))
{
// Perform OCR on the input image
var Result = Ocr.Read(Input);
// Retrieve and display the recognized text
var AllText = Result.Text;
Console.WriteLine(AllText);
}
}
}' Requires the IronOcr NuGet package and the Fraktur language package to be installed.
Imports IronOcr
Module FrakturOCRExample
Sub Main()
' Create an instance of the IronTesseract class
Dim Ocr As New IronTesseract()
' Set the OCR language to Fraktur
Ocr.Language = OcrLanguage.Fraktur
' Load the image containing Fraktur text
Using Input As New OcrInput("images\Fraktur.png")
' Perform OCR on the input image
Dim Result = Ocr.Read(Input)
' Retrieve and display the recognized text
Dim AllText = Result.Text
Console.WriteLine(AllText)
End Using
End Sub
End ModuleBu örnekte:
- OCR motoru olarak hizmet veren bir
IronTesseractnesnesi oluşturuyoruz. OcrLanguage.Frakturkullanarak dil ayarını Fraktur yaparız.- Bir görüntü dosyasını (
@"images\Fraktur.png")OcrInputnesnesine yükleriz. Ocr.Read()yöntemi giriş görüntüsünü işler ve OCR sonucunu döndürür.- Son olarak, elde edilen metni konsola yazdırırız.

Curtis Chau, Bilgisayar Bilimleri alanında Lisans Derecesine (Carleton Üniversitesi) sahip ve Node.js, TypeScript, JavaScript ve React konularında uzmanlaşmış ön uç geliştirmeyle ilgileniyor. Sezgisel ve estetik açıdan hoş kullanıcı arayüzleri oluşturma tutkunu, Curtis modern çerçevelerle çalışmayı ve iyi yapılandırılmış, görsel olarak çekici kılavuzlar oluşturmayı seviyor.