car-counting-and-speed-estimation-yolo-sort-python
car-counting-and-speed-estimation-yolo-sort-python copied to clipboard
Not getting the same result
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.
May I ask if you have followed any paper for this project?
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.