Smart Bridge is an AI-powered web application that detects whether fruits and vegetables are fresh or rotten using deep learning (VGG16). Built with a modern UI and deployed on Render, this tool provides instant quality analysis with a single image upload.
π Smart Bridge Live App Click the link and wait a minute to load the application and then refresh or open in a new tab
https://drive.google.com/file/d/1W26DcKPSnwxO8gVYwLsN2Tkug1zpECqo/view?usp=sharing
- β Upload an image of a fruit or vegetable
- β Predict whether itβs Healthy or Rotten
- β Stunning modern UI with dark theme and glassmorphism
- β Fully responsive for all devices
- β Backend powered by Flask + TensorFlow (VGG16)
- β Hosted & Live on Render
- Frontend: HTML, CSS, JavaScript
- Backend: Python Flask
- Deep Learning: TensorFlow, Keras, VGG16
- Deployment: Render (Backend), GitHub Hosting
smart-sorting/
β
βββ app.py # Flask backend
βββ healthy_vs_rotten.h5 # Trained model
βββ requirements.txt
β
βββ templates/ # HTML files
β βββ index.html
β βββ about.html
β βββ contact.html
β βββ predict.html
β βββ output.html
β
βββ static/
β βββ css/
β β βββ style.css
β βββ img/
β βββ banner.jpg
β βββ email.png
β βββ github.png
β βββ linkedin.png
β
βββ screenshots/
βββ home.png
βββ predict.png
βββ contact.png
# Clone the repository
git clone https://github.com/RAFIROCK/smart-bridge.git
cd smart-bridge
# Optional: create virtual environment
python -m venv venv
venv\Scripts\activate # For Windows
# source venv/bin/activate # For macOS/Linux
# Install dependencies
pip install -r requirements.txt
# Run the Flask application
python app.py
Then open http://127.0.0.1:5000 in your browser.
| Name | Role | GitHub Profile |
|---|---|---|
| V MAHAMMAD RAFI | Project Lead | @RAFIROCK |
π Factories: Automated sorting of fresh vs rotten produce
π Supermarkets: Quality check at delivery docks
π Smart Homes: Alert users to use produce before it spoils
π Acknowledgements Kaggle Dataset β for the fruit and vegetable dataset
TensorFlow β deep learning framework
VGG16 β pre-trained model for transfer learning
Flask β lightweight Python web framework
π GitHub: https://github.com/RAFIROCK
π Portfolio: https://github.com/RAFIROCK
This project is licensed under the MIT License. See the LICENSE file for details.