This might be a simple question, but I haven't been able to find an answer. I'm using a modified version of this Object Tracker example (https://docs.luxonis.com/software/depthai/examples/object_tracker_video/), the only difference being that I'm using a YOLO network instead.

For each tracked detection, I also want to retrieve the confidence value of the detection. I can access the confidence field for each detection, but if I try to do the same for each tracklet t with t.confidence I get this error

*** AttributeError: 'depthai.Tracklet' object has no attribute 'confidence'

I tried printing each detection and tracklet information to see if they are stored in the same order in the output lists, but they're not.

Is there a way to retrieve the confidence value for tracklets?

I could compare detections and tracklets bounding boxes to see which ones match, but it seems cumbersome for something so simple

    Letty
    No way to do it unfortunately.

    Letty I could compare detections and tracklets bounding boxes to see which ones match, but it seems cumbersome for something so simple

    This would work. We can add this functionality in depthai v3 if need be

    Thanks,
    Jaka

    Thank you @jakaskerl for your reply, I have to say it is a bit disappointing that there isn't an easier way.

    It would be great it this was available in v3, thanks!