Deep3dPortrait
Deep3dPortrait copied to clipboard
How to use my own pictures for 3D reconstruction
I want to use my photos to generate a 3D portrait model. I learned that in addition to photos, I also need several other files to input.
I have used the method here [https://github.com/sicxu/Deep3dPortrait/issues/9](url) to generate landmark.txt file.But I don't know how to generate the detection.txt files and the .mat file.
I am a novice. I hope you can give me as detailed steps as possible to answer my doubts. Thank you very much for your help.
Have you found a way to create detection.txt file? @jly0810 If so please mention the method.
Hi, I have the same question! Have you find the way to generate them (.mat, landmark.txt)?
@sicxu Hi, Dr. Xu, this is a great work. I followed #25 and LeoGitGuy's suggestion, but the depth map has problem.
/home/neural_image/Deep3dPortrait/utils/preprocess.py:27: FutureWarning: rcond
parameter will change to the default of machine precision times max(M, N)
where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass rcond=None
, to keep using the old, explicitly pass rcond=-1
.
k, , , _ = np.linalg.lstsq(A, b)
(239, 239, 3)
(159, 159, 3)
(79, 79)
Traceback (most recent call last):
File "step1_recon_3d_face.py", line 126, in
Can you give me some advice? Thank you very much!
Best, Mike
Hi, I have the same question! Have you find the way to generate them (.mat, landmark.txt)?
Have you found the method to generate landmark.txt, detection.txt, and .mat?
Just follow https://github.com/sicxu/Deep3dPortrait/issues/25 and other issues in this repo, you can generate these files.
Just follow #25 and other issues in this repo, you can generate these files.
Thank you very much for your answer! I have obtained the coordinates of 68 key points, but when I obtained the initial .mat file, I found that "https://arxiv.org/pdf/1906.01342.pdf" was inaccessible. Do you have any ideas?