class DfaceCompare, a class responsible for face comparing
More...
|
| | DfaceCompare (String modePath, int accuracy, out int err_code) |
| | DfaceCompare Constructor More...
|
| |
| void | Dispose () |
| | DfaceCompare Destructor More...
|
| |
| float | similarityByFeature (byte[] feature_1, byte[] feature_2) |
| | Compare with two face feature More...
|
| |
| void | similarityByFeatureSort (byte[] feature_request, byte[,] load_feature, long[] load_idx, int top, float threshold, out long[] ret_idx, out float[] ret_simi) |
| | Compare with face feature(1:n),return top k similarity More...
|
| |
class DfaceCompare, a class responsible for face comparing
| DFace.DfaceCompare.DfaceCompare |
( |
String |
modePath, |
|
|
int |
accuracy, |
|
|
out int |
err_code |
|
) |
| |
DfaceCompare Constructor
- Parameters
-
| modePath | DFace model path |
| accuracy | accuracy(2:high speed 3:high accuracy(default)) |
| void DFace.DfaceCompare.Dispose |
( |
| ) |
|
| float DFace.DfaceCompare.similarityByFeature |
( |
byte[] |
feature_1, |
|
|
byte[] |
feature_2 |
|
) |
| |
Compare with two face feature
- Parameters
-
| feature_1 | First face feature(512 bytes) |
| feature_2 | Second face feature(512 bytes) |
- Returns
- similarity(0.0~1.0)
| void DFace.DfaceCompare.similarityByFeatureSort |
( |
byte[] |
feature_request, |
|
|
byte |
load_feature[,], |
|
|
long[] |
load_idx, |
|
|
int |
top, |
|
|
float |
threshold, |
|
|
out long[] |
ret_idx, |
|
|
out float[] |
ret_simi |
|
) |
| |
Compare with face feature(1:n),return top k similarity
- Parameters
-
| feature_request | one face feature(512 bytes) |
| load_feature | n face feature |
| load_idx | n face id |
| top | top k value |
| threshold | threshold(Only return the similarity larger than this threshold, default 0.0(return all)) |
| ret_idx | top k id |
| ret_simi | top k similarity |
The documentation for this class was generated from the following file:
- dotnet/en/DFaceEnglish.cs