Back to feed
Dev.to
Dev.to
6/8/2026
Building a 3-second medicine verifier with Gemini vision + pg_trgm fuzzy matching

Building a 3-second medicine verifier with Gemini vision + pg_trgm fuzzy matching

Short summary

Agada uses Gemini 1.5 Flash vision + PostgreSQL fuzzy matching to instantly verify medicines against India's CDSCO registry and surface cheaper Jan Aushadhi alternatives. Snap a photo, get results in 3 seconds showing drug authenticity, function, and generic price—often 90% less than branded versions. Built open-source with zero data retention to combat India's ₹65,000 crore annual out-of-pocket pharma spending.

  • Gemini vision extracts medicine data from photos in ~1.8 seconds; PostgreSQL pg_trgm fuzzy matching handles OCR errors and drug name variations
  • Displays CDSCO verification status plus Jan Aushadhi generic prices, typically 90% cheaper than branded equivalents
  • Privacy-first architecture with no logins, accounts, or scan history; multilingual support (6 Indian languages) and planned WhatsApp integration

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more