OpenCV  4.5.0
Open Source Computer Vision
Classes | Namespaces | Macros | Functions
infer.hpp File Reference
#include <functional>
#include <string>
#include <utility>
#include <type_traits>
#include <opencv2/gapi/util/any.hpp>
#include <opencv2/gapi/gkernel.hpp>
#include <opencv2/gapi/garg.hpp>
#include <opencv2/gapi/gcommon.hpp>
#include <opencv2/gapi/gmetaarg.hpp>

Classes

struct  cv::detail::CompileArgTag< cv::gapi::GNetPackage >
 
struct  cv::gapi::Generic
 Special network type. More...
 
struct  cv::GInfer< Net >
 
struct  cv::GInferBase
 
class  cv::GInferInputs
 G-API object used to collect network inputs. More...
 
struct  cv::GInferList< Net >
 
struct  cv::GInferList2< Net, Args >
 
struct  cv::GInferList2Base
 
struct  cv::GInferListBase
 
struct  cv::GInferOutputs
 G-API object used to collect network outputs. More...
 
struct  cv::gapi::GNetPackage
 A container class for network configurations. Similar to GKernelPackage.Use cv::gapi::networks() to construct this object. More...
 
struct  cv::gapi::GNetParam
 
class  cv::GNetworkType< typename, typename >
 
class  cv::GNetworkType< K, std::function< R(Args...)> >
 
class  cv::GNetworkType< K, std::function< std::tuple< R... >(Args...)> >
 
struct  cv::InferAPIList2< Net, Ts >
 
struct  cv::InOutInfo
 
struct  cv::detail::valid_infer2_types< typename, typename >
 
struct  cv::detail::valid_infer2_types< std::tuple< Ns... >, std::tuple<> >
 
struct  cv::detail::valid_infer2_types< std::tuple<>, std::tuple< Ts... > >
 

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::detail
 
 cv::gapi
 Retrieves particular compilation argument by its type from cv::GCompileArgs.
 

Macros

#define G_API_NET(Class, API, Tag)
 

Functions

template<typename Net , typename... Args>
Net::ResultL cv::gapi::infer (cv::GArray< cv::Rect > roi, Args &&... args)
 Calculates responses for the specified network (template parameter) for every region in the source image. More...
 
template<typename Net , typename... Args>
Net::Result cv::gapi::infer (Args &&... args)
 Calculates response for the specified network (template parameter) given the input data. More...
 
template<typename T = Generic>
GInferOutputs cv::gapi::infer (const std::string &tag, const GInferInputs &inputs)
 Calculates response for generic network. More...
 
template<typename Net , typename... Args>
Net::ResultL cv::gapi::infer2 (cv::GMat image, cv::GArray< Args >... args)
 Calculates responses for the specified network (template parameter) for every region in the source image, extended version. More...
 
template<typename... Args>
cv::gapi::GNetPackage cv::gapi::networks (Args &&... args)
 
template<typename T >
gapi::GNetParam cv::detail::strip (T &&t)
 

Macro Definition Documentation

◆ G_API_NET

#define G_API_NET (   Class,
  API,
  Tag 
)
Value:
struct Class final: public cv::GNetworkType<Class, std::function API> { \
static constexpr const char * tag() { return Tag; } \
}
Definition: infer.hpp:27