Tsjarly I was wondering whether it is possible to obtain the q-matrix from the stereo camera pair. We want to try a non-default model that computes / estimates the disparity.
The first question is can we simply obtain the disparity-to-depth matrix that is used within the camera to do some computations on our side.
We don't expose the matrix, no. But you can make it using the calibration data, if you find a way to calculate c_x' yourself.
Tsjarly The second question is, would it be possible to add our own model to estimate disparity from the left-and-right streams to run on the cameras themselves, and still output the resulting depth from the camera streams, and if possible, how would one go about that?
No, I don't think that is possible. You can run it on host, but it will be slower. This is because it is all run on StereoDepth node, which means you can't split the computation unless you seriously alter the FW.
luxonis/depthai-experimentstree/master/gen2-triangulation
Thanks,
Jaka