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
- 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_data
keypoint_matching_models
surface_normal_data
surface_normal_models
region_classification_data
region_classification_models
semantic_voxel_label_data
semantic_voxel_label_models
minos
gibson
habitat
pixelsynth
igibson
mp360
cameras
matterport_camera_intrinsics
matterport_camera_poses
matterport_color_images
matterport_depth_images
matterport_hdr_images
matterport_mesh
matterport_skybox_images
undistorted_camera_parameters
undistorted_color_images
undistorted_depth_images
undistorted_normal_images
house_segmentations
region_segmentations
image_overlap_data
poisson_meshes
sens
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.