I am using LBPH model yml to save images after train, how can i save images with their user-id

asked 2020-06-01 23:08:50 -0600

muas gravatar image

I am using LBPH model yml to save images after train, how can I train images with their user-id?

edit retag flag offensive close merge delete

Comments

the model saves lbph features along with the ids, so what is the problem, exactly ?

please explain !

berak gravatar imageberak ( 2020-06-02 01:21:04 -0600 )edit

guess he wants to do face recognition and recognize users by id or sth

holger gravatar imageholger ( 2020-06-02 02:29:46 -0600 )edit

actually that's the case Holger, I want to train images with userid, currently, they are trained using labels and the labels.. I am a little bit confused here, in the yml file there are 6 labelsInfo. and per person, I am saving 6 images. the total users I have registered are 20, so should the 20 users each having 6 images have their labelsInfo?
2. when predicting how will I be able to check if the userId of the image in the yml file then predict

muas gravatar imagemuas ( 2020-06-02 03:02:40 -0600 )edit

i probably misunderstand what you're saying, but wouldn't it just require a label-> userID (whatever that is) lookup table ?

berak gravatar imageberak ( 2020-06-02 03:07:18 -0600 )edit

I think what he wants is that here https://answers.opencv.org/question/2...

This was liberally provided by you. But the author should really put a bit more effort in making himself clear imho.

holger gravatar imageholger ( 2020-06-02 05:39:52 -0600 )edit