|
FastDeploy
latest
Fast & Easy to Deploy!
|
Processor for crop images with given paramters. More...
#include <crop.h>


Static Public Member Functions | |
| static bool | Run (Mat *mat, int offset_w, int offset_h, int width, int height, ProcLib lib=ProcLib::DEFAULT) |
| Process the input images. More... | |
Additional Inherited Members | |
Public Member Functions inherited from fastdeploy::vision::Processor | |
| virtual bool | operator() (FDMat *mat) |
operator () for calling processor in this way: processor(mat) More... | |
| virtual bool | operator() (FDMat *mat, ProcLib lib) |
operator () for calling processor in this way: processor(mat, lib) This function is for backward compatibility, will be removed in the near future, please use operator()(FDMat* mat) instead and set proc_lib in mat. More... | |
| virtual bool | operator() (FDMatBatch *mat_batch) |
operator () for calling processor in this way: processor(mat_batch) More... | |
Processor for crop images with given paramters.
|
static |
Process the input images.
| [in] | mat | The input image data |
| [in] | offset_w | The offset of width. |
| [in] | offset_h | The offset of height. |
| [in] | width | The width of the output image. |
| [in] | height | The height of the output image. |
| [in] | lib | to define OpenCV or FlyCV or CVCUDA will be used. |
1.8.13