WongKinYiu / yolor

implementation of paper - You Only Learn One Representation: Unified Network for Multiple Tasks (https://arxiv.org/abs/2105.04206)
GNU General Public License v3.0
1.99k stars 520 forks source link

How to count number of objects in Image/video #42

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, how can I use detect.py to count a number of objects?

WongKinYiu commented 3 years ago

https://github.com/WongKinYiu/yolor/blob/main/detect.py#L113

ghost commented 3 years ago

how can I run this on video? and avoid double counting of objects?

WongKinYiu commented 3 years ago

do multiple object tracking

augmentedstartups commented 3 years ago

I show how to do this in my course - https://augmentedstartups.info/YOLORPROCourse