You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the last_frame variable needs to be updated on each iteration, Immediately after computing the FPS of previous.
Before this commit - the last frame was being updated only once at the beginning of stream_handler function. The fps and avg_frame_time computation were completely wrong. This commit fixes the computation.
This commit - updates last_frame variable on each iteration. results is correct fps calculation.
0 commit comments