I am trying to find the contour of hand using the built in function found in opencv but the contour obtained is not defined properly. It lacks information.

The two fingers towards the fist are not clearly visible on the contour obtained. Can you suggest me what can be done to obtain a proper defined contour.
I want to get something like this.

↧