apple / ml-hypersim

Hypersim: A Photorealistic Synthetic Dataset for Holistic Indoor Scene Understanding
Other
1.71k stars 131 forks source link

Different number of camera positions to number of images? #58

Closed onurbagoren closed 1 year ago

onurbagoren commented 1 year ago

Hello,

I noticed that the number of images and the number of positions/orientations provided in the _details directory are different for multiple scenes. I was wondering if there is a direct way to get the corresponding position of a camera or if there is a direct mapping between the images and positions.

Thank you!

mikeroberts3000 commented 1 year ago

Hi! There are always exactly 100 positions/orientations per camera trajectory, but occasionally some of our images are excluded from the public release (e.g., images containing people and prominent logos). You can use the filename of the image you're interested in to obtain the position and orientation. For example, camera_keyframe_positions[i] will contain the camera position for the frame.iiii.color.hdf5 image, regardless of what other images from the camera trajectory are included in the release.

w-hc commented 8 months ago

this is some comparison statistics for reference. thx for the explanation.

ai_001_001/cam_00: 98 imgs vs 100 poses
ai_001_002/cam_00: 99 imgs vs 100 poses
ai_001_002/cam_02: 98 imgs vs 100 poses
ai_001_002/cam_03: 96 imgs vs 100 poses
ai_002_008/cam_00: 63 imgs vs 100 poses
ai_003_004/cam_00: 94 imgs vs 100 poses
ai_003_005/cam_00: 95 imgs vs 100 poses
ai_003_008/cam_01: 99 imgs vs 100 poses
ai_003_010/cam_00: 98 imgs vs 100 poses
ai_004_002/cam_00: 97 imgs vs 100 poses
ai_004_002/cam_01: 83 imgs vs 100 poses
ai_004_005/cam_01: 95 imgs vs 100 poses
ai_004_010/cam_00: 50 imgs vs 100 poses
ai_004_010/cam_01: 81 imgs vs 100 poses
ai_005_003/cam_00: 37 imgs vs 100 poses
ai_006_006/cam_00: 58 imgs vs 100 poses
ai_006_006/cam_01: 39 imgs vs 100 poses
ai_006_006/cam_02: 27 imgs vs 100 poses
ai_006_007/cam_00: 99 imgs vs 100 poses
ai_006_009/cam_02: 98 imgs vs 100 poses
ai_007_006/cam_00: 66 imgs vs 100 poses
ai_007_006/cam_01: 86 imgs vs 100 poses
ai_007_009/cam_00: 99 imgs vs 100 poses
ai_007_009/cam_01: 99 imgs vs 100 poses
ai_008_001/cam_01: 89 imgs vs 100 poses
ai_008_001/cam_02: 90 imgs vs 100 poses
ai_008_001/cam_03: 96 imgs vs 100 poses
ai_008_006/cam_00: 94 imgs vs 100 poses
ai_008_006/cam_01: 96 imgs vs 100 poses
ai_008_007/cam_01: 95 imgs vs 100 poses
ai_010_008/cam_00: 99 imgs vs 100 poses
ai_011_004/cam_01: 70 imgs vs 100 poses
ai_011_007/cam_00: 87 imgs vs 100 poses
ai_011_007/cam_01: 96 imgs vs 100 poses
ai_011_010/cam_00: 9 imgs vs 100 poses
ai_013_004/cam_00: 83 imgs vs 100 poses
ai_013_007/cam_00: 95 imgs vs 100 poses
ai_015_003/cam_00: 99 imgs vs 100 poses
ai_015_007/cam_00: 6 imgs vs 100 poses
ai_016_003/cam_00: 80 imgs vs 100 poses
ai_016_003/cam_01: 88 imgs vs 100 poses
ai_016_009/cam_02: 98 imgs vs 100 poses
ai_018_004/cam_01: 98 imgs vs 100 poses
ai_021_007/cam_00: 99 imgs vs 100 poses
ai_021_008/cam_02: 66 imgs vs 100 poses
ai_022_004/cam_00: 95 imgs vs 100 poses
ai_022_004/cam_01: 86 imgs vs 100 poses
ai_022_005/cam_00: 93 imgs vs 100 poses
ai_022_007/cam_00: 42 imgs vs 100 poses
ai_024_015/cam_00: 50 imgs vs 100 poses
ai_027_003/cam_00: 98 imgs vs 100 poses
ai_027_003/cam_03: 96 imgs vs 100 poses
ai_027_003/cam_04: 42 imgs vs 100 poses
ai_027_003/cam_05: 73 imgs vs 100 poses
ai_027_003/cam_06: 48 imgs vs 100 poses
ai_027_004/cam_01: 96 imgs vs 100 poses
ai_027_009/cam_00: 99 imgs vs 100 poses
ai_027_009/cam_01: 98 imgs vs 100 poses
ai_027_009/cam_02: 95 imgs vs 100 poses
ai_029_001/cam_00: 77 imgs vs 100 poses
ai_029_001/cam_01: 97 imgs vs 100 poses
ai_029_002/cam_00: 99 imgs vs 100 poses
ai_030_004/cam_00: 99 imgs vs 100 poses
ai_030_007/cam_00: 83 imgs vs 100 poses
ai_030_008/cam_00: 29 imgs vs 100 poses
ai_030_008/cam_01: 29 imgs vs 100 poses
ai_030_010/cam_00: 99 imgs vs 100 poses
ai_032_009/cam_00: 62 imgs vs 100 poses
ai_033_002/cam_00: 96 imgs vs 100 poses
ai_033_002/cam_01: 98 imgs vs 100 poses
ai_033_004/cam_00: 97 imgs vs 100 poses
ai_033_008/cam_00: 92 imgs vs 100 poses
ai_033_009/cam_00: 50 imgs vs 100 poses
ai_034_002/cam_00: 99 imgs vs 100 poses
ai_035_009/cam_00: 82 imgs vs 100 poses
ai_036_010/cam_00: 93 imgs vs 100 poses
ai_037_002/cam_00: 95 imgs vs 100 poses
ai_037_006/cam_00: 96 imgs vs 100 poses
ai_037_009/cam_01: 96 imgs vs 100 poses
ai_038_002/cam_00: 98 imgs vs 100 poses
ai_038_005/cam_00: 78 imgs vs 100 poses
ai_039_008/cam_00: 99 imgs vs 100 poses
ai_042_002/cam_00: 98 imgs vs 100 poses
ai_042_002/cam_01: 89 imgs vs 100 poses
ai_042_003/cam_00: 99 imgs vs 100 poses
ai_042_004/cam_00: 97 imgs vs 100 poses
ai_043_006/cam_00: 32 imgs vs 100 poses
ai_043_006/cam_01: 96 imgs vs 100 poses
ai_044_001/cam_00: 99 imgs vs 100 poses
ai_044_006/cam_00: 99 imgs vs 100 poses
ai_045_001/cam_03: 98 imgs vs 100 poses
ai_045_004/cam_00: 99 imgs vs 100 poses
ai_045_004/cam_01: 99 imgs vs 100 poses
ai_045_006/cam_00: 98 imgs vs 100 poses
ai_045_006/cam_01: 92 imgs vs 100 poses
ai_045_010/cam_00: 83 imgs vs 100 poses
ai_045_010/cam_01: 98 imgs vs 100 poses
ai_045_010/cam_02: 85 imgs vs 100 poses
ai_046_003/cam_01: 96 imgs vs 100 poses
ai_046_006/cam_00: 92 imgs vs 100 poses
ai_047_003/cam_00: 99 imgs vs 100 poses
ai_047_008/cam_00: 16 imgs vs 100 poses
ai_048_001/cam_01: 96 imgs vs 100 poses
ai_048_001/cam_02: 86 imgs vs 100 poses
ai_048_005/cam_01: 97 imgs vs 100 poses
ai_048_006/cam_01: 99 imgs vs 100 poses
ai_048_007/cam_00: 99 imgs vs 100 poses
ai_048_009/cam_00: 93 imgs vs 100 poses
ai_048_009/cam_01: 99 imgs vs 100 poses
ai_048_009/cam_02: 99 imgs vs 100 poses
ai_048_010/cam_01: 97 imgs vs 100 poses
ai_048_010/cam_02: 93 imgs vs 100 poses
ai_048_010/cam_03: 99 imgs vs 100 poses
ai_050_001/cam_03: 99 imgs vs 100 poses
ai_050_002/cam_00: 97 imgs vs 100 poses
ai_050_002/cam_01: 99 imgs vs 100 poses
ai_050_002/cam_02: 98 imgs vs 100 poses
ai_050_002/cam_03: 84 imgs vs 100 poses
ai_050_002/cam_04: 97 imgs vs 100 poses
ai_050_003/cam_01: 99 imgs vs 100 poses
ai_050_003/cam_02: 95 imgs vs 100 poses
ai_050_003/cam_04: 99 imgs vs 100 poses
ai_050_004/cam_02: 99 imgs vs 100 poses
ai_050_004/cam_03: 99 imgs vs 100 poses
ai_050_005/cam_00: 99 imgs vs 100 poses
ai_050_005/cam_04: 99 imgs vs 100 poses
ai_051_001/cam_01: 93 imgs vs 100 poses
ai_051_001/cam_02: 95 imgs vs 100 poses
ai_051_002/cam_02: 88 imgs vs 100 poses
ai_051_002/cam_03: 98 imgs vs 100 poses
ai_051_002/cam_05: 96 imgs vs 100 poses
ai_051_002/cam_07: 91 imgs vs 100 poses
ai_051_004/cam_03: 73 imgs vs 100 poses
ai_051_005/cam_03: 96 imgs vs 100 poses
ai_052_002/cam_00: 99 imgs vs 100 poses
ai_052_003/cam_00: 95 imgs vs 100 poses
ai_052_003/cam_01: 84 imgs vs 100 poses
ai_052_009/cam_00: 93 imgs vs 100 poses
ai_052_009/cam_01: 53 imgs vs 100 poses
ai_053_004/cam_00: 95 imgs vs 100 poses
ai_053_012/cam_00: 98 imgs vs 100 poses
ai_053_013/cam_00: 47 imgs vs 100 poses
ai_054_004/cam_00: 90 imgs vs 100 poses
ai_054_004/cam_01: 83 imgs vs 100 poses
ai_054_006/cam_01: 14 imgs vs 100 poses
ai_054_008/cam_00: 98 imgs vs 100 poses
ai_054_010/cam_00: 95 imgs vs 100 poses
ai_054_010/cam_01: 96 imgs vs 100 poses
ai_055_001/cam_01: 98 imgs vs 100 poses
ai_055_002/cam_00: 26 imgs vs 100 poses
ai_055_002/cam_01: 94 imgs vs 100 poses
ai_055_004/cam_00: 99 imgs vs 100 poses
ai_055_005/cam_00: 99 imgs vs 100 poses
ai_055_005/cam_01: 99 imgs vs 100 poses
ai_055_008/cam_00: 83 imgs vs 100 poses
ai_055_008/cam_01: 56 imgs vs 100 poses
ai_055_008/cam_02: 78 imgs vs 100 poses
ai_055_009/cam_00: 99 imgs vs 100 poses
ai_055_009/cam_01: 93 imgs vs 100 poses