LingBot-Map Tutorial: GPU-Aware Inference and Point Cloud Export
print(“\n[10] Plots”) k = min(4, S) idxs = np.linspace(0, S – 1, k).astype(int) fig, axes = plt.subplots(3, k, figsize=(3.1 * k, 7.2)) axes = np.atleast_2d(axes) for c, i in enumerate(idxs): axes[0, c].imshow(rgb[i].transpose(1, 2, 0)); axes[0, c].set_title(f”frame {i}”, fontsize=9) d = depth[i].squeeze(-1) axes[1, c].imshow(d, cmap=”turbo”, vmin=np.percentile(d, 2), vmax=np.percentile(d, 98)) axes[2, c].imshow(depth_conf[i] > THR, cmap=”gray”) for r,…
