🎉 Initial commit

This commit is contained in:
SkalskiP committed 2023-04-17 16:36:27 +02:00
1 parent 7497f8d96a
commit 888edfbc67
4 files changed
+3 -3

No files matched your search

File renamed without changes.
View File
Whitespace-only changes.
File renamed without changes.
+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
)