2020-07-29 21:18:52 +08:00
|
|
|
#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
|
|
|
|
{
|
2020-10-08 05:48:49 +08:00
|
|
|
struct GAPI_EXPORTS_W_SIMPLE GCompileArg { };
|
|
|
|
|
2020-07-29 21:18:52 +08:00
|
|
|
GAPI_EXPORTS_W GCompileArgs compile_args(gapi::GKernelPackage pkg);
|
2020-10-27 03:02:03 +08:00
|
|
|
GAPI_EXPORTS_W GCompileArgs compile_args(gapi::GNetPackage pkg);
|
2020-09-29 18:45:40 +08:00
|
|
|
|
2020-10-15 06:21:09 +08:00
|
|
|
// NB: This classes doesn't exist in *.so
|
|
|
|
// HACK: Mark them as a class to force python wrapper generate code for this entities
|
2020-09-18 03:00:03 +08:00
|
|
|
class GAPI_EXPORTS_W_SIMPLE GProtoArg { };
|
|
|
|
class GAPI_EXPORTS_W_SIMPLE GProtoInputArgs { };
|
|
|
|
class GAPI_EXPORTS_W_SIMPLE GProtoOutputArgs { };
|
2020-10-27 03:02:03 +08:00
|
|
|
class GAPI_EXPORTS_W_SIMPLE GRunArg { };
|
|
|
|
class GAPI_EXPORTS_W_SIMPLE GMetaArg { };
|
2020-09-18 03:00:03 +08:00
|
|
|
|
|
|
|
using GProtoInputArgs = GIOProtoArgs<In_Tag>;
|
|
|
|
using GProtoOutputArgs = GIOProtoArgs<Out_Tag>;
|
2020-10-15 06:21:09 +08:00
|
|
|
|
2021-03-19 20:50:45 +08:00
|
|
|
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 GInferOutputs
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GAPI_WRAP GInferOutputs();
|
|
|
|
GAPI_WRAP cv::GMat at(const std::string& name);
|
|
|
|
};
|
|
|
|
|
2021-03-01 23:52:11 +08:00
|
|
|
namespace detail
|
|
|
|
{
|
|
|
|
struct GAPI_EXPORTS_W_SIMPLE ExtractArgsCallback { };
|
|
|
|
struct GAPI_EXPORTS_W_SIMPLE ExtractMetaCallback { };
|
|
|
|
} // namespace detail
|
|
|
|
|
2020-10-15 06:21:09 +08:00
|
|
|
namespace gapi
|
|
|
|
{
|
2020-10-27 03:02:03 +08:00
|
|
|
GAPI_EXPORTS_W gapi::GNetPackage networks(const cv::gapi::ie::PyParams& params);
|
2020-10-15 06:21:09 +08:00
|
|
|
namespace wip
|
|
|
|
{
|
|
|
|
class GAPI_EXPORTS_W IStreamSource { };
|
2020-10-27 03:02:03 +08:00
|
|
|
} // namespace wip
|
|
|
|
} // namespace gapi
|
2020-07-29 21:18:52 +08:00
|
|
|
} // namespace cv
|