Skip to content
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

Dataset.json generation #7

Closed
carlosedubarreto opened this issue Jun 25, 2023 · 11 comments
Closed

Dataset.json generation #7

carlosedubarreto opened this issue Jun 25, 2023 · 11 comments

Comments

@carlosedubarreto
Copy link

Im trying to use it with other images, but I'm having a hard time on how to generate the dataset.json file.

Can you point a direction on how to make it?

Thanks
This is a great solution that youve made.

@SizheAn
Copy link
Owner

SizheAn commented Jun 26, 2023

Working on it! I think in here #13 (comment) people are also closed to reproduce it.

@carlosedubarreto
Copy link
Author

Thanks a lot @SizheAn this data was drinving me crazy this last weekend 😀

@SizheAn
Copy link
Owner

SizheAn commented Jun 29, 2023

Thanks a lot @SizheAn this data was drinving me crazy this last weekend 😀

We update the scripts and example data for obtaining camera poses and cropping the images for PTI. See https://github.com/SizheAn/PanoHead/blob/main/3DDFA_V2_cropping/cropping_guide.md

@carlosedubarreto
Copy link
Author

Seems like the shape predictor needs to be downloaded from here

https://github.com/italojs/facial-landmarks-recognition/blob/master/shape_predictor_68_face_landmarks.dat

I'm testin it right now. Thanks a lot @SizheAn

@carlosedubarreto
Copy link
Author

Got a great result at the front part.
Just an odd result at the back of the face. But great results overall
thanks a lot for that. I'll make a lot more tests 🎉

Post1.mp4

@kashishnaqvi101
Copy link

Got a great result at the front part. Just an odd result at the back of the face. But great results overall thanks a lot for that. I'll make a lot more tests 🎉

Post1.mp4

Hey, I got an error called no module Faceboxes, did you get any such error?

@carlosedubarreto
Copy link
Author

@kashishnaqvi101 yep, me too.
You have to get most of the things from the 3DDFA repository. you will also have to compile a couple of things.

Nothing impossible, it will just give you a few more work, but totally worth it.

@kashishnaqvi101
Copy link

@kashishnaqvi101 yep, me too. You have to get most of the things from the 3DDFA repository. you will also have to compile a couple of things.

Nothing impossible, it will just give you a few more work, but totally worth it.

Yeah, it finally ran! and the results are good, i just need them in some mesh format so that an animator can actually use it

@carlosedubarreto
Copy link
Author

@kashishnaqvi101 I suggest you to take a look on Hackman repository, he made some changes that can enable the mesh output

https://github.com/hack-mans/PanoHead

@kashishnaqvi101
Copy link

@kashishnaqvi101 I suggest you to take a look on Hackman repository, he made some changes that can enable the mesh output

https://github.com/hack-mans/PanoHead

Thanks for the help, I will out hack-man's version!

@kashishnaqvi101
Copy link

kashishnaqvi101 commented Jul 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants