alyssaq / face_morpher

:angel: Morph faces with Python, Numpy, Scipy
882 stars 233 forks source link

Is it possible to morph other type of images with it? #18

Open mdshopon opened 7 years ago

mdshopon commented 7 years ago

I wanted to morph two handwriting images. Is it possible to do with it ?

alyssaq commented 7 years ago

The code auto-detects 2D points on a face and then morphs between them. If you can specify your own sets of 2D points, you can use the warp code to morph between any 2 images.

mdshopon commented 7 years ago

What kind of images do i need to send as parameters? I received an error Not Valid Images.

alyssaq commented 7 years ago

I use scipy's imread so it should be any image format supported by Pillow: http://pillow.readthedocs.io/en/3.4.x/handbook/image-file-formats.html