Hi @Jaewon,
NaN values happen in the depth map either when they are of low confidence, or when the object is too close to the camera.
Please change the depth_confidence
parameter to 100, and you should have a full depth map without any NaN values, however, you may have lower confidence depth values (i.e. containing errors) in the resulting depth map.