theAIGuysCode / yolov4-custom-functions

A Wide Range of Custom Functions for YOLOv4, YOLOv4-tiny, YOLOv3, and YOLOv3-tiny Implemented in TensorFlow, TFLite, and TensorRT.
MIT License
602 stars 370 forks source link

About counter function issues #30

Open Lucch77 opened 3 years ago

Lucch77 commented 3 years ago

Hi there, First of all, thx for your work. It is a nice program. I have a question about the counter in the project. If I want to display the total number of detections and the number of classification detections, instead of showing the classification number and the total number of detections in the current frame. How do I change the function.py? The first time, I dele the 'else' in the count. But only the items detected in the current frame can be displayed, and the sum function cannot be realized. Can u give me any advice? thanks