How to get RAW/Bayer data from ZED X?

I’m currently using a ZED X with ZED Box and trying to figure out how to access the raw Bayer pattern data (before debayering).

For my project, I need the raw sensor data instead of the processed RGB images so I can run my own custom processing pipeline on it.

I’ve looked through the SDK docs but couldn’t find much info on this. Has anyone managed to get raw/non-debayered data from the ZED X? Any pointers on which API calls to use or settings to configure would be really helpful!

Thanks!

Hi @TerryL-TongjiU
Welcome to the StereoLabs community.

Unfortunately, the ZED SDK does not provide this feature.

You could try to use the code in this repository:

Look at the ArgusBayerCapture.cpp code.