Git Product home page Git Product logo

jacob-pitsenberger / filtered-person-detection-in-video-stream-with-yolov8-or-yolov5 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 18.61 MB

This project implements a Realtime People Detection System in a live video feed using YOLO (You Only Look Once) models. The system can detect and count people in real time, making it useful for various applications such as monitoring public places, crowd analysis, and security surveillance.

License: University of Illinois/NCSA Open Source License

Python 100.00%

filtered-person-detection-in-video-stream-with-yolov8-or-yolov5's Introduction

Filtered-Person-Detection-in-Video-Stream-with-YoloV8-or-YoloV5

Author: Jacob Pitsenberger Version: 1.0 Date: 8/1/2023

Description

This project implements a Realtime People Detection System in a live video feed using YOLO (You Only Look Once) models. The system can detect and count people in real time, making it useful for various applications such as monitoring public places, crowd analysis, and security surveillance.

Requirements

  • Python 3.x
  • OpenCV (cv2)
  • NumPy
  • Ultralytics (for YOLO model)
  • PyTorch (for YOLOv5 model)

Installation

  1. Clone the repository:
git clone <https://github.com/Jacob-Pitsenberger/Filtered-Person-Detection-in-Video-Stream-with-YoloV8-or-YoloV5.git>
cd <Filtered-Person-Detection-in-Video-Stream-with-YoloV8-or-YoloV5>
  1. Install the required packages:
pip install opencv-python numpy ultralytics torch

Usage

To run the Realtime People Detection in Video Feed System, use the main.py script:

python main.py

You will be prompted to select the YOLO model version to use (v5 or v8). The system will then open your default camera feed and start detecting and counting people in real time. To stop the program, press 'q'.

Configuration

You can adjust the confidence threshold for person detection by modifying the CONFIDENCE_THRESHOLD attribute in the PeopleDetector class of people_detector.py.

Model Versions

YOLOv5: A lightweight version of YOLO that provides real-time inference with good accuracy. YOLOv8: A more advanced version of YOLO that may offer better performance at the cost of increased complexity and inference time.

License

This project is licensed under the MIT License.

Acknowledgments

Special thanks to the developers of the YOLO models and the Ultralytics library for making this project possible.

filtered-person-detection-in-video-stream-with-yolov8-or-yolov5's People

Contributors

jacob-pitsenberger avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ai-drone-study

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.