Ask Your Question

lechautu1993's profile - activity

2015-06-03 14:45:45 -0600 asked a question About face prediction

Hi, i'm a senior student, researching about OpenCV to create face recognition program. The program is running perfectly but i want to understand more about it. When i call Predict() to recognize a given face using its calculated LBP histogram, i wish to know how it works. i think that it calculates distances from histogram of given face to each histogram in database, compares the smallest distance with a threshold to return -1 or id of the closest histogram in database. Does it really calculate all distances linearly and greedily? In case i have thousands or millions faces in database, it would take a long time to return result if it uses that method. Thanks.