arunponnusamy / cvlib

A simple, high level, easy to use, open source Computer Vision library for Python.
http://arunponnusamy.com/cvlib/
MIT License
647 stars 127 forks source link

Count objects detected using cvlib #33

Open nilani-rangika opened 4 years ago

nilani-rangika commented 4 years ago

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 4 years ago

yeah you can do that.

nilani-rangika commented 4 years ago

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