serengil / deepface

A Lightweight Face Recognition and Facial Attribute Analysis (Age, Gender, Emotion and Race) Library for Python

Home Page:https://www.youtube.com/watch?v=WnUVYQP4h44&list=PLsS_1RYmYQQFdWqxQggXHynP1rqaYXv_E&index=1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New answer

Naster17 opened this issue · comments

commented

What do you recommend if the photo is not of very good quality, but is taken by combining frames from the video and I leave the option of selecting faces to the neural network (to distinguish where there is a face and where there is not)

commented

Please advise if I want to index a very large number of persons

commented

And what do you think about:
normalization (string): Normalize the input image before feeding it to the model.
Options: base, raw, Facenet, Facenet2018, VGGFace, VGGFace2, ArcFace (default is base).

for you comb. you say me before

1- set enforce_detection argument to False if you are working with low quality images - https://github.com/serengil/deepface/blob/master/deepface/DeepFace.py#L70

2- you should use ann algorithm to index large scale database: https://sefiks.com/tag/nearest-neighbor/

3- use the default option for normalization.