-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make custom pointcloud data as inference input? #1
Comments
Hi @YiChenCityU, If you want to change some properties of the input for inference you can play araound with |
Thanks very much. What if I only have a point cloud captured from iphone, do I have to provide the expression of it? |
|
Hey, cool stuff. The problem is very likely the coordinate system. NPHM only works if the input is in the expected coordinate system (FLAME coordinate system scaled by a factor of 4). Therefore, you would first have to align the input point cloud with the FLAME coordinate system, e.g. a very simple approach would be a similarity transform from detected 3D landmarks to the landmarks of the FLAME template. Actually, you could also first fit FLAME and use the resulting Scale, Rotation, and Translation from the result. In that case, you can separate the head from the torso in the same way as in the preprocessing of NPHM. Having observations on the torso tends to confuse the inference optimization Here is an example mesh from the dataset and one of the provided point clouds to show why the model fails: |
I will try. Thanks very much. |
Ive been trying to unravel the description as well, I didnt get as far as yichen, It would be wonderful if you could provide a full test example ... |
Thank you so much @SimonGiebenhain for publishing the code and congrats for your great work! Quick Q: I have a pointcloud in.obj format (lifted from a foreground RGB-D monocular image) that is transformed to be on the exact same space with FLAME as suggested above. How do you go about fitting NPHM to this particular pointcloud ? I'm asking because the example provided uses existing identities (along with their expressions) from the dummy_data whereas I'm interested in preserving the identity of the pointcloud. Thank you! |
@SimonGiebenhain Original files are here. |
How did you get FLAME models? What solution did you employ?
Do you have this code of alignment or did you use another method to align point cloud and flame?
Do you mean that fitting Flame to point cloud can give us the same NPHM output? |
just manually in Cloud Compare, rotated, scaled. Also you can try in Blender |
Hi, Congratulations. I want to test the inference code with the pointcloud as input. Could you provide some advices? Thanks very much.
The text was updated successfully, but these errors were encountered: