How to preprocess face before training?
I am using haarcascade classifier for detecting faces and training them which will be used for recognition later. How to preprocess the images like smoothing, denoising etc before training. Kindly suggest me some codes in python.
Thanks in advance
to avoid the XY problem, mind explaining the purpose of your program ?
(do you really want or need a "one out of x" identification task ?)
I just want to increase the recognizing accuracy! For that I think, better the training better will be the results. for better training i wish to do some preprocessing of the images. how to do it! I am using opencv python
"I just want to increase the recognizing accuracy!" -- for what purpose ,again ? different needs require differrent solutions. (e.g. if you're trying "is that me ?", it might be the wrong approach to use opencv's face recognition classes, which are doing something else)
"I am using opencv python" -- irrelevant
Bro! Actually I trained my face recognition system with 10 images each of 5 persons using Haar classifier. When i test the system by providing some 5 test images it recognises person A as person B. How to improve the accuracy! Thats my question
"When i test the system by providing some 5 test images it recognises person A as person B" - This is recognition I guess. It recognises wrongly