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

how to combine a depth frame and a color frame into a frameset #8119

Closed
msh1020 opened this issue Jan 6, 2021 · 4 comments
Closed

how to combine a depth frame and a color frame into a frameset #8119

msh1020 opened this issue Jan 6, 2021 · 4 comments

Comments

@msh1020
Copy link

msh1020 commented Jan 6, 2021

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model D415
Firmware Version 05.12.09.00 & 05.11.01.100
Operating System & Version Win 10
Platform PC
SDK Version 2.13.0 }
Language python}
Segment Robot

Issue Description

<Describe your issue / question / feature request / etc..>
when I use two D415 at the same time, I get the color frame and depth frame by 'device_manager.poll_frames()',but how can I combine the color frame and the depth frame into a frameset?
Now my code is as follows:

   frames = device_manager.poll_frames()
    for (device, frame) in frames.items():
        print('frame:', frame)
        frame = frame.as_frameset()

Error is as follows:
AttributeError: 'dict' object has no attribute 'as_frameset'
@MartyG-RealSense
Copy link
Collaborator

Hi @msh1020 Does the information in the link below help to answer your question, please?

#5847

@msh1020
Copy link
Author

msh1020 commented Jan 12, 2021

Hi @msh1020 Does the information in the link below help to answer your question, please?

#5847

Thanks, it works.

@MartyG-RealSense
Copy link
Collaborator

Great news that it worked for you @msh1020 - do you require further assistance with this case, please? Thanks!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

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

No branches or pull requests

2 participants