Skip to content

Add YOLOv8 object detection support - #71

Merged
RizwanMunawar merged 5 commits into
mainfrom
yolov8-support
Nov 1, 2025
Merged

Add YOLOv8 object detection support#71
RizwanMunawar merged 5 commits into
mainfrom
yolov8-support

Conversation

@RizwanMunawar

@RizwanMunawar RizwanMunawar commented Nov 1, 2025

Copy link
Copy Markdown
Owner
  • Added YOLOv8 support for inference.
  • Updated the readme.
  • Updated the license

@RizwanMunawar RizwanMunawar self-assigned this Nov 1, 2025
@RizwanMunawar RizwanMunawar added enhancement New feature or request python Pull requests that update python code devops Development operations labels Nov 1, 2025
@RizwanMunawar RizwanMunawar changed the title Add YOLOv8 support Add YOLOv8 object detection support Nov 1, 2025
@RizwanMunawar
RizwanMunawar requested a review from Copilot November 1, 2025 07:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Ultralytics YOLOv8 models to the YOLOv7 object tracking codebase and updates the license from GPL v3 to AGPL v3.

  • YOLOv8 detection capability added with automatic model type identification
  • Download utility enhanced to support YOLOv8 weight files
  • License changed from GNU GPL v3 to GNU AGPL v3

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
utils/torch_utils.py Modified select_device to accept dynamic model name parameter instead of hardcoded "YOLOv7"
utils/download.py Added YOLOv8 weights URL and conditional URL selection based on filename
detect.py Added model type detection logic, YOLOv8 inference path using ultralytics library, and fixed download call to pass filename parameter
README.md Updated documentation to announce YOLOv8 support and provide usage example
LICENSE Changed from GNU GPL v3 to GNU AGPL v3

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread utils/download.py Outdated
Comment thread detect.py Outdated
Comment thread detect.py
@codecov

codecov Bot commented Nov 1, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (030ecd7) to head (692f90a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #71   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           14        14           
=========================================
  Hits            14        14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@RizwanMunawar
RizwanMunawar requested a review from Copilot November 1, 2025 08:56

This comment was marked as outdated.

@RizwanMunawar
RizwanMunawar merged commit f918a84 into main Nov 1, 2025
15 checks passed
@RizwanMunawar
RizwanMunawar deleted the yolov8-support branch November 1, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops Development operations enhancement New feature or request python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants