17 #include "fastdeploy/vision/common/processors/base.h" 26 Crop(
int offset_w,
int offset_h,
int width,
int height) {
33 bool ImplByOpenCV(
Mat* mat);
36 bool ImplByFlyCV(
Mat* mat);
38 std::string Name() {
return "Crop"; }
50 static bool Run(
Mat* mat,
int offset_w,
int offset_h,
int width,
int height,
51 ProcLib lib = ProcLib::DEFAULT);
Processor for crop images with given paramters.
Definition: crop.h:24
FDMat is a structure for replace cv::Mat.
Definition: mat.h:34
Processor base class for processors in fastdeploy/vision/common/processors.
Definition: base.h:42
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16