How to do a mask or how to transform found contours to filled circles?
How to transform all the contours found in a frame to a filled circle?
Let me explain, my video has many small objects, and it is hard to detect using Mosse tracking, because my objects change its form. So I had an idea, change all the found contours to filled circles, it means, convert all this objects found on this image : http://imgur.com/GiPmatl,JGsJX2C to something like this : http://imgur.com/GiPmatl,JGsJX2C#1 .
I am using python.
may i know what have you tried to do so?
have you tried fitellipse? Does it solve your problem?