adopted 2d rendering for vif dataset

This commit is contained in:
Jan Kowalczyk
2024-06-11 11:07:05 +02:00
parent 0ee3bc82b5
commit 7486e110ee
4 changed files with 168 additions and 29 deletions

View File

@@ -7,7 +7,7 @@ from pathlib import Path
from util import (
load_dataset_from_bag,
load_dataset,
existing_file,
)
@@ -49,7 +49,7 @@ def main() -> int:
args = parser.parse_args()
print("Creating camera settings!")
print("Move the view in the window to the desired camera position" " and then close the window using the ESC key!")
dataset = load_dataset_from_bag(args.input_bag_path)
dataset = load_dataset(args.input_bag_path)
open3d_pointcloud = dataset[args.bag_pointcloud_index].to_instance("open3d")
create_camera_settings(open3d_pointcloud, args.camera_config_output_json_path)