🎉 Initial commit

This commit is contained in:
SkalskiP
2023-04-17 16:36:27 +02:00
parent 7497f8d96a
commit 888edfbc67
4 changed files with 3 additions and 3 deletions
View File
+3 -3
View File
@@ -147,10 +147,10 @@ class MaskAnnotator:
Returns:
np.ndarray: The image with the masks overlaid
"""
for i in range(len(detections.xyxy)):
if detections.mask is None:
continue
if detections.mask is None:
return scene
for i in np.argsort(detections.area):
class_id = (
detections.class_id[i] if detections.class_id is not None else None
)