Image text · Apify actor
Text from images, screenshots, carousels and scanned PDFs
Extract the text from images, screenshots, photos and scanned PDFs in bulk, and from every slide of Instagram carousels, every photo of TikTok slideshows and every Facebook ad image in the dataset your scraper already made. One clean row per input: the full text in reading order, the text of each page or slide, every line with its confidence and position, plus the post's link, author and caption. An open-source OCR engine runs inside the actor: no API key, and images without text are free.
What it does
Image to Text OCR, in short
- JPG, PNG, WEBP, GIF, BMP, TIFF (every page), HEIC and AVIF by link
- Scanned PDFs page by page; digital PDFs use their own text layer
- Scraper datasets: every carousel slide, slideshow photo and ad image, one row per post with
firstPageText(the hook slide) - English and Chinese by default; Japanese, accented Latin, Cyrillic, Korean, Arabic, Devanagari, Greek and Thai
- Every line with confidence and a pixel box; spreadsheet-ready flat columns in input order
- PP-OCR models through RapidOCR inside the actor; watch mode reads only new posts
Who it's for
Built for
Example
Input and output
One dataset row per result, downloadable as JSON, CSV or Excel, or read through the Apify API.
{
"imageUrls": [
"https://raw.githubusercontent.com/tesseract-ocr/tessdoc/main/images/eurotext.png",
"https://raw.githubusercontent.com/ocrmypdf/OCRmyPDF/main/tests/resources/skew.pdf"
],
"language": "en",
"minConfidence": 0.5
}Real cloud output for a post read from an Instagram scraper dataset (README output example), shortened.
{
"inputIndex": 9,
"status": "ok",
"sourceUrl": "https://www.instagram.com/p/Dfzs2vXllbo/",
"sourceType": "instagram-image",
"pageCount": 1,
"pagesWithText": 1,
"text": "MOVIE & TV NEWS\n\nRobert Pattinson Officially Cast As\nThe New James Bond\n9",
"lineCount": 4,
"averageConfidence": 0.8818,
"pages": [{ "page": 1, "method": "ocr", "lineCount": 4,
"lines": [{ "text": "MOVIE & TV NEWS", "confidence": 0.9243, "box": [172, 437, 339, 461] }] }],
"upstreamSource": "instagram",
"upstreamAuthor": "@9gag"
}Pricing
Pay per result. Failures are free.
No subscription, no monthly minimum. Apify platform compute is included in the price; Apify also adds a tiny start fee per run ($0.00005 per GB of run memory).
| You run | You pay |
|---|---|
| 100 screenshots | $0.20 |
| 50 Instagram carousels × 6 slides | $0.60 |
| A 40-page scanned contract | $0.08 |
| 1,000 product photos, 700 with text | $1.40 |
288 photos without text + 12 dead links = $0.00
Not charged:
- Images and pages with no text
- Failed downloads, unreadable files and rows without an image
- Video posts, and inputs left out by watch mode or your max cost per run
One image = one picture file, one carousel slide, one slideshow photo or one PDF page on which text was found. You can set Maximum cost per run in the run options and the actor stops cleanly when it is reached.
FAQ
Questions
Can I extract text from an Instagram carousel?
Yes. Run an Instagram post scraper and pick its dataset; every slide is read and returned slide by slide in one row per post.
Does it read PDFs?
Yes. Digital PDFs return their own text layer; scanned pages are OCR'd. Each page with text counts as one image.
Which OCR engine is it?
PP-OCR (PaddleOCR) models through RapidOCR on ONNX Runtime, open source (Apache-2.0), inside the actor. Images are not sent to a third-party API.
What are the limits?
Printed and screen text reads reliably; handwriting, tiny text, blur and decorative fonts read poorly. Pick the right script for Korean, Arabic or Cyrillic. Social image links expire after a few days, so run it soon after the scraper.
Try Image to Text OCR on Apify
Apify's free plan includes monthly platform credit you can use to try it.
Other Kanto Labs tools
Video Frame Extractor
Scene-change keyframes, thumbnails or one frame every N seconds, plus a contact sheet.
Video to LLM Context
Scenes, one keyframe per scene and the transcript per scene, as a ready-to-paste prompt block.
Video Scene Detection
Cut, dissolve and fade timecodes, keyframes, a shot sheet and CSV, JSON and EDL files.