Skip to content

RAFIROCK/smart-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

🥦 Smart Bridge - AI Powered Produce Classifier 🍎

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.


🚀 Live Demo

🔗 Smart Bridge Live App Click the link and wait a minute to load the application and then refresh or open in a new tab


📸 Demo Visuals

🏠 Home Page

Screenshot (583) Screenshot (584)

🔍 Predict Page

Predict

📈 Result Output

Result

About

About

Contact

Screenshot (590) Screenshot (591)

🎥Demo Video:

https://drive.google.com/file/d/1W26DcKPSnwxO8gVYwLsN2Tkug1zpECqo/view?usp=sharing

💡 Features

  • ✅ 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

⚙️ Technologies Used

  • Frontend: HTML, CSS, JavaScript
  • Backend: Python Flask
  • Deep Learning: TensorFlow, Keras, VGG16
  • Deployment: Render (Backend), GitHub Hosting

🗂️ Project Structure

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


📦 How to Run Locally

# 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.


👥 Development Team

Name Role GitHub Profile
V MAHAMMAD RAFI Project Lead @RAFIROCK

🎯 Use Cases

🏭 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

✍️ Author

🧑🏻‍💻 V MAHAMMAD RAFI

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors