Giter Site home page Giter Site logo

realtime-object-detection-and-tracking-with-yolov8-and-strongsort's Introduction

Object Detection and Tracking with YOLOv8 and StrongSORT: Drone-Captured Data

This repository showcases my graduate thesis project focused on leveraging YOLOv8 for real-time object detection and integrating StrongSORT for accurate object tracking. By harnessing drone-captured data, this project explores the synergy between advanced computer vision algorithms and aerial imagery, opening up new possibilities for surveillance, mapping, etc.

Imgur

Installation

  1. Create python virtual enviroment:
python -m venv [venv_name]
source [venv_name]/scripts/activate
  1. Clone this repository:
git clone https://github.com/lakyfarky/Realtime-object-detection-and-tracking-with-YOLOv8-and-StrongSORT.git
cd 'Realtime-object-detection-and-tracking-with-YOLOv8-and-StrongSORT'
  1. Install PyTorch (CUDA 11.8, skip if don't have NVIDIA GPU with CUDA support):
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
  1. Install Ultralytics (YOLOv8):
pip install Ultralytics
  1. Install Boxmot (StrongSort):
pip install boxmot

EL-YOLOv8

To utilize EL-YOLOv8s model follow next steps:
  1. Copy ESPP.py into ultralytics/nn/modules/block.py and add ESPP in special attribute:
__all__ = ('ESPP', 'DFL', 'HGBlock', 'HGStem', 'SPP', 'SPPF', 'C1', 'C2', 'C3', 'C2f', 'C3x', 'C3TR', 'C3Ghost',
           'GhostBottleneck', 'Bottleneck', 'BottleneckCSP', 'Proto', 'RepC3')
  1. Add ESPP to ultralytics/nn/modules/__init__.py
from .block import (ESPP, C1, C2, C3, C3TR, DFL, SPP, SPPF, Bottleneck, BottleneckCSP, C2f, C3Ghost, C3x, GhostBottleneck,
                    HGBlock, HGStem, Proto, RepC3)
  1. Add ESPP to ultralytics/nn/models/task.py
from ultralytics.nn.modules import (ESPP, AIFI, C1, C2, C3, C3TR, SPP, SPPF, Bottleneck, BottleneckCSP, C2f, C3Ghost, C3x,
                                    Classify, Concat, Conv, Conv2, ConvTranspose, Detect, DWConv, DWConvTranspose2d,
                                    Focus, GhostBottleneck, GhostConv, HGBlock, HGStem, Pose, RepC3, RepConv,
                                    RTDETRDecoder, Segment)

Used Repositories

Here are the repositories that I've used in this project:

  1. Ultralytics

  2. Boxmot

  3. VisDrone2019

realtime-object-detection-and-tracking-with-yolov8-and-strongsort's People

Contributors

lakyfarky avatar

Stargazers

Gong Tao avatar Kevin Elisha avatar  avatar

Watchers

 avatar

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.