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

World camera dropping frames #1570

Closed
pefortin opened this issue Aug 1, 2019 · 2 comments
Closed

World camera dropping frames #1570

pefortin opened this issue Aug 1, 2019 · 2 comments

Comments

@pefortin
Copy link

pefortin commented Aug 1, 2019

Problem: The recorded world camera camera video is often shorter than the eye camera video, which is a consequence of missing frames. These frames appear as long grey periods when playing the files in Pupil player.

example file duration (m:s):
eye - 35:28, world - 18:53
eye - 30:36, world - 27:07

I have not had issues in the past 1-2 months, but started doing longer recordings (~40 minutes) and it started appearing. I am also tracking 7 surfaces in total, but there is rarely more than 3.

Configuration:
Pupil capture: 1.12.17
OS: Ubuntu 18.04, up to date
i5-7200U CPU @ 2.50GHz × 4 , 15.6 GiB ram, Intel HD Graphics 620
Pupil core with fast world camera, and 200Hz monocular camera
World camera: 1280x720 at 60fps
Eye camera 400x400 at 120 fps

Also tested with:
AMD Ryzen 7 1700X 8 core, 3.6 GHz, 32 GiB ram, ssd, running windows 10 with ~25% frame drop
I5-4690k 4 cores, 3.5 Ghz, 32 GiB ram, hdd, running ubuntu 18.04 with ~13% frame drop

This is the only thing holding back my study so if anyone has a solution, I would be extremely thankful.

@pefortin
Copy link
Author

pefortin commented Aug 7, 2019

I moved to a fourth computer that is overclocked, with very good single core performance and it seems to have fixed the issue. However, to avoid fps drops, I need to turn off the online surface recognition.

I would advise to include hardware system requirements on the website. It took me a while to find a computer that worked.

AMD Ryzen 7 1700X 8 core, 3.6 GHz, overclocked to 4.1 GHz, 32 GiB ram, ssd, running windows 10 with less than 5% frame drop

@papr
Copy link
Contributor

papr commented Aug 30, 2019

@pefortin Apologies for the delayed response.

Yes, you are correct, that dropped frames are a result of the system not being able to keep up. It might also be helpful to turn off other features, e.g. accuracy visualizer (#1611).

Generally, it is difficult to define a set of system requirements since the required performance heavily depends on the setup (active plugins, camera resolution and frame rate, pupil detection type, operating system).

@papr papr closed this as completed Aug 30, 2019
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