Custom Detector Mask just returns Bounding Box

I tried to extract the mask from my Custom Detector. At the function

if object.mask.is_init():
    mask_data = object.mask.get_data()

but I only get back the bounding box. Does anyone have experience with this? What did go wrong here?

Hi @Phyrokar,

Are you using our custom detector sample? (like, what’s the code surrounding your lines?)
Also, what is the exact output of object.mask.get_data() ?