InstaScan: AI Ingredient Safety Scanner
Overview
InstaScan is an AI-powered application that scans food, cosmetics, and medicines to instantly analyze ingredient safety using OCR + AI + Indian regulatory guidelines.
It helps users understand whether a product is Safe, Caution, or Unsafe, with simple explanations tailored to their health profiles.
The Problem
Most consumers cannot understand chemical ingredients on product labels. Complex names like parabens, sulfates, artificial colors, preservatives, and herbal actives can pose health risks that go unnoticed until reactions occur.
Solution
InstaScan solves ingredient safety confusion by offering:
- Instant Clarity: Scan any product label and get immediate safety analysis.
- Personalized Safety Checks: Results tailored to your allergies, health conditions, age, and preferences.
- Government Regulation Alignment: Automatic checking against FSSAI (food), CDSCO (medicines), and AYUSH (Ayurvedic) standards.
- Simple Safety Decisions: Clear Safe, Caution, or Unsafe ratings anyone can understand.
- Doctor-Style Explanations: AI-powered, easy-to-understand explanations of ingredient risks.
Key Features
- ๐ธ Scan Any Product: No barcode neededโjust point and shoot at ingredient labels.
- ๐ AI + OCR Ingredient Extraction: Advanced text recognition extracts all ingredients accurately.
- ๐ก Government Rule Checking: Automatic validation against FSSAI, CDSCO, and AYUSH regulations.
- ๐ค Personalized Results: Safety analysis tailored to allergies, diseases, diet preferences, age, and skin type.
- ๐ง Simple Explanations: Doctor-style, easy-to-understand explanations of ingredient safety.
Technical Architecture
Frontend
- Framework: Next.js 14+ (App Router)
- Styling: Tailwind CSS & Shadcn/ui
- State Management: React Context API
Backend & AI
- Backend: Supabase (PostgreSQL, Auth, Storage)
- AI Vision: Google Gemini Vision API (for OCR)
- AI Text: Google Gemini Text API (for safety analysis)
Data Flow
- User Scan โ Gemini Vision API โ Ingredient Extraction
- User Profile + Ingredients โ Gemini Text API โ Safety Analysis
- Regulatory Check (FSSAI/CDSCO/AYUSH) โ Personalized Scoring
- Results Display โ Safe/Caution/Unsafe Rating