Softwr

OCR Software · head to head

Google Cloud Vision API vs OCRmyPDF

Google Cloud Vision API logo

Google Cloud Vision API

OCR Software

Google's image analysis API for OCR, labels, faces, landmarks and explicit content

From
$1.5/1,000 units
Free plan
No
OCRmyPDF logo

OCRmyPDF

OCR Software

Open-source command-line tool that adds a searchable text layer to scanned PDFs

From
Free
Free plan
Yes

The short version

  • OCRmyPDF is free; Google Cloud Vision API starts at $1.5/mo.
  • Only Google Cloud Vision API lists label detection; only OCRmyPDF lists tesseract OCR engine.
  • Where Google Cloud Vision API falls short: each feature applied to an image is billed as its own unit.
  • Where OCRmyPDF falls short: command line only, with no graphical interface.

How do Google Cloud Vision API and OCRmyPDF differ?

Google Cloud Vision API and OCRmyPDF differ on starting price ($1.5/1,000 units against Free), pricing model (Usage-based against Open-source) and free tier (No against Yes). Only the attributes on which Google Cloud Vision API and OCRmyPDF actually diverge.

Attributes where Google Cloud Vision API and OCRmyPDF differ
AttributeGoogle Cloud Vision APIOCRmyPDF
Starting price$1.5/1,000 unitsFree
Pricing modelUsage-basedOpen-source
Free tierNoYes
PlatformsWebLinux, Windows, macOS

Identical on both: category (OCR Software).

Which features does each one have?

They share no listed features; 8 appear only for Google Cloud Vision API and 8 only for OCRmyPDF. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Google Cloud Vision API

  • Text Detection OCR
  • Document Text Detection
  • Label detection
  • Face and landmark detection
  • Explicit content detection
  • REST and RPC API
  • Per-image billing across features
  • 1,000 free units a month

Only in OCRmyPDF

  • Searchable text layer for PDFs
  • Tesseract OCR engine
  • PDF/A output
  • Deskew and image clean-up
  • Lossless and lossy optimisation
  • Batch and watched-folder processing
  • Python API and plugins
  • Docker images

What is each one used for?

Google Cloud Vision API is most often brought in for extracting text from photos and scans in an app; OCRmyPDF for making an archive of scans searchable. The jobs each tool is most often brought in to do.

Google Cloud Vision API

  • Extracting text from photos and scans in an appnot OCRmyPDF
  • Digitising printed documents at scalenot OCRmyPDF
  • Tagging and labelling image librariesnot OCRmyPDF
  • Screening uploads for explicit contentnot OCRmyPDF
  • Detecting landmarks and faces in photosnot OCRmyPDF

OCRmyPDF

  • Making an archive of scans searchablenot Google Cloud Vision API
  • PDF/A conversionnot Google Cloud Vision API
  • Scripted batch OCR on serversnot Google Cloud Vision API
  • Watched-folder OCR for office scannersnot Google Cloud Vision API

Where do Google Cloud Vision API and OCRmyPDF fall short?

Google Cloud Vision API's most cited limit: each feature applied to an image is billed as its own unit. OCRmyPDF's: command line only, with no graphical interface. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Google Cloud Vision API

  • Each feature applied to an image is billed as its own unit
  • Every page of a PDF counts as a separate image
  • Returns text and detections, not structured fields from documents
  • Needs a Google Cloud account and developer integration

OCRmyPDF

  • Command line only, with no graphical interface
  • Cannot recognise handwriting, so it suits printed text only
  • Accuracy may trail commercial OCR on poor scans
  • Struggles with multi-column reading order

How much do Google Cloud Vision API and OCRmyPDF cost?

Google Cloud Vision API starts at $1.5/mo; OCRmyPDF is free to use. Plan by plan below, from each vendor's own pricing page.

Google Cloud Vision API

$1.5/1,000 units

No published plan breakdown. See the Google Cloud Vision API review.

OCRmyPDF

Free

No published plan breakdown. See the OCRmyPDF review.

Which should you pick?

Choose Google Cloud Vision API if

  • You need text detection ocr.
  • You also want document text detection.

Choose OCRmyPDF if

  • You need searchable text layer for pdfs.
  • You want to start without paying.
  • You work on Linux, Windows, macOS.
  • You also want tesseract ocr engine.

Questions people ask

Is Google Cloud Vision API or OCRmyPDF better?
It depends on the job. Google Cloud Vision API fits extracting text from photos and scans in an app; OCRmyPDF fits making an archive of scans searchable. Google Cloud Vision API starts at $1.5/1,000 units and OCRmyPDF at Free.
Which is cheaper, Google Cloud Vision API or OCRmyPDF?
OCRmyPDF has a free tier; the other does not. Paid plans start at $1.5/1,000 units for Google Cloud Vision API and Free for OCRmyPDF.
Does Google Cloud Vision API or OCRmyPDF run on more platforms?
Google Cloud Vision API runs on Web. OCRmyPDF runs on Linux, Windows, macOS.
Can I use OCRmyPDF for free?
Yes. OCRmyPDF has a free tier, so you can try it without paying. Google Cloud Vision API starts at $1.5/1,000 units.
What is Google Cloud Vision API best used for?
Google Cloud Vision API is most often used for extracting text from photos and scans in an app, digitising printed documents at scale, tagging and labelling image libraries, screening uploads for explicit content. Of those, extracting text from photos and scans in an app and digitising printed documents at scale are not what OCRmyPDF is typically brought in for.
What can Google Cloud Vision API do that OCRmyPDF cannot?
Google Cloud Vision API covers Text Detection OCR, Document Text Detection, Label detection, Face and landmark detection. OCRmyPDF covers Searchable text layer for PDFs, Tesseract OCR engine, PDF/A output, Deskew and image clean-up.

Answered from the vendors’ own pages

Google Cloud Vision API: How is Google Cloud Vision API priced?

Each feature applied to an image is a billable unit, and the first 1,000 units each month are free. Label Detection, Text Detection and Document Text Detection are $1.50 per 1,000 units up to 5,000,000 units.

Source
OCRmyPDF: Which OCR engine does it use?

It uses Tesseract to add a text layer to scanned PDFs.

Source
Google Cloud Vision API: How are PDFs billed?

For files with multiple pages, such as PDFs, each page is treated as an individual image.

Source
OCRmyPDF: What licence is it under?

The OCRmyPDF repository states the Mozilla Public License 2.0.

Source
Google Cloud Vision API: What can the API detect?

It covers image labelling, face and landmark detection, optical character recognition and tagging of explicit content.

Source
OCRmyPDF: Which platforms are supported?

Linux, Windows, macOS and FreeBSD, plus Docker images for x64 and ARM.

Source
Google Cloud Vision API: What should I use for structured document extraction?

Google describes Document AI as its document understanding platform, with pretrained processors and custom processors for classifying, splitting and extracting structured data.

Source
Share

Related pages

Other head to heads