FastDeploy  latest
Fast & Easy to Deploy!
Public Member Functions | List of all members
fastdeploy::vision::Processor Class Referenceabstract

Processor base class for processors in fastdeploy/vision/common/processors. More...

#include <base.h>

Inheritance diagram for fastdeploy::vision::Processor:
Inheritance graph
[legend]

Public Member Functions

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...
 

Detailed Description

Processor base class for processors in fastdeploy/vision/common/processors.

Member Function Documentation

◆ operator()() [1/3]

bool fastdeploy::vision::Processor::operator() ( FDMat mat)
virtual

operator () for calling processor in this way: processor(mat)

Parameters
[in]matThe input mat
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]matThe input mat
[in]libThe 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_batchThe input mat batch
Returns
true if the process successed, otherwise false

The documentation for this class was generated from the following files: