change docu for mask_has_multiple_segments and mask_has_holes and add to global __init__.py

This commit is contained in:
magda skoczen 2024-05-20 20:45:17 +02:00
parent c26eb1a70f
commit dfac30cba7
2 changed files with 14 additions and 0 deletions

View File

@ -70,3 +70,15 @@ status: new
</div>
:::supervision.detection.utils.scale_boxes
<div class="md-typeset">
<h2><a href="#supervision.detection.utils.mask_has_holes">mask_has_holes</a></h2>
</div>
:::supervision.detection.utils.mask_has_holes
<div class="md-typeset">
<h2><a href="#supervision.detection.utils.mask_has_multiple_segments">mask_has_multiple_segments</a></h2>
</div>
:::supervision.detection.utils.mask_has_multiple_segments

View File

@ -56,6 +56,8 @@ from supervision.detection.utils import (
polygon_to_mask,
polygon_to_xyxy,
scale_boxes,
mask_has_holes,
mask_has_multiple_segments,
)
from supervision.draw.color import Color, ColorPalette
from supervision.draw.utils import (