Image OCR API: Image to Text, Lines & Bounding Boxes avatar

Image OCR API: Image to Text, Lines & Bounding Boxes

Pricing

from $1.50 / 1,000 images ocr extracted

Go to Apify Store
Image OCR API: Image to Text, Lines & Bounding Boxes

Image OCR API: Image to Text, Lines & Bounding Boxes

Fast Image OCR and image to text API for AI agents and workflows. Extract clean text, word confidence and line/word bounding boxes from PNG, JPEG, WebP and TIFF images across 35+ languages. $0.002 per image; failed images are free.

Pricing

from $1.50 / 1,000 images ocr extracted

Rating

0.0

(0)

Developer

Rod Services

Rod Services

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Extract text, confidence scores, and line/word bounding boxes from PNG, JPEG, WebP and TIFF images across 35+ languages. No API key needed. Paste image URLs or upload a file, click Start, and get clean text plus coordinates for $0.002 per image.

What you get

  • Clean text extracted via Tesseract OCR 5 in 35+ languages (eng, deu, fra, spa, lit, pol, rus, jpn, chi_sim and more).
  • Mean confidence score (0 to 100) and word/line counts per image.
  • Line bounding boxes (left, top, width, height, confidence) and optional word bounding boxes.
  • Image preprocessing (EXIF auto-orientation, transparent PNG flattening, smart upscaling of small text).
  • Zero charge on failures (invalid or error rows are free).

Quick start

  1. Paste public imageUrls or upload an image via Upload an image.
  2. Keep languages: ["eng"] or pass multiple Tesseract ISO 639-3 codes (e.g. ["eng", "deu"]).
  3. Click Start.

From the Apify API:

curl -X POST "https://api.apify.com/v2/acts/rod_analytics~image-ocr-api/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"imageUrls": ["https://tesseract.projectnaptha.com/img/eng_bw.png"], "languages": ["eng"]}'

Input

FieldDefaultDescription
imageUrlsSample imagePublic http(s) URLs to PNG, JPEG, WebP, GIF, BMP or TIFF files.
uploadedFileemptyOptional uploaded image file from Apify Console.
languages["eng"]Tesseract ISO 639-3 language codes (35+ installed).
includeBoxestrueReturn line bounding boxes and per-line confidence.
includeWordBoxesfalseAlso return per-word bounding boxes.
preprocesstrueEXIF auto-rotate, flatten alpha onto white, upscale images under 900 px.
psm3Tesseract page segmentation mode (3 auto, 6 block, 11 sparse UI).
maxConcurrency3Parallel OCR workers (1 to 6).
maxImageSizeMb25Maximum image size to download (1 to 100 MB).

Output sample

{
"sourceUrl": "https://tesseract.projectnaptha.com/img/eng_bw.png",
"fileName": "eng_bw.png",
"status": "ok",
"mimeType": "image/png",
"width": 640,
"height": 480,
"language": "eng",
"text": "Mild Splendour of the various-formed Wood...",
"confidence": 91.4,
"wordCount": 71,
"lineCount": 9,
"lines": [
{ "text": "Mild Splendour of the various-formed Wood", "confidence": 92.1, "left": 41, "top": 52, "width": 556, "height": 24 }
],
"processingSecs": 0.84,
"error": null
}

Pricing

Pay per event. Failed, invalid or unreachable images are free.

EventFreeBronzeSilverGold / Platinum / Diamond
Image OCR (image-ocr)$0.002$0.0018$0.0016$0.0015
Actor start (per GB, min 1)$0.001$0.001$0.001$0.001

License & terms

Uses Tesseract OCR 5 and language data under Apache-2.0. You process images you supply or have permission to read.

More tools from the same developer, built with pay-per-event pricing and clean JSON output.

ActorWhat it does
Website to Markdown Crawler: Clean Text for LLM & RAGCrawl websites into clean Markdown, RAG chunks and llms.txt
PDF to Text & Markdown Extractor with OCR, Tables & RAGExtract PDF, Word, Excel and PowerPoint files to Markdown and text
Audio Transcriber: Transcribe Audio, Video & PodcastsWhisper transcripts, SRT/VTT subtitles and AI summaries from audio and podcasts
Bulk LLM Runner: AI Prompt for Every Row, JSON Output, No KeyRun one LLM prompt per dataset or JSON row with structured output
SEO Audit Tool: Site Crawler, Broken Links & ScoreCrawl sites for broken links, metadata gaps and on-page SEO issues
PageSpeed Insights & Lighthouse Bulk Checker, No API KeyCore Web Vitals, Lighthouse scores, regression tracking and client reports
Tech Stack Detector: Wappalyzer & BuiltWith AlternativeDetect CMS, frameworks, analytics and hosting across 7,600+ fingerprints
WHOIS & DNS Lookup: Bulk Domain, SPF, DMARC & SSL CheckBulk WHOIS, DNS records, SSL certificate and email security checks
Contact Details Scraper: Emails, Phones & Social LinksExtract emails, phones and social links from company websites
Company Profile & Enrichment from Domain: Firmographics APIEnrich domains with tech stack, DNS, socials, role emails and VAT ID
Email Validator & Verifier: Bulk MX & Disposable CheckVerify syntax, DNS MX, disposable domains and catch-all hints
Email Format Finder: Company Email Pattern LookupDiscover corporate email patterns like first.last@domain.com
Work Email Finder: Find Email by Name and DomainFind and verify a person's work email from name and company domain
Phone Number Validator & Enrichment: E.164, Carrier & CountryValidate phone numbers, convert to E.164 and detect country and line type
VIES VAT Checker & EU Company Registry LookupValidate EU VAT numbers via VIES and look up company registry records
Companies House Scraper: UK Company Search, No API KeySearch UK companies and retrieve profiles, officers and filings
EU TED Tenders Scraper & Alerts: Public ProcurementSearch and monitor EU public procurement notices from TED
Greenhouse, Lever & Ashby Job Scraper: 8 ATS in One FeedExtract structured job postings from 8 ATS platforms in one feed
GitHub Scraper: Repo Stats, Stars, Trending & SearchRepository stats, stars, languages and trending GitHub searches
Hacker News Scraper: Stories, Comments & Who's Hiring JobsStories, Ask/Show HN, comments and Who's Hiring job posts
RSS & Atom Feed Reader: Clean JSON, Discovery & Only-New ModeRead RSS, Atom, JSON Feeds and OPML lists with feed discovery and state