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

Video frame mismatch after offline tracking is done. #88

Open
antonykiran10 opened this issue Dec 3, 2022 · 3 comments
Open

Video frame mismatch after offline tracking is done. #88

antonykiran10 opened this issue Dec 3, 2022 · 3 comments

Comments

@antonykiran10
Copy link

My input video was made using 5348 snapshots at 120 fps. But after offline tracking, the total frames in the video was 6091. This has created problems in aligning the tracking data from Stytra with tracking data from other packages.
What could possibly be happening here?

@vigji
Copy link
Member

vigji commented Dec 4, 2022

Hi @antonykiran10! I am suprised, I don't think this behavior has been reported previously - maybe @vilim knows better though.
What are you using to export your video? Have you tried what happened if you generate an input video of different sizes? Does it add the same number of frames very time?

@antonykiran10
Copy link
Author

I am using a PIKE camera for recording. It saves snaps of each frame as a BMP image instead of a continuous video. I will then open this as an image sequence using ImageJ and then save it as an AVI file without any compression.

Regarding the video with different sizes, I will check that and get back.

@antonykiran10
Copy link
Author

I checked with a video made of 5384 frames. But the final CSV file had only 5347 frames. During tracking, it showed "Frames Dropped".

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