2018-07-23 07:22:40 -0600 | marked best answer | Object detection using OpenCV Hello everyone, I'm trying to do pattern recognition from some images and it's not working. I have my drone with a bottom camera, and the camera is connected to a ROS node. Using cv_bridge I converted the image from a ROS format to an OpenCV format, but what I have to do now is to detect if a determined pattern (learned previously) is in the image. In the ROS node it appears a different image each 0.02 second (I can change the frequency). The pattern will stay on the floor, so what can be done is to detect the variance of the image (for example, the floor or the sea will have low variance, and the pattern that I set on the floor will have high variance (for example, a pattern like a chess table)). This is the code that I'm using (http://wiki.ros.org/cv_bridge/Tutoria...): but that code just prints the image and puts a red circle on the upper left corner, so what has to be modified is this part: I would like if you can help me. This is just the beginning of the project, then I have to take decisions in order to what is seen, and so on. If you don't have a code that does what I need, please provide me some links or books or whatever that can help me (I've been 2 days trying to make this work and I couldn't). EDIT: So I need your help in the OpenCV part (if you know about ROS it would be much better, but I can try to do the translation between OpenCV and ROS): imagine that a different image come to your program each 0.02 seconds and you ... (more) |
2018-07-22 00:24:17 -0600 | commented question | Object detection using OpenCV Thanks. I will use that samples and I hope it works. I need ROS because I need to program a real drone, and I'm using a |
2018-07-21 14:36:32 -0600 | commented question | Object detection using OpenCV Oh yes. I think this is the solution. Have you ever worked with that? |
2018-07-21 13:26:29 -0600 | commented question | Object detection using OpenCV Oh yes. I think this is the solution. Have you ever worked with them? |
2018-07-21 12:39:16 -0600 | commented question | Object detection using OpenCV Thanks for your answer. I edited the main post, so I hope it's more clear now :) |
2018-07-21 12:38:45 -0600 | received badge | ● Editor (source) |
2018-07-21 12:38:45 -0600 | edited question | Object detection using OpenCV Object detection using OpenCV Hello everyone, I'm trying to do pattern recognition from some images and it's not workin |
2018-07-21 11:20:40 -0600 | asked a question | Object detection using OpenCV Object detection using OpenCV Hello everyone, I'm trying to do pattern recognition from some images and it's not workin |