16 #include "fastdeploy/fastdeploy_model.h" 17 #include "fastdeploy/vision/common/processors/transform.h" 18 #include "fastdeploy/vision/common/result.h" 35 const std::string& params_file =
"",
39 virtual std::string
ModelName()
const {
return "yolov7end2end_ort"; }
48 float conf_threshold = 0.25);
56 std::vector<float> padding_value;
72 std::map<std::string, std::array<float, 2>>* im_info);
75 const std::map<std::string, std::array<float, 2>>& im_info,
76 float conf_threshold);
78 void LetterBox(
Mat* mat,
const std::vector<int>& size,
79 const std::vector<float>& color,
bool _auto,
80 bool scale_fill =
false,
bool scale_up =
true,
83 bool is_dynamic_input_;
virtual std::string ModelName() const
Get model's name.
Definition: yolov7end2end_ort.h:39
Option object used when create a new Runtime object.
Definition: runtime_option.h:40
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
std::vector< int > size
Argument for image preprocessing step, tuple of (width, height), decide the target size after resize...
Definition: yolov7end2end_ort.h:53
Detection result structure for all the object detection models and instance segmentation models...
Definition: result.h:106
YOLOv7End2EndORT model object used when to load a YOLOv7End2EndORT model exported by YOLOv7...
Definition: yolov7end2end_ort.h:25
FDMat is a structure for replace cv::Mat.
Definition: mat.h:34
Model with ONNX format.
Definition: enum_variables.h:70
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16