Arducam Depth measurement using Rpi


I purchased the below Arducam product;

I have to use the below code;

I follow the below steps for depth measurement for the camera

Also, For depth measurement, I follow the below steps

So both camera and depth measurements are not working well.
This means the Camera preview is not shown on the HDMI display also the same things for depth measurement.

Can you please help me with this?