Count objects detected using cvlib
nilani-rangika opened this issue · 2 comments
nilani-rangika commented
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'))
arunponnusamy commented
yeah you can do that.
nilani-rangika commented
Thank you very much. Do you have any examples? I feel it is like reverse-engineering the cvlib?