0.16.0
版本发布时间: 2023-10-19 16:26:26
roboflow/supervision最新发布版本:0.24.0(2024-10-05 04:25:47)
🚀 Added
https://github.com/roboflow/supervision/assets/26109316/691e219c-0565-4403-9218-ab5644f39bce
-
sv.BoxMaskAnnotator
allowing to annotate images and videos with mox masks. (#422) -
sv.HaloAnnotator
allowing to annotate images and videos with halo effect. (#433)
>>> import supervision as sv
>>> image = ...
>>> detections = sv.Detections(...)
>>> halo_annotator = sv.HaloAnnotator()
>>> annotated_frame = halo_annotator.annotate(
... scene=image.copy(),
... detections=detections
... )
-
sv.HeatMapAnnotator
allowing to annotate videos with heat maps. (#466) -
sv.DotAnnotator
allowing to annotate images and videos with dots. (#492) -
sv.draw_image
allowing to draw an image onto a given scene with specified opacity and dimensions. (#449) -
sv.FPSMonitor
for monitoring frames per second (FPS) to benchmark latency. (#280) - 🤗 Hugging Face Annotators space. (#454)
🌱 Changed
-
sv.LineZone.trigger
now returnTuple[np.ndarray, np.ndarray]
. The first array indicates which detections have crossed the line from outside to inside. The second array indicates which detections have crossed the line from inside to outside. (#482) - Annotator argument name from
color_map: str
tocolor_lookup: ColorLookup
enum to increase type safety. (#465) -
sv.MaskAnnotator
allowing 2x faster annotation. (#426)
🛠️ Fixed
- Poetry env definition allowing proper local installation. (#477)
-
sv.ByteTrack
to returnnp.array([], dtype=int)
whensvDetections
is empty. (#430) - YOLONAS detection missing predication part added & fixed (#416)
- SAM detection at Demo Notebook
MaskAnnotator(color_map="index")
color_map
set toindex
(#416)
🗑️ Deleted
Warning Deleted
sv.Detections.from_yolov8
andsv.Classifications.from_yolov8
as those are now replaced bysv.Detections.from_ultralytics
andsv.Classifications.from_ultralytics
. (#438)
🏆 Contributors
@hardikdava (Hardik Dava), @onuralpszr (Onuralp SEZER), @kapter, @keshav278 (Keshav Subramanian), @akashpambhar (Akash Pambhar), @AntonioConsiglio (Antonio Consiglio), @ashishdatta, @mario-dg (Mario da Graca), @ jayaBalaR (JAYABALAMBIKA.R), @abhishek7kalra (Abhishek Kalra), @PankajKrana (Pankaj Kumar Rana), @capjamesg (James Gallagher), @SkalskiP (Piotr Skalski)