Zubnet AIApprendreWiki › OCR
Using AI

OCR

Optical Character Recognition, Text Recognition
Extraire du texte à partir d'images — photos de documents, captures d'écran, panneaux, notes manuscrites, ou n'importe quelle image contenant du texte. L'OCR moderne combine la détection de texte (trouver où le texte apparaît dans l'image) avec la reconnaissance de texte (lire ce que le texte dit). L'OCR en deep learning gère le texte courbé, les langues multiples, les polices variées et la mauvaise qualité d'image bien mieux que les anciennes approches à base de règles.

Pourquoi c'est important

L'OCR numérise le monde physique. Scanner des reçus pour le suivi des dépenses, lire des documents pour l'archivage, extraire des données de formulaires, traduire des panneaux en temps réel, et rendre les PDF basés sur des images cherchables dépendent tous de l'OCR. Combiné aux LLM, l'OCR permet une compréhension de documents sophistiquée — pas juste lire du texte mais comprendre des factures, des contrats et des rapports.

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.

Concepts liés

← Tous les termes
ESC