Processor base class for processors in fastdeploy/vision/common/processors.
More...
#include <base.h>
|
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 base class for processors in fastdeploy/vision/common/processors.
◆ operator()() [1/3]
bool fastdeploy::vision::Processor::operator() |
( |
FDMat * |
mat | ) |
|
|
virtual |
operator ()
for calling processor in this way: processor(mat)
- Parameters
-
- Returns
- true if the process successed, otherwise false
◆ operator()() [2/3]
bool fastdeploy::vision::Processor::operator() |
( |
FDMat * |
mat, |
|
|
ProcLib |
lib |
|
) |
| |
|
virtual |
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.
- Parameters
-
[in] | mat | The input mat |
[in] | lib | The processing library, opencv, cv-cuda, flycv, etc. |
- Returns
- true if the process successed, otherwise false
◆ operator()() [3/3]
bool fastdeploy::vision::Processor::operator() |
( |
FDMatBatch * |
mat_batch | ) |
|
|
virtual |
operator ()
for calling processor in this way: processor(mat_batch)
- Parameters
-
[in] | mat_batch | The input mat batch |
- Returns
- true if the process successed, otherwise false
The documentation for this class was generated from the following files:
- /fastdeploy/my_work/FastDeploy/fastdeploy/vision/common/processors/base.h
- /fastdeploy/my_work/FastDeploy/fastdeploy/vision/common/processors/base.cc