mirror of
https://github.com/opencv/opencv.git
synced 2025-06-13 21:23:31 +08:00

* Implement G-API python bindings * Fix hdr_parser * Drop initlization with brackets using regexp * Handle bracket initilization another way * Add test for core operations * Declaration and definition of View constructor now in different files * Refactor tests * Remove combine decorator from tests * Fix comment to review * Fix test * Fix comments to review * Remove GCompilerArgs implementation from python Co-authored-by: Pinaev <danil.pinaev@intel.com>
14 lines
334 B
C++
14 lines
334 B
C++
using gapi_GKernelPackage = cv::gapi::GKernelPackage;
|
|
|
|
template<>
|
|
bool pyopencv_to(PyObject* obj, std::vector<GCompileArg>& value, const ArgInfo& info)
|
|
{
|
|
return pyopencv_to_generic_vec(obj, value, info);
|
|
}
|
|
|
|
template<>
|
|
PyObject* pyopencv_from(const std::vector<GCompileArg>& value)
|
|
{
|
|
return pyopencv_from_generic_vec(value);
|
|
}
|