I wrote a simple library to handle the morphing in javascript, but it does not do feature detection. (in my implementation you have to choose the matching points manually).
http://peter.pisljar.si/#!/en/projects/image_morph_js
to make it work automatically you will need to recognize some points (more the better) on the face. Also for the animation to look nice the images should be of the same size, similar background ...
finding other faces that resemble your face ... that might be more interesting :)
you could try with classifiers (k nearest neighbours ?) however i am not sure how well will it actually work.
you can find a nice list of algorithms to detect facial features here:
https://facedetection.com/algorithms/
ps: another idea ... you could also just compare the facial features (something like fingerprint comparison, where it doesnt actually compare fingerprints, but just its features (line splits, short line, line exits on the same side as it enters)