Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Align images so that facial features coincide
ResourceFunction["ImageAlignFaces"][img1,img2] returns a list of images where the first face in each image is aligned. | |
ResourceFunction["ImageAlignFaces"][img1,img2,{i,j}] returns a list of images where the ith face in img1 is aligned with the jth face in img2. | |
ResourceFunction["ImageAlignFaces"][img1,img2,{i,j},s] returns a list of images of size s. |
Align two images by facial features:
| In[1]:= | ![]() |
| Out[1]= | ![]() |
Superimposing the resulting images shows the facial match:
| In[2]:= |
| Out[2]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License