duongttr / vehicles-counting-yolov4-deepsort

A project for counting vehicles using YOLOv4 + DeepSORT + Flask + Ngrok + TF2
MIT License
43 stars 16 forks source link

custom counting class. #3

Closed YeetMasterYeet closed 2 years ago

YeetMasterYeet commented 2 years ago

hello, i am having an issue with the counting mechanism. i have used a custom yolo weights file, when the main.py, my video gets loaded and all of the custom objects get detected but the function that give you the total count, up and down count is not accurate. how can i calibrate it so that the objects that pass the line get counter accurately. thank you.