Classes | |
| struct | BackendState |
| struct | TimedOutput |
Functions | |
| bool | backendAvailable (cv::dnn::Backend backend, cv::dnn::Target target) |
| TimedOutput | benchmarkBackend (cv::dnn::Net &net, const cv::Mat &blob, const cv::String &input_name, const cv::String &output_name) |
| cv::Mat | buildHardenedFloatAlpha (const cv::Mat &image, const cv::Mat &mask, float black_point, float white_point) |
| cv::String | lastOutputName (const cv::dnn::Net &net) |
| bool | readBoolean (const cv::FileNode &node, bool default_value, std::string_view context) |
| int | readInteger (const cv::FileNode &node, int default_value, std::string_view context) |
| double | readNumber (const cv::FileNode &node, double default_value, std::string_view context) |
| std::string | readString (const cv::FileNode &node, std::string_view context, bool allow_empty=false) |
| std::string | readYamlText (const std::filesystem::path &path) |
| cv::Mat | runForward (cv::dnn::Net &net, const cv::Mat &blob, const cv::String &input_name, const cv::String &output_name) |
| cv::Mat | selectBackendAndForward (cv::dnn::Net &net, BackendState &state, const cv::Mat &blob, const cv::String &input_name, const cv::String &output_name) |
| void | setCpuBackend (cv::dnn::Net &net) |
| void | setCudaBackend (cv::dnn::Net &net, bool fp16) |
| cv::Mat | spatialPlane (const cv::Mat &output) |
| void | validateMapKeys (const cv::FileNode &node, const std::set< std::string > &allowed, std::string_view context) |
| void | validateTensorName (std::string_view name) |
|
nodiscard |
Definition at line 37 of file edge_dnn.cpp.
References backendAvailable().
Referenced by backendAvailable(), and selectBackendAndForward().
|
nodiscard |
Definition at line 73 of file edge_dnn.cpp.
References benchmarkBackend(), acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::TimedOutput::milliseconds, acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::TimedOutput::output, and runForward().
Referenced by benchmarkBackend(), and selectBackendAndForward().
|
nodiscard |
Definition at line 295 of file edge_dnn.cpp.
References buildHardenedFloatAlpha().
Referenced by buildHardenedFloatAlpha().
|
nodiscard |
Definition at line 141 of file edge_dnn.cpp.
References lastOutputName().
Referenced by lastOutputName().
|
nodiscard |
|
nodiscard |
Definition at line 209 of file edge_dnn.cpp.
References readInteger(), and readNumber().
Referenced by readInteger().
|
nodiscard |
Definition at line 191 of file edge_dnn.cpp.
References readNumber().
Referenced by readInteger(), and readNumber().
|
nodiscard |
Definition at line 177 of file edge_dnn.cpp.
References acmxvk::input::Path, readString(), and acmxvk::input::validate_string().
Referenced by readString().
|
nodiscard |
Definition at line 255 of file edge_dnn.cpp.
References readYamlText(), and acmxvk::input::validate_text_file().
Referenced by readYamlText().
|
nodiscard |
Definition at line 60 of file edge_dnn.cpp.
References runForward().
Referenced by benchmarkBackend(), runForward(), and selectBackendAndForward().
|
nodiscard |
Definition at line 94 of file edge_dnn.cpp.
References backendAvailable(), benchmarkBackend(), acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::TimedOutput::milliseconds, acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::TimedOutput::output, runForward(), selectBackendAndForward(), acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::BackendState::selected, setCpuBackend(), and setCudaBackend().
Referenced by selectBackendAndForward().
| void acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::setCpuBackend | ( | cv::dnn::Net & | net | ) |
Definition at line 49 of file edge_dnn.cpp.
References setCpuBackend().
Referenced by selectBackendAndForward(), and setCpuBackend().
| void acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::setCudaBackend | ( | cv::dnn::Net & | net, |
| bool | fp16 ) |
Definition at line 54 of file edge_dnn.cpp.
References setCudaBackend().
Referenced by selectBackendAndForward(), and setCudaBackend().
|
nodiscard |
Definition at line 147 of file edge_dnn.cpp.
References spatialPlane().
Referenced by spatialPlane().
| void acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::validateMapKeys | ( | const cv::FileNode & | node, |
| const std::set< std::string > & | allowed, | ||
| std::string_view | context ) |
Definition at line 159 of file edge_dnn.cpp.
References validateMapKeys().
Referenced by validateMapKeys().
| void acmxvk::dnn::anonymous_namespace{edge_dnn.cpp}::validateTensorName | ( | std::string_view | name | ) |
Definition at line 278 of file edge_dnn.cpp.
References validateTensorName().
Referenced by validateTensorName().