Image OCR Extractor - Scanned PDF and RAG chunks avatar

Image OCR Extractor - Scanned PDF and RAG chunks

Pricing

from $2.80 / 1,000 ocr pages

Go to Apify Store
Image OCR Extractor - Scanned PDF and RAG chunks

Image OCR Extractor - Scanned PDF and RAG chunks

Extract recognized text and RAG chunks from image and scanned-PDF URLs. Includes the page text, language and chunk text. Images and scanned PDFs you list, charged per OCR page that is kept. The prefilled sample is the quick default run. Results as JSON, CSV or Excel. Access through API or MCP.

Pricing

from $2.80 / 1,000 ocr pages

Rating

0.0

(0)

Developer

Muhammet Mustafa Dincer

Muhammet Mustafa Dincer

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

21 days ago

Last modified

Features

Limited permissions

Share

🤖 What does the image OCR extractor do?

A image OCR extractor reads recognized text and RAG chunks from image and scanned-PDF URLs. It can collect:

  • recognized text and RAG chunks from image and scanned-PDF URLs
  • the page text, language and chunk text
  • A saved baseline when the source compares the next run
  • JSON, CSV or Excel from the dataset
  • The same run through the Apify API or MCP

💡 Why use the image OCR extractor?

People use a image OCR extractor when the same public page would otherwise be checked by hand.

  • Watch a change. The Actor keeps a baseline and writes the next difference.
  • Feed a sheet. The dataset opens as JSON, CSV or Excel.
  • Call it from code. The Apify API runs the same input.
  • Hand it to an agent. Apify MCP can call the Actor with that input.
  • Stay on the sample. The prefilled input is the short, cheap run.

🚀 How do you run the image OCR extractor?

  1. Open this Actor and click Try for free.
  2. Keep the prefilled sample, or set the prefilled fields.
  3. Leave the other fields on their defaults unless you need a narrower run.
  4. Click Run.
  5. Open the Dataset tab and download JSON, CSV or Excel.

Sample input from the prefilled schema:

{
"urls": [
"https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-memo.jpg?signature=1KzzIzLZdq8wNUqXypxnv",
"https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-field-report.pdf?signature=pT3nFk45ZKxfsfenwH0X"
],
"languages": [
"eng"
],
"mode": "both",
"chunkSize": 512,
"chunkOverlap": 64,
"proxyConfiguration": {
"useApifyProxy": false
}
}

⚠️ What limits does this Actor have?

The input schema is the limit. Defaults and prefills are unchanged by this copy update.

  • urls: at most 200 items.
  • languages: at most 4 items.
  • chunkSize: maximum 4096, minimum 64.
  • chunkOverlap: maximum 2048, minimum 0.
  • lowConfidenceBelow: maximum 100, minimum 0.
  • startPage: maximum 100000, minimum 1.
  • maxPagesPerFile: maximum 200, minimum 1.
  • pdfDpi: maximum 300, minimum 100.
  • maxFiles: maximum 200, minimum 1.
  • maxFileSizeMb: maximum 100, minimum 1.
  • maxChunksPerFile: maximum 2000, minimum 10.
  • requestsPerSecond: maximum 10, minimum 0.2.
  • concurrency: maximum 8, minimum 1.
  • Actor Start is priced in the table. The other events are billed only when the source charges them and the charge is accepted.
  • A spending limit that cannot pay for the next event stops that event. The source does not invent a result to replace it.

💳 How much does the image OCR extractor cost?

The table is the live pay-per-event price list (pricingInfos) for this Actor. It is not a guessed price.

EventWhat the price list calls itFreeBronzeSilverGoldPlatinumDiamond
apify-actor-startActor Start$0.0005$0.0005$0.0005$0.0005$0.0005$0.0005
ocr-pageOCR page$0.004$0.0036$0.0032$0.0028$0.0028$0.0028

One Free-plan run that bills one ocr-page plus Actor Start is $0.0005 + $0.004 = $0.0045. 1,000 ocr-page events on the Free plan are $4.00, before Actor Start. These figures use only the live prices in the table.

apify-actor-start is in the live price list. Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). The source names ocr-page and charges it with Actor.charge when that event happens. One page of an image or PDF in which text was found and recognised. A single image is one page; a PDF is charged per page read. Blank pages, pages that read as noise, failed downloads, unsupported and corrupt files are not charged. Chunk size does not change the price.

📝 What input does this Actor take?

Required fields are marked. Defaults and prefills are the quick run; this text does not change them.

