A fast, easy-to-use, production-ready inference server for computer vision supporting deployment of many popular model architectures and fine-tuned models.
Adding the class_id value to the inference response would help simplify the API between supervision and inference. sv.Detections requires int value representing class_id. Currently, we force users to provide class_list as one of the arguments of sv.Detections.from_roboflow method to perform the mapping. We could drop that requirement if class_id was provided.
Adding the
class_id
value to the inference response would help simplify the API between supervision and inference.sv.Detections
requiresint
value representingclass_id
. Currently, we force users to provideclass_list
as one of the arguments ofsv.Detections.from_roboflow
method to perform the mapping. We could drop that requirement ifclass_id
was provided.sv.Detections.from_roboflow
is the only connector that requires an additionalclass_list
argument. All other connectors:from_detectron2
,from_mmdetection
,from_paddledet
,from_sam
,from_transformers
,from_ultralytics
,from_yolo_nas
,from_yolov5
andfrom_yolov8
can retrieveclass_id
from inference result object. It is a common standard in computer vision.Before
After
🙋🏻 I would love to work on the implementation of this feature.