This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Render depth map and RGB image of ModelNet10 chair dataset from various view points | |
''' | |
import open3d as o3d | |
import numpy as np | |
import json | |
NUM_VIEWS = 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Compares ground truth normal maps and the ones predicted by FrameNet | |
''' | |
real_normal_maps_paths = [ | |
'chair/test/chair_0890_001.jpg', | |
'chair/test/chair_0904_009.jpg', | |
'desk/test/desk_0201_004.jpg', | |
'desk/test/desk_0203_012.jpg', | |
'dresser/test/dresser_0201_005.jpg', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Finds number of points which do not move for each point cloud in FlyingThings3D dataset. | |
''' | |
import numpy as np | |
import os | |
root = "./data_processed_maxcut_35_20k_2k_8192" | |
for file in os.listdir(root): | |
if file.endswith(".npz"): |