For Face-Morphing, clone using the github command in the following location.
https://github.com/Azmarie/Face-Morphing
Of course, use the command git clone https://github.com/Azmarie/Face-Morphing.
The required packages are:
numpy
scikit_image
opencv_python
Pillow
skimage
dlib (요건 Cmake 패키지를 먼저 설치하라고 함)
It will ask you to install “imutils” package later.
The result obtained by “pip freeze>requirements.txt” is shown below.
certifi==2020.6.20
cmake==3.22.3
dlib==19.23.1
imageio==2.16.1
imutils==0.5.4
networkx==2.6.3
numpy==1.21.5
opencv-python==4.5.5.64
packaging==21.3
Pillow==9.0.1
pyparsing==3.0.7
PyWavelets==1.3.0
scikit-image==0.19.2
scipy==1.7.3
tifffile==2021.11.2
python3 code/__init__.py –img1 images/aligned_images/jennie.png –img2 images/aligned_images/rih.png –output output.mp4
jennie.png and rih.png will be morphed and output to output.mp4
I commented on these three lines in face_morph.py. The image pixel numbers should be correspondent.
In Gimp