FieldRequiredWhat it means
urls (Image and PDF URLs)NoDirect links to image files or PDFs, one per line. Up to 200 per run. The link must return the fi...
datasetId (Read links from a dataset)NoOptional. Pick an Apify dataset whose items contain image or PDF links. The Actor looks for <code...
languages (Languages in the images)NoLanguages that appear in the text, up to 4 (for example English and German together). The first o...
mode (What to return)NoDocument and chunks writes one document row per file plus its chunk rows. Chunks only</...
chunkSize (Chunk size (tokens))NoToken budget per chunk, counted with the cl100k_base tokenizer that OpenAI embedding and chat mod...
chunkOverlap (Chunk overlap (tokens))NoText from the end of one chunk repeated at the start of the next, in whole paragraphs, so an answ...
lowConfidenceBelow (Flag chunks below confidence)NoChunks whose mean OCR confidence (0 to 100) is under this number get lowConfidence: true</c...
startPage (First page)NoFor PDFs and multi-page TIFFs: the first page to read, 1-based. Use it to skip a cover page. Sing...
maxPagesPerFile (Maximum pages per file)NoPages read from one PDF or multi-page TIFF, counted from the first page. Up to 200. Each page tha...
pdfDpi (PDF resolution (DPI))NoThe resolution a PDF page is drawn at before recognition. 200 reads normal print well. Use 300 fo...
enhance (Clean up images first)NoTurns the image grey, stretches its contrast and enlarges small images before recognition. Turn i...
autoRotate (Fix sideways and upside-down pages)NoWhen a page reads badly, the Actor checks whether it is rotated by 90, 180 or 270 degrees and rea...
includeMarkdown (Include Markdown)NoAdd the markdown field to the document row: headings, paragraphs and lists rebuilt f...
includePages (Include page details)NoAdd a pages array to the document row with the status, confidence, size and text of ...
maxFiles (Maximum files)NoUpper bound on files read in one run, counting links from the list and from the dataset together.
maxFileSizeMb (Maximum file size (MB))NoFiles larger than this are skipped instead of downloaded, and reported as too_large.
maxChunksPerFile (Maximum chunks per file)NoSafety cap on chunk rows for one file. The document row always holds the whole text.
requestsPerSecond (Downloads per second (per host))NoHow fast files are downloaded from one server. Lower it to 1 when all your images come from one s...
concurrency (Pages read at the same time)NoOptional. Recognition is CPU-bound, so by default the Actor reads about one page per GB of run me...
proxyConfiguration (Proxy)NoOnly needed when an image host blocks data-centre IP addresses. Off by default.

📊 What output does this Actor return?

The dataset schema names every stored field.

