Zubnet AIAprenderWiki › OCR
Using AI

OCR

Optical Character Recognition, Text Recognition
Extraer texto de imágenes — fotografías de documentos, capturas de pantalla, letreros, notas manuscritas, o cualquier imagen que contenga texto. El OCR moderno combina detección de texto (encontrar dónde aparece el texto en la imagen) con reconocimiento de texto (leer lo que dice el texto). El OCR con deep learning maneja texto curvado, múltiples idiomas, fuentes variadas y mala calidad de imagen mucho mejor que los enfoques antiguos basados en reglas.

Por qué importa

El OCR digitaliza el mundo físico. Escanear recibos para control de gastos, leer documentos para archivo, extraer datos de formularios, traducir letreros en tiempo real y hacer buscables los PDFs basados en imagen dependen todos del OCR. Combinado con LLMs, el OCR habilita comprensión sofisticada de documentos — no solo leer texto sino entender facturas, contratos e informes.

Deep Dive

Modern OCR pipelines have two stages: detection (finding text regions using models like CRAFT or DBNet) and recognition (reading text in each region using CRNN or Transformer-based models). End-to-end approaches (like PaddleOCR, EasyOCR) combine both stages. For structured documents, specialized models (LayoutLM, Donut) understand both text content and spatial layout, recognizing that "Total: $42.50" on an invoice means something different from the same text in a paragraph.

Vision LLMs as OCR

Multimodal LLMs (Claude, GPT-4V, Gemini) have become remarkably good at OCR as a side effect of their vision capabilities. You can upload an image and ask "read all text in this image" or "extract the table from this receipt." For complex documents with mixed layouts, handwriting, and multiple languages, vision LLMs often outperform dedicated OCR systems because they understand context and can handle ambiguity. The trade-off is speed and cost — dedicated OCR is 100x faster for bulk processing.

Challenges

Remaining hard problems: handwriting recognition (especially cursive or messy handwriting), degraded historical documents, text in complex backgrounds (wild text on signs, clothing, products), and scripts with complex character compositions (Chinese, Arabic, Devanagari). Accuracy varies significantly by language and script — Latin script OCR is nearly solved, but CJK and right-to-left scripts still have meaningful error rates.

Conceptos relacionados

← Todos los términos
ESC