Compare contour with reference


I am looking for a way of comparing the output of the contour node with a reference contour (like a square or a simple shape).

So it would act like a very basic shape tracking tool.

(example I only want to track perfect squares or circles)

Any idea ?

Thank you very much !

Anyone ?.. no text …

ja, you could do it with opencv, writing a freeframe plugin.
on this site look for MatchContourTrees

Hi, depending on your needs - this is a very basic shape tracking. No size or rotation normalization, though.
Anyway may be you can need it.

shape_tracking.v4p (23.4 kB)