how can train file for face recognition
Hello, Actually, when i try to train data from video file, sometimes it can train properly and can recognize face properly. But some times by using same video file and same code, could not train data properly. Here i can see the facedata.xml file which contain some garbage/unexpected value.So,it affect when recognize the face. I could not find proper reason behind this.Please guide me to get proper way.
Regards, Kishan Patel.
Please improve your question. Your steps must be presented completely and succinctly, so that your results may be simply and easily repeated by a person trying to understand and answer your question. You'll need a URL pointing to example input data, a precise description of the erroneous output, a discussion of the expected output, and you need to include (in text form) any code.
Okay, let I share a link from which I have used the source code.
http://www.shervinemami.info/faceReco...
From above link source code can get by downloading "onlineFaceRec_Linux.zip" file. I this code image file can get by webcam, which I had changed and get video file.
Now, from this video, I have trained the face and then generate the "facedata.xml" file. The Issue is that sometimes data has trained properly and sometimes not. It can be understood by checking "facedata.xml" file.
I am sharing both "facedata.xml" file which contains proper data and another which contain some unexpected data like as "nan" instead of a float value.
link text
Before use this file, first rename it by use extension ".xml".
Thanks.
Some feedback:
while shervin has done some amazing pioneer work there, that code is entirely outdated today, and problems with that may no more be relevant.
Hello Berak. So, which code should i follow. Is there any reference code which could i implement?
Regards, Kishan Patel.
@kishan, how comes you did not see this or this ?
Okay, Actually i have using one EVM board and there is opencv 3.1 has been installed. So, how can i do face recognition with this version. Because, i had tried to install some library but i could not.
Regards, Kishan Patel.
update your opencv , and try the dnn