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

get_frame_number is different between color and depth #5

Closed
AndyYangMao opened this issue Jan 24, 2019 · 1 comment
Closed

get_frame_number is different between color and depth #5

AndyYangMao opened this issue Jan 24, 2019 · 1 comment

Comments

@AndyYangMao
Copy link

Hi,
I use the program to extract the color image and the depth image from a single .bag file and it works well.
however, I noticed that the index number is different between color and depth,
for example, color frames start from 057625.jpg 057626.jpg ...
but the depth frames start from 057983.jpg 057984.jpg ...
and most import of all is the total image number is not equal, in my case, there are 641 color frames but 645 depth frames.

I traced the code in creating the index, it comes from get_frame_number()

is there any solution about this? thanks

@UnaNancyOwen
Copy link
Owner

I think it is not synchronized frame number of color and depth.
It is the specification of RealSense. You can ask about it in RealSense SDK repository or RealSense forum.
If you got useful knowledge by asking there, Please let me. Thanks,

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