Ask Your Question

Revision history [back]

If you can specify the area in general (such as a slightly larger area than the object), you can perform thresholding to convert the image into foreground and background. Then, apply blob analysis (using the cvBlobsLib add on for OpenCV) and extract the outline of the object.