Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
IMPORTANT: If your issue is related to a specific picture, include it so others can reproduce the issue.
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
Can you ask a more detailed question? Confidence of which part exactly?
I think he/she wants to know if its possible, along with returning true/false, can we also get some parameter which can tell how much confident the algorithm is that the answer is correct..like score out of 100 (%age) etc.
For getting confidence score, you can use classifiers like svm instead of the knn in face recognition module.
@sysgsoft are you saying that knn does not support returning confidence levels ?
@sysgsoft are you saying that knn does not support returning confidence levels ?
KNN is non parametric approach. It will not perform well if we have lot of data. while testing it will take more time. I think parametric approaches like SVM will perform better.
Thanks @sysgsoft
Can this library be used for SVM ? And if so, mind sharing how?
I saw this one issue asking for SVM but it has no reply yet
https://github.com/ageitgey/face_recognition/issues/477
Most helpful comment
I think he/she wants to know if its possible, along with returning true/false, can we also get some parameter which can tell how much confident the algorithm is that the answer is correct..like score out of 100 (%age) etc.