Merge pull request #19982 from TolyaTalamanov:at/new-python-operation-api
authorAnatoliy Talamanov <anatoliy.talamanov@intel.com>
Thu, 20 May 2021 18:59:53 +0000 (21:59 +0300)
committerGitHub <noreply@github.com>
Thu, 20 May 2021 18:59:53 +0000 (18:59 +0000)
commitc4df8989e9ccfdb7a3387672a8afea35cb3a489e
treeb920d0e499bb44a04e28b91a60f2b3f0fe2a24a6
parent0f11b1fc0d329c7cd7bd425f006b6583c1f23489
Merge pull request #19982 from TolyaTalamanov:at/new-python-operation-api

G-API: New python operations API

* Reimplement test using decorators

* Custom python operation API

* Remove wip status

* python: support Python code in bindings (through loader only)

* cleanup, skip tests for Python 2.x (not supported)

* python 2.x can't skip unittest modules

* Clean up

* Clean up

* Fix segfault python3.9

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
modules/gapi/include/opencv2/gapi/core.hpp
modules/gapi/include/opencv2/gapi/gmat.hpp
modules/gapi/include/opencv2/gapi/imgproc.hpp
modules/gapi/misc/python/package/gapi/__init__.py [new file with mode: 0644]
modules/gapi/misc/python/pyopencv_gapi.hpp
modules/gapi/misc/python/python_bridge.hpp
modules/gapi/misc/python/test/test_gapi_sample_pipelines.py
modules/python/common.cmake
modules/python/package/cv2/__init__.py
modules/python/package/cv2/_extra_py_code/__init__.py [new file with mode: 0644]
modules/python/python_loader.cmake