Face-Recognition-Jetson-Nano icon indicating copy to clipboard operation
Face-Recognition-Jetson-Nano copied to clipboard

Excessive latency in camera frames if the fps are high

Open fadsamo opened this issue 3 years ago • 1 comments

Hello, thank you for your support in launching this great application. My problem is that when I use a camera, the fps is around 25, but the latency is very high, while after a few seconds from the start of the program, this latency value becomes more and more. I use your tutorial. I installed opencv 4.5.2 cuda enabled on your website, but the problem remains.

fadsamo avatar Nov 22 '21 05:11 fadsamo

Dear @fadsamo,

It has to do with the image buffering in OpenCV. I've use the 'simple' way of grabbing a live video, the cap(0) method. Better to use GStreamer. It has a latency of one frame. You could look at the website how to stream with GStreamer. However, using the Jetson Nano, this site is your solution.

Qengineering avatar Nov 22 '21 09:11 Qengineering