Open LiUzHiAn opened 2 years ago
Thanks for your nice words, and thanks for pointing out the bug. I used PyTorch’s convention by mistake. Will fix it soon.
I just ran the unit test of the the face_morph.py
.
When I tried to save the morphing video into .mp4
file, I was told ValueError: unknown file extension: .mp4
. So I saved the video in .gif
extension instead. But the gif quality is low, do you have any ideas?
makeup image
non-makeup image
morphing video
Thx.
It turns out that opencv works well. Let me PR to fix the tiny mistake and add this video saving feature.
: )
Thanks for your amaaaaaazing work, buddy, really helpful to me. The project design, code base structure and implementation are elegant.
Just a tiny bug there exists is the Delauney's triangulation computing process, see >>here<<. Thought in most cases this would make no effect on the final morphing result, I think it's more reasonable to be
h, w, _ = np.array(img).shape
.