🚀 Added
New methods in sv.Detections
API:
from_transformers
- convert Object Detection 🤗 Transformer result intosv.Detections
from_detectron2
- convert Detectron2 result intosv.Detections
from_coco_annotations
- convert COCO annotation intosv.Detections
area
- dynamically calculated property storing bbox areawith_nms
- initial implementation (only class agnostic) ofsv.Detections
NMS
🌱 Changed
- Make
sv.Detections.confidence
fieldOptional
.