Jump to content

Object detection

aditya_veluri's Photo
Posted Mar 04 2011 11:20 PM
2342 Views

Well..what i basically need is an object detection algorithm. this is my applicatiion:

i am building a mobile robot that is capable of automatically moving from one place to another with the help of an on board GPS. so for path planning operations, the live video feed from the webcam is taken and i am planning to implement various image processing techniques to enable path planning. now here is my problem:

from the video input i was successfully able to determine all the borders of the image but to segregate it into objects is where i am currently facing a problem. what i basically need is a closed contour and that can be an object for me. if the borders meet in a closed path or are a part of the border of the image that would be an object for me. what i plan to do is to mark all the objects in black and the rest of the areas or as i call them "safe areas" where the robot can move in white. after this its basically path planning which is another problem all together. but for now, this is what im stuck with.

how do you recognize the objects from the given image?..i have done the borders of the image like i already mentioned but to proceed from there is where i am stuck.

additional information:

i am using processing for all the image processing operations and further also to control the robot by interfacing it with an arduino microcontroller. all the codes on the arduino are pretty standard ones that you must be familiar with.

anything else you need please ask. if you can help me in any manner it would be of great help.

thanks!..:)

Tags:
1 Subscribe


1 Reply

0
  odewahn1's Photo
Posted Mar 14 2011 11:12 AM

Hi. You need to use a vision library like OpenCV. This article describes how to use it in Processing:

http://blog.makezine...ith-opencv.html

However, rather than detecting faces, you need to detect blobs. This is very similar to decting faces, but is more general. The docs are here:

http://ubaa.net/shar...encv_blobs.html

Hope this helps!