Hi,
I just bought OAK-D S2 device and ran some tests. I need to have spatially aligned depth & rgb frames. And it is trivial when the frame resolution is equal to minimal supported RGB sensor resolution (1080_P).
However, when I try to work with lower resolutions, there is a problem (by the way, why 480_P on my OAK-D S2 is not supported?) - setPreviewSize method crops the frame and setIspScale as far as I understand is not able to scale the 1920x1080 frame into something compatible with 640x400 resolution.
Any ideas how to proceed? It is not good when Depth camera doesn't support such basic procedure as getting two (rgb, depth) frames of indentical size...