17 #include "fastdeploy/fastdeploy_model.h" 18 #include "fastdeploy/vision/common/processors/transform.h" 19 #include "fastdeploy/vision/common/result.h" 38 const std::string& params_file =
"",
53 float conf_threshold = 0.35f,
54 float nms_iou_threshold = 0.5f);
61 std::vector<float> padding_value;
67 std::vector<int> downsample_strides;
79 std::map<std::string, std::array<float, 2>>* im_info);
82 const std::map<std::string, std::array<float, 2>>& im_info,
83 float conf_threshold,
float nms_iou_threshold);
85 bool IsDynamicInput()
const {
return is_dynamic_input_; }
93 bool is_dynamic_input_;
Option object used when create a new Runtime object.
Definition: runtime_option.h:40
NanoDetPlus model object used when to load a NanoDetPlus model exported by NanoDet.
Definition: nanodet_plus.h:28
Base model object for all the vision models.
Definition: fastdeploy_model.h:21
ModelFormat
Definition: enum_variables.h:67
FDTensor object used to represend data matrix.
Definition: fd_tensor.h:31
Detection result structure for all the object detection models and instance segmentation models...
Definition: result.h:106
std::string ModelName() const
Get model's name.
Definition: nanodet_plus.h:42
FDMat is a structure for replace cv::Mat.
Definition: mat.h:34
int reg_max
Argument for image postprocessing step, reg_max for GFL regression, default 7.
Definition: nanodet_plus.h:73
Model with ONNX format.
Definition: enum_variables.h:70
std::vector< int > size
Argument for image preprocessing step, tuple of input size (width, height), default (320...
Definition: nanodet_plus.h:59
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16