smartvision / README.md
jgvghf's picture
Update README.md
85bd5bc verified

A newer version of the Streamlit SDK is available: 1.54.0

Upgrade
metadata
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:

streamlit
torch
torchvision
ultralytics
opencv-python
pillow
numpy
matplotlib
scikit-learn
datasets
tqdm
seaborn
av
streamlit_webrtc
huggingface_hub