← All explorations

OCR tools could not read blood-pressure monitors, so I removed the scan from monitoring app

Two phone screens side by side. Left: the HeartDaily camera screen aimed at the display of an Omron monitor reading 118 / 78 / 70. Right: the tool's reply, an error showing printed words only (omnon, SYS, PULSE, 'min, START, STOP) and no numbers.
I tested OCR tools on blood-pressure monitor photos for my HeartDaily concept app. The tools I logged could not read the numbers, so I removed the scan.
I wanted my blood-pressure app to read three numbers from a monitor's screen. The tools with logged results could not read them, so I removed the scan and kept typing.
3 of 5
tools with logged results
9
test images, 7 brands
01

I thought a camera could replace typing three numbers

Could a phone read the monitor instead?

Close-up of the display of a HoMedics blood-pressure monitor (120 / 80 / 72) with three numbered notes: separate bars, grey on grey, other symbols around the digits.
HeartDaily is my concept app for hypertension (high blood pressure) care in Vietnam. Users type three numbers (systolic, diastolic, pulse). I assumed this is slow for older users, and that phones already read screens well (both Assumption). So I designed a camera shortcut that uses OCR, software that reads text in photos.
FRAMING

Real experiments, no real patients

HeartDaily is a concept redesign. The app is live at heartdailyapp.org, but its users and research are a concept. I tested nine product photos (seven brands).
02

Reading the words was easy. Reading the digits was not.

What did I see?

What my digit-shape matcher saw on a HoMedics monitor photo: the cropped display, and the same crop in black and white with green boxes around the shapes it found. It read 88 / 88 / ? instead of 120 / 80 / 72.
1.Tesseract.js, a browser OCR tool. 0 of 9 full readings, even with five settings (Evidence: lab log).
2.A digit-shape matcher I wrote. 0 of 9 full readings (rerun). It often cut the wrong area or joined digits to icons (Evidence: rerun log).
3.Azure Vision (Microsoft), inside my app. It read the printed words and, in three of four runs, the pulse (Evidence: screenshots).
4.Google Cloud Vision. Same kind as Azure. By my account it failed; I kept no result (Assumption).
5.Google ML Kit (OCR for phones), in an Android app. I expected an Android-only app to work better (Assumption). By my account it missed the big digits.
The same Omron monitor photo given to four tools. Tesseract.js: no numbers. My shape matcher (rerun, 6 October 2026): 84 / ? / 47. Azure Vision: printed words only. Google ML Kit: no screenshot or log kept.
Nine product photos of blood-pressure monitor displays, each with its real reading and what Tesseract.js and my shape matcher returned. Most readings are question marks or wrong numbers. Only a few top and middle numbers were correct, and no photo gave al
WHAT THE FAILURES SHOWED ME

Words are not digits

Azure read the words, never the two blood-pressure numbers. The other logged tools missed the digits too.
03

No option met all four needs. I removed the scan.

What did I give up?

I removed OCR and kept typing

KNOWLEDGE I APPLIED
OCR expects connected letters, but seven-segment digits are separate bars. A wrong health number is worse than none. Health workers often have no internet. Health photos need privacy protection (Decree 13/2023).
Rejected design: the app's camera screen with a frame around a blood-pressure monitor display and the hint to point the camera at the monitor screen.
Kept design: the Measure blood pressure screen with three fields to type in - systolic, diastolic and pulse.
What I saw and weighed
Change OCR settings. Train my own model (no training photos). Use a cloud AI: it read my nine images, but needs internet and costs money. I did not hide the answers (Assumption).
What I chose, and why
I removed the scan. I needed a tool that is free, offline, built into the app and accurate on seven-segment digits. None did all four.
TRADE-OFF

Lost: a feature I liked

It was not reliable enough for a medical product. A cloud scan is not built. It is only an idea.

I tested on a real phone before rewriting the app

KNOWLEDGE I APPLIED
Native app (made for one system) or web app: a rewrite must add what the web cannot do. Test the riskiest assumption first. Trust official documents over forum posts.
Code history (git), 29 June 2026. 14:41: ML Kit scan button added. 17:54: camera OCR removed, 3 hours 13 minutes later. APK size at removal: 3.2 MB down to 1.4 MB.
What I saw and weighed
My earlier plan: build an Android-only app, because ML Kit reads text as well as Google Lens. Source: forum posts (Assumption).
What I chose, and why
I first built a simple Android app with ML Kit. By my account it missed the digits. I removed it that afternoon (Evidence: commit times).
04

The scan was designed to avoid wrong numbers

Which screens show these decisions?

Typing today: fields move forward by themselves, and errors show only after the user leaves a field. The scan feature was removed from the live app on 29 June 2026.
1.Typing today. Fields advance by themselves. Errors show after you leave a field.
05

OCR is removed. Typing stays.

What would I change?

Table of logged results. Tesseract.js: 0 of 9 full readings. My digit-shape matcher: 0 of 9. Azure Vision: read the printed words, pulse in 3 of 4 runs. Google Cloud Vision: no result kept. Google ML Kit: no screenshot or log kept. No tool read all three
Result (Evidence): the live app has no scan button.
•Hide the answers. Do not show the correct numbers to whoever reads.
•Test real conditions. Use glare, tilt and a thumb in the frame.
•Test on real hardware first. Do this before building around the riskiest assumption.
HONEST LIMITS

Nine easy test images

These are product photos, not real use. A cloud AI read all nine, but I did not hide the answers (Assumption).
Cost, internet and other options
Offline and free: Tesseract.js, my shape matcher, and Google ML Kit (runs on the phone). Cloud: Azure Vision, and Google Cloud Vision (paid after 1,000 calls a month). Two options I did not run. My own digit model: works offline once built. A published paper reports over 98 percent. I have no labelled training photos (Assumption). Cloud AI that reads images: online, paid per image. It read my nine product photos. I did not hide the answers (Assumption).
How I ran the tests
Method: I designed and judged the experiments. I built them with an AI coding assistant (Claude Code). Lab log: a Tesseract.js test on nine product photos, 16 May 2026 (results.md). It used five settings and kept the best result for each image. A seven-segment training file also froze Tesseract.js version 5 at start-up. Rerun: 6 October 2026, on a copy of the lab with the same code and the same nine photos (folder evidence-rerun-2026-10). Screenshots: four Azure runs on two monitors (Omron HEM-7121 and A and D UA-611). Commits: HeartDaily repository, 29 June 2026. Commit a000d4d added the ML Kit scan. Commit 66fc085 removed it. The app package went from 3.2 MB to 1.4 MB.
Sources I checked
Google documents: the ML Kit Translation page says it uses the same models as the Translate app in offline mode. The Text Recognition v2 page does not mention Lens or Translate (developers.google.com/ml-kit). Google Research, 4 September 2019: Lens in Google Go recognises text on a server. Firebase issue 785, opened 14 January 2019: a developer reports that ML Kit fails on seven-segment images. Its status is closed. MeasureBench (arXiv 2510.26865): on real digital displays, Gemini 2.5 Pro scored 80.2 percent and Claude Opus 4.1 scored 38.5 percent. This is one source and only an indication. Moreira (arXiv 2210.01325): models read seven-segment medical displays with over 98 percent accuracy. This is also one source. The tool ssocr (by Erik Auerswald) exists because general OCR fails on digits made of unconnected bars.