π· Upload an image β π§ YOLOv5 detects objects β π View results in your browser
- π Object detection using pre-trained YOLOv5
- πΌοΈ Upload
.jpg/.jpeg/.pngimages via a Streamlit web app - π‘ Instantly displays bounding boxes, labels, and confidence scores
- π Hosted on
localhostfor easy local testing
| Tool | Purpose |
|---|---|
| Python | Programming Language |
| PyTorch | Loads the YOLOv5 model |
| OpenCV | Image reading and decoding |
| NumPy | Array and tensor operations |
| Streamlit | Web UI for file upload and display |
π§ 1. Clone the Repo git clone https://github.com/yourusername/rtod-yolov5.git cd rtod-yolov5
π± 2. Create a Virtual Environment python -m venv yolov5env yolov5env\Scripts\activate # (Windows CMD)
π¦ 3. Install Dependencies pip install streamlit opencv-python torch torchvision torchaudio numpy seaborn
π 4. Run the App streamlit run app.py Then open http://localhost:8501 in your browser π
π Sometimes detects a bus as a car (common in COCO dataset confusion)
β‘ Not yet optimized for performance or large resolution images
π§ͺ YOLOv5s is the lightest model β might upgrade to yolov5m or yolov5x later
π·ββοΈ This project is a work in progress β Iβll keep improving the detection accuracy and optimizing the model behavior over time.
π΄ Real-time webcam detection
π₯ Live video stream support (via OpenCV or WebRTC)
Β© 2025 Rishika Kumari. All rights reserved.


