roboflow / inference

A fast, easy-to-use, production-ready inference server for computer vision supporting deployment of many popular model architectures and fine-tuned models.
https://inference.roboflow.com
Other
1.3k stars 116 forks source link

Store prediction type in sv.Detections, remove from blocks outputs #402

Closed grzegorz-roboflow closed 4 months ago

grzegorz-roboflow commented 4 months ago

Following up a code review comment:

[requires change] this is not for this function directly, but in topic of sv.Detections - we need to be able to add metadata to created object - namely predictions type

Intent is the following - all metadata that are directly related to prediction should be packed into sv.Detections to limit the # of auxiliary inter-blocks connections

_Originally posted by @PawelPeczek-Roboflow in https://github.com/roboflow/inference/pull/392#discussion_r1602799073_