Ask Your Question

How to obtain all matching scores in LBPHFaceRecognizer

asked 2015-06-02 17:43:48 -0500

valentine gravatar image

Dear All,

As we know that LBPHFaceRecognizer only provides the best score for a Test image against the training set. However, I am working score level fusion of Face and Iris biometrics. I want to combine matching scores from both Face and Iris biometrics to improve recognition rate. Please how can i get all matching scores for every test image. I need your help.


edit retag flag offensive close merge delete


unfortunately, the current interface does not allow this.

you will have to tear out the lbph code from the contrib module/repo to your own code, and strip it of the interface / write your own .

berak gravatar imageberak ( 2015-06-03 01:01:28 -0500 )edit

Thanks berak for advice. I have seen the code for Lbp in opencv_contrib module will work on that now. I just need to some modifications to the code and i know i will be fine. Thanks all the same.

valentine gravatar imagevalentine ( 2015-06-03 03:05:44 -0500 )edit

come back, if you run into any problem

berak gravatar imageberak ( 2015-06-03 03:07:31 -0500 )edit

Thanks berak, i have solved my problem. I have been able to obtain all matching scores for LBPHFaceRecognizer. Thanks alot for the tips.

valentine gravatar imagevalentine ( 2015-06-03 06:29:31 -0500 )edit

Do you think you could post your solution somewhere? I am trying to accomplish the same thing. Thanks in advance.

MikeMartin gravatar imageMikeMartin ( 2015-09-02 10:36:16 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-05 16:29:19 -0500

valentine gravatar image

Dear MikeMartin,

Its easy copy out the LBPH code from opencv_contrib module and place it in a new file and good to go. find the attached my file lBP. Provide your email to send you the modified code.

edit flag offensive delete link more

Question Tools


Asked: 2015-06-02 17:43:48 -0500

Seen: 209 times

Last updated: Sep 05 '15