nwojke / deep_sort

Simple Online Realtime Tracking with a Deep Association Metric
GNU General Public License v3.0
5.19k stars 1.46k forks source link

Center coordinates of bounding boxes #261

Closed AMYEY closed 3 years ago

AMYEY commented 3 years ago

How to get the center coordinates of the final bounding boxes? The track.to_tlbr() method converts to the format (min x, min y, max x, max y). But how to get the center_x, center_y of the final boxes? Thank you!