#Drone 🚁 – Detect Squirrels 🐿️ and Space Wolves 🐺 from a drone camera using Python 🐍
Tags: englishpost, codesample, customvision, drone
Published: 2022-02-25 14:12:32

---
title: #Drone 🚁 – Detect Squirrels 🐿️ and Space Wolves 🐺 from a drone camera using Python 🐍
published: true
date: 2022-02-24 20:35:41 UTC
tags: EnglishPost,CodeSample,CustomVision,Drone
canonical_url: 
---

Hi !

In a couple of hours, I’ll host a session where I show how to control a drone using Python 🐍; and also how to access the drone camera and apply AI on top of the camera feed.

#### [Python SWFL – Let’s code a drone to follow faces](https://www.meetup.com/pythonswfl/events/283692140)

In example, this is the drone doing a simple face detection on me (in my old office)

![animation of the drone performing face detection](https://brunocapuano.files.wordpress.com/2022/02/image-1.png?w=490)

If you want to know more, I write a lot about how to do this using Python and OpenCV, please check the references section.

And in the meantime, here is the full final demo.

{% gist 
https://gist.github.com/elbruno/d21d4db4002c8910dcee931acb2da03b %}

Happy coding!

Greetings

El Bruno

* * *

## Coding4Fun Drone 🚁 posts

1. [Introduction to DJI Tello](https://elbruno.com/2020/02/03/coding4fun-how-to-control-your-drone-with-20-lines-of-code-1-n/)
2. [Analyzing Python samples code from the official SDK](https://elbruno.com/2020/02/04/coding4fun-how-to-control-your-drone-with-20-lines-of-code-2-n/)
3. [Drone Hello World ! Takeoff and land](https://elbruno.com/2020/02/10/coding4fun-how-to-control-your-drone-with-20-lines-of-code-3-n/)
4. [Tips to connect to Drone WiFi in Windows 10](https://elbruno.com/2020/02/11/coding4fun-how-to-control-your-drone-with-20-lines-of-code-4-n/)
5. [Reading data from the Drone, Get battery level](https://elbruno.com/?p=30977)
6. [Sample for real time data read, Get Accelerometer data](https://elbruno.com/?p=30984)
7. [How the drone camera video feed works, using FFMPEG to display the feed](https://elbruno.com/2020/02/17/coding4fun-how-to-control-your-drone-with-20-lines-of-code-7-n/)
8. [Open the drone camera video feed using OpenCV](https://elbruno.com/?p=31026)
9. [Performance and OpenCV, measuring FPS](https://elbruno.com/?p=31037)
10. [Detect faces using the drone camera](https://elbruno.com/?p=31119)
11. [Detect a banana and land!](https://elbruno.com/?p=31148)
12. [Flip when a face is detected!](https://elbruno.com/?p=31168)
13. [How to connect to Internet and to the drone at the same time](https://elbruno.com/?p=31305)
14. [Video with real time demo using the drone, Python and Visual Studio Code](https://elbruno.com/2020/04/10/coding4fun-how-to-control-your-drone-with-20-lines-of-code-14-n-globalaicommunity-virtual-tour-recorded-session/)
15. [Using custom vision to analyze drone camera images](https://elbruno.com/2020/04/24/coding4fun-how-to-control-your-drone-with-20-lines-of-code-15-n/)
16. [Drawing frames for detected objects in real-time in the drone camera feed](https://elbruno.com/?p=31380)
17. [Save detected objects to local files, images and JSON results](https://elbruno.com/?p=31396)
18. [Save the Drone camera feed into a local video file](https://elbruno.com/?p=31430)
19. [Overlay images into the Drone camera feed using OpenCV](https://elbruno.com/2020/05/07/coding4fun-how-to-control-your-drone-with-20-lines-of-code-19-n/)
20. [Instance Segmentation from the Drone Camera using OpenCV, TensorFlow and PixelLib](https://elbruno.com/2020/05/21/coding4fun-how-to-control-your-drone-with-20-lines-of-code-20-n/)
21. [Create a 3×3 grid on the camera frame to detect objects and calculate positions in the grid](https://elbruno.com/2020/06/05/coding4fun-how-to-control-your-drone-with-20-lines-of-code-21-n/)
22. [Create an Azure IoT Central Device Template to work with drone information](https://elbruno.com/2021/01/18/coding4fun-how-to-control-your-drone-%e2%9c%88-with-20-lines-of-code-22-n-azureiot/)
23. [Create a Drone Device for Azure IoT Central](https://elbruno.com/2021/01/19/coding4fun-how-to-control-your-drone-%e2%9c%88-with-20-lines-of-code-23-n-azureiot/)
24. [Send drone information to Azure IoT Central](https://elbruno.com/2021/01/20/coding4fun-how-to-control-your-drone-%e2%9c%88-with-20-lines-of-code-24-n-azureiot/)