🧹 Small housekeeping before release
This commit is contained in:
parent
e9649acd90
commit
b34ecd53cf
|
|
@ -1,3 +1,7 @@
|
|||
### 0.5.2 <small>April 13, 2023</small>
|
||||
|
||||
- Fixed [[#63](https://github.com/roboflow/supervision/pull/63)]: `LineZone.trigger` function expects 4 values instead of 5.
|
||||
|
||||
### 0.5.1 <small>April 12, 2023</small>
|
||||
|
||||
- Fixed `Detections.__getitem__` method did not return mask for selected item.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
__version__ = "0.5.1"
|
||||
__version__ = "0.5.2"
|
||||
|
||||
from supervision.annotation.voc import detections_to_voc_xml
|
||||
from supervision.detection.annotate import BoxAnnotator, MaskAnnotator
|
||||
|
|
|
|||
|
|
@ -319,9 +319,7 @@ class Detections:
|
|||
):
|
||||
return Detections(
|
||||
xyxy=self.xyxy[index],
|
||||
mask=self.mask[index]
|
||||
if self.mask is not None
|
||||
else None,
|
||||
mask=self.mask[index] if self.mask is not None else None,
|
||||
confidence=self.confidence[index]
|
||||
if self.confidence is not None
|
||||
else None,
|
||||
|
|
|
|||
Loading…
Reference in New Issue