WongKinYiu / yolov7

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
GNU General Public License v3.0
13.18k stars 4.17k forks source link

Count object road damage #1897

Open ahmadzainuririzaldi opened 10 months ago

ahmadzainuririzaldi commented 10 months ago

i want to build an application that can detect road damage from a video

the detection process is OK, and i want to count how many pothole in my video

the problem is when i checked the output video, 1 object(1 pothole) in 1 location, appeared several times in different timestamps

what i want is, 1 object(1 pothole) in 1 location counts as one, even appeared several times

detik_5 24_frame_0017_lubang detik_5 28_frame_0018_lubang detik_5 32_frame_0019_lubang

dsbyprateekg commented 10 months ago

For that you need to add a tracking algorithm like following repos have done- https://github.com/RizwanMunawar/yolov7-object-tracking

https://github.com/deshwalmahesh/yolov7-deepsort-tracking