Bulk OCR: Scanned PDF to Text and Image to Text (Tesseract) avatar

Bulk OCR: Scanned PDF to Text and Image to Text (Tesseract)

Pricing

from $4.00 / 1,000 page reads

Go to Apify Store
Bulk OCR: Scanned PDF to Text and Image to Text (Tesseract)

Bulk OCR: Scanned PDF to Text and Image to Text (Tesseract)

OCR for lists of image and PDF URLs with Tesseract. One result row per page with its own status (ok, no_text, unreadable, too_big, fetch_failed), confidence and optional lines; one bad file does not fail the run.

Pricing

from $4.00 / 1,000 page reads

Rating

0.0

(0)

Developer

Venture Ace

Venture Ace

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Features

Limited permissions

Share

Bulk OCR: images and scanned PDFs to text

OCR (image to text, screenshot to text, scanned PDF to text) for lists of image and PDF URLs, using Tesseract (Apache-2.0) on CPU, with pypdfium2 (Apache-2.0/BSD) rendering PDF pages and Pillow for images.

Input

  • files: direct URLs, or keys in the run's key-value store.
  • languages: default eng; also deu, fra, spa, ita, por, nld.
  • minConfidence: default 0.5.
  • maxPages: default 200, hard cap 1,000.
  • pdfDpi: default 200.
  • outputFormats: text, lines, markdown.

Output

One dataset row per page: source, page, status, error, language, confidence, text, width, height (plus lines and markdown if asked). Status is ok, no_text, unreadable (mean word confidence under minConfidence), too_big or fetch_failed.

Example row (illustrative values showing the output shape, not a real run):

{
"source": "https://example.com/invoice.pdf",
"page": 1,
"status": "ok",
"error": null,
"language": "eng",
"confidence": 0.93,
"text": "INVOICE\nAcme Pty Ltd ...",
"width": 1654,
"height": 2339
}

Pricing and cost

US$0.004 per page read (US$4 per 1,000), Apify platform usage included; unreadable, empty and failed pages are not charged. Set maxPages low for a first test.

Good to know

  • One bad file (dead link, not an image, page URL, too large, corrupt PDF) gives a row with the reason; the run continues and succeeds. Nothing is kept after the run beyond the dataset you asked for.
  • Limits: 100 MB per file, 60 s per download and 60 s per page, 60 megapixels per page. Localhost, private, link-local and CGNAT addresses are refused on every request and redirect hop.
  • It is OCR, not vision: it reads printed text; handwriting, low-resolution scans and skewed photos read poorly. No tables, no layout analysis; markdown is paragraphs only. Every PDF page is rendered and read; a PDF text layer is not used.
  • Confidence is Tesseract's own mean word confidence, not a measure of accuracy: a blurred page can score high and still drop words or misread figures.
  • Speed: pages are read one at a time on CPU, so a long run takes a while. The number of files per run is capped too; extra files are skipped with a log line.

Local test: from this folder with Pillow, pypdfium2, httpx, apify and tesseract-ocr installed, python -m unittest src.test_guard src.test_ocr.

Separate Actors from the same publisher; each works on its own.