Git Product home page Git Product logo

taking-pictures-with-tello-drones-using-python-and-opencv's Introduction

Taking Pictures with Tello Drones using Python and OpenCV

Author

Jacob Pitsenberger

December 28, 2023

Overview

This Python module demonstrates how to use OpenCV with the Tello EDU mini drone to stream video from its camera and save individual frames as PNG files when the 'p' key is pressed.

Project Structure

  • take_pictures.py: The main Python script containing the code for connecting to the Tello drone, streaming video, and capturing images.
  • pictures/: The directory where captured images are saved.

Requirements

  • Python 3.x
  • OpenCV (cv2)
  • DJITelloPy (djitellopy)
  • NumPy (numpy)

Usage

  1. Install the required dependencies:

    pip install opencv-python djitellopy numpy
  2. Connect to the Tello drone and run the script:

    python take_pictures.py

    Use the 'p' key to capture images during the drone's video stream.

Important Notes

Ensure that the Tello drone is connected to the computer's Wi-Fi network. Press 'q' to exit the video stream. Captured images will be saved in the pictures/ directory.

License

This project is licensed under the MIT License.

taking-pictures-with-tello-drones-using-python-and-opencv's People

Contributors

jacob-pitsenberger avatar

Stargazers

Epic Phelan avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

ai-drone-study

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.