A newer version of the Streamlit SDK is available:
1.49.1
metadata
title: IndiScan
emoji: π
colorFrom: green
colorTo: blue
sdk: streamlit
sdk_version: 1.31.0
app_file: app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
IndiScan: Indian Product Health Analyzer π
IndiScan is a comprehensive health analysis tool that helps users make informed decisions about food and cosmetic products by analyzing ingredients, providing health scores, and comparing prices across Indian e-commerce platforms.
Features π
Smart Product Analysis
- Barcode scanning
- Image-based ingredient extraction
- Manual ingredient entry
- Health score calculation (0-1000)
- Ingredient risk assessment
- Nutrition information analysis
Price Comparison
- Real-time price tracking across:
- Amazon India
- Blinkit
- Zepto
- Swiggy Instamart
- Real-time price tracking across:
Admin Controls
- Product database management
- CSV import/export
- 60-day auto-refresh system
Setup π οΈ
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python app.py
The application will start both the backend API (port 8000) and the Streamlit frontend.
Usage π±
Scan Products
- Enter a barcode number
- Upload a product image
- Manually enter ingredients
View Analysis
- Health score and explanation
- Ingredient breakdown
- Risk categories
- Nutrition information
- Price comparison
Admin Features
- Login with admin credentials
- Add/update product information
- Export/import database
- Monitor data freshness
Technology Stack π»
- Backend: FastAPI
- Frontend: Streamlit
- Database: SQLite
- Image Processing: EasyOCR
- Data Analysis: Pandas, Plotly
- Web Scraping: aiohttp, BeautifulSoup4
Contributing π€
Feel free to contribute to this project by:
- Forking the repository
- Creating a feature branch
- Committing your changes
- Opening a pull request
License π
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments π
- Inspired by the Yuka app
- Uses OpenFoodFacts data
- Built with β€οΈ for Indian consumers