LeonLok / Multi-Camera-Live-Object-Tracking

Multi-camera live traffic and object counting with YOLO v4, Deep SORT, and Flask.
GNU General Public License v3.0
979 stars 285 forks source link

Yolov3 & v4 FPS #12

Closed jacobsmith575161 closed 4 years ago

jacobsmith575161 commented 4 years ago

Hi LeonLok your work is really inspiring, I'm somewhat of a beginner and i'd like to know how or where you are able to determine the FPS on yolov3 and yolov4 when you run the model on videos. Thank you

LeonLok commented 4 years ago

Thanks Jacob. The FPS is calculated here in the generator function, and is where the frame is finally sent to the web browser. It makes sense to put the calculation here because this is the final step where all the required processing has already been applied.