Chain code in opencv

asked 2016-02-22 08:09:32 -0500

bob409 gravatar image

Can someone please guide me on how to extraction chain code feature from a hand contour polygon approximation.image description.

I have seen that other people have asked the same question on this forum but no one really helped them. I know how chain code works, I just wanted to know if there is a function in opencv which extracts the chain code of the hand shape. Or if someone can provide me with a sample code on how to implement it.

edit retag flag offensive close merge delete


convexityDefects doesn't help you?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-22 09:19:36 -0500 )edit

I am trying to implement a system similar to what is stated in this paper They have used chain code

bob409 gravatar imagebob409 ( 2016-02-22 09:54:19 -0500 )edit

IMHO the chain code is for creating the contour... and in the approximation part see docs then for the interpretation of the thing is svm part...Contours are used for detecting the roi, isn't it?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-23 07:43:40 -0500 )edit