arunponnusamy/cvlib

Count objects detected using cvlib

nilani-rangika opened this issue · 2 comments

Hi,

In addition to detecting objects from a video, I want to count. I'm following the code here :
https://github.com/arunponnusamy/cvlib/blob/master/examples/object_detection_webcam_yolov3_tiny.py. Is that possible with cvlib?

The following is what I tried for vehicle counting.
vehiclesum.append(label.count('car') + label.count('truck') + label.count('motorcycle') + label.count('bus'))

yeah you can do that.

Thank you very much. Do you have any examples? I feel it is like reverse-engineering the cvlib?