A high-performance downloader for the Matterport3D dataset, featuring multi-threaded downloading, automatic extraction, and space optimization.
- 🚀 Multi-threaded downloading for improved speed
- 📦 Automatic extraction of downloaded files
- 💾 Space optimization through automatic cleanup of compressed files
- 📝 Comprehensive logging of download progress and errors
You can preview the Matterport3D house styles online at: https://aspis.cmpt.sfu.ca/scene-toolkit/scans/matterport3d/houses
A complete list of available houses is provided in the matterport3d_scan_ids.txt file within this project.
- Python 3.6+
- Required packages:
pip install tqdm requests
python download_mp.py -o base_dir --scans scans.txt --type object_segmentations --task_data semantic_voxel_label_data semantic_voxel_label_models| Argument | Required | Description | Options |
|---|---|---|---|
-o, --out_dir |
✅ | Download directory | Path to output directory |
--scans |
✅ | Scan IDs file | Path to file containing scan IDs |
--task_data |
❌ | Task data and models | keypoint_matching_data, keypoint_matching_models, surface_normal_data, surface_normal_models, etc. |
--type |
❌ | File types | cameras, matterport_camera_intrinsics, matterport_color_images, etc. |
--log_file |
❌ | Log file path | Default: download.log |
keypoint_matching_datakeypoint_matching_modelssurface_normal_datasurface_normal_modelsregion_classification_dataregion_classification_modelssemantic_voxel_label_datasemantic_voxel_label_modelsminosgibsonhabitatpixelsynthigibsonmp360
camerasmatterport_camera_intrinsicsmatterport_camera_posesmatterport_color_imagesmatterport_depth_imagesmatterport_hdr_imagesmatterport_meshmatterport_skybox_imagesundistorted_camera_parametersundistorted_color_imagesundistorted_depth_imagesundistorted_normal_imageshouse_segmentationsregion_segmentationsimage_overlap_datapoisson_meshessens
Download all available data types for specified scans with additional task data:
python download_mp.py -o base_dir --scans scans.txt --task_data semantic_voxel_label_data semantic_voxel_label_models- Default log file:
download.log - Logs include:
- Timestamps
- Download progress
- Extraction status
- Error messages
- Cleanup confirmations
Before using this downloader, you must:
- Obtain permission from Matterport
- Agree to the Matterport3D Terms of Service
- Have sufficient storage space for downloaded data
Contributions are welcome! Please feel free to:
- Submit issues
- Create pull requests
- Suggest improvements
- Report bugs
This project is licensed under the MIT License - see the LICENSE file for details.
Based on the original Matterport3D dataset download script, enhanced with additional features for improved performance and user experience.