Czytanie dokumentów
Dokładnie wyodrębniaj tekst i dane z faktur i raportów za pomocą IronOCR i szybko buduj funkcje.
Czytanie dokumentów
Czytanie zeskanowanych dokumentów
Dokładnie digitalizuj dokumenty fizyczne i PDFy oparte na obrazach do tekstu czytelnego maszynowo. Idealne do tworzenia dostępnych do wyszukiwania archiwów, automatyzacji wprowadzania danych z formularzy papierowych i uczynienia zeskanowanych treści dostępnymi oraz indeksowalnymi. Nasz silnik doskonale radzi sobie z powszechnymi niedoskonałościami skanowania.
Ucz się, jak:Czytać zeskanowany dokument w C#using IronOcr;
using System;
// Instantiate OCR engine
var ocr = new IronTesseract();
// Configure OCR engine
using var input = new OcrInput();
input.LoadImage("potter.tiff");
// Perform OCR
OcrResult result = ocr.ReadDocument(input);
Console.WriteLine(result.Text);Imports IronOcr
Imports System
' Instantiate OCR engine
Dim ocr As New IronTesseract()
' Configure OCR engine
Using input As New OcrInput()
input.LoadImage("potter.tiff")
' Perform OCR
Dim result As OcrResult = ocr.ReadDocument(input)
Console.WriteLine(result.Text)
End UsingCzytanie dokumentów fakturowych
Automatyzuj pracę swojego działu zobowiązań dzięki inteligentnemu wyodrębnianiu danych strukturalnych z faktur. Przekrocz proste wyodrębnianie tekstu, aby uchwycić pary klucz-wartość, takie jak Numer Faktury, Data Wymagalności, Kwota Całkowita i Nazwa Dostawcy, nawet w przypadku różnych układów i szablonów.
Ucz się, jak:Czytać złożoną tabelę w dokumencieusing IronOcr;
// Instantiate OCR engine
var ocr = new IronTesseract();
// Enable table detection
ocr.Configuration.ReadDataTables = true;
using var input = new OcrPdfInput("sample.pdf");
var result = ocr.Read(input);
// Retrieve the data
var table = result.Tables[0].DataTable;
// Print the retrieved item to the console
Console.WriteLine($"The first item in the table is: {result.Tables[0].DataTable.Rows[0][0]}");Imports IronOcr
' Instantiate OCR engine
Dim ocr As New IronTesseract()
' Enable table detection
ocr.Configuration.ReadDataTables = True
Using input As New OcrPdfInput("sample.pdf")
Dim result = ocr.Read(input)
' Retrieve the data
Dim table = result.Tables(0).DataTable
' Print the retrieved item to the console
Console.WriteLine($"The first item in the table is: {result.Tables(0).DataTable.Rows(0)(0)}")
End UsingOdczytaj zdjęcie
Zmień zdjęcia smartfona i obrazy z kamer na użyteczny tekst. Idealne dla aplikacji mobilnych, które przechwytują paragony do śledzenia wydatków, digitalizują notatki z tablic, wyodrębniają informacje z etykiet produktowych lub czytają tekst z znaków drogowych i plakatów.
Ucz się, jak:Odczytać zdjęcie w C#using IronOcr;
var ocr = new IronTesseract();
using var inputPhoto = new OcrInput();
inputPhoto.LoadImageFrame("ocr.tiff", 0);
// Read photo
OcrPhotoResult result = ocr.ReadPhoto(inputPhoto);
// Extract the text in the first region
string textinregion = result.TextRegions[0].TextInRegion;
// Print the text in the first region
Console.WriteLine($"Full Scnned Photo Text: {textinregion}");Imports IronOcr
Dim ocr = New IronTesseract()
Using inputPhoto = New OcrInput()
inputPhoto.LoadImageFrame("ocr.tiff", 0)
' Read photo
Dim result As OcrPhotoResult = ocr.ReadPhoto(inputPhoto)
' Extract the text in the first region
Dim textinregion As String = result.TextRegions(0).TextInRegion
' Print the text in the first region
Console.WriteLine($"Full Scnned Photo Text: {textinregion}")
End UsingOdczytaj zrzut ekranu
Natychmiast przechwyć i przetwórz tekst ekranowy z okien aplikacji, interfejsów użytkownika lub treści internetowych. Bezproblemowo zintegrowany z innymi aplikacjami za pomocą pobierania ich elementów interfejsu użytkownika.
Ucz się, jak:Odczytać zrzut ekranu w C#using IronOcr;
using System;
using System.Linq;
// Instantiate OCR engine
var ocr = new IronTesseract();
using var inputScreenshot = new OcrInput();
inputScreenshot.LoadImage("screenshotOCR.png");
// Perform OCR
OcrPhotoResult result = ocr.ReadScreenShot(inputScreenshot);
// Output screenshot information
Console.WriteLine(result.Text);Imports IronOcr
Imports System
Imports System.Linq
' Instantiate OCR engine
Dim ocr = New IronTesseract()
Using inputScreenshot = New OcrInput()
inputScreenshot.LoadImage("screenshotOCR.png")
' Perform OCR
Dim result As OcrPhotoResult = ocr.ReadScreenShot(inputScreenshot)
' Output screenshot information
Console.WriteLine(result.Text)
End UsingGotowy, aby rozpocząć?
Nuget Downloads 6,236,385|Wersja:2026.9właśnie wydany