# The script will automatically install gdown and download required resources
.\download_resource.bat
```
Note:
- Download time varies from minutes to tens of minutes depending on network speed
- If download fails, you can rerun the script
- Ensure stable network connection
## Usage
1.**Record Monocular Video**
- Reference example videos on the project page
- Recording requirements:
* Subject should rotate head slowly to capture all angles
* Keep hair and face clearly visible
* Avoid motion blur from fast movements
* Maintain stable lighting conditions
* Recommended length: 10-20 seconds
* Recommended resolution: 1920x1080 or higher
Note:
- DATA_PATH should point to directory containing raw.mp4
- Directory paths should not contain spaces or special characters
- Ensure sufficient disk space (at least 20GB recommended)
2.**Setup Scene Directory**
- Create a new folder, e.g., C:\path\to\scene\folder
- Place raw.mp4 in this folder
3.**Run Installation and Reconstruction Scripts**
- Set environment variables PROJECT_DIR and DATA_PATH in install.bat and run.bat
- For example:
```cmd
set "PROJECT_DIR=C:\path\to\project"
set "DATA_PATH=C:\path\to\scene\folder"
```
- Modify environment variables CUDA_HOME, BLENDER_DIR, VS_DIR in install.bat and run.bat
```cmd
set "CUDA_HOME=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8"
set "BLENDER_DIR=C:\Program Files\Blender Foundation\Blender 3.6"
set "VS_DIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
```
- Run installation script
```cmd
.\install.bat
```
- Run reconstruction script
```cmd
.\run.bat
```
## License
This code is based on the 3D Gaussian Splatting project. See LICENSE_3DGS for terms and conditions. The rest of the code is distributed under CC BY-NC-SA 4.0.
## Citation
If you find this code helpful for your research, please cite our paper:
```bibtex
@inproceedings{zakharov2024gh,
title = {Human Hair Reconstruction with Strand-Aligned 3D Gaussians},
author = {Zakharov, Egor and Sklyarova, Vanessa and Black, Michael J and Nam, Giljoo and Thies, Justus and Hilliges, Otmar},
booktitle = {European Conference of Computer Vision (ECCV)},