YOLOv7_OpenVINO_cpp-python icon indicating copy to clipboard operation
YOLOv7_OpenVINO_cpp-python copied to clipboard

fps im getting is varing too much

Open akashAD98 opened this issue 2 years ago • 0 comments

image image

sometimes im getting 3 fps, then sometime its giving 10 fps,

when i print it in cmd its showing ~33 fps. i have applied simple logic for getting fps, because your code of fps is not working

fps=0
while:
                fps = (fps + (1. / (time.time() - t1))) / 2
                
                #fps=(stop_time-start_time)
                print("fps",fps)

if its possible can you add fps code & saving the resulting video? it would be really great for doing benchmark for fps

akashAD98 avatar Mar 25 '23 04:03 akashAD98