finish nbv_reconstruction_dataset

This commit is contained in:
hofee
2024-08-22 22:28:20 +08:00
parent 7cd1954a25
commit 954fed1122
5 changed files with 117 additions and 18 deletions

View File

@@ -66,6 +66,12 @@ class DataLoadUtil:
depth_map = DataLoadUtil.read_exr_depth(depth_path)
return depth_map
@staticmethod
def load_label(path):
with open(path, 'r') as f:
label_data = json.load(f)
return label_data
@staticmethod
def load_rgb(path):
rgb_path = path + ".camera.png"