Functions
utils::mask_voc2coco Namespace Reference

Functions

def encodeMask
def mask_voc2coco

Function Documentation

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.



rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31