FieldWhat the schema says
recordTypeRow kind: document (one per file, always written unless mode is chunk...
urlThe file link exactly as the Actor requested it. Stable between runs,...
finalUrlDocument rows: the address the file was served from after redirects.
fileNameDocument rows: the last part of the URL path, for display and citations.
statusDocument rows: processed (text found; charged per page with text), em...
failureReasonDocument rows: why a file failed or was empty (invalid_url, unsupport...
messageDocument rows: a plain-language explanation of a failure, an empty re...
fileTypeDocument rows: image or pdf, decided from the file's first bytes, not...
contentTypeDocument rows: the Content-Type header the server sent.
fileSizeBytesDocument rows: size of the downloaded file in bytes.
pageCountDocument rows: pages in the file (1 for a normal image).
pagesProcessedDocument rows: pages that were read by OCR in this run.
pagesWithTextDocument rows: pages that contained text. This is the number you are ...
pagesWithoutTextDocument rows: pages that were read but were blank or unreadable. Not...
pagesNotProcessedDocument rows: pages left unread because of the page limit, the first...
languagesDocument rows: the Tesseract language codes used, joined with +.
confidenceDocument rows: mean OCR confidence of the recognised words, 0 to 100,...
qualityDocument rows: good (85 or more), fair (60 to 84) or poor (under 60),...
charCountDocument and chunk rows: characters of recognised text.
wordCountDocument rows: words in the recognised text.
tokenCountDocument rows: tokens in the Markdown. Chunk rows: tokens in the chun...
chunkCountDocument rows: how many chunk rows were written for this file.
textDocument rows: the recognised text, with the line breaks of the scan....
markdownDocument rows: the text rebuilt as Markdown (headings, paragraphs, li...
pagesDocument rows: one entry per page read, with status (ok, blank, unrea...
durationMsDocument rows: how long downloading, reading and chunking this file t...
processedAtDocument rows: when the file was processed, ISO 8601 UTC.
documentTitleChunk rows: the file name, so a chunk can be cited without joining ba...
chunkIndexChunk rows: position of the chunk inside its file, starting at 0.
pageStartChunk rows: first page the chunk's text came from.
pageEndChunk rows: last page the chunk's text came from.
headingsChunk rows: the headings the chunk falls under, inferred from line si...
isPartialChunk rows: true when a single paragraph was longer than the chunk si...
lowConfidenceChunk rows: true when the chunk's confidence is below the Flag chunks...

One record from assets/sample-run-data.json shipped with this Actor, shortened where a string is long.

{
"documents": [
{
"recordType": "document",
"url": "https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-memo.jpg",
"finalUrl": "https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-memo.jpg",
"fileName": "ocr-sample-memo.jpg",
"status": "processed",
"failureReason": null,
"message": null,
"fileType": "image",
"contentType": "image/jpeg",
"fileSizeBytes": 208663,
"pageCount": 1,
"pagesProcessed": 1,
"pagesWithText": 1,
"pagesWithoutText": 0,
"pagesNotProcessed": 0,
"languages": "eng",
"confidence": 93.3,
"quality": "good",
"charCount": 930,
"wordCount": 156,
"tokenCount": 207,
"chunkCount": 1,
"text": null,
"markdown": "# Harbor Lane Cooperative\n\n## Operations memo: winter dispatch schedule\n\nTo all depot leads. From 3 December the evening dispatch moves from 18:30 to 17:45, because the ferry timetable changes and the last crossing leaves at 19:10. Drivers who are loaded after 17:45 will wait for the first morning crossing.\n\n## What changes for your depot\n\n- Cold-chain pallets are staged by 16:30, not 17:15.\n- Ret…",
"pages": null,
"durationMs": 1184,
"processedAt": "2026-11-04T11:21:56.607Z"
},
{
"recordType": "document",
"url": "https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-field-report.pdf",
"finalUrl": "https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-field-report.pdf",
"fileName": "ocr-sample-field-report.pdf",
"status": "processed",
"failureReason": null,
"message": null,
"fileType": "pdf",
"contentType": "application/pdf",
"fileSizeBytes": 393786,
"pageCount": 2,
"pagesProcessed": 2,
"pagesWithText": 2,
"pagesWithoutText": 0,
"pagesNotProcessed": 0,
"languages": "eng",
"confidence": 95.2,
"quality": "good",
"charCount": 1047,
"wordCount": 173,
"tokenCount": 252,
"chunkCount": 1,
"text": null,
"markdown": "# Field inspection report\n\n## 1. Scope\n\nThis report covers the inspection of the northern drainage channel on 14 October. Three sections were walked: the inlet screen, the culvert under Mill Road, and the outfall into the retention basin. Photographs are filed under reference FI-2041.\n\n## 2. Findings\n\n- Inlet screen: partly blocked by leaves, flow reduced by about a third.\n- Culvert: no cracks, si…",
"pages": null,
"durationMs": 1959,
"processedAt": "2026-11-04T11:21:57.381Z"
}
],
"chunks": [
{
"recordType": "chunk",
"url": "https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-memo.jpg",
"documentTitle": "ocr-sample-memo.jpg",
"chunkIndex": 0,
"text": "# Harbor Lane Cooperative\n\n## Operations memo: winter dispatch schedule\n\nTo all depot leads. From 3 December the evening dispatch moves from 18:30 to 17:45, because the ferry timetable changes and the last crossing leaves at 19:10. Drivers who are loaded after 17:45 will wait for the first morning crossing.\n\n## What changes for your depot\n\n- Cold-chain pallets are staged by 16:30, not 17:15.\n- Returns are collected in the morning run only.\n- The weekend rota is published every Thursday by noon.\n\n## Why we are doing this",
"tokenCount"
}

🔌 How do you call this Actor from the API?

Call mmdincer/image-ocr-rag with the Apify API. The body is the input schema. MCP clients on Apify use the same input. Make and Zapier can start the Actor through Apify's integration. The input is the same JSON.

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("mmdincer/image-ocr-rag").call(run_input={"urls": ["https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-memo.jpg?signature=1KzzIzLZdq8wNUqXypxnv", "https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-field-report.pdf?signature=pT3nFk45ZKxfsfenwH0X"], "languages": ["eng"], "mode": "both", "chunkSize": 512, "chunkOverlap": 64, "proxyConfiguration": {"useApifyProxy": false}})
items = client.dataset(run["defaultDatasetId"]).list_items().items
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<APIFY_TOKEN>" });
const run = await client.actor("mmdincer/image-ocr-rag").call({"urls": ["https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-memo.jpg?signature=1KzzIzLZdq8wNUqXypxnv", "https://api.apify.com/v2/key-value-stores/vbQuJ5uhWVgUngr57/records/ocr-sample-field-report.pdf?signature=pT3nFk45ZKxfsfenwH0X"], "languages": ["eng"], "mode": "both", "chunkSize": 512, "chunkOverlap": 64, "proxyConfiguration": {"useApifyProxy": false}});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

❓ What else should you know?

Does the image OCR extractor need a login?

The sample run uses the public source and the prefilled input. A field that asks for your own key is optional unless the input schema marks it required.

What does the image OCR extractor charge for?

The primary event in the live price list is ocr-page (OCR page). Actor Start is separate. An event the source does not call is not billed by the source.

Can this Actor run on a schedule?

Yes. Save the input and schedule it. The next run compares against the baseline when the source stores one.

Where do the results go?

Results land in the run dataset. Download JSON, CSV or Excel, or read them with the API.

You are responsible for the source terms and for privacy law that applies to you, including the GDPR if you handle personal data. This Actor stores the public fields described above. This Actor is not affiliated with this extractor.

Not affiliated with this extractor. Source license: Apache-2.0. Not affiliated with the image host.

Other public Actors from mmdincer in this group: