Merge pull request #18332 from TolyaTalamanov:at/wrap-GIn-GOut

[G-API] Wrap GIn & GOut

* Wrap GIn & GOut into python

* Remove extra brackets

* Use reinterpret_cast
This commit is contained in:
Anatoliy Talamanov
2020-09-17 22:00:03 +03:00
committed by GitHub
parent ea4b491a73
commit a07f064e50
6 changed files with 48 additions and 4 deletions
@@ -30,7 +30,7 @@ class gapi_core_test(NewOpenCVTests):
g_in1 = cv.GMat()
g_in2 = cv.GMat()
g_out = cv.gapi.add(g_in1, g_in2)
comp = cv.GComputation(g_in1, g_in2, g_out)
comp = cv.GComputation(cv.GIn(g_in1, g_in2), cv.GOut(g_out))
for pkg in pkgs:
actual = comp.apply(in1, in2, args=cv.compile_args(pkg))