Skip to content

Bilal-73/YOLOv8-Video-Object-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ₯ YOLOv8 Video Object Detection (Flask App)

This project is a Flask-based web application that performs real-time object detection on uploaded videos using YOLOv8 (Ultralytics).
Users can upload a video, and the app streams the detected objects frame-by-frame in the browser.


πŸš€ Features

  • Upload video via web interface
  • Real-time object detection using YOLOv8
  • Live video streaming with bounding boxes
  • Lightweight and easy to deploy
  • Uses OpenCV for video processing

🧠 Model Used

  • YOLOv8 Nano (yolov8n.pt)
  • Pre-trained on the COCO dataset

πŸ“ Project Structure

bash


β”œβ”€β”€ app.py
β”œβ”€β”€ README.md
└── yolov8.pt


πŸ› οΈ Installation

1️⃣ Clone the repository

bash

git clone (https://github.com/Bilal-73/YOLOv8-Real-Time-Video-Object-Detection-with-Flask.git)
cd your-repo

πŸ“€ How It Works

  • Upload a video file
  • Video is saved in the uploads/ directory
  • Frames are processed using YOLOv8
  • Annotated frames are streamed back to the browser

⚠️ Notes

  • Large videos may cause slow streaming
  • GPU is recommended for better performance
  • This demo uses a single global video session

πŸ‘€ Author

Bilal Imran

  • πŸŽ“ BS Computer Science (AI Specialization)
  • πŸ’» AI / Machine Learning & Full-Stack Developer
  • πŸ“ Pakistan

GitHub: https://github.com/Bilal-73

About

A Flask-based web application that performs real-time object detection on uploaded videos using YOLOv8.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages