The color stream on the Astra Pro camera is only accessible via UVC (like a webcam) rather than through the Astra SDK.
See this thread for some more background on the issue:
And this thread has some sample code for using OpenCV to access the data:
Alternatively, if you happen to be familiar with using openFrameworks, I’ve written an addon which works with both Astra & Astra cameras:
1 Like