Skip to content

OGTripleK/UAV-Quadcopter-Drone-Face-Tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

UAV Quadcopter Drone - Face Tracking

Created by Parsawit Deshwattanatham and Jessakorn Paopatimakorn under supervision of Professor Dr.Eng.Ryo TANAKA


Required Libraries

  • pyqt5 pip install pyqt5
  • pynput pip install pynput
  • numpy pip install numpy
  • cv2 pip install cv2
  • djitellopypip install djitellopy
  • threading pip install threading

Content


Instruction on how to use script.

Setting Up Guide Video : Youtube Link

1.) Download final_v6.zip

image

2.) Extract final_v6.zip

image

*** Note : Please put everything in same folder.

3.) Add Final_v6 folder into Exclusion of Window Defenders

  • how to add folder to exclusion list --> Click here

image

*** Note : We use keylogging method to grab keyboard input to control the drone. ***

4.) Turn on Tello drone and connect to Tello drone.

image

5.) run main.py on any IDE.

image

6.) GUI will be shown right after script ran

image

*** IMPORTANT : TELLO DRONE MUST BE CONNECTED TO PC BEFORE RUNNING, OTHERWISE ERROR WILL OCCOURED.


Drone Controller GUI guide

  • Battery and Temperature are displayed on top-right of the GUI.

image

  • Keymapping of Keyboard Control on Manual Mode.

image

  • Drone Speed Modifier on Manual Mode(50 / 75 / 100).

image

  • Global Control of both Auto and Manual Mode.

image

  • Safety Policy Check, Must be checked in order to connect to the drone.

image

  • Control Method, Choose the way to control the drone (Default is Auto Mode).

image

  • Auto Take Off and Auto Landing, This only work on Auto Mode.

image

  • Connect Drone Button, Use this to connect to drone with selected mode.

image

  • All drone information are shown on this section.

image

  • Drone Camera when connected are show in this section.

image

  • To fully kill the process, you MUST kill the terminal.

image


Auto Mode Instruction

  • Connect to tello drone and run main.py

image image

  • Safety Check Policy must be all checked, then press connect.

image

  • After camera are shown, click "Auto Mode Take Off / Landing" to take off

image

  • After Drone take off, center your face at the middle of the drone camera and it will start tracking.

image

  • To land the drone, click "Auto Mode Take Off / Landing" again to land.

image

  • To disconnect drone, click "Connect" button again to disconnect.

image

  • To fully kill the process, you MUST kill the terminal.

image


Manual Mode Instruction

  • Connect to tello drone and run main.py

image image

  • Safety Check Policy must be all checked.

image

  • Select Manual Mode.

image

  • Click "Connect" button to connect to the drone.

image

  • After Connected, Use Keyboard to Control the drone. The Keymapping is shown in GUI.

image

  • To fully kill the process, you MUST kill the terminal.

image


Miscellaneous

  • After Captured pictures, the photo will be stored on 'Captured/'.

About

Tello Drone Face Tracker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published