Image to Text OCR – Photos, Scans & Scanned PDFs avatar

Image to Text OCR – Photos, Scans & Scanned PDFs

Pricing

from $2.49 / 1,000 image read with texts

Go to Apify Store
Image to Text OCR – Photos, Scans & Scanned PDFs

Image to Text OCR – Photos, Scans & Scanned PDFs

Bulk OCR tool: text recognition for image, screenshot, receipt, product label and scanned PDF URLs. Text, lines and words with confidence and pixel coordinates; e-mails/phones removed. Open-source OCR, no AI fees. $2.62/1k images or pages

Pricing

from $2.49 / 1,000 image read with texts

Rating

0.0

(0)

Developer

Glidepath

Glidepath

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Read the text in images and scanned PDFs, in bulk, from their URLs. Give it links to JPEG, PNG, WebP, GIF, BMP or TIFF files or to scanned PDFs; for every image (and every page of a PDF or TIFF) you get the text in reading order, and if you want it every line and word with its confidence and its pixel box. Receipts, invoices, screenshots, scanned forms and contracts, product photos, book pages.

No AI or API fees: the OCR runs inside the Actor with open-source engines (Tesseract 5 and RapidOCR), so the price per 1,000 images stays low, and your images are not sent to any AI service. Tilted, sideways and upside-down images are turned upright before reading. E-mail addresses and phone numbers are removed from the text, the lines and the words.

Who uses it

  • E-commerce and catalogue teams: read the text printed on product images, labels and packaging (sizes, ingredients, model numbers) for thousands of SKUs at once.
  • Finance and back office: turn photos, scans and scanned PDFs of receipts and invoices into text, with line positions to find the total or the invoice number.
  • Analysts and researchers: read screenshots, scanned forms, scanned PDF reports and old printed documents into searchable text, page by page.
  • Developers, automations and AI agents: get the text of an image from a URL in one call (API, MCP, Make, Zapier, n8n), with confidence scores to decide what to trust.

How to use it

  1. Put one or more image or PDF links in Image and PDF URLs (up to 5,000 per run).
  2. Pick the Languages of the text (English by default; up to 4 of 16), and turn on Include words if you need word positions. For PDFs, set Max pages per PDF (50 by default) and, if you want only some pages, PDF pages.
  3. Run it and download one row per image (per PDF or TIFF page) as JSON, CSV or Excel, or pass the rows to another Actor, an AI agent or your database.

How many images fit in a run? (A PDF or TIFF page counts as one image.) At the default 2 GB of memory (half a CPU core) a run reads about 700 dense book pages per hour (measured: 4.8 seconds a page) or, by our estimate from the per-image times below, about 3,000 small images (a label, a screenshot with a few lines); the default run timeout is 4 hours. For bigger batches give the run more memory (at 8 GB it reads two images at a time with four times the CPU: about 2,600 dense pages an hour) or split the list. Rows are saved in the order of your list, each one as soon as its image or page is read (also page by page within a PDF), and SUMMARY and the status message are updated as rows are saved (at most every 30 seconds), so a run that stops early (timeout, abort, cost limit) keeps every row read so far and tells you how far it got.

Input fields

