Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive latency in camera frames if the fps are high #12

Open
fadsamo opened this issue Nov 22, 2021 · 1 comment
Open

Excessive latency in camera frames if the fps are high #12

fadsamo opened this issue Nov 22, 2021 · 1 comment

Comments

@fadsamo
Copy link

fadsamo commented Nov 22, 2021

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.

@Qengineering
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants