There is a fairly common problem of extracting biological data, specifially amino acid and nucleotide sequences, from images embedded in PDFs. There is often no plain text equivalent given, so manual copying or OCR is necessary.
I found that there was not an obvious tool to do this OCR. I thought the latest DL models would work, or the latest traditional OCR. I found that nothing worked for me, hence I made this small benchmark.
There are six images in the benchmark.
Five were taken from four PDFs (details in benchmark_metadata.yaml).
The remaining one is synthetic—I just typed some sequence into Google Docs.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
To run
uv run benchmark.py
For chat interfaces I pasted in the image and typed "transcribe to plain text". This occasionally failed, and I had to switch to "transcribe to ascii text". I did not include that failure mode in the benchmark.
Evaluation is a little tricky. OCR tools seem to often add whitespace, or get newlines wrong. It's unclear how much to penalize this.
A Python script (benchmark.py) checks that after removing all whitespace including newlines,
and boilerplate in the case of EasyOCR,
the text matches exactly.
Here are the current results from running benchmark.py.
Claude Opus 5 has the highest result at 5/6, matching images 1–5 exactly and missing image 6.
GPT-6 Astra with high reasoning scored 2/6, matching images 1 and 5. All six
responses reported gpt-6-astra, reasoning effort high, and completed status. See the
Astra run notes for request settings,
response provenance, and the image 1 capture retry.
A separate GPT-6 Astra xhigh (very high) run scored 3/6, matching images 1,
3, and 5. All six responses confirmed gpt-6-astra and reasoning effort xhigh.
See the xhigh run notes for provenance.
| Model | image1 | image2 | image3 | image4 | image5 | image6 |
|---|---|---|---|---|---|---|
| Gemini 2.5 Pro Preview 05-06 | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Claude Sonnet 3.7 | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Claude Opus 4 | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Claude Opus 4.7 | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ |
| Google Translate | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ |
| Le Chat | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| EasyOCR | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ |
| OlmOCR | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Reducto | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ |
| RedNote dots.ocr | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Tesseract.js | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ |
| Gemini 3 Pro Preview | ❌ | ✅ | ❌ | ✅ | ✅ | ❌ |
| PaddleOCR-VL-1.5 | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
| GPT-5.5 | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| GPT-5.6-sol (high) | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ |
| Gemma 4 31B | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Claude Opus 5 | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| GPT-6 Astra (high) | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ |
| GPT-6 Astra (xhigh) | ✅ | ❌ | ✅ | ❌ | ✅ | ❌ |





