(self, ann)
return m
Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask.
        :return: binary mask (numpy 2D array)
Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask.
        :return: binary mask (numpy 2D array)
Convert annotation which can be polygons uncompressed RLE or RLE to binary mask . : return : binary mask ( numpy 2D array )
def annToMask(self, ann):
        """
        Convert annotation which can be polygons, uncompressed RLE, or RLE to binary mask.
        :return: binary mask (numpy 2D array)
        """
        rle = self.annToRLE(ann)
        m = maskUtils.decode(rle)
        return m
def annToMask ( self , ann ) : rle = self . annToRLE ( ann ) m = maskUtils . decode ( rle ) return m