/opencv-ball-detection

This will be used to detect tennis balls from a video feed

Primary LanguageMakefile

opencv-ball-detection

This will be used to detect tennis balls from a video feed.

Note: you will need to have opencv and cmake installed.

sudo apt-get install libopencv-dev
sudo apt-get install cmake

Build Instructions

  1. Clone this repo
git clone https://github.com/UofA-SPEAR/opencv-ball-detection.git
cd opencv-ball-detection
  1. Create a build directory, run cmake, then run make
mkdir build
cd build
cmake ..
make
  1. Run the compiled program
cd ..
./build/main tennis.jpg