Ir para o conteúdo

Reconhecimento óptico de caracteres

Ler o texto de uma imagem como caracteres editáveis

entradaImagemTexto

O texto completo é apresentado em inglês; o título e o resumo estão traduzidos.

O que esta capacidade significa

Takes an image containing text — a scan, a photo, a screenshot — and outputs the character sequence, usually with location boxes. It reads characters rather than interpreting them: the output is a transcription, not a meaning. Unlike document parsing, which also cares about layout such as tables, columns and reading order, OCR is only responsible for getting the characters right.

Como é feita tecnicamente

The classic pipeline has two steps: a detection network finds quadrilateral boxes for lines or words, then each crop is passed to a sequence recogniser that decodes characters. Recognition moved from CNN plus recurrent layers with connectionist temporal classification to attention decoders and plain convolutional or Transformer designs. More recently, multimodal models transcribe end to end and handle irregular layouts better.

Produtos representativos

5

OpenAI

GPT-4o

Um modelo geral nativamente multimodal: texto, imagem e áudio por uma única porta

4Capac.
Modelo Fechado
TextoImagemÁudioTextoÁudio
2024

Google DeepMind

Gemini

Um modelo geral nativamente multimodal, feito para contextos muito longos

4Capac.
Modelo Fechado
TextoImagemÁudioVídeoTexto
2023

Alibaba (Qwen)

Qwen

Uma família de pesos abertos com muitos tamanhos e versões multimodais

4Capac.
Modelo Pesos abertos
TextoImagemTexto
2023

Baidu

ERNIE

Um modelo chinês que começou com pré-treinamento enriquecido por conhecimento, versão inicial representativa

3Capac.
Modelo Fechado
TextoTexto
2019

Tencent (Hunyuan)

Hunyuan

A família de modelos gerais da Tencent, com versões de pesos abertos

4Capac.
Modelo Pesos abertos
TextoImagemTexto
2023

Organizações relacionadas

Usos típicos

  • Field capture from invoices, receipts and IDs
  • Digitising paper archives and books
  • Street-sign and licence-plate reading
  • Copying text from screenshots and photos

Como avaliar se funciona bem

Character error rate
Substitutions, deletions and insertions over the truth length
Word error rate
Word-level error rate, sensitive to segmentation
Detection F1
Localisation accuracy of text regions

Limites e dificuldades

  • Handwriting and poor scans — blurry, skewed, smudged — drive the error rate up sharply
  • Vertical text, mixed scripts and decorative fonts are frequently missed or misread
  • Tables and formulas come out as a character stream, losing row-column structure and super/subscripts

Conceitos por trás

Aprendizado profundo

Redes neurais convolucionaisIntermediário

Substituir as conexões densas por “olhar localmente e reutilizar o mesmo filtro em toda parte”: a ideia que tornou o reconhecimento de imagens funcional

5Vínculos
Figuras 2 · Dados 1

PLN e grandes modelos de linguagem

TokenizaçãoIniciante

Os modelos não leem caracteres, leem tokens; e como você divide define silenciosamente a capacidade e o custo

4Vínculos
Figuras 1 · Dados 1