Originally published on rohitraj.tech
UPI fraud hit ₹805 cr in India last year. Cloud APIs leak data. So I built ScamRakshak — fully on-device scam detection.
3-tier inference engine:
- Gemma 4 LLM — context-aware classification
- LiteRT — fast pattern model
- Regex fallback — when battery low
Full architecture write-up: https://rohitraj.tech/en/notes/build-on-device-ai-scam-detector-android-gemma
Read the full version with code samples and diagrams: https://rohitraj.tech/en/notes/build-on-device-ai-scam-detector-android-gemma
Top comments (0)