Giter Site home page Giter Site logo

dronefreak / dji-tello-target-tracking Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 8.0 1.16 MB

Real-time target tracking for DJI-Tello using HSV color masking

License: MIT License

Python 100.00%
target-tracking dji-tello real-time image-processing computer-vision

dji-tello-target-tracking's Introduction

TelloCV Target Tracker

This code provides a tracking algorithm for DJI-Tello. Targets are tracked in HSV color space. There is no learning involved in this project. Hardcoded for green balls for now, but the masks can be changed as per requirements.

Dependancies

You need to have TelloPy and OpenCV installed in your system. You could either do a simple pip3 installation:

sudo pip3 install imutils pynput opencv-python tellopy

or compile from source if you want to use other features of the library. You could also compile tellopy from source like this:

git clone https://github.com/hanyazou/TelloPy
cd TelloPy
python setup.py bdist_wheel
pip install dist/tellopy-*.dev*.whl --upgrade

Usage

python3 telloCV-for-tracking.py

Take-off the drone by pressing TAB and press L to begin tracking. Once done, press BACKSPACE to land.

Flight Rules

  • Although tellos are very safe to operate, wear safety glasses as an added precaution
  • Do not fly over people
  • Memorize the controls before taking off. The controls are mentioned in the tracking codes.
  • Always be ready to land the drone (backspace)
  • If the program crashes restart it to regain control
  • If drone is going out of control just hit it and it will turn off.

Recording Videos

Press R to toggle recording and press again to finish. The recorded videos and pictures are saved in /Pictures

Mask RCNN COCO Object detection and segmentation

dji-tello-target-tracking's People

Contributors

dronefreak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dji-tello-target-tracking's Issues

Can't install AV dependency

AV installation is not listed on README instructions, is it necessary? How do I include it in my project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.