sort
sort copied to clipboard
its not an issue but a question on fps?
can i know fps for the entire program to run along with detection?
Calculate the time taken by each frame for a certain number of frames. Then find 1/average_time to determine the FPS at which the video is being processed
import time
then = time.time()
# Frame processing code here
time_taken = time.time() - then
# Find the average over a few frames and than calculate 1/average to get FPS