Specjalistyczne czytanie
Wyjdź poza zwykły tekst. Dokładnie czytaj paszporty (MRZ), czeki (MICR), tablice rejestracyjne i kody kreskowe za pomocą dedykowanych, wysokowydajnych narzędzi.
Specjalistyczne czytanie
Odczytaj tablicę rejestracyjną
Buduj solidne systemy rozpoznawania numerów rejestracyjnych ANPR do zautomatyzowanego zarządzania parkowaniem, dostępu do bramek bezpieczeństwa i śledzenia pojazdów. Nasz silnik jest wytrenowany do dokładnego czytania tablic rejestracyjnych z różnych kątów, odległości i warunków oświetleniowych.
Ucz się, jak:Czytać tablice rejestracyjne przy użyciu IronOCRusing IronOcr;
using System;
var ocr = new IronTesseract();
ocr.Configuration.WhiteListCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_";
using var inputLicensePlate = new OcrInput();
inputLicensePlate.LoadImage("plate.jpeg");
// Read license plate
OcrLicensePlateResult result = ocr.ReadLicensePlate(inputLicensePlate);
// Retrieve license plate number and confidence value
string output = $"{result.Text}\nResult Confidence: {result.Confidence}";
Console.WriteLine(output);Imports IronOcr
Imports System
Dim ocr = New IronTesseract()
ocr.Configuration.WhiteListCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
Using inputLicensePlate = New OcrInput()
inputLicensePlate.LoadImage("plate.jpeg")
' Read license plate
Dim result As OcrLicensePlateResult = ocr.ReadLicensePlate(inputLicensePlate)
' Retrieve license plate number and confidence value
Dim output As String = $"{result.Text}{vbLf}Result Confidence: {result.Confidence}"
Console.WriteLine(output)
End UsingOdczytaj paszport
Uprość weryfikację tożsamości i wprowadzenie klienta dzięki natychmiastowemu wyodrębnianiu danych ze strefy maszynowej MRZ międzynarodowych paszportów i kart identyfikacyjnych. Usuń błędy ręcznego wprowadzania danych i przyspiesz procesy zameldowania lub zgodności.
Ucz się, jak:Odczytać paszport w C#using IronOcr;
using System;
// Instantiate OCR engine
var ocr = new IronTesseract();
using var inputPassport = new OcrInput();
inputPassport.LoadImage("passport.jpg");
// Perform OCR
OcrPassportResult result = ocr.ReadPassport(inputPassport);
// Output name and passport number
Console.WriteLine(result.PassportInfo.GivenNames);
Console.WriteLine(result.PassportInfo.PassportNumber);Imports IronOcr
Imports System
' Instantiate OCR engine
Dim ocr = New IronTesseract()
Using inputPassport = New OcrInput()
inputPassport.LoadImage("passport.jpg")
' Perform OCR
Dim result As OcrPassportResult = ocr.ReadPassport(inputPassport)
' Output name and passport number
Console.WriteLine(result.PassportInfo.GivenNames)
Console.WriteLine(result.PassportInfo.PassportNumber)
End UsingCzytanie czeków MICR
Niezawodnie czytaj czcionki E-13B MICR na czekach, aby zautomatyzować przetwarzanie depozytów bankowych i przepływy pracy finansowe. Nasz wyspecjalizowany silnik zapewnia najwyższą dokładność dla kluczowych danych, takich jak numery tras, numery kont i kwoty czeków.
// Import the IronOCR namespace
using IronOcr;
// Create a new instance of IronTesseract for performing OCR operations
var Ocr = new IronTesseract();
// Set the OCR language to MICR to recognize magnetic ink characters
// Must have MICR (IronOcr.Languages.MICR) installed beforehand
Ocr.Language = OcrLanguage.MICR;
// Specify the file path of the input image containing MICR text
using (var Input = new OcrInput())
{
Input.LoadImage("sampleChequeImage.png");
// Run the OCR engine to read the MICR text from the input image
var Result = Ocr.Read(Input);
// Output the recognized text to the console
Console.WriteLine(Result.Text);
}' Import the IronOCR namespace
Imports IronOcr
' Create a new instance of IronTesseract for performing OCR operations
Dim Ocr = New IronTesseract()
' Set the OCR language to MICR to recognize magnetic ink characters
' Must have MICR (IronOcr.Languages.MICR) installed beforehand
Ocr.Language = OcrLanguage.MICR
' Specify the file path of the input image containing MICR text
Using Input = New OcrInput()
Input.LoadImage("sampleChequeImage.png")
' Run the OCR engine to read the MICR text from the input image
Dim Result = Ocr.Read(Input)
' Output the recognized text to the console
Console.WriteLine(Result.Text)
End UsingCzytaj kod kreskowy i kod QR
Wykrywa i dekoduje wszystkie główne formaty kodów kreskowych 1D i 2D, w tym kod QR. Wszechstronne rozwiązanie do zarządzania inwentaryzacją, śledzenia logistyki, systemów punktów sprzedaży i aplikacji do biletów mobilnych.
Ucz się, jak:Czytać kody kreskowe i kody QR w .NET C#using IronOcr;
// Instantiate IronTesseract
IronTesseract ocrTesseract = new IronTesseract();
// Enable barcode reading
ocrTesseract.Configuration.ReadBarCodes = true;
// Add PDF
using var imageInput = new OcrPdfInput("pdfWithBarcodes.pdf");
// Perform OCR
OcrResult ocrResult = ocrTesseract.Read(imageInput);
// Output detected barcodes and text values
Console.WriteLine(ocrResult.Text);
Console.WriteLine(ocrResult.Barcodes[0].Value);Imports IronOcr
' Instantiate IronTesseract
Dim ocrTesseract As New IronTesseract()
' Enable barcode reading
ocrTesseract.Configuration.ReadBarCodes = True
' Add PDF
Using imageInput = New OcrPdfInput("pdfWithBarcodes.pdf")
' Perform OCR
Dim ocrResult As OcrResult = ocrTesseract.Read(imageInput)
' Output detected barcodes and text values
Console.WriteLine(ocrResult.Text)
Console.WriteLine(ocrResult.Barcodes(0).Value)
End UsingWizja komputerowa OCR
Wykorzystaj moc wizji komputerowej do wykrywania tekstu z naszymi zaawansowanymi wytrenowanymi modelami. IronOCR wykorzystuje OpenCV do identyfikacji obszarów w obrazie zawierających tekst, szczególnie pomocne w przypadku obrazów z dużą ilością szumów i rozproszonych bloków tekstu w dokumentach!
Ucz się, jak:Samouczek OCR w widzeniu komputerowym (Licencja, Napisy, Faktura)using IronOcr;
var ocr = new IronTesseract();
using var input = new OcrInput();
input.LoadImage("sample.png");
// Make sure to also install IronOcr.Extensions.AdvancedScan to use this method
input.FindTextRegion(Scale: 2.0, DilationAmount: 20, Binarize: true, Invert: true);
OcrResult result = ocr.Read(input);
string resultText = result.Text;Imports IronOcr
Dim ocr = New IronTesseract()
Using input = New OcrInput()
input.LoadImage("sample.png")
' Make sure to also install IronOcr.Extensions.AdvancedScan to use this method
input.FindTextRegion(Scale:=2.0, DilationAmount:=20, Binarize:=True, Invert:=True)
Dim result As OcrResult = ocr.Read(input)
Dim resultText As String = result.Text
End UsingWyodrębnij tekst z obrazów pisma odręcznego
IronOCR potrafi nawet bezproblemowo wyodrębniać tekst z obrazów z pismem odręcznym. Za pomocą specjalistycznych metod, IronOCR potrafi szybko i efektywnie skanować i wyodrębniać ręcznie pisany tekst z obrazów.
Ucz się, jak dodawać nagłówki/stopkiGotowy, aby rozpocząć?
Nuget Downloads 6,236,385|Wersja:2026.9właśnie wydany