Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.02 KB

face_recognition_result.md

File metadata and controls

26 lines (18 loc) · 1.02 KB

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.