Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to give mowing contours an unique id? Ideas needed :-)

Hello, I have a video of moving persons and I get the contours of them by background substraction.

At the moment with every new frame a contour gets, depending on the new position, another position in the contours vector.

How can I achieve that eyery contour can be identified with an unique id while mowing?

My idea is to use moments to calculate the size and center of every contour and then to identify the contours in the new frame fitting best togehter with size and center position.

Is there any better approach? Thank you very much :-)

click to hide/show revision 2
No.2 Revision

updated 2015-06-05 07:33:40 -0600

berak gravatar image

How to give mowing moving contours an unique id? Ideas needed :-)

Hello, I have a video of moving persons and I get the contours of them by background substraction.

At the moment with every new frame a contour gets, depending on the new position, another position in the contours vector.

How can I achieve that eyery contour can be identified with an unique id while mowing?

My idea is to use moments to calculate the size and center of every contour and then to identify the contours in the new frame fitting best togehter with size and center position.

Is there any better approach? Thank you very much :-)