__init__.py 486 B

1234567891011
  1. # Copyright (c) OpenMMLab. All rights reserved.
  2. from .mask_target import mask_target
  3. from .structures import (BaseInstanceMasks, BitmapMasks, PolygonMasks,
  4. bitmap_to_polygon, polygon_to_bitmap)
  5. from .utils import encode_mask_results, mask2bbox, split_combined_polys
  6. __all__ = [
  7. 'split_combined_polys', 'mask_target', 'BaseInstanceMasks', 'BitmapMasks',
  8. 'PolygonMasks', 'encode_mask_results', 'mask2bbox', 'polygon_to_bitmap',
  9. 'bitmap_to_polygon'
  10. ]