Object detection - AR.Drone [closed]
Hello everyone,
In Gazebo, I have an AR.Drone 2.0 and a map, and I can see with both cameras, and print them using OpenCV with the code provided here:
http://wiki.ros.org/cv_bridge/Tutoria...
In that code, a red circle is added to the original image. Now I want the camera to detect a predefined tag, for example:
I understand that I have to modify the code above (the part where it draws the circle) with an algorithm that searches for that specific tag in the image and prints its result, but I don't know how to write that. One algorithm that I found is the TLD Predator (Tracking, Learning and Detection).
Thanks :D
What is your question?
The question is: how can I modify that code to do what I said previously?
This may not be, but it sounds like a homework problem.
What have you tried so far?
Nope. I’m working on a project (not for money!) and this is just part of it, but I’ve been reading about this the last 2 days and couldn’t find out exactly how to write it. I know how to read code in C++ but I have beginner level writing it. And writing a ROS code is even more difficult
I read about some algorithms (for example, TLD Predator) and also saw some thesis (for example one named visual control for an ardrone, or something like that). I need to have a code that detect patterns so I can modify it and do what I need. This is just a starting point
This is rather off-topic for this site. I'd say that you should ask on OpenCV Answers instead. Then, when you're ready ask about any issues that you're having with ROS on this site.
But I think that OpenCV people would say the same. The ROS part is more difficult, I can do (or investigate and study) the corresponding algorithm