Drone Color Tracking

Drone Color Tracking

This is about some experiments I’m doing using python and openCV and of course one of my drones… In this case the drone used for taking the videos, was my hexacopter (Alduxhexa).

The point is to explore different techniques and algorithms to track colours, objects and the follow them using a multicopter.

In the next video you will see my hexacopter flying with a GoPro pointing always down (to the ground). I want to be able to identify colours on the ground.

The code is available here.

openCV is a library of programming functions mainly aimed at real-time computer vision.

I’m using a HSV (hue-saturation-lightness) range of “whites” and then I use the function “inRange” to then get an region of possible color, if this region is large enough, then I marked and I can say the color has being found. The explanation could be more complex from what I just described, but its better to keep things simple.

In the code on my github, you can see other different examples, like face tracking, motion detection and even object detection, be sure to check them out!

AlduxHexa with a GoPro
AlduxHexa with a GoPro

Thanks to Murray for the above awesome photo of my hexacopter.

21 thoughts on “Drone Color Tracking

  1. You actually make it appear really easy along with your presentation however I to find this matter to
    be really one thing that I feel I would never understand. It seems too complex
    and very broad for me. I’m taking a look forward in your next post,
    I’ll try to get the dangle of it! Najlepsze escape roomy

  2. This is the right website for anyone who wants to understand this topic. You understand a whole lot its almost hard to argue with you (not that I actually will need to…HaHa). You definitely put a new spin on a subject that has been written about for decades. Wonderful stuff, just wonderful.

  3. Right here is the right webpage for everyone who really wants to find out about this topic. You realize a whole lot its almost hard to argue with you (not that I actually will need to…HaHa). You certainly put a new spin on a topic that’s been discussed for many years. Great stuff, just wonderful.

  4. You made some good points there. I checked on the web to learn more about the issue and found most individuals will go along with your views on this website.

  5. After I initially commented I seem to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I get 4 emails with the same comment. Is there an easy method you can remove me from that service? Thanks a lot.

  6. Spot on with this write-up, I absolutely think this site needs a lot more attention. I’ll probably be returning to read through more, thanks for the information!

  7. Hi, I do believe this is an excellent website. I stumbledupon it 😉 I may revisit once again since i have bookmarked it. Money and freedom is the best way to change, may you be rich and continue to help others.

  8. Hi there! I could have sworn I’ve been to this web site before but after browsing through some of the posts I realized it’s new to me. Anyways, I’m certainly delighted I came across it and I’ll be book-marking it and checking back frequently.

  9. Oh my goodness! Awesome article dude! Thank you, However I am experiencing troubles with your RSS. I don’t understand the reason why I am unable to join it. Is there anyone else getting similar RSS issues? Anybody who knows the answer will you kindly respond? Thanx.

Leave a Reply

Your email address will not be published. Required fields are marked *