Lazy Medicine Cabinet: a local Gemma model reads my medicine boxes (nothing leaves the laptop)
说明与用途
Lazy Medicine Cabinet 使用本地 Gemma 3 视觉模型通过 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