FastDeploy  latest
Fast & Easy to Deploy!
Public Member Functions | List of all members
fastdeploy::vision::faceid::AdaFacePostprocessor Class Reference

Postprocessor object for AdaFace serials model. More...

#include <postprocessor.h>

Public Member Functions

 AdaFacePostprocessor ()
 Create a postprocessor instance for AdaFace serials model.
 
bool Run (std::vector< FDTensor > &infer_result, std::vector< FaceRecognitionResult > *results)
 Process the result of runtime and fill to FaceRecognitionResult structure. More...
 

Detailed Description

Postprocessor object for AdaFace serials model.

Member Function Documentation

◆ Run()

bool fastdeploy::vision::faceid::AdaFacePostprocessor::Run ( std::vector< FDTensor > &  infer_result,
std::vector< FaceRecognitionResult > *  results 
)

Process the result of runtime and fill to FaceRecognitionResult structure.

Parameters
[in]tensorsThe inference result from runtime
[in]resultThe output result of FaceRecognitionResult
Returns
true if the postprocess successed, otherwise false

The documentation for this class was generated from the following files: