1 | initial version |
The principle is the same as in Eigenfaces and Fisherfaces: finding the image in the gallery/reference set who has the closest distance to the test image. But with LBPH, the distance function is compareHist (see function void LBPH::predict(InputArray _src, int &minClass, double &minDist) at this file for more details).
2 | No.2 Revision |
The principle is the same as in Eigenfaces and Fisherfaces: finding the image in the gallery/reference set who has the closest whose distance to the test image. image is the closest. But with LBPH, the distance function is compareHist (see function void LBPH::predict(InputArray _src, int &minClass, double &minDist) at this file for more details).