17 #include "fastdeploy/fastdeploy_model.h" 18 #include "fastdeploy/vision/detection/contrib/fastestdet/preprocessor.h" 19 #include "fastdeploy/vision/detection/contrib/fastestdet/postprocessor.h" 35 FastestDet(
const std::string& model_file,
const std::string& params_file =
"",
39 std::string
ModelName()
const {
return "fastestdet"; }
55 virtual bool BatchPredict(
const std::vector<cv::Mat>& imgs,
56 std::vector<DetectionResult>* results);
65 return postprocessor_;
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
FastestDet model object used when to load a FastestDet model exported by FastestDet.
Definition: fastestdet.h:26
virtual FastestDetPostprocessor & GetPostprocessor()
Get postprocessor reference of FastestDet.
Definition: fastestdet.h:64
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: fastestdet.h:39
Model with ONNX format.
Definition: enum_variables.h:70
Postprocessor object for FastestDet serials model.
Definition: postprocessor.h:25
Preprocessor object for FastestDet serials model.
Definition: preprocessor.h:25
virtual FastestDetPreprocessor & GetPreprocessor()
Get preprocessor reference of FastestDet.
Definition: fastestdet.h:59
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16