The Mine Works
Google Lens OCR Scraper
← All Scrapers
Apify Actor · AI

Google Lens OCR Scraper

Image text with a bounding box for every word

View on Apify Store →
From $3.49 / 1,000 images
Status
State ● Live
Pricing PPE
Category AI
Overview

What it does

Hand it public image links and each one comes back with the text Google Lens reads: the full text, the same text re-read row by row for receipts and tables, the detected language, and every block, line and word with its box as fractions of the image and in pixels. Emails, web links and postal addresses Lens recognises are picked out too. No Google account or API key. Lens takes about ten seconds per image, and local files need a public link first.

Features

Built in

  • ✓ Text three ways: fullText, textByRows and blocks
  • ✓ Boxes as image fractions plus pixelCoords
  • ✓ Up to 5,000 images a run, eight at a time
  • ✓ Images Google cannot fetch are uploaded instead
  • ✓ Detail levels: full, lines, or text only
FAQ

Common questions

What exactly comes back per image? +

status, the detected language, fullText, textByRows, word, line and block counts, blocks holding their lines and words with bounding boxes and pixelCoords, entities for emails, web links and postal addresses, keyPhrases, and the image size. Only rows with status text_found are billed.

What is the price? +

An image with text costs $0.00499 on Apify's free plan and $0.00349 on Gold and above. The $0.005 start fee is charged once per run even when no image yields text. Broken links, non-image links and repeated links cost nothing beyond that.

Can I send a file from my computer? +

Not directly. The input takes public http or https links to JPEG, PNG, WebP, GIF or BMP files, and data: links are rejected. Upload the file somewhere public first, for example to an Apify key-value store, then pass that link.

How fast is a batch? +

Google Lens takes roughly ten seconds to answer one image, between 9.7 and 13.1 seconds in the makers' test, and eight are in flight at once, which works out at about 1.5 seconds per image. Thirty-one links took 46 seconds in that test.

Does the language hint matter? +

Only a little. It is passed to Lens as a hint and English is assumed when empty, but text in any language is found either way and the language Lens detected is returned on every row. The makers' test read ten languages, Odia and Telugu among them.

Get Started

Try it on Apify.

Pay only for results delivered. No credit card required to sign up.

Apify Store

Find a ready-made scraper for your job

Apify has over 80,000 scrapers and automations, ours included. Start free with $5 of platform credit every month.