LBPH prediction slow?
Hi,
I made a face recognition program with the LBPH Face Recognizer and it works pretty well, despite this i saw that the more train images you got, the prediction became slower and slower... Is there any solution to make the prediction faster?
I work on a Raspberry Pi 3 and the LBPH parameters that i currently use are 1,8,8,8,130.0 and I currently got about 600 pictures for the training
Thank you in advance!
PS: sorry for my English, i'm French !
how large are your images ? also, what is your use-case ? (is an identification / closest of many scheme really , what you need ?)
@berak My images are 200*200, and i use the face recognition to identifie a person in front of a webcam video, but i need to be able to recognize a lot of people (currently i only have 20 person in the database)
sorry, misread it. image size is more or less irrelevant here.
there is no really optimisation in predict method for LBPH. When you have N training faces predict calulates N times compareHist