This is the work that I developed as my thesis for the Master's Degree in Computer Science at the University of Rome La Sapienza. The goal of this work is to develop a pipeline that allows to reconstruct the 3D shape of a person from multiview images, and then perform a virtual try-on of a garment on the reconstructed person. You can find my thesis in the thesis folder.
To install the dependencies, you can create an environment from the environment.yml file. You can do this by running the following command:
conda env create -f environment.ymlYou need the 4D-Dress dataset, obtainable at this link.
Once you have downloaded the dataset (or even part of it), you need to move it under the 4D-Dress folder.
Finally, you have to run the evaluation/prepare_reconstruction_evaluation_data.py script to prepare the data for the evaluation.
You need the SMPL model, which can be downloaded from the SMPL website. Once you have downloaded the model, you need to move it under the smpl folder. Notice that you will need smpl/smpl, smpl/smpl300, and smpl/smplx.
You can download the repositories from the respective github repos:
- My fork of NICP
- My fork of Gaussian Splatting
Follow the instructions in the respective repositories to install the dependencies and the missing files.
To perform the reconstruction between two arbitrary avatars, you can run the train_baseline_on_user.py script on each of them, and then use the run_retarget_lbs_on_user.py script to retarget the garment from one avatar to the other. Examples of the usage of these scripts can be found in the start.sh script.
To run the evaluation, use the run_evaluation.py script.