Closed ayanasser closed 3 years ago
The format of bboxs
is incorrect. bboxs
should be a sequence of tuples, where each tuple is ( [left,top,w,h] , confidence, detection_class)
Thank you this is worked ^^ For anyone will use yolo with this project you could simply change the order of yolo detection output from: [('person', '73.37', (461.7289733886719, 11.570379257202148, 12.610983848571777, 24.295181274414062))] to :[((461.7289733886719, 11.570379257202148, 12.610983848571777, 24.295181274414062), '73.37', 'person')]
You're using Kalman filter inside as well right ?
I am using yolo : I've get the detection:
then work with the tracker:
And I got this error:
Error is: raw_detections = [d for d in raw_detections if d[0][2] > 0 and d[0][3] > 0] TypeError: 'int' object is not subscriptable
Is there something I missed ? Or the tracker needs another arguments with another shape