https://github.com/bestsongc/yolov8-deepsort-streamlit

YOLOv8 Object Tracking and Counting using PyTorch, OpenCV and DeepSORT, deployed on Streamlit.

https://github.com/bestsongc/yolov8-deepsort-streamlit

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

YOLOv8 Object Tracking and Counting using PyTorch, OpenCV and DeepSORT, deployed on Streamlit.

Basic Info
  • Host: GitHub
  • Owner: Bestsongc
  • License: agpl-3.0
  • Default Branch: main
  • Homepage:
  • Size: 45.7 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of monemati/YOLOv8-DeepSORT-Streamlit
Created almost 3 years ago · Last pushed about 3 years ago

https://github.com/Bestsongc/YOLOv8-DeepSORT-Streamlit/blob/main/

# YOLOv8 DeepSORT Streamlit


Ultralytics CI YOLOv8 Citation Docker Pulls
Run on Gradient Open In Colab Open In Kaggle

## Introduction This repository supply a user-friendly interactive interface for [YOLOv8](https://github.com/ultralytics/ultralytics) with Object Tracking and Counting capability. The interface is powered by [Streamlit](https://github.com/streamlit/streamlit). ## Features - Feature1: Object detection task. - Feature2: Multiple detection models. `yolov8n`, `yolov8s`, `yolov8m`, `yolov8l`, `yolov8x` - Feature3: Multiple input formats. `Image`, `Video`, `Webcam` - Feature4: Multiple Object Tracking and Counting. ## Run online You can use [This](https://monemati-yolov8-deepsort-streamlit-app-et5bli.streamlit.app/) link to try an online version on Streamlit. ## Installation ### Create a virtual environment ```commandline # create python -m venv yolov8-mot-streamlit # activate source yolov8-mot-streamlit/bin/activate ``` ### Clone repository ```commandline git clone https://github.com/monemati/YOLOv8-DeepSORT-Streamlit.git cd YOLOv8-DeepSORT-Streamlit ``` ### Install packages ```commandline # Streamlit dependencies pip install streamlit # YOLOv8 dependecies pip install -e '.[dev]' ``` ### Download Pre-trained YOLOv8 Detection Weights Create a directory named `weights` and create a subdirectory named `detection` and save the downloaded YOLOv8 object detection weights inside this directory. The weight files can be downloaded from the table below. | Model | size
(pixels) | mAPval
50-95 | Speed
CPU ONNX
(ms) | Speed
A100 TensorRT
(ms) | params
(M) | FLOPs
(B) | | ------------------------------------------------------------------------------------ | --------------------- | -------------------- | ------------------------------ | ----------------------------------- | ------------------ | ----------------- | | [YOLOv8n](https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt) | 640 | 37.3 | 80.4 | 0.99 | 3.2 | 8.7 | | [YOLOv8s](https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8s.pt) | 640 | 44.9 | 128.4 | 1.20 | 11.2 | 28.6 | | [YOLOv8m](https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8m.pt) | 640 | 50.2 | 234.7 | 1.83 | 25.9 | 78.9 | | [YOLOv8l](https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8l.pt) | 640 | 52.9 | 375.2 | 2.39 | 43.7 | 165.2 | | [YOLOv8x](https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8x.pt) | 640 | 53.9 | 479.1 | 3.53 | 68.2 | 257.8 | ## Run ```commandline streamlit run app.py ``` Then will start the Streamlit server and open your web browser to the default Streamlit page automatically. For Object Counting, you can choose "Video" from "Select Source" combo box and use "test3.mp4" inside videos folder as an example. ## Result ![alt text](images/YOLOv8-DeepSort-Streamlit-Counting.jpg "YOLOv8 DeepSort Streamlit Counting") ## Acknowledgement - https://github.com/ultralytics/ultralytics - https://github.com/streamlit/streamlit - https://github.com/ZQPei/deep_sort_pytorch - https://github.com/JackDance/YOLOv8-streamlit-app - https://github.com/MuhammadMoinFaisal/YOLOv8-DeepSORT-Object-Tracking

Owner

  • Name: Bestsongc
  • Login: Bestsongc
  • Kind: user

GitHub Events

Total
Last Year