I have trained an object detection model to detect fingertips of hand. I have extracted the fingertips from the bounding box coordinates. Here is what I got:
Now I want to get the binary mask from these images, which include only the region of fingertip. I have tried these approaches and did not get satisfactory results.
- Used canny edge detector approach.
- Used Grabcut approach.
- Normalized image, then extracted h channel from HSV to find the largest contour.
I want to extract the fingertip region from these bounding boxes, I am currently lost, will appreciate any leads in the right direction.
CodePudding user response:
As a further option, you can try normalizing the same A-channel and proceed further.
Also have a look at this post on how to segment green color.