Spaces:
Sleeping
Sleeping
| license: mit | |
| title: SmartVision | |
| sdk: streamlit | |
| emoji: π | |
| colorFrom: blue | |
| colorTo: green | |
| pinned: false | |
| # π SmartVision AI | |
| SmartVision AI is a **two-in-one computer vision application**: | |
| 1. **π Object Detection (YOLO)** | |
| Detect objects in images or live webcam feed using a YOLOv8 model. | |
| 2. **π§ Image Classification (VGG16)** | |
| Classify uploaded images into 25 classes with a pre-trained VGG16 model. | |
| --- | |
| ## π Features | |
| - Upload images (JPG, PNG) for detection or classification. | |
| - Live webcam object detection. | |
| - Confidence scores for classification predictions. | |
| - Lightweight and deployable on Hugging Face Spaces. | |
| --- | |
| ## β‘ Deployment Instructions | |
| 1. Make sure you have the following files in your repository: | |
| - `app.py` β Your Streamlit app code | |
| - `requirements.txt` β All dependencies | |
| - `.streamlit/secrets.toml` β Hugging Face token (optional for model download) | |
| - `README.md` β This file | |
| 2. Push the repository to Hugging Face Spaces. | |
| 3. Ensure your `requirements.txt` includes: | |
| ```text | |
| streamlit | |
| torch | |
| torchvision | |
| ultralytics | |
| opencv-python | |
| pillow | |
| numpy | |
| matplotlib | |
| scikit-learn | |
| datasets | |
| tqdm | |
| seaborn | |
| av | |
| streamlit_webrtc | |
| huggingface_hub | |