Skip to content

It's a computer vision project, to track and then replay the pool game balls movements

Notifications You must be signed in to change notification settings

kingshark8848/UNSW-COMP9517-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Intro

It's a computer vision project, to track and then replay the pool game balls movements. Tech:

  • Python3
  • OpenCV
  • Computer Vision knowledge

Running Environment

python 3.4+ OpenCV 3.1+

File Structure & Intro

colorAnalyze.py

system use it to analyze color features of training image data (table/balls)

command line:

python3 colorAnalyze.py -m hsv -i test_data/game1/frame76.png
python3 colorAnalyze.py -m hsv -i test_data/game2/5_sample.png

imutils.py

some util functions.

config.py

basic configuration for running program.

video.py:

includes all classes/functions used in video process (ball detection/tracking)

sim.py

includes all classes/functions used in simulation

projection.py

includes all functions used in projection

run.py

run the program command line:

python3 run.py

Demo

https://www.youtube.com/watch?v=59PP81YF9_g

About

It's a computer vision project, to track and then replay the pool game balls movements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages