As stated in sinelaw, there is no simple, simple solution at all .
However, I can present one simple way that will work for your specific example .
- , . , ( , , ). . . , YUV , , , .
- . OpenCV cvFindContours. . , .
- , , 5. , , ( ) 4-5 ( ):

- OpenCV API
cvConvexityDefects. Go , . - , . 4 ( ). , , .