mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.2 KiB
67 lines
2.2 KiB
#error This is a shadow header file, which is not intended for processing by any compiler. \ |
|
Only bindings parser should handle this file. |
|
|
|
namespace cv |
|
{ |
|
struct GAPI_EXPORTS_W_SIMPLE GCompileArg { }; |
|
|
|
GAPI_EXPORTS_W GCompileArgs compile_args(gapi::GKernelPackage pkg); |
|
GAPI_EXPORTS_W GCompileArgs compile_args(gapi::GNetPackage pkg); |
|
GAPI_EXPORTS_W GCompileArgs compile_args(gapi::GKernelPackage kernels, gapi::GNetPackage nets); |
|
|
|
// NB: This classes doesn't exist in *.so |
|
// HACK: Mark them as a class to force python wrapper generate code for this entities |
|
class GAPI_EXPORTS_W_SIMPLE GProtoArg { }; |
|
class GAPI_EXPORTS_W_SIMPLE GProtoInputArgs { }; |
|
class GAPI_EXPORTS_W_SIMPLE GProtoOutputArgs { }; |
|
class GAPI_EXPORTS_W_SIMPLE GRunArg { }; |
|
class GAPI_EXPORTS_W_SIMPLE GMetaArg { GAPI_WRAP GMetaArg(); }; |
|
|
|
using GProtoInputArgs = GIOProtoArgs<In_Tag>; |
|
using GProtoOutputArgs = GIOProtoArgs<Out_Tag>; |
|
|
|
class GAPI_EXPORTS_W_SIMPLE GInferInputs |
|
{ |
|
public: |
|
GAPI_WRAP GInferInputs(); |
|
GAPI_WRAP void setInput(const std::string& name, const cv::GMat& value); |
|
GAPI_WRAP void setInput(const std::string& name, const cv::GFrame& value); |
|
}; |
|
|
|
class GAPI_EXPORTS_W_SIMPLE GInferListInputs |
|
{ |
|
public: |
|
GAPI_WRAP GInferListInputs(); |
|
GAPI_WRAP void setInput(const std::string& name, const cv::GArray<cv::GMat>& value); |
|
GAPI_WRAP void setInput(const std::string& name, const cv::GArray<cv::Rect>& value); |
|
}; |
|
|
|
class GAPI_EXPORTS_W_SIMPLE GInferOutputs |
|
{ |
|
public: |
|
GAPI_WRAP GInferOutputs(); |
|
GAPI_WRAP cv::GMat at(const std::string& name); |
|
}; |
|
|
|
class GAPI_EXPORTS_W_SIMPLE GInferListOutputs |
|
{ |
|
public: |
|
GAPI_WRAP GInferListOutputs(); |
|
GAPI_WRAP cv::GArray<cv::GMat> at(const std::string& name); |
|
}; |
|
|
|
namespace detail |
|
{ |
|
struct GAPI_EXPORTS_W_SIMPLE ExtractArgsCallback { }; |
|
struct GAPI_EXPORTS_W_SIMPLE ExtractMetaCallback { }; |
|
} // namespace detail |
|
|
|
namespace gapi |
|
{ |
|
GAPI_EXPORTS_W gapi::GNetPackage networks(const cv::gapi::ie::PyParams& params); |
|
namespace wip |
|
{ |
|
class GAPI_EXPORTS_W IStreamSource { }; |
|
} // namespace wip |
|
} // namespace gapi |
|
} // namespace cv
|
|
|