Merge pull request #19318 from TolyaTalamanov:at/python-generic-infer
[G-API] Python ROI generic inference * Python generic infer overloads * Move wrappers to appropriate file
This commit is contained in:
committed by
GitHub
parent
b62d015285
commit
0753408e10
@@ -68,6 +68,32 @@ enum ArgType {
|
||||
CV_GMAT,
|
||||
};
|
||||
|
||||
GAPI_EXPORTS_W inline cv::GInferOutputs infer(const String& name, const cv::GInferInputs& inputs)
|
||||
{
|
||||
return infer<Generic>(name, inputs);
|
||||
}
|
||||
|
||||
GAPI_EXPORTS_W inline GInferOutputs infer(const std::string& name,
|
||||
const cv::GOpaque<cv::Rect>& roi,
|
||||
const GInferInputs& inputs)
|
||||
{
|
||||
return infer<Generic>(name, roi, inputs);
|
||||
}
|
||||
|
||||
GAPI_EXPORTS_W inline GInferListOutputs infer(const std::string& name,
|
||||
const cv::GArray<cv::Rect>& rois,
|
||||
const GInferInputs& inputs)
|
||||
{
|
||||
return infer<Generic>(name, rois, inputs);
|
||||
}
|
||||
|
||||
GAPI_EXPORTS_W inline GInferListOutputs infer2(const std::string& name,
|
||||
const cv::GMat in,
|
||||
const GInferListInputs& inputs)
|
||||
{
|
||||
return infer2<Generic>(name, in, inputs);
|
||||
}
|
||||
|
||||
} // namespace gapi
|
||||
|
||||
namespace detail {
|
||||
|
||||
Reference in New Issue
Block a user