This is a Raspberry Pi OpenCV python tutorial for detecting the FRC Stronghold target.
I like to run with a headless pi - one that is not connected to a monitor, keyboard and mouse, and is only operated remotely. I suggest this tutorial to set it up. The VNC server is essential to running with the desktop remotely.
Here I followed this tutorial and it worked great for installing OpenCV 3.1.1
Install git by typing: sudo apt-get install git
Then clone this project by typing: git clone https://github.com/kevinabrandon/StrongholdTargetFinder.git
To run a program simply type python
followed by the filename of the program:
python 00-ShowCamera.py