Home > Back-end >  Obtaining binary mask of skin from bounding box
Obtaining binary mask of skin from bounding box

Time:05-25

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:

enter image description here enter image description hereenter image description here

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:

You can opt for the enter image description here enter image description here enter image description here

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.

  • Related