PP-HumanSeg foreground segmentation model. More...
#include <dnn.hpp>
Classes | |
| struct | Impl |
Public Member Functions | |
| cv::Mat | infer (const cv::Mat &image) |
| PPHS & | operator= (const PPHS &)=delete |
| cv::Mat | postprocess (const cv::Mat &outputBlob) |
| PPHS (const PPHS &)=delete | |
| PPHS (const std::string &modelPath, int backendId=-1, int targetId=-1) | |
| cv::Mat | preprocess (const cv::Mat &image) |
| ~PPHS () | |
Private Attributes | |
| std::unique_ptr< Impl > | impl |
|
explicit |
|
default |
|
delete |
References PPHS().
| cv::Mat ac_dnn::PPHS::infer | ( | const cv::Mat & | image | ) |
References infer(), postprocess(), PPHS(), and preprocess().
| cv::Mat ac_dnn::PPHS::postprocess | ( | const cv::Mat & | outputBlob | ) |
| cv::Mat ac_dnn::PPHS::preprocess | ( | const cv::Mat & | image | ) |
|
private |
Definition at line 71 of file dnn.hpp.
Referenced by infer(), postprocess(), PPHS(), and preprocess().