How to make a perfect group photo as the random snaps of a same photo are given..??
First we will assign a ranks to the face of a same person in different snaps based on his/her features i.e,open eyes/closed eyes and smile/nosmile.Later we select best snap of that person and repeat the same procedure for remaining faces of a persons in the image.After that we select a snap which has highest best faces based on their rank and we replace the remaining inferrior faces with respective best faces.
I want a matlab code for this Process
Please any one help me providing a matlab code