🎉 Initial commit
This commit is contained in:
1 parent
7497f8d96a
commit
888edfbc67
4 files changed
+3
-3
No files matched your search
File renamed without changes.
Whitespace-only changes.
File renamed without changes.
@@ -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
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user