Skip to content

A script to track players,ball and goal scoring with AI using Yolo and open cv

License

Notifications You must be signed in to change notification settings

scapula07/Ai-football-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Clone the repository

  • Install the ultralytics package

pip install ultralytics
  • For macos

      export PATH="/Library/Frameworks/Python.framework/Versions/3.10/bin:$PATH"
       /bin/chmod +x /usr/local/bin/yolo
    
    
  • Do Tracking with mentioned command below

video

yolo task=detect mode=predict model=yolov8m-football.pt conf=0.25 imgsz=1280 line_width=1 source=test.mp4 show=true
yolo task=detect mode=predict model=yolov8s-football.pt conf=0.25 imgsz=1280 line_width=1 source=test.mp4 show=true

Get the model files here: https://drive.google.com/drive/folders/1AqfV35JcWXoxOOpAv8O_9wF57xmXbZVZ?usp=share_link

About

A script to track players,ball and goal scoring with AI using Yolo and open cv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published