jdibenes / hl2ss

HoloLens 2 Sensor Streaming. Real-time streaming of HoloLens 2 sensor data over WiFi. Research Mode and External USB-C A/V supported.
Other
205 stars 51 forks source link

Examples for using the plugin in Unity #79

Open raashidkhan1 opened 9 months ago

raashidkhan1 commented 9 months ago

I can't seem to figure out how to capture RGB and Depth images using this plugin. My specific purpose is to capture these two and use them as a RGB-D pair, are there any examples to just do that since my application is only on Unity

jdibenes commented 9 months ago

Hello, The sample_rgbd_pv.py script shows how to generate aligned RGBD images. After line 124, the color and depth variables contain the aligned RGBD pair.