gafniguy / 4D-Facial-Avatars

Dynamic Neural Radiance Fields for Monocular 4D Facial Avater Reconstruction
679 stars 67 forks source link

How to get the bounding box? #38

Closed sunshineatnoon closed 2 years ago

sunshineatnoon commented 2 years ago

Hi, I'm trying to train this model on other videos. May I ask how to get the bounding box? So far I used face parsing model to get a semantic segmentation and extract a bounding box including both the face and torso part. It seems larger than the bounding box coming with NeRFace. I'm not sure if this is the correct way. Thanks for your time.

gafniguy commented 2 years ago

Just for completion - I was rasterizing the tracked face model onto the image, and taking a box around it (a bit enlarged to catch hair). Your described methods should work fine too