2016-01-05 09:49:40 -0600 | commented question | Why Does FaceRecognizers predict function return 1.79769e+308 as distance. :), thanks ! |
2016-01-05 09:16:45 -0600 | commented question | Why Does FaceRecognizers predict function return 1.79769e+308 as distance. Well, version 3.1. Do you mean that the behaviour of predict is to return distance 1.79769e+308 when the computed distance is greater than the threshold ? If it is the case then yes my problem is the fact that the returned label is 0 and not -1 . Thanks ! |
2016-01-05 08:18:10 -0600 | asked a question | Why Does FaceRecognizers predict function return 1.79769e+308 as distance. Hello everybody, I am using opencv and LBPHFaceRecognizer and I am observing a strange behaviour of predict function when looking at an unknown face: Seems to work correctly since it returns confidence=136.55 and a label corresponding to the best approximation of my unknown face. However when I modify threshold in order to be less than 136.55 as follows I obtained confidence=1.79769e+308 and label=0 ! As far as I understood threshold and predict I should obtained label=-1 since the distance to the best approximation is greater than threshold ... I am be bit lost then. Thanks ! |