How can I get the contour of an image?

Is there a way to get just the contour of an image in TD?

I haven’t used it in TD, but OpenCV is built in I think.

https://docs.derivative.ca/OpenCV

It looks like there was(?) a contour sample in this repo linked from above but doesn’t seem to be in the current latest commit on main.

There is some good info on the OpenCV tutorials about starting with contours, if you haven’t used CV libraries before, getting familiar with what you can do with OpenCV will definitely help a lot.

1 Like

Hi @RamixJG,

could the Trace SOP work for you? Some examples are in OP Snippets.

cheers
Markus

2 Likes