Coder Social home page Coder Social logo

ejigsonpeter / dji-tello-object-detection-segmentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dronefreak/dji-tello-object-detection-segmentation

0.0 1.0 0.0 926 KB

This Git repo allows to implement the state-of-the-art MaskRCNN algorithm for instance segmentation on the video feed from DJI-Tello drone.

Python 100.00%

dji-tello-object-detection-segmentation's Introduction

Mask-RCNN

Implement Real-Time Semantic Segmentation with Mask_RCNN.

Requirements

  • Ubuntu 18.04
  • Python 3.6
  • Tensorflow 1.9
  • Keras 2.1.6
  • OpenCV 4.0

The algorithm has been tested on the above mentioned configuration, but I'm pretty sure that other combinations would also work effectively. But please make sure that you have TF/Keras combination as mentioned above. Opencv 3.4 would suffice.

This implementation would work better if you have a GPU in your system and use CUDA-accelerated learning. In a MSI laptop with 1050Ti (4 GB with 768 cuda cores), i5-8220 and 8GB RAM, the FPS obtained is 4.637.

Also, in order to test it on a Tello, make sure that you have the drone turned on and connected to its WiFi network. Once you esecute this code, press TAB to take-off and BACKSPACE to land. Other manual navigation commands are given in the header of the python code.

Getting Started

Install Dependencies (Not Mentioned Above)

$ sudo -H pip3 install -r requirements.txt
$ sudo -H pip3 install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

Using pre-trained weights for MS COCO

It is included in {telloCV-masked-rcnn.py} that downloading the pre-trained weights for MS COCO.

Run Demonstration

$ python3 telloCV-masked-rcnn.py

Alternatively, you could download the weights file from here.

Mask RCNN COCO Object detection and segmentation

dji-tello-object-detection-segmentation's People

Contributors

dronefreak avatar

Watchers

 avatar

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.