Lectura de Documentos
Extraiga precisa y rápidamente texto y datos de facturas e informes con IronOCR y desarrolle características más rápido.
Lectura de Documentos
Leer documentos escaneados
Digitalice con precisión documentos físicos y PDF basados en imágenes para convertirlos en texto legible por máquina. Perfecto para crear archivos en los que se puedan realizar búsquedas, automatizar la introducción de datos a partir de formularios en papel y hacer que el contenido escaneado sea accesible e indexable. Nuestro motor destaca en el tratamiento de las imperfecciones comunes del escaneado.
Aprenda a:Utilizar Read Scanned Document in 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 UsingLeer documentos de facturación
Automatice su flujo de trabajo de cuentas por pagar mediante la extracción inteligente de datos estructurados de las facturas. Vaya más allá de la simple extracción de texto para capturar pares clave-valor como el número de factura, la fecha de vencimiento, el importe total y el nombre del proveedor, incluso en diseños y plantillas variados.
Aprenda a:Leer una tabla compleja en un documentousing 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 UsingLeer foto
Convierte fotos de smartphone e imágenes de cámara en texto utilizable. Ideal para aplicaciones móviles que capturan recibos para el seguimiento de gastos, digitalizan notas de pizarra, extraen información de etiquetas de productos o leen texto de señales de tráfico y carteles.
Aprenda a:Utilizar Leer foto en 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 UsingLeer captura de pantalla
Capture y procese al instante texto en pantalla de ventanas de aplicaciones, interfaces de usuario o contenido web. Integración perfecta con otras aplicaciones mediante la lectura de sus elementos de interfaz de usuario.
Aprenda a:Utilizar Read Screenshot en 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 Using¿Listo para empezar?
Nuget Downloads 6,236,385|Versión:2026.9recién lanzado