diff --git a/data_processing/ReadMe.md b/data_processing/ReadMe.md index 7d5da0e..2794243 100644 --- a/data_processing/ReadMe.md +++ b/data_processing/ReadMe.md @@ -1,24 +1,35 @@ # Data preprocessing -The following repository consists of code to process the data generated by Unreal into a format that could be used for training BEDLAM-CLIFF/BEDLAM-HMR. You could modify the code to support research for tracking, multi-person pose estimation etc. +The following repository consists of code to process the data generated by Unreal into a format that could be used for training BEDLAM-CLIFF/BEDLAM-HMR. You could modify the code to support research for tracking, multi-person pose estimation etc. We provide code for processing both SMPL-X and SMPL based ground truth. -## Prepare data +## Prepare data (SMPL-X) Step 1. Register on [BEDLAM](https://bedlam.is.tue.mpg.de/) website. Step 2. Download BEDLAM 30fps images and ground truth camera in bedlam_data/images from Synthetic Image Data (30fps) section of [BEDLAM](https://bedlam.is.tue.mpg.de/download.php). Note that only image sequences and ground truth for sequences is needed i.e. -png, -gt -Step 3. Register on [SMPL-X](https://smpl-x.is.tue.mpg.de/) website if not done already. If you want to get SMPL npz files, register on [SMPL](https://smpl.is.tue.mpg.de/) +Step 3. Register on [SMPL-X](https://smpl-x.is.tue.mpg.de/) website if not done already. Step 4. Run following script to download SMPL-X model files and BEDLAM animation files in neutral SMPL-X format. ``` bash download_utils.sh ``` -For SMPL, run following script instead: + +## Prepare data (SMPL) + +Step 1. Register on [BEDLAM](https://bedlam.is.tue.mpg.de/) website. + +Step 2. Download BEDLAM 30fps images and ground truth camera in bedlam_data/images from Synthetic Image Data (30fps) section of [BEDLAM](https://bedlam.is.tue.mpg.de/download.php). Note that only image sequences and ground truth for sequences is needed i.e. -png, -gt + +Step 3. Register on [SMPL](https://smpl.is.tue.mpg.de/) website. + +Step 4. Run following script to download SMPL model files and BEDLAM animation files in neutral SMPL format. + ``` bash download_utils_smpl.sh ``` + ## Run Once the data is downloaded you can run the following script to generate the output `*.npz` file for each scene. If you want to generate npz for particular scenee you can modify bedlam_scene_names.csv file.