|
| JPEGRestorationModel (const std::string &modelFileName, const cv::Size &inputImgSize, bool jpegCompression, const std::string &layout="") |
|
std::shared_ptr< InternalModelData > | preprocess (const InputData &inputData, ov::InferRequest &request) override |
|
std::unique_ptr< ResultBase > | postprocess (InferenceResult &infResult) override |
|
| ImageModel (const std::string &modelFileName, bool useAutoResize, const std::string &layout="") |
|
| ModelBase (const std::string &modelFileName, const std::string &layout="") |
|
virtual ov::CompiledModel | compileModel (const ModelConfig &config, ov::Core &core) |
|
virtual void | onLoadCompleted (const std::vector< ov::InferRequest > &requests) |
|
const std::vector< std::string > & | getOutputsNames () const |
|
const std::vector< std::string > & | getInputsNames () const |
|
std::string | getModelFileName () |
|
void | setInputsPreprocessing (bool reverseInputChannels, const std::string &meanValues, const std::string &scaleValues) |
|
|
void | prepareInputsOutputs (std::shared_ptr< ov::Model > &model) override |
|
void | changeInputSize (std::shared_ptr< ov::Model > &model) |
|
virtual void | setBatch (std::shared_ptr< ov::Model > &model) |
|
std::shared_ptr< ov::Model > | prepareModel (ov::Core &core) |
|
ov::Layout | getInputLayout (const ov::Output< ov::Node > &input) |
|
|
bool | jpegCompression = false |
|
bool | useAutoResize |
|
size_t | netInputHeight = 0 |
|
size_t | netInputWidth = 0 |
|
cv::InterpolationFlags | interpolationMode = cv::INTER_LINEAR |
|
RESIZE_MODE | resizeMode = RESIZE_FILL |
|
InputTransform | inputTransform = InputTransform() |
|
std::vector< std::string > | inputsNames |
|
std::vector< std::string > | outputsNames |
|
ov::CompiledModel | compiledModel |
|
std::string | modelFileName |
|
ModelConfig | config = {} |
|
std::map< std::string, ov::Layout > | inputsLayouts |
|
|
static const size_t | stride = 8 |
|
◆ JPEGRestorationModel()
JPEGRestorationModel::JPEGRestorationModel |
( |
const std::string & |
modelFileName, |
|
|
const cv::Size & |
inputImgSize, |
|
|
bool |
jpegCompression, |
|
|
const std::string & |
layout = "" |
|
) |
| |
Constructor
- Parameters
-
modelFileName | name of model to load |
inputImgSize | size of image to set model input shape |
jpegCompression | flag allows to perform compression before the inference |
layout | - model input layout |
The documentation for this class was generated from the following files: