Easy OCR
Easy OCR recognises the text that appears inside an image or a scanned PDF and returns it as plain text. This lets you work with information that only exists “as a picture”: a scanned invoice, a receipt, a screenshot or a sign.
Recognition runs inside NappAI, without sending the image to an external service and without a credential. If the file is a PDF, it reads all its pages one after another.
When to use it
- You receive scanned invoices or delivery notes and need their text to pull out amounts, dates or order numbers.
- You want to classify or summarise documents that arrive as images.
- People send you screenshots of an error or an order and you want to read what they say.
- You need to pass the text of a scanned PDF to an agent or an extraction component.
Configuration
| Field | What it does |
|---|---|
| Input Image | The image or PDF you want to read. Accepts PNG, JPG, JPEG, BMP, GIF, TIFF and PDF. You usually connect it to the output of a component that loads or receives files. |
Advanced options
| Field | What it does |
|---|---|
| Languages | Languages the text is written in, separated by commas, for example es,en. Default: en,es. Setting the right language improves recognition. |
| Paragraph Mode | Groups nearby lines into paragraphs so the text is not broken into many short lines. On by default. |
| Min Confidence | Minimum confidence, from 0 to 1, needed to keep a line. Lines recognised with less confidence are dropped. Default: 0.5. Raise it if meaningless characters appear; lower it if text from blurry documents goes missing. Only applies with Paragraph Mode off: grouped paragraphs carry no confidence, so nothing is dropped. |
| Detailed Output | Adds the detail of each recognised fragment at the end of the text: its position in the image and how confidently it was read (the confidence only with Paragraph Mode off). Off by default. |
| Single Paragraph Output | Joins all the text into a single paragraph. If you turn it off, each recognised fragment stays on its own line. On by default. |
Output
The Extracted Text output is a message with the recognised text. If no text is found, it returns No text detected in image. You can connect it to an agent, to an extraction component such as Entities extraction, to a summary or to any component that takes text.
Example
A purchasing department receives suppliers’ delivery notes by email as photos.
- Connect the email attachment to Input Image.
- In Languages, keep
en,es, or type onlyesif all notes are in Spanish. - Connect Extracted Text to an agent instructed to pick out the supplier, the date and the total amount.
Good practices
- Use sharp, well-lit images: the better the image, the better the result.
- Turn off Single Paragraph Output when the document has tables or lists and you want to keep the lines.
- For complex documents (tables, forms, handwriting), also try the components in the OCR section, such as Gemini OCR.
Related components
- Extract Text from Binary: gets the text from files that already contain text, such as a digital PDF.
- Describe Image: describes in words what an image shows.