I'm curious to know what would be a good approach for getting the masks of objects in an image in which we only have many instances of one object (see the image), but just for the instances in which the whole shape is visible.
I've already tried Mask-RCNN and annotated the fully visible objects for a handful of images.
However, apparently, Mask-RCNN does not care about the fact that I'm interested in getting the masks for the items which are fully visible. It tries to find all the objects, even those which are partially visible, and gives me the all the masks.
After weeks of try and error, I got a proper result by doing the followings:
This gives a roughly accurate answer. However, I'm still curious to know whether there's a better approach or not.