Opencv for object tracking, form and color detection
Hello Opencv fans ! I'm a newbie at this and I've just succeeded in installing and compiling my very first program (yeay ^_^ ). My project is to use opencv for computer vision in a robot with a simple webcam. The robot has to collect blue balls scattered throughout the field so I have to master form and color recognition as well as moving object tracking. I'm asking for tutorials, tips, advice, anything that would help me in my endeavor. Thank you guys, and I'm waiting for your replies :)
It actually depends all on the type of input images, could you pass us an example before we suggest approaches in order to solve this question more specific?
I would like to be able to capture frames from my webcam and then tresholding them into blach and white where the white spot would correspond to the blue ball and black to everything else. Then I would like to determine the blue ball's real time coordinates and track its movement. I would like also to be able to recognize a blue ball from a blue cube for example so I need to detect forms as well. To put it simply my main objective is to track several blue ball-like objects and follow them.
I did got that, but it depends on the environment of where you want to track blue balls. There is a huge difference in tracking a ball on a playfield with tons of children, compared to tracking a blue ball in a white room :) So just grab a single picture of your situation and post it here?
Sorry I didn't understand before. I can't post picture right now because appearently I have to wait Two days so here's a link of the field where the contest is happening : http://s16.postimg.org/ptjkk88vp/robot1.png I'd like to be able to track the balls and recognize the red zone from the green one. For obstacle avoidance I'm gonna go with Sensors (IR or US). Thank you again.