Menu

Phone first, cloud when unsure: on-device SigLIP 2 vs Gemini on 3,170 waste photos
πŸ“°

Phone first, cloud when unsure: on-device SigLIP 2 vs Gemini on 3,170 waste photos

DEV Community: reactnativeΒ·Vasilis DrosatosΒ·12 days ago
#4P0Nsu4c
#devtoreactnative#devto#dev#phone#model
Long article (3316 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Should a pizza box go in the blue bin? It depends on the grease. In Athens, most people aren't sure, and every wrong guess either contaminates a recycling bin or throws away something that could have been recycled.

We built RecycleIQ for the Apps4Athens 3.0 hackathon: you photograph an item and the app tells you which Athens bin it goes in, why, and where the nearest one is. The whole thing is open source under Apache-2.0: github.com/astrocodelp/recycle-iq-monorepo .

This post covers the part we think other developers will find useful:

running an open embedding model (SigLIP 2) on the phone for zero-shot recognition;

benchmarking it against Gemini and Gemma on 3,170 photos , with a scoring metric that counts how bad each mistake is;

using confidence scores to decide when the phone answers and when the cloud takes over, and what that does to cost.

TL;DR

Set-up Right Athens bin Cost / 1,000 scans

SigLIP 2 base, 4-bit, on the phone alone 88.9% $0

Gemini 3.5 Flash-Lite alone (cloud) 96.3% $0.43

Phone…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.