Download meta/depth_encoding.json from alphabot2/29_07_2026_depth: direct link, hf CLI and curl.
- Browser
- Download file 884 Bytes
-
https://huggingface.co/datasets/alphabot2/29_07_2026_depth/resolve/main/meta/depth_encoding.json
- Command line
-
hf download hf://datasets/alphabot2/29_07_2026_depth/meta/depth_encoding.json
-
curl -L -o depth_encoding.json https://huggingface.co/datasets/alphabot2/29_07_2026_depth/resolve/main/meta/depth_encoding.json
884 Bytes
| { | |
| "source_topic_suffix": "aligned_depth_to_color/image_raw/compressedDepth", | |
| "source_format": "16UC1; compressedDepth", | |
| "units": "millimeters", | |
| "packing": "R=depth_mm>>8, G=depth_mm&0xFF, B=0", | |
| "decode": "depth_mm = (rgb[...,0].astype('uint16') << 8) | rgb[...,1]", | |
| "decode_from_lerobot": "LeRobotDataset returns these keys as float32 CHW in [0,1]; recover the bytes with rgb = (t.permute(1,2,0).numpy()*255).round().astype('uint8') before unpacking. See depth_from_lerobot_frame() in convert_aibot2_rosbags_depth.py.", | |
| "invalid_value": 0, | |
| "max_representable_mm": 65535, | |
| "storage_dtype": "image", | |
| "storage_note": "Stored as lossless PNG. Do NOT re-encode these keys as video: lossy compression destroys the byte packing.", | |
| "resize_interpolation": "nearest", | |
| "keys": [ | |
| "observation.images.camera_front_depth", | |
| "observation.images.camera_top_depth" | |
| ] | |
| } |