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 read multi D435i RGB image with python #13375

Closed
HorizonRy opened this issue Sep 25, 2024 · 4 comments
Closed

How to read multi D435i RGB image with python #13375

HorizonRy opened this issue Sep 25, 2024 · 4 comments

Comments

@HorizonRy
Copy link

HorizonRy commented Sep 25, 2024

Is it possible to read RGB images in real time from two USB3.0 connected 2 D435i cameras via pipeline() in the pyrealsense2 library.
If it possible how can I distinguish between two different cameras

Required Info
Camera Model D435i
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version Ubuntu 20.04 LTS
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform PC
SDK Version { legacy / 2.. }
Language Python
Segment Robot
@HorizonRy HorizonRy changed the title How to read multi D435i RGB How to read multi D435i RGB image with python Sep 25, 2024
@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Sep 25, 2024

Hi @HorizonRy Multiple RealSense cameras can be distinguished by their serial number, which can be accessed by a program. A program can either automatically build a list of all attached cameras or use the serial number to access one specific camera.

There is an example of a RealSense Python multiple camera program at the link below.

https://github.com/ivomarvan/samples_and_experiments/tree/master/Multiple_realsense_cameras

Alternatively, a pyrealsense2 script at #1735 (comment) takes the approach of creating a separate configuration for each of two cameras.

@MartyG-RealSense
Copy link
Collaborator

Hi @HorizonRy Do you require further assistance with this case, please? Thanks!

@HorizonRy
Copy link
Author

Hi @HorizonRy Do you require further assistance with this case, please? Thanks!

It's helpful, Thanks!

@MartyG-RealSense
Copy link
Collaborator

You are very welcome, @HorizonRy - thanks very much for the update!

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