I try to get the depth map and the RGB image simultaneously. I use the wls filter to calculate the depth. (In addition to the mentioned code, I use the subpixel option )
However, suddenly the following error occurs after the code runs fine for a while:
[system] [critical] Fatal error. Please report to developers. Log: 'StereoSipp' '527'