Click here to Skip to main content
15,889,403 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i try to get the average of the face recognization
while the face is detected and try to recognize can i get the average of each
picture in the train set ?

MCvTermCriteria termCrit = new MCvTermCriteria(count_train, 0.001);

                       //Eigen face recognizer
                       EigenObjectRecognizer recognizer = new EigenObjectRecognizer(
                          store_train_image.ToArray(),
                          store_names_train.ToArray(),
                          3000,
                          ref termCrit);

                       name = recognizer.Recognize(image_result);

                       //Draw the label for each face detected and recognized
                       //MessageBox.Show("find...");
                       image_Original.Draw(name, ref font, new Point(face.rect.X - 2, face.rect.Y - 2), new Bgr(Color.LightGreen));
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900