Opencv face recognition

what is the purpose of your program ?
what are you trying to achieve here ?
how did you train this ?