yhsmiley / bytetrack_realtime

20 stars 7 forks source link

Yolo4 Example not clear to understand. #5

Closed MyraBaba closed 2 years ago

MyraBaba commented 2 years ago

Hi @yhsmiley

I couldnt figure out the example usage.

I have the csv file x,y,w,h with scores for all frames .

How am I going to submit this x,y,w,h arrays to the tracker and saw trackID on the screen ?

Yolo4 Example not clear to understand.

Please kindly give an example of submitting list of x,y,w,h with scores

Best

yhsmiley commented 2 years ago

The example is meant for use on a video stream. The documentation for detect_get_box_in function can be seen here. Since you already have the detections, you can format them into a list of ndarray for each frame, and pass them into the update_tracks function.