Tracking code for the Tello drone. It uses opencv and tellopy to identify a ball in the scene and then send commands to the drone. It is written in python3 and
You need to have opencv installed and the following python modules for the tello and cv2: apt
sudo apt install sudo libopencv-dev python3-opencv
pip3:
sudo pip3 install imutils pynput
you need to build tellopy from source as the : Or install from the source code.
git clone https://github.com/hanyazou/TelloPy
cd TelloPy
python setup.py bdist_wheel
pip install dist/tellopy-*.dev*.whl --upgrade
hit r to record a video it is output to