FieldTypeDefaultDescription
What to read
imageUrls (required)array["https://archive.org/download/prideprejudice00aust/page/… (prefilled)Image and PDF URLs. Direct links to image files or scanned PDFs, one per line (up to 5,000 per run): JPEG, PNG, WebP, GIF (first frame), BMP, TIFF (every page, up to 50) or PDF (every page, up to 'Max pages per PDF').
languagesarray["eng"]Languages. Languages of the text (Tesseract language data, up to 4). Pick every language that appears in your images: accents and special letters are only read right in a selected language. More languages make OCR a little slower.
Output
includeLinesbooleantrueInclude lines. Add 'lines': every text line with its confidence (0-100) and pixel box [x, y, width, height] in the original image.
includeWordsbooleanfalseInclude words. Add 'words': every word with its confidence, pixel box and the index of its line. Rows get larger; turn on when you need word positions (e.g. to find a total on a receipt).
minConfidenceinteger (0–100)0Minimum confidence (0-100). Drop lines (and words) whose confidence is below this. 0 keeps everything. An image whose lines are all dropped is saved as 'no-text' and not charged.
Image handling
deskewbooleantrueStraighten and turn images. Turn the image until its text lines are horizontal: tilted photos and scans at any angle, sideways pages (also a few degrees off square) and upside-down pages. Off: images are read as they are.
maxImagesinteger (1–1000000)–Max images per run. Stop after saving this many images (each page of a TIFF or PDF counts as one). Empty = all. Only images and pages with text are charged.
maxImageMegapixelsinteger (1–100)40Max image size (megapixels). Larger images are scaled down to this size before reading (a 12-megapixel phone photo is read at full size). PDF pages are rendered at 300 dpi, or smaller to stay within this size.
PDF files
maxPagesPerPdfinteger (1–1000)50Max pages per PDF. Read at most this many pages of each PDF (the first ones, or the first ones 'PDF pages' selects); the rest are listed as PAGES_CAPPED in ERRORS and not charged.
pdfPagesstring–PDF pages. Which pages to read from each PDF, e.g. '1-5, 8, 10-' (1-based; the same pages in every PDF). Empty = all pages, up to 'Max pages per PDF'. Images and TIFFs are not affected.

Input example

{
"imageUrls": [
"https://archive.org/download/prideprejudice00aust/page/n40_w600.jpg",
"https://archive.org/download/alicesadventures00carr_20/page/n50_w600.jpg"
],
"languages": ["eng"],
"includeLines": true,
"includeWords": false,
"minConfidence": 0,
"deskew": true,
"maxImageMegapixels": 40
}

Scanned PDFs

Put links to PDFs in the same Image and PDF URLs list, next to images. A file counts as a PDF by its content (it starts with %PDF-), whatever its link ends with. Every selected page is rendered at 300 dpi in grayscale and then read exactly like an image: turned upright, straightened, read by Tesseract (with RapidOCR as the second reader), and e-mail addresses and phone numbers removed. You get one row per page, in page order, with format: "pdf", pageIndex (0-based: page 1 is 0) and pageCount.

{
"imageUrls": [
"https://ia800103.us.archive.org/14/items/circularofbureau238unse/circularofbureau238unse.pdf"
],
"pdfPages": "1-3",
"maxPagesPerPdf": 3
}

(A 1925 US government circular scanned by the Internet Archive: three rows, one per page. This link points straight at the archive.org server that holds the file; an archive.org/download/... link can redirect to a mirror whose robots.txt the Actor must be able to read first; if it cannot, that file is skipped as ROBOTS_DISALLOWED.)

  • Digital PDFs (exported from a word processor, with text you can select): this Actor does not use a PDF's text layer, it reads what each page looks like. For digital PDFs, PDF Text Extractor is the better tool: it takes the exact text, tables and Markdown straight from the file, faster and without OCR errors. A PDF that mixes digital and scanned pages is read here page by page as images.
  • Which pages: at most Max pages per PDF pages of each file (50 by default, up to 1,000): the first ones, or the first ones that PDF pages selects (e.g. 1-5, 8, 10-; the same pages in every PDF). Pages left over are listed as PAGES_CAPPED in ERRORS; a range that selects no page of a file is NO_PAGES_SELECTED. Every page counts toward Max images per run, and the run stops cleanly at your maximum cost per run, also in the middle of a PDF.
  • Limits: 100 MB per PDF file (images: 40 MB); a large PDF is written to disk while it downloads, not held in memory. A page larger than Max image size at 300 dpi (a poster, a large drawing) is rendered at a lower resolution to fit it; a page so long and narrow that it would still be more than 65,000 pixels long is TOO_LARGE. Pages are rendered in a separate process with its own memory limit (the run's memory per worker) and a 60-second time limit per page: a page whose embedded scan is too big for that memory, or that needs more memory or time to render than the limits allow, is skipped as TOO_LARGE and the next page is still read, so one oversized or malicious page can't stop the run. After 3 pages of one PDF fail that way, the rest of that PDF is given up (DAMAGED, not charged). Content PDFium can't fit within the memory limit (for example a huge soft mask or annotation image) may be left out of the rendered page. Password-protected PDFs are ENCRYPTED (there is no password input), damaged or truncated ones DAMAGED.
  • Coordinates: for a PDF page, width, height and every bbox are in pixels at 300 dpi; multiply by 0.24 to get PDF points.
  • Pricing per page: every PDF page with text is one image-ocr event, the same price as one image: $2.62 per 1,000 pages on the Free plan. Pages without text (no-text), pages over Max pages per PDF or outside PDF pages, and password-protected or damaged files are not charged. Saved inputs and schedules from before PDF support: a PDF link used to end as NOT_AN_IMAGE (free); it is now read and charged per page with text, up to 50 pages per PDF by default, so set Max pages per PDF or PDF pages to limit it.

Output example

One row per image (one per page of a multi-page TIFF or a PDF):

{
"imageUrl": "https://archive.org/download/prideprejudice00aust/page/n40_w600.jpg",
"status": "ok",
"text": "PRIDE AND PREJUDICE. Te\nlast obliged to accept the second-hand intelligence of\ntheir neighbour, Lady Lucas. Her report was highly\nfavourable. Sir William had been delighted with him.\n...",
"lines": [
{"text": "PRIDE AND PREJUDICE. Te", "confidence": 89.5, "bbox": [289, 83, 603, 24]},
{"text": "last obliged to accept the second-hand intelligence of", "confidence": 96.4, "bbox": [45, 143, 849, 32]},
{"text": "their neighbour, Lady Lucas. Her report was highly", "confidence": 88.0, "bbox": [44, 184, 852, 33]}
],
"words": [],
"lineCount": 34,
"wordCount": 311,
"meanConfidence": 94.4,
"languages": ["eng"],
"engine": "tesseract",
"rotationApplied": 0.0,
"width": 996,
"height": 1621,
"format": "jpeg",
"pageIndex": 0,
"pageCount": 1,
"processedAt": "2026-11-22T12:00:00Z"
}

(A real row from this page, the 1894 edition's page 11: the small page number "11" in the running head came out as "Te" at this image size.) With Include words on, words holds entries like {"text": "PRIDE", "confidence": 96.3, "line": 0, "bbox": [289, 83, 90, 18]}.

FieldTypeDescription
imageUrlstringThe image URL you entered
statusstringok = text found (charged); no-text = no readable text found (not charged)
textstringAll lines in reading order, one per line (e-mail addresses and phone numbers removed)
linesarrayLines (when Include lines is on): text, confidence 0-100, bbox [x, y, width, height] in pixels of the original image
wordsarrayWords (when Include words is on): text, confidence 0-100, line (index into lines), bbox [x, y, width, height]
lineCountintegerLines in text
wordCountintegerWords in text
meanConfidencenumber / nullAverage line confidence 0-100, weighted by line length (null when no text)
languagesarrayOCR languages used (Tesseract codes)
enginestringWhich OCR engine's reading was kept: tesseract or rapidocr
rotationAppliednumberDegrees (counter-clockwise) the image was turned before reading so its text lines are horizontal and upright (any angle; 0 when not turned)
widthintegerImage width in pixels (after EXIF orientation; a PDF page: at 300 dpi)
heightintegerImage height in pixels (after EXIF orientation; a PDF page: at 300 dpi)
formatstringjpeg, png, webp, gif, bmp, tiff or pdf
pageIndexintegerPage of a multi-page TIFF or a PDF (0-based: the PDF's page 1 is 0; 0 for other formats)
pageCountintegerPages in the file (1 for a single image; all pages of a TIFF or PDF, also those not read)
processedAtstringISO 8601 UTC

The run's key-value store also has SUMMARY (image URLs done so far and whether the run finished, rows saved and charged, rows without text, problems by reason, engines used, OCR seconds; updated as rows are saved, at most every 30 seconds, while the run goes on) and, when an image or a PDF page could not be read, ERRORS with one entry per image (or PDF page) and reason:

  • INVALID_URL (not an http(s) link), REFUSED (a private or internal address), ROBOTS_DISALLOWED (robots.txt does not allow it, or could not be read), BLOCKED (the site answered with a bot check or kept refusing), NOT_FOUND (HTTP 404/410), FETCH_FAILED (any other download error);
  • NOT_AN_IMAGE (a web page or another file type that is neither an image nor a PDF), DAMAGED (the file can't be decoded: a broken image, a damaged or truncated PDF, one PDF page that can't be rendered, or the rest of a PDF after 3 of its pages failed to render), TOO_LARGE (an image over 40 MB, a PDF over 100 MB, an image or PDF page with too many pixels for the run's memory, or a PDF page that needs more memory or time to render than the run allows, see Limits), ENCRYPTED (a password-protected PDF), NO_PAGES_SELECTED (PDF pages selects no page of that PDF);
  • OCR_TIMEOUT (Tesseract took over 90 seconds), OCR_FAILED (the engines could not read this image although they passed their check on a test image), ERROR (an unexpected error on our side while decoding or rendering the file, for example out of memory);
  • PAGES_CAPPED (a TIFF with more than 50 pages, or a PDF with more selected pages than Max pages per PDF: the first ones were read, the rest were not and are not charged), SKIPPED (not reached because Max images per run or your maximum cost per run was reached; for a PDF or TIFF stopped part-way, the entry names the pages that were not saved).

The run's status message names the most frequent reasons, e.g. "Read 98 images: 97 with text, 1 without text (not charged); not read: 2 ROBOTS_DISALLOWED, 1 NOT_FOUND (see ERRORS)".

How it reads an image

  1. The image is decoded (EXIF orientation applied, transparent areas flattened: onto white, or for light text on a transparent background onto black and inverted, so the text comes out dark either way; very large images scaled down to Max image size). A PDF page is rendered at 300 dpi in grayscale (lower when it would be larger than Max image size). A multi-page TIFF or PDF is decoded one page at a time.
  2. RapidOCR's text detector (PP-OCRv4) finds the text lines. The image is turned until the lines are horizontal (a tilted photo at any angle, a sideways page also when it is a few degrees off square), RapidOCR's direction classifier turns an upside-down page, and small text is enlarged so Tesseract reads it well.
  3. Tesseract 5 reads the prepared image in your languages: lines and words with confidence and boxes, in reading order (columns included). A very long image (a scrolling screenshot taller than 30,000 pixels) is read in bands cut between text lines.
  4. If Tesseract finds nothing or is unsure (mean confidence below 80), RapidOCR's recognizer reads the image too, and its reading is kept when its confidence is clearly higher: by 10 points for English, by 30 when a language with accents is selected, because RapidOCR's model has no accented letters (engine: "rapidocr"). These thresholds were calibrated on the test set below.
  5. Lines without a letter or digit, lines below confidence 20 and a lone character (a round shape read as "O") are not text. An image with nothing left is no-text and free.

Pricing

Pay per image with text: $2.62 per 1,000 images on the Apify Free plan; on paid plans $2.62 (Starter), $2.49 (Scale) and $2.49 (Business and higher) (the price for your plan is shown on the Pricing tab). The examples below use the Free-plan price.

  • What is charged: one image-ocr event for each image (each TIFF or PDF page) saved with status: "ok", i.e. with text found. Lines, words, boxes, deskewing and all 16 languages are included.
  • What is never charged: images and PDF pages where no text is found (saved with status: "no-text", also when Minimum confidence drops every line), images that fail to download, are not images, are too large, are disallowed by robots.txt or time out, password-protected or damaged PDFs, TIFF pages after the 50th and PDF pages over Max pages per PDF (all listed in ERRORS), and images skipped because a limit was reached.

Examples:

  • 1,000 receipt photos → about $2.62.
  • 10,000 product images a month → about $26.20/month.
  • 100,000 scanned pages (images or PDF pages) → about $262.00.

A small start fee of $0.00005 per run applies. Set a maximum cost per run in the run options and the Actor stops cleanly when it is reached; Max images per run does the same by count.

Measured accuracy

Measured on 2026-11-22 on 113 test images, in this Actor's own Docker image (Tesseract 5.5.0, RapidOCR 1.4.4), one CPU thread per image:

  • 98 rendered images with known text: 12 languages (English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Swedish, Czech, Hungarian, Turkish) in 6 fonts, each clean and with degradations (tilted -15 to +15 degrees, Gaussian blur, JPEG quality 40, salt-and-pepper noise, low contrast, 11-pixel small text, turned by 90, 180 and 270 degrees, and turned sideways plus 3 to 10 degrees more), plus receipts, ruled tables, code screenshots and 4 images without text.
  • 15 real scans: 13 printed book pages (English and Spanish, 1894–1922 editions, from the Internet Archive; one is a student's copy with pencil notes), compared with the Project Gutenberg e-text of the same work, plus 2 pages without text.

Character similarity = 1 − edit distance ÷ length of the longer text; word accuracy = share of the true words found in the output.

ImagesThis Actor (hybrid)Tesseract aloneRapidOCR alone
All 107 with text: characters / words0.992 / 0.9770.755 / 0.7160.747 / 0.588
Rendered, clean, blurred, JPEG 40, low contrast (30)1.000 / 1.0001.000 / 1.0000.877 / 0.411
Tilted -15 to +15 degrees (12)1.000 / 1.0000.455 / 0.4680.907 / 0.550
Turned 90 / 180 / 270 degrees (18)1.000 / 1.0000.440 / 0.3450.361 / 0.602
Sideways and tilted 3 to 10 degrees more (12)1.000 / 1.0000.311 / 0.2490.308 / 0.589
Small text, 11 px (6)0.998 / 0.9740.984 / 0.9180.909 / 0.555
Noise (6)0.948 / 0.8220.942 / 0.7970.916 / 0.659
Receipts (4) and ruled tables (4)0.987 / 0.9140.949 / 0.8830.938 / 0.736
Real book-page scans (13)0.964 / 0.9530.963 / 0.9550.940 / 0.899
Images without text read as text (6)0 of 60 of 60 of 6

By language the hybrid's character similarity was 0.977 (Spanish) to 1.000 (Hungarian, Portuguese, Swedish), and word accuracy 0.925 (Polish) to 1.000. RapidOCR alone drops accents and often the spaces between words, which is why Tesseract does the reading and RapidOCR finds, straightens and turns the text; RapidOCR's own reading was needed on 12 of the 113 images and kept for 3.

Scanned PDFs are rendered at 300 dpi and then read by the same engine, so the scores above apply to their pages. The PDF path itself was checked end to end on 2026-11-22 (research/image-ocr-eval/pdf_check.py, on a development machine with Tesseract 5.3.4): on the 3-page test PDF made for the Actor's tests (a 150 dpi office-style scan of 11-point text, an empty sheet and a page fed in upside down) both text pages came out with every character right (similarity 1.000), the upside-down page was turned, and the empty sheet was saved as no-text and not charged; on the 1925 US government circular in the example above, pages 2 and 3 agree with the Internet Archive's own OCR of the same scan to 0.997 and 0.996 character similarity (page 1, a contents list with dot leaders, 0.867). That is agreement between two OCR readings, not accuracy against a true text. Rendering took 0.8 to 1.0 seconds a page for that scan.

The rendered images were also used to develop and tune the engine (the fallback thresholds and several fixes), so there is no held-out set and the rendered-image scores are in-sample; on the real book scans the hybrid equals Tesseract alone (0.964 vs 0.963 character similarity). On the real scans the e-texts come from other printings, so quotes, dashes and letter case were ignored there (for every engine); the pencil notes and margin line numbers on the Spanish copy count as errors. Not tested: handwriting, real photos of receipts, packaging and street signs (the receipts were rendered), curved or perspective-distorted pages, blackletter (Fraktur) type, non-Latin or low-resource scripts, and Danish, Norwegian, Finnish and Romanian (offered, but not in the test set). Expect lower accuracy on those. Speed: 0.43 s per rendered image (about 0.3 megapixels) and 2.4 s per full book-page scan (6.5 megapixels) on one CPU core. The test images, scripts and per-image results are in the Actor's repository (research/image-ocr-eval).

Open-source engines

All OCR runs inside the Actor's container; no image leaves it for an OCR or AI service. The engines and models, and their licences (full notices in the Actor's NOTICE file):

  • Tesseract OCR 5 — Apache License 2.0 (github.com/tesseract-ocr/tesseract).
  • Tesseract language data (tessdata_fast) for the 16 languages — Apache License 2.0 (github.com/tesseract-ocr/tessdata_fast).
  • RapidOCR (rapidocr_onnxruntime 1.4.4) — Apache License 2.0 (github.com/RapidAI/RapidOCR).
  • PP-OCRv4 detection and recognition models and the PP-OCR text-direction classifier (from PaddleOCR, as ONNX files inside RapidOCR) — Apache License 2.0 (github.com/PaddlePaddle/PaddleOCR).
  • ONNX Runtime — MIT License (github.com/microsoft/onnxruntime).
  • Leptonica (Tesseract's image library) — BSD-2-Clause-style licence (leptonica.org).
  • PDFium (via pypdfium2 5.14.0, renders the pages of PDFs) — PDFium: BSD-3-Clause (some parts Apache License 2.0); pypdfium2: Apache License 2.0 or BSD-3-Clause; the libraries built into it (FreeType, libjpeg-turbo, OpenJPEG, libpng, zlib, Little CMS, ICU, Abseil and others) under their own permissive licences, listed in NOTICE. Portions of this software are copyright © The FreeType Project (www.freetype.org). All rights reserved.
  • Pillow — MIT-CMU (HPND) licence; OpenCV (opencv-python-headless) — Apache License 2.0, with bundled third-party libraries including FFmpeg (LGPL-2.1, unmodified shared libraries; see NOTICE); NumPy — BSD-3-Clause.

Limits and notes

  • Printed text only. Handwriting was not tested and is not read reliably. Decorative and blackletter (Fraktur) fonts read poorly.
  • Latin-script languages only: English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Swedish, Danish, Norwegian, Finnish, Czech, Romanian, Turkish, Hungarian. Cyrillic, Greek, Arabic, Hebrew, Indic and East Asian scripts are not offered. Accents and special letters are only read right when their language is selected.
  • Tables come out row by row as lines of text (cells separated by spaces); cell structure is not rebuilt. A vertical bar standing alone is treated as a table rule and dropped.
  • Images are turned upright at any angle, judged by the direction of most of the text; strongly curved pages, perspective-distorted photos and text in several directions on one image (e.g. a rotated label next to straight text) read worse.
  • Speed (measured in this Actor's image with Apify-like CPU limits): a dense book page of about 300 words takes about 4 seconds at the default 2 GB of memory (half a CPU core), about 2 seconds at 4 GB (one core), and with 8 GB two pages are read at a time. An image with a few lines of text (a label, a screenshot) takes a fraction of that. Downloads run in parallel with the reading. That is about 700 dense pages or 3,000 small images an hour at 2 GB; the default run timeout is 4 hours (see "How many images fit in a run?" above).
  • Up to 5,000 URLs per run, 40 MB per image file and 100 MB per PDF, 50 pages per TIFF (more pages: the first 50 are read and PAGES_CAPPED is noted in ERRORS) and Max pages per PDF pages per PDF (50 by default, up to 1,000; see "Scanned PDFs"). Images larger than Max image size are scaled down; JPEGs of any size are first decoded at a reduced size. Other images must fit the run's memory while they are decoded, else they are refused as TOO_LARGE before decoding: at the default 2 GB up to 150 megapixels for grayscale, black-and-white and RGB images, about 115 megapixels for images with transparency and about 90 for CMYK and 16-bit images (at 4 GB and more: 150 megapixels for all). A page that takes Tesseract longer than 90 seconds is reported as OCR_TIMEOUT.
  • Very long images (a scrolling screenshot taller than 30,000 pixels) are read in bands. Straightening finds the text lines on a copy at most 1,280 pixels long, so on a very long image with small text it may find none and the image is read as it is (fine for a straight screenshot). Images wider than 30,000 pixels are scaled down to that width.
  • Images and scanned PDFs only. A link that returns a web page or another file type is NOT_AN_IMAGE and not charged. Digital PDFs are read here as images too, but PDF Text Extractor takes their exact text without OCR.
  • robots.txt is respected (RFC 9309) for every image and every redirect; if robots.txt can't be read (server error), the image is skipped to be safe. No logins, no proxies, no bot-check bypass; private or internal addresses are refused.
  • E-mail addresses and phone numbers are replaced with [email removed] / [phone removed] in text and lines, and the words that formed them are left out of words. Even when the image is a scan or a photo, OCR noise around the '@' (spaces on either side, a spaced dot in the domain) or inside the number is handled, and so is an address or a number that wraps onto the next line.

FAQ

Is it legal to read text from images? This Actor downloads only images and PDFs that are publicly reachable at the links you give, where the site's robots.txt allows it, without logging in or getting around any protection, and it removes e-mail addresses and phone numbers from the text. You are responsible for having the right to use the images you process (copyright, privacy law and each site's terms still apply); if in doubt, ask a lawyer.

Where do my images go? Is it private? Each image or PDF is downloaded into the Actor's container on Apify, read there by the open-source engines and discarded (a large PDF is kept in a temporary file only while it is read); only the text rows are saved, in your own Apify storage. No image or text is sent to an OCR API or AI model. Images are not stored by the Actor. E-mail addresses and phone numbers are always removed, even if you want them.

Why is an image no-text? No line with a letter or digit was found (blank pages, photos without text), or Minimum confidence dropped every line. Such rows are free. If an image has text that was not found, it may be too small (try a larger version of the image), handwritten, in a decorative font, or in a language you did not select.

How do I read only the confident parts? Use Minimum confidence (e.g. 60) to drop weak lines and words, or filter on confidence yourself; meanConfidence tells you how sure the whole reading is.

Which engine should I trust? You don't choose: Tesseract reads every image; RapidOCR reads it as well only when Tesseract is unsure, and the better reading (by the measured rule above) is kept. engine tells you which one it was. RapidOCR's model has no accented letters and sometimes joins words, which is why Tesseract wins whenever it is confident.

Can it read PDFs? Yes, scanned PDFs: every page (up to Max pages per PDF) is rendered and read like an image, one row per page, charged per page with text (see "Scanned PDFs" above). For PDFs that already contain text, PDF Text Extractor is faster and exact. Password-protected PDFs can't be read.

Can I upload files instead of links? Put the files somewhere they have a public link (e.g. a key-value store record or cloud storage) and pass the links.

Why did my run succeed with 0 results? No image could be read because of the input itself: every link was dead (NOT_FOUND), not an http(s) link (INVALID_URL), a private address (REFUSED), not an image or PDF (NOT_AN_IMAGE) or disallowed by the site's robots.txt (ROBOTS_DISALLOWED), or the file was too large (TOO_LARGE), damaged (DAMAGED), a password-protected PDF (ENCRYPTED) or a PDF with no page in your PDF pages range (NO_PAGES_SELECTED), or your maximum cost per run was reached first (SKIPPED). Such a run ends SUCCEEDED with 0 rows and no image charged: the status message names the cause and ERRORS in the key-value store lists every image with its reason. (An image without text is saved as a free no-text row, so it never makes a 0-row run.) A run fails when the problem is on our side or the site's: a network or server error, a block, bot check or rate limit (FETCH_FAILED, BLOCKED), a robots.txt that could not be read, an unexpected error (ERROR), the OCR engines not working, timing out or failing on the images (OCR_TIMEOUT, OCR_FAILED), or the PDF renderer not working (when a PDF page stops the renderer before any page of the run was rendered, the renderer is checked on a test page first; the page is TOO_LARGE or DAMAGED only if that check passes). The status message then starts with what made it fail. Runs that save at least one row succeed as before, with the images that failed in ERRORS.

Changelog

See CHANGELOG.md.

Support

Found a problem or need a feature? Open an issue on the Actor's Issues tab. We read every one.