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