Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

516 B
Raw Blame

depth_to_3d, depth_to_3d_v2, warp_frame_depth and depth_to_normals now build the pixel grid in the promoted dtype of depth and camera_matrix instead of in the dtype of depth. In 0.9.0, uint8 and int8 depth wrapped the column index past 255 and 127, and uint16 and uint32 depth raised NotImplementedError, in all four. In the first three, a bfloat16 depth map with float32 intrinsics also rounded the column index, putting X up to 2 px off at 640 px wide; float16 depth did so past 2048 px.