Back to Blog

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

  1. User Scan โ†’ Gemini Vision API โ†’ Ingredient Extraction
  2. User Profile + Ingredients โ†’ Gemini Text API โ†’ Safety Analysis
  3. Regulatory Check (FSSAI/CDSCO/AYUSH) โ†’ Personalized Scoring
  4. Results Display โ†’ Safe/Caution/Unsafe Rating