mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
* 第一次提交 * 补充一处漏翻译 * deleted: docs/en/quantize.md * Update one translation * Update en version * Update one translation in code * Standardize one writing * Standardize one writing * Update some en version * Fix a grammer problem * Update en version for api/vision result * Merge branch 'develop' of https://github.com/charl-u/FastDeploy into develop * Checkout the link in README in vision_results/ to the en documents * Modify a title * Add link to serving/docs/ * Finish translation of demo.md
1.0 KiB
1.0 KiB
English | 中文
Face Recognition Result
The FaceRecognitionResult code is defined in fastdeploy/vision/common/result.h, and is used to indicate the image features embedding in the face recognition model.
C++ Definition
fastdeploy::vision::FaceRecognitionResult
struct FaceRecognitionResult {
std::vector<float> embedding;
void Clear();
std::string Str();
};
- embedding: Member variable which indicates the final extracted feature embedding of the face recognition model, and can be used to calculate the facial feature similarity.
- Clear(): Member function used to clear the results stored in the structure.
- Str(): Member function used to output the information in the structure as string (for Debug).
Python Definition
fastdeploy.vision.FaceRecognitionResult
- embedding(list of float): Member variable which indicates the final extracted feature embedding of the face recognition model, and can be used to calculate the facial feature similarity.