https://github.com/fikriaf/ai-smart-waste
AI Smart Waste is a Python system for waste detection and classification using computer vision
https://github.com/fikriaf/ai-smart-waste
ai classification computer-vision detection tkinter-gui
Last synced: 10 months ago
JSON representation
AI Smart Waste is a Python system for waste detection and classification using computer vision
- Host: GitHub
- URL: https://github.com/fikriaf/ai-smart-waste
- Owner: fikriaf
- Created: 2025-07-17T13:59:53.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-17T14:36:32.000Z (12 months ago)
- Last Synced: 2025-07-17T16:15:18.461Z (12 months ago)
- Topics: ai, classification, computer-vision, detection, tkinter-gui
- Language: Jupyter Notebook
- Homepage:
- Size: 18 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI Smart Waste
AI Smart Waste is a Python-based system designed to recognize, classify, and manage waste using computer vision techniques. It uses image input, either from a live camera or static images, to detect types of waste such as organic, inorganic, or recyclable items.
## Features
- Real-time waste detection with camera input (`smart-waste-realtime.py`)
- Deep learning-based image classification (`smart-waste.py`
- UI testing and interface logic (`ui_testing.py`, `interface_new.py`)
- Simulated hardware interaction (`hardware.py`)
- API endpoint integration (`api.py`)
- Jupyter Notebook for exploration and visualization (`main.ipynb`)
- Includes test images for validation (`tests/ folder`)
## Requirements
- Python 3.7+
- Required Python libraries (install via pip install -r requirements.txt):
- OpenCV
- TensorFlow or PyTorch
- NumPy
- Flask (for API)
## How to Run
### 1. Waste Classification (Standalone)
```bash
python smart-waste.py
```
### 2. Realtime Camera Detection
```bash
python smart-waste-realtime.py
```
### 3. API Mode
```bash
python api.py
```
### 4. UI Testing
```bash
python ui_testing.py
```
## File Structure
```bash
├── smart-waste.py # Main classification logic
├── smart-waste-realtime.py # Realtime camera detection
├── api.py # REST API for classification
├── hardware.py # Hardware interaction simulation
├── interface_new.py # UI Interface logic
├── ui_testing.py # UI testing logic
├── main.ipynb # Notebook for experiments
├── tests/
│ ├── image.png # Test image 1
│ └── testfoto.jpg # Test image 2
```