I'm using openCV library in my c# application to detect face due to my knowledge base images,but there's a problem when detecting faces,in first time my function detect correctly the person A's face and show his name,but after this detection the function has another detect for the same person A's face but this time with person B's name and despite there's no person B in scene but unfortunately his face get detected in wrong operation. here is my recognizer function code :
MCvTermCriteria termCrit = new MCvTermCriteria(countTrain, 0.001);
EigenObjectRecognizer recognizer = new EigenObjectRecognizer(trainingImages.ToArray(), clientInfo.ToArray(), 2500, ref termCrit);
Emgu.CV.EigenObjectRecognizer.RecognitionResult recognizerResult = recognizer.Recognize(result);
in above code,I pass the trained image array and owners label array to function for detection operation.