Lazy Medicine Cabinet: a local Gemma model reads my medicine boxes (nothing leaves the laptop)
Описание и применение
Приложение «Lazy Medicine Cabinet» использует локальную модель Gemma 3 vision через Ollama для чтения названий и сроков годности лекарств с коробок, создавая инвентарь без передачи данных в облако.
Задача
People often forget to check medicine expiry dates and may keep expired drugs at home, risking health and waste.
Результат
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.
Рабочий процесс
- 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
Доказательства
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.
- Дата записи: 2026-10-24T18:11:09.057Z