{"id":21710068,"url":"https://github.com/gervasioamy/tello-test","last_synced_at":"2025-04-12T17:30:33.410Z","repository":{"id":75665339,"uuid":"177892810","full_name":"gervasioamy/tello-test","owner":"gervasioamy","description":"PoCs to place all together: Go, DJI Tello drone, gobot and gocv","archived":false,"fork":false,"pushed_at":"2019-09-11T11:05:59.000Z","size":159717,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-07T02:14:13.563Z","etag":null,"topics":["caffemodel","dji-tello","ffmpeg","gobot","gocv","opencv"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gervasioamy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-27T01:01:49.000Z","updated_at":"2024-06-19T08:57:34.351Z","dependencies_parsed_at":"2023-06-07T07:15:28.926Z","dependency_job_id":null,"html_url":"https://github.com/gervasioamy/tello-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gervasioamy%2Ftello-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gervasioamy%2Ftello-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gervasioamy%2Ftello-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gervasioamy%2Ftello-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gervasioamy","download_url":"https://codeload.github.com/gervasioamy/tello-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248604876,"owners_count":21132067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caffemodel","dji-tello","ffmpeg","gobot","gocv","opencv"],"created_at":"2024-11-25T23:10:57.863Z","updated_at":"2025-04-12T17:30:33.381Z","avatar_url":"https://github.com/gervasioamy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DJI Tello test\n\n![tello](https://product4.djicdn.com/uploads/photos/33900/medium_851441d0-f0a6-4fbc-a94a-a8fddcac149f.jpg)\n\nThis repo was created to do some PoCs to place all toghrther: [Go](https://golang.org/), [DJI Tello](https://store.dji.com/product/tello) drone, [gobot](https://gobot.io/) and [gocv](https://gocv.io/)  \n  \n## /facetracking\nThis is a simple program that just let the Tello drone detect a face and follow it automatically. You can also control the Tello drone from the keyboard\nStack:\n - OpenCV (via gocv) and caffe (for face detection)\n - [https://gobot.io/documentation/platforms/keyboard/](https://gobot.io/documentation/platforms/keyboard/)\n - [https://gobot.io/documentation/platforms/tello/](https://gobot.io/documentation/platforms/tello/)\n - [ffmpeg](https://ffmpeg.org/) for video compression\n\n#### Set up\nBefore starting, you must have installed:\n - [ffmpeg](https://ffmpeg.org/download.html)\n - OpenCV: it can be installed by installing gocv [https://gocv.io/getting-started/](https://gocv.io/getting-started/)\n\n#### How to run it?\nFirst, connect to the drone's Wi-Fi network from your computer. It will be named something like \"TELLO-XXXXXX\".\nThen, run the program: \n`go run ./facetracking/facetracking.go`\n\n#### How it works?\nOnce program is started it, opens a window where video from the Tello drone will be streamed.\n\nIt is also listening for any key pressed on the console to control the drone:\n\n| Key    |  Action   | \n|--------|-----------|\n| 1 | take off | \n| 2 | take off by throwing it up | \n| Q | land |\n| ⬅ | rotate left | \n| ➡ | rotate right |\n| ⬇ | go down |\n| ⬆︎️ | go up |\n| W | forward |\n| S | Backward |\n| A | Left |\n| D | Right |\n| **T** | **Start / Stop face tracking** |\n| B | Battery indicator| \n| X | Stats (flight data) |\n| Spacebar | Hover |\n| ESC | Quit Program | \n\nSo, you need to:\n- run the program\n- then take off (`1` or `2`)\n- put your face in front of the Tello camera (you should see a rectangle in the video window)\n- then start tracking (`T`)\n- Move yourself so the drone can follow you _(consider slow movements as this program is not optimized yet to support very fast movements)_\n- Once you are done, then press `T` again to let the drone stop tracking\n\n### Credits\nThanks to [@deadprogram](https://github.com/deadprogram) for the [examples provided](https://github.com/hybridgroup/gobot/tree/master/examples)\nAlso this [blogpost](was helpful https://tellopilots.com/threads/face-tracking-with-tello-and-gocv.374/) was helpful\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgervasioamy%2Ftello-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgervasioamy%2Ftello-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgervasioamy%2Ftello-test/lists"}