polimorfo.utils package¶
Submodules¶
polimorfo.utils.datautils module¶
polimorfo.utils.imageutils module¶
polimorfo.utils.maskutils module¶
-
polimorfo.utils.maskutils.
polygons_to_mask
(polygons, height, width)[source]¶ convert polygons to mask. Filter all the polygons with less than 4 points
- Args:
- polygons ([type]): [description] height ([type]): [description] width ([type]): [description]
- Returns:
- [type]: a mask of format num_classes, heigth, width