16 #include "fastdeploy/vision/common/processors/transform.h" 17 #include "fastdeploy/vision/common/result.h" 38 bool Run(
const std::vector<FDTensor>& tensors,
39 std::vector<DetectionResult>* results,
40 const std::vector<std::map<std::string, std::array<float, 2>>>& ims_info);
44 conf_threshold_ = conf_threshold;
52 nms_threshold_ = nms_threshold;
59 float conf_threshold_;
61 float Sigmoid(
float x);
float GetConfThreshold() const
Get conf_threshold, default 0.65.
Definition: postprocessor.h:48
void SetConfThreshold(const float &conf_threshold)
Set conf_threshold, default 0.65.
Definition: postprocessor.h:43
float GetNMSThreshold() const
Get nms_threshold, default 0.45.
Definition: postprocessor.h:56
Postprocessor object for FastestDet serials model.
Definition: postprocessor.h:25
void SetNMSThreshold(const float &nms_threshold)
Set nms_threshold, default 0.45.
Definition: postprocessor.h:51
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16