Tools,

JPG to text: Tesseract reads a scan, not a phone photo

31.9%

of words Tesseract found on made-up phone photos

From scans of the same pages: 96.0%.

Read your JPGs: $0.006 an image

Five readers, four kinds of JPG

Bar chart of words found by 5 readers on 4 kinds of JPG. Tesseract falls from 96.0% on scans to 31.9% on phone photos and 0.6% on photos stored sideways. Apple Vision and RapidOCR stay above 93% on all 4.
Words found in order, 10 JPGs of each kind. Red is Tesseract.
Word counts for each reader
Reader Scans Photos Screenshots Sideways
Tesseract 1,877 623 967 11
Apple Vision 1,932 1,925 1,138 1,926
RapidOCR 1,895 1,892 1,218 1,893
EasyOCR 1,606 789 968 2
Our Actor 1,880 1,829 1,173 1,760

True words found in order, out of 1,955 (screenshots: 1,218).

Sideways phone photos broke two readers

A phone can store a portrait photo on its side, plus an EXIF tag that says how to turn it. A viewer shows it upright, so it looks fine.

Reader With the tag
Tesseract Read the stored pixels, sideways. 3 of 10 files came back empty.
Apple Vision Read it upright
RapidOCR Turned it upright first
EasyOCR Crashed on 9 of 10 files
Our Actor Turned it upright first

EasyOCR finds text on the sideways pixels but reads the upright ones, so its boxes miss.

Tesseract fix: turn the photo first

With ImageMagick 7, apply the tag, then read:

magick photo.jpg -auto-orient fixed.jpg
tesseract fixed.jpg out

As printed, on all 10 sideways photos: 665 words found, not 11.

That only brings back about its upright score. On half the upright photos, Tesseract found 1 word or none.

RapidOCR: free, and fine with photos

RapidOCR is free and runs on your computer. It read phone photos, sideways ones and screenshots well. With its defaults:

from rapidocr import RapidOCR

engine = RapidOCR()
result = engine("photo.jpg")
print("\n".join(result.txts or []))

As printed: 167 of 172 words on a sideways photo, and every word of a screenshot.

On a Mac, Apple Vision, the text reader built into macOS, read scans and photos best. I called it from a short Swift script. Swift code, and Apple's newer APIs: Swift OCR on macOS, tested.

JPEG quality: text held up, tables did not

10 screenshots, small letters 7 to 9 px tall (titles 12 px), words in order
Saved as KB Tesseract Apple Vision Our Actor
PNG 56.8 79.5% 95.1% 97.0%
JPEG 95 81.2 79.5% 93.3% 92.4%
JPEG 75 44.2 79.4% 93.4% 96.3%
JPEG 50 32.3 78.2% 93.6% 95.6%
JPEG 30 25.1 79.1% 92.3% 91.6%

Our Actor on the same JPGs

PDF OCR to Markdown, our Apify Actor, takes PNG, JPEG, WEBP, TIFF and HEIC.

What I did not test

How I tested it
  • Scans: 10 proofread book pages from Wikisource, 1920 px wide JPGs, 1,955 words.
  • Phone photos: each page drawn on a desk, turned up to 12 degrees, with perspective, shadow, blur and noise, saved as JPEG 88.
  • Stored sideways: each photo turned a quarter turn and saved again, as JPEG 95, with EXIF Orientation 6. exiftool reads it as Rotate 90 CW.
  • Screenshots: 10 scenes (articles, serif text, small labels, chat and spreadsheets) drawn in headless Chromium at 1x, saved by Pillow.
  • Score: true words found in order, against the known text. One thread where the reader has a setting.
  • Readers: Tesseract 5.5.4 command line with English tessdata_fast and its defaults; Apple Vision VNRecognizeTextRequest, accurate; RapidOCR 3.10.0 defaults; EasyOCR 1.7.2, English, on the CPU.
  • The Actor: its own code at commit 5dcdaa5f (build 0.1.125), run on this Mac with text output and the second reader on (the default).
  • The fix: ImageMagick 7.1.2-11. macOS 26.6 (arm64), Python 3.14.7 (RapidOCR and the Actor: 3.13.11).
  • Scripts and results stay in our private repo, in research/bench/jpg-to-text-2026-11-23/.
Sources

Questions people ask

How do I convert a JPG to text for free?

For a scan, Tesseract works: tesseract scan.jpg out found 197 of 202 words on a book page. For a phone photo, use RapidOCR, or Apple Vision on a Mac. On our made-up phone photos they found 96.8% and 98.5% of words, Tesseract 31.9%.

Why is my OCR text empty or junk on a phone photo?

The phone may store the photo sideways with an EXIF tag to turn it, and Tesseract ignores the tag: 11 of 1,955 words. Run magick photo.jpg -auto-orient fixed.jpg first. That fixes only the turn: Tesseract found 34.0%. RapidOCR and Apple Vision needed no fix.

Does JPEG quality affect OCR of screenshots?

A little for text, more for tables. On 8 screenshots without a table, the 3 readers tested stayed within 3 points from PNG to quality 30. On 2 spreadsheet shots, our Actor found 154 of 154 words in order as PNG, 95 at quality 30.

Which JPG to text converter is most accurate?

In this test, Apple Vision on a Mac: 98.8% of words on scans and 98.5% on made-up phone photos. On screenshots, RapidOCR found every word. Both are free.

Two ways to skip the work

Run it yourself. Our Apify Actor turns scanned PDFs and images into Markdown, tables included.

Try the Actor

Or send us the scan. Tack, our AI, does the job for $29, up to 50 pages. First page free.

Get one page free