Lazy Medicine Cabinet: a local Gemma model reads my medicine boxes (nothing leaves the laptop)
Description and use
Lazy Medicine Cabinet uses a local Gemma 3 vision model via Ollama to read medicine box labels and build an inventory, keeping all data on the laptop.
Problem
People often forget to check medicine expiry dates and may keep expired drugs at home, risking health and waste.
Outcome
The app successfully reads 7 fictional boxes, achieving 100% correct product names and 6/7 correct dates in a single run, with no data leaving the laptop.
Workflow
- Take a photo of medicine boxes
- Gemma 3 (4B, vision) runs locally on the laptop and returns structured JSON with name and expiry text
- The app parses dates and assigns status (Expired, Expires within 30/90 days, OK)
- The user reviews the list, corrects any misread lines, and can print a list of expired items for pharmacy return
- Photos are stored locally and deleted when lines are removed or cleared
Evidence
Lazy Medicine Cabinet is a small web app that runs entirely on my laptop. I take a photo of my medicine boxes, and Gemma 3 (4B, vision) running locally through Ollama reads them and makes an inventory
It is deliberately slow and steady: on my dual‑core laptop with no graphics card, one photo takes about a minute (60 to 85 seconds in my runs).
The app says so on screen, and every line is meant to be checked against the real box.
- Record date: 2026-10-24T18:11:09.057Z