Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

edge detection filters, like sobel or canny will give you only an image with edges in .

i guess, you want something like an outline, so look at findContours .

your pipeline will look like this:

  • grayscale
  • binarize (threshold, compare,canny,etc)
  • findContours
    • process the vector of contours