ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
dnn.cpp File Reference
#include "dnn.hpp"
#include <algorithm>
#include <cctype>
#include <chrono>
#include <cmath>
#include <cstdlib>
#include <filesystem>
#include <iostream>
#include <limits>
#include <stdexcept>
#include <utility>
#include <vector>
#include <opencv2/core/version.hpp>
#include <opencv2/imgproc.hpp>
#include <yaml-cpp/yaml.h>

Go to the source code of this file.

Classes

struct  ac_dnn::anonymous_namespace{dnn.cpp}::BackendState
struct  ac_dnn::OnnxWrapper::Impl
struct  ac_dnn::Dexined::Impl
struct  ac_dnn::PPHS::Impl
struct  ac_dnn::anonymous_namespace{dnn.cpp}::TimedOutput

Namespaces

namespace  ac_dnn
namespace  ac_dnn::anonymous_namespace{dnn.cpp}

Enumerations

enum class  ac_dnn::anonymous_namespace{dnn.cpp}::BackendMode {
  ac_dnn::anonymous_namespace{dnn.cpp}::Auto , ac_dnn::anonymous_namespace{dnn.cpp}::Cpu , ac_dnn::anonymous_namespace{dnn.cpp}::Cuda , ac_dnn::anonymous_namespace{dnn.cpp}::CudaFp16 ,
  ac_dnn::anonymous_namespace{dnn.cpp}::Explicit
}

Functions

bool ac_dnn::anonymous_namespace{dnn.cpp}::backendAvailable (cv::dnn::Backend backend, cv::dnn::Target target)
BackendMode ac_dnn::anonymous_namespace{dnn.cpp}::backendModeFromEnvironment ()
TimedOutput ac_dnn::anonymous_namespace{dnn.cpp}::benchmarkBackend (cv::dnn::Net &net, const cv::Mat &blob, const cv::String &inputName, const cv::String &outputName)
cv::Mat ac_dnn::anonymous_namespace{dnn.cpp}::buildHardenedFloatAlpha (const cv::Mat &image, const cv::Mat &mask, float blackPoint, float whitePoint)
cv::Mat ac_dnn::hardenedAlphaMask (const cv::Mat &image, const cv::Mat &mask, float blackPoint, float whitePoint)
cv::Mat ac_dnn::isolateBody (const cv::Mat &image, const cv::Mat &mask, float blackPoint, float whitePoint)
cv::String ac_dnn::anonymous_namespace{dnn.cpp}::lastOutputName (const cv::dnn::Net &net)
cv::Mat ac_dnn::anonymous_namespace{dnn.cpp}::runForward (cv::dnn::Net &net, const cv::Mat &blob, const cv::String &inputName, const cv::String &outputName)
cv::Mat ac_dnn::anonymous_namespace{dnn.cpp}::selectBackendAndForward (cv::dnn::Net &net, BackendState &state, const cv::Mat &blob, const cv::String &inputName, const cv::String &outputName)
void ac_dnn::anonymous_namespace{dnn.cpp}::setCpuBackend (cv::dnn::Net &net)
void ac_dnn::anonymous_namespace{dnn.cpp}::setCudaBackend (cv::dnn::Net &net, bool fp16)
cv::Mat ac_dnn::anonymous_namespace{dnn.cpp}::spatialPlane (const cv::Mat &output)