Functions | |
def | encodeMask |
def | mask_voc2coco |
def utils.mask_voc2coco.encodeMask | ( | M | ) |
Encode binary mask M using run-length encoding. :param M (bool 2D array) : binary mask to encode :return: R (object RLE) : run-length encoding of binary mask
Definition at line 14 of file mask_voc2coco.py.
def utils.mask_voc2coco.mask_voc2coco | ( | voc_masks, | |
voc_boxes, | |||
im_height, | |||
im_width, | |||
binary_thresh = 0.4 |
|||
) |
Definition at line 41 of file mask_voc2coco.py.