extracting an object from various object in background [closed]
*I have to extract an object (Eg. ball) from a group of same object in an image or in a frame of a video.
What steps/ extraction algorithm can be followed? how can i define a paticular object?*
I think, you need first to detect it, so there are more possibilities. Using a cascade detector, for example. Then you'll have the region of the object, so you can do
img(roi)
.