Public Member Functions | |
| Impl (const std::string &modelPath, int backendId, int targetId) | |
| cv::Mat | postprocessOutput (const cv::Mat &output) |
| cv::Mat | preprocessImage (const cv::Mat &image) |
Public Attributes | |
| BackendState | backend |
| cv::Mat | blob |
| cv::Size | currentSize |
| const cv::String | inputName {"x"} |
| cv::Mat | logit |
| cv::dnn::Net | model |
| cv::Size | modelInputSize {192, 192} |
| const cv::String | outputName {"save_infer_model/scale_0.tmp_1"} |
| cv::Mat | previousMask |
| cv::Mat | probability |
| cv::Mat | resizedMask |
|
inline |
|
inline |
Definition at line 567 of file dnn.cpp.
References currentSize, logit, previousMask, probability, and resizedMask.
|
inline |
Definition at line 558 of file dnn.cpp.
References blob, currentSize, and modelInputSize.
| BackendState ac_dnn::PPHS::Impl::backend |
| cv::Mat ac_dnn::PPHS::Impl::blob |
Definition at line 537 of file dnn.cpp.
Referenced by preprocessImage().
| cv::Size ac_dnn::PPHS::Impl::currentSize |
Definition at line 534 of file dnn.cpp.
Referenced by postprocessOutput(), and preprocessImage().
| cv::Mat ac_dnn::PPHS::Impl::logit |
Definition at line 538 of file dnn.cpp.
Referenced by postprocessOutput().
| cv::dnn::Net ac_dnn::PPHS::Impl::model |
| cv::Size ac_dnn::PPHS::Impl::modelInputSize {192, 192} |
Definition at line 533 of file dnn.cpp.
Referenced by preprocessImage().
| const cv::String ac_dnn::PPHS::Impl::outputName {"save_infer_model/scale_0.tmp_1"} |
| cv::Mat ac_dnn::PPHS::Impl::previousMask |
Definition at line 541 of file dnn.cpp.
Referenced by postprocessOutput().
| cv::Mat ac_dnn::PPHS::Impl::probability |
Definition at line 539 of file dnn.cpp.
Referenced by postprocessOutput().
| cv::Mat ac_dnn::PPHS::Impl::resizedMask |
Definition at line 540 of file dnn.cpp.
Referenced by postprocessOutput().