davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++
http://dlib.net
Boost Software License 1.0
13.48k stars 3.37k forks source link

Face Recog-nition practices #1096

Closed MyraBaba closed 6 years ago

MyraBaba commented 6 years ago

Hi,

I would like to know the best way to 1-to-many face recognition ways, and it could be help to the others. Accuracy increasing & clustering / searching methods

Best

thanks again davis such a great library. you have lifetime ticket from us for beer/wine/lunch :) if you pass by .. as a friend.

davisking commented 6 years ago

Don't average a bunch of vectors from different images. A better thing to do is to use either k-nearest-neighbors or something like a linear SVM if you want to take advantage of multiple images. I wouldn't use chinese whispers.

MyraBaba commented 6 years ago

If we have only one image per person that the is the best option to check lenght(face_ID_1 - faceID_2) and find the (with sort) smallest distance ?

davisking commented 6 years ago

Generally speaking, yes.

ksachdeva commented 6 years ago

Hi Davis,

Don't average a bunch of vectors from different images. A better thing to do is to use either k-nearest-neighbors or something like a linear SVM if you want to take advantage of multiple images. I wouldn't use chinese whispers.

Would appreciate if you could provide guidance/education on why Chinese Whisper should not be used.

I have a similar challenge i.e. doing 1-to-many match.

Regards & thanks Kapil

wyd1520 commented 6 years ago

@MyraBaba 将所有人人脸特征截入到内存里,然后再用 face_ID_1=xxx; foreach item in cacheFeatures lenght(face_ID_1 - item) 花不了几毫秒

dlib-issue-bot commented 6 years ago

Warning: this issue has been inactive for 28 days and will be automatically closed on 2018-09-13 if there is no further activity.

If you are waiting for a response but haven't received one it's likely your question is somehow inappropriate. E.g. you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's documentation, or a Google search.

dlib-issue-bot commented 6 years ago

Warning: this issue has been inactive for 35 days and will be automatically closed on 2018-09-13 if there is no further activity.

If you are waiting for a response but haven't received one it's likely your question is somehow inappropriate. E.g. you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's documentation, or a Google search.

dlib-issue-bot commented 6 years ago

Notice: this issue has been closed because it has been inactive for 37 days. You may reopen this issue if it has been closed in error.