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

Generic ONNX image-to-image wrapper configured by a YAML file. More...

#include <dnn.hpp>

Classes

struct  Impl

Public Member Functions

 OnnxWrapper (const OnnxWrapper &)=delete
 OnnxWrapper (std::string_view yamlPath)
OnnxWrapper & operator= (const OnnxWrapper &)=delete
void proc (const cv::Mat &image, cv::Mat &output)
 ~OnnxWrapper ()

Private Attributes

std::unique_ptr< Impl > impl

Detailed Description

Generic ONNX image-to-image wrapper configured by a YAML file.

Definition at line 17 of file dnn.hpp.

Constructor & Destructor Documentation

◆ OnnxWrapper() [1/2]

ac_dnn::OnnxWrapper::OnnxWrapper ( std::string_view yamlPath)
explicit

Definition at line 474 of file dnn.cpp.

References impl.

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

◆ ~OnnxWrapper()

ac_dnn::OnnxWrapper::~OnnxWrapper ( )
default

◆ OnnxWrapper() [2/2]

ac_dnn::OnnxWrapper::OnnxWrapper ( const OnnxWrapper & )
delete

References OnnxWrapper().

Member Function Documentation

◆ operator=()

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

References OnnxWrapper(), and proc().

◆ proc()

void ac_dnn::OnnxWrapper::proc ( const cv::Mat & image,
cv::Mat & output )

Definition at line 478 of file dnn.cpp.

References impl.

Referenced by operator=().

Member Data Documentation

◆ impl

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

Definition at line 36 of file dnn.hpp.

Referenced by OnnxWrapper(), and proc().


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