In this post OpenCV: Shift/Align face image relative to reference Image (Image Registration), there is a function called
void alignImage(vector<Rect> faceROIstore, vector<Mat> faceIMGstore)
Can somebody explain the meaning of the parameters and how these will be used in the code please?
My second question is: can this function be used to align 2 face images of the same person?