car-counting-and-speed-estimation-yolo-sort-python icon indicating copy to clipboard operation
car-counting-and-speed-estimation-yolo-sort-python copied to clipboard

Not getting the same result

Open marunava21 opened this issue 3 years ago • 1 comments
trafficstars

You can view the output which i am getting here: https://drive.google.com/file/d/1nL_y4MVMc1beTifFa1PqrshYh89pgeTq/view?usp=sharing

The lane coordinates are not matching Moreover, the counter is not changing at all.

Only i change i made was in the sort algorithm according the https://github.com/abewley/sort/issues/136#issuecomment-864359478

def linear_assignment(cost_matrix):
  try:
     import lap
     _, x, y = lap.lapjv(cost_matrix, extend_cost=True)
     return np.array([[y[i], i] for i in x if i >= 0])
   except ImportError:
     from scipy.optimize import linear_sum_assignment
     x, y = linear_sum_assignment(cost_matrix)
     return np.array(list(zip(x, y)))

Please guide me on what mistake can be there in the code.

marunava21 avatar Sep 09 '22 04:09 marunava21

May I ask if you have followed any paper for this project?

marunava21 avatar Sep 09 '22 04:09 marunava21

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 12 '22 05:11 stale[bot]