12 Bit Bayer GBGB/RGRG with Deepstream

Hi everyone,

we have an image sensor (Sony IMX327) which can deliver 12-bit Bayer GBGB/RGRG. We would like to feed this into a CLAHE algorithm outputting 8 bit BGR. Our Hope is, we might see contures inside a “sea of light” generated by a lot of cars driving towards our camera with headlights on (in 8-bit BGR we only see 255,255,255 everywhere). Can we convince nvarguscamerasrc to deliver 12 bit depth somehow? Did anyone do such a thing before? Might this work?

We don’t support the case in existing implentation. Would suggest use hardware ISP engine to get 8-bit YUV420 through nvarguscamerasrc.