ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
ac_dnn::PPHS Class Reference

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

Detailed Description

PP-HumanSeg foreground segmentation model.

Definition at line 56 of file dnn.hpp.

Constructor & Destructor Documentation

◆ PPHS() [1/2]

ac_dnn::PPHS::PPHS ( const std::string & modelPath,
int backendId = -1,
int targetId = -1 )
explicit

Definition at line 592 of file dnn.cpp.

References impl.

Referenced by operator=(), and PPHS().

◆ ~PPHS()

ac_dnn::PPHS::~PPHS ( )
default

◆ PPHS() [2/2]

ac_dnn::PPHS::PPHS ( const PPHS & )
delete

References PPHS().

Member Function Documentation

◆ infer()

cv::Mat ac_dnn::PPHS::infer ( const cv::Mat & image)

Definition at line 598 of file dnn.cpp.

References impl.

Referenced by operator=().

◆ operator=()

PPHS & ac_dnn::PPHS::operator= ( const PPHS & )
delete

◆ postprocess()

cv::Mat ac_dnn::PPHS::postprocess ( const cv::Mat & outputBlob)

Definition at line 606 of file dnn.cpp.

References impl.

Referenced by operator=().

◆ preprocess()

cv::Mat ac_dnn::PPHS::preprocess ( const cv::Mat & image)

Definition at line 596 of file dnn.cpp.

References impl.

Referenced by operator=().

Member Data Documentation

◆ impl

std::unique_ptr<Impl> ac_dnn::PPHS::impl
private

Definition at line 71 of file dnn.hpp.

Referenced by infer(), postprocess(), PPHS(), and preprocess().


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