FlavorSnap is a food image classification web app powered by deep learning. Simply upload a picture of a local dish, and the model will tell you what it is. The app uses a fine-tuned ResNet18 model to recognize and classify various food types such as Akara, Bread, Egusi, Moi Moi, Rice and Stew, and Yam (with the option to add more food variety).
# π² FlavorSnap
**AI-Powered Food Classification Web Application**
Snap a picture of your food and let AI identify the dish instantly!
## π Table of Contents
- π Features
- ποΈ Project Structure
- π οΈ Tech Stack
- π Quick Start
- π Installation Documentation
- βοΈ Configuration
- π Detailed Setup
- π€ Contributing
- π API Documentation
- π§ͺ Testing
- π Model Information
- π Troubleshooting
- π License
## π Features
### π― Core Functionality
- **πΈ Image Upload & Preview**: Drag-and-drop or click to upload food images
- **π€ AI-Powered Classification**: ResNet18 model trained on Nigerian dishes
- **π Confidence Scores**: Get prediction confidence percentages
- **ποΈ Automatic Organization**: Images saved to predicted class folders
- **β‘ Real-time Processing**: Instant classification results
### π¨ User Experience
- **π± Responsive Design**: Works seamlessly on desktop, tablet, and mobile
- **π Modern UI**: Built with TailwindCSS and React components
- **π Loading States**: Visual feedback during processing
- **β Error Handling**: User-friendly error messages and recovery
- **π Dark Mode Support**: Comfortable viewing in any lighting
- **π Internationalization (i18n)**: Multi-language support (English, French, Arabic, Yoruba) with RTL layout
### π§ Developer Features
- **π‘ RESTful API**: Clean API endpoints for integration
- **π§ͺ Comprehensive Testing**: Unit, integration, and E2E tests
- **π Type Safety**: Full TypeScript implementation
- **π³ Docker Support**: Containerized deployment ready
- **π Analytics**: Classification history and insights
### π‘οΈ Advanced Security (NEW)
- **π Automated Vulnerability Scanning**: Comprehensive security scanning with Safety, Bandit, Semgrep
- **π¨ Real-time Security Alerts**: Intelligent alerting with ML-based anomaly detection
- **π§ Automated Remediation**: Self-healing security issues with automated fixes
- **π Security Dashboard**: Real-time monitoring and reporting
- **π Compliance Checking**: Automated compliance verifi β¦