1 | initial version |
Hi, rahulvg ! How you finding largest contur ? Edge detection ? For this taks you can use skin detection (CvAdaptiveSkinDetector) and find largest contur of skin, if you not doing it now. After that you can crop largest cotur (bounding rect) and use HaarDetector on it. Or use HaarDetection for all image and calc how math skin on detected object. For hand hard to train haar cascade, because it can be in many different pose, but, you can try to do it. But, better, search some differen algoritm. Try to serch papers about it, its popular task. like finger-detection-in-human-hand or Palm position tracking,Hand and finger Tracking using OpenCV Computer Vision