This repo is based on HRNet-Semantic-Segmentation and further used in ScenEgo project for egocentric human body pose estimation.
- Install pytorch >= v1.11.0 following official instruction.
- run:
pip install -r requirements.txt
- Download pretrained models and put them under
checkpoints/
folder.
python demo.py --cfg experiments/egocentric/egocentric_seg_test.yaml --img_dir data/example_data/imgs --model_path checkpoints/ego_human_seg.pth.tar
The result will be saved under data/example_data/segs
.
If you find this work or code is helpful in your research, please cite:
@inproceedings{wang2023scene,
title={Scene-aware Egocentric 3D Human Pose Estimation},
author={Wang, Jian and Luvizon, Diogo and Xu, Weipeng and Liu, Lingjie and Sarkar, Kripasindhu and Theobalt, Christian},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
pages={13031--13040},
year={2023}
}