Hi, I'd like to know how to use method extract_feature of class FaceNet that defined in utils/face_net.py. The parameter list consists of "image", "score_name", "crop_size" and "image_size".
Should "image" be the original image or a cropped one that only contains a face?
What is the "score_name"? Is it a string just as in easy_extract_features?
Is easy_extract_features very different from extract_feature?
The image should be aligned by "face landmarks", just as what is done in "easy_extract_features". After alignment, there is no difference between cropped or not.
Yes, just a string. More specific, it is the name of a layer. Usually it can be "feature" or "res5c" or something else. For more details of the names of layers, you can refer the "prototxt".
"easy_extract_features" is "align faces" + "extract feature".
Hi, I'd like to know how to use method
extract_feature
of classFaceNet
that defined inutils/face_net.py
. The parameter list consists of "image", "score_name", "crop_size" and "image_size".easy_extract_features
?easy_extract_features
very different fromextract_feature
?Thanks.