Ask Your Question

Revision history [back]

Detected object removal

Hi,

I would to remove this object table leg from photos like this example1 but, more importantly, this example 2.

I am using find contours and canny detection for background removal but I have problems with this object because many times shoes have a white sole and is difficult to separate it from the object.

I am a bit new to computer vision, right now I am trying to train a haar clasifier to identify the object, but I am not sure, event if it works, how could I remove the detected object from the final image.

I have tried before with template matching but any minimum variation break detection, I tested with surf but the object appears to be an object without interest with few keypoints, I need to identify the borders too so I am not sure keypoint detection would help me anyway.

Any ideas please? I can use a combination of solutions if OpenCV doesn't have the needed bits to make this work. Thanks!