Ep3 Display Live FPS Count | Jetson Computer Vision | Jetson Nano | Python | Rocket Systems

preview_player
Показать описание
In this video, we will study about frames per second count or in short FPS. FPS is very important when you are inferencing over video file or live frames from usb webcam/ cctv camera. FPS helps you get an idea on how much speed you are getting in your project. FPS mainly depends on which type of hardware you are using. If its high end hardware, then FPS is going to be high which means more than 20-25FPS but if you have a low end hardware, it can be slow which means less than 15FPS.

Apart from the hardware, FPS also depends on what you are inferencing. Lets say you have a inferencing over a video file and you are detecting person, cats and dogs and thus in this case it can be low as you are detecting more and more objects.

Рекомендации по теме
Комментарии
Автор

I suppose that's one way to do it, though rather naive IMO. The method in the video is more of an average FPS counter, and will continue to track a number ever-increasing in size forever. Could misbehave if left alone for a long time.

Again IMO, a more responsive and lighter weight fps counter would look like this:

import time
fps_end_time = 0


while(True):
time_diff = time.time() - fps_end_time
fps_end_time = time.time()
fps = 1 / time_diff
print(round(fps, 1))

Deanmodpc