Repository: opencv
Issue: OpenCV4.5.5 compilation error: [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
Labels: question (invalid tracker),category: build/install,category: gpu/cuda (contrib)

**I compiled OpenCV4.5.5 with cuda acceleration on JetsonNano and got a compilation error.  How can I solve this problem?**  

**My cmake compilation options are as follows:**
`cmake -D WITH_CUDA=ON -D WITH_CUDNN=ON -D WITH_CUBLAS=ON -D CUDA_ARCH_BIN="5.3" -D CUDA_ARCH_PTX="" -D BUILD_CUDA_STUBS=ON -D ENABLE_FAST_MATH=ON  -D CUDA_FAST_MATH=ON -D OPENCV_DNN_CUDA=ON -D OPENCV_ENABLE_NONFREE=ON -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-4.5.5/modules -D WITH_GSTREAMER=ON -D WITH_LIBV4L=ON -D WITH_NVCUVID=ON -D BUILD_opencv_cudacodec=ON -D WITH_FFMPEG=ON -D OPENCV_GENERATE_PKGCONFIG=ON -D BUILD_opencv_python2=OFF -D BUILD_opencv_python3=ON -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..`

**The error output is as follows：**
```
[ 99%] Built target opencv_videostab
[ 99%] Built target gen_opencv_python_source
Consolidate compiler generated dependencies of target opencv_python3
[ 99%] Building CXX object modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_generated_include.h:90:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:11:
/opt/opencv/opencv_contrib-4.5.5/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp:121:26: warning: ‘virtual void cv::cudaiptorMatcher::clear()’ can be marked override [-Wsuggest-override]
     CV_WRAP virtual void clear() = 0;
                          ^~~~~
/opt/opencv/opencv_contrib-4.5.5/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp:125:26: warning: ‘virtual bool cv::cudaiptorMatcher::empty() const’ can be marked override [-Wsuggest-override]
     CV_WRAP virtual bool empty() const = 0;
                          ^~~~~
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:22:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/python_bridge.hpp:82:27: error: ‘GInferOutputs’ in namespace ‘cv’ does not name
 GAPI_EXPORTS_W inline cv::GInferOutputs infer(const String& name, const cv::GInferInputs& inputs)
                           ^~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/python_bridge.hpp:87:23: error: ‘GInferOutputs’ does not name a type; did you meotoOutputArgs’?
 GAPI_EXPORTS_W inline GInferOutputs infer(const std::string& name,
                       ^~~~~~~~~~~~~
                       GProtoOutputArgs
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/python_bridge.hpp:94:23: error: ‘GInferListOutputs’ does not name a type
 GAPI_EXPORTS_W inline GInferListOutputs infer(const std::string& name,
                       ^~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/python_bridge.hpp:101:23: error: ‘GInferListOutputs’ does not name a type
 GAPI_EXPORTS_W inline GInferListOutputs infer2(const std::string& name,
                       ^~~~~~~~~~~~~~~~~
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:15:49: error: ‘GNetPackage’ in namespace ‘cv::gapi’ does not nype
 using gapi_GNetPackage              = cv::gapi::GNetPackage;
                                                 ^~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:16:49: error: ‘ie’ in namespace ‘cv::gapi’ does not name a typ
 using gapi_ie_PyParams              = cv::gapi::ie::PyParams;
                                                 ^~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:20:61: error: ‘GNetParam’ is not a member of ‘cv::gapi’
 using vector_GNetParam              = std::vector<cv::gapi::GNetParam>;
                                                             ^~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:20:61: error: ‘GNetParam’ is not a member of ‘cv::gapi’
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:20:70: error: template argument 1 is invalid
 using vector_GNetParam              = std::vector<cv::gapi::GNetParam>;
                                                                      ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:20:70: error: template argument 2 is invalid
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In function ‘bool pyopencv_to(PyObject*, T&, const ArgInfo&)  = cv::util::variant<cv::gapi::wip::draw::Text, cv::gapi::wip::draw::FText, cv::gapi::wip::draw::Rect, cv::gapi::wip::draw::Circleapi::wip::draw::Line, cv::gapi::wip::draw::Mosaic, cv::gapi::wip::draw::Image, cv::gapi::wip::draw::Poly>; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: error: ‘pyopencv_gapi_wip_draw_Rect_TypePtr’ was not d in this scope
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:172:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Rect)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: note: suggested alternative: ‘pyopencv_rapid_Tracker_T
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:172:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Rect)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: error: ‘pyopencv_gapi_wip_draw_Rect_t’ does not name adid you mean ‘pyopencv_rapid_Tracker_t’?
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:172:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Rect)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:172:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Rect)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:68: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:172:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Rect)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:76: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:172:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Rect)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:77: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                             ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:172:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Rect)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: error: ‘pyopencv_gapi_wip_draw_Text_TypePtr’ was not d in this scope
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:173:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Text)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: note: suggested alternative: ‘pyopencv_rapid_Tracker_T
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:173:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Text)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: error: ‘pyopencv_gapi_wip_draw_Text_t’ does not name adid you mean ‘pyopencv_rapid_Tracker_t’?
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:173:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Text)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:173:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Text)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:68: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:173:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Text)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:76: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:173:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Text)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:77: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                             ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:173:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Text)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: error: ‘pyopencv_gapi_wip_draw_Circle_TypePtr’ was noted in this scope
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:174:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Circle)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: note: suggested alternative: ‘pyopencv_rapid_Tracker_T
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:174:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Circle)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: error: ‘pyopencv_gapi_wip_draw_Circle_t’ does not name; did you mean ‘pyopencv_rapid_Tracker_t’?
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:174:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Circle)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:174:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Circle)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:68: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:174:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Circle)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:76: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:174:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Circle)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:77: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                             ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:174:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Circle)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: error: ‘pyopencv_gapi_wip_draw_Line_TypePtr’ was not d in this scope
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:175:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Line)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: note: suggested alternative: ‘pyopencv_rapid_Rapid_Typ
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:175:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Line)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: error: ‘pyopencv_gapi_wip_draw_Line_t’ does not name adid you mean ‘pyopencv_rapid_Rapid_t’?
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:175:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Line)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:175:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Line)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:68: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:175:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Line)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:76: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:175:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Line)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:77: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                             ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:175:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Line)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: error: ‘pyopencv_gapi_wip_draw_Mosaic_TypePtr’ was noted in this scope
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:176:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Mosaic)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: note: suggested alternative: ‘pyopencv_rapid_Rapid_Typ
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:176:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Mosaic)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: error: ‘pyopencv_gapi_wip_draw_Mosaic_t’ does not name; did you mean ‘pyopencv_rapid_Rapid_Instance’?
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:176:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Mosaic)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:176:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Mosaic)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:68: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:176:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Mosaic)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:76: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:176:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Mosaic)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:77: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                             ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:176:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Mosaic)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: error: ‘pyopencv_gapi_wip_draw_Image_TypePtr’ was not d in this scope
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:177:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Image)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: note: suggested alternative: ‘pyopencv_rapid_Tracker_T
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:177:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Image)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: error: ‘pyopencv_gapi_wip_draw_Image_t’ does not name  did you mean ‘pyopencv_rapid_Rapid_getp’?
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:177:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Image)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:177:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Image)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:68: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:177:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Image)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:76: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:177:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Image)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:77: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                             ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:177:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Image)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: error: ‘pyopencv_gapi_wip_draw_Poly_TypePtr’ was not d in this scope
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:178:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Poly)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:166:65: note: suggested alternative: ‘pyopencv_rapid_Tracker_T
     if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_draw_##Prim##_TypePtr))) \
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:178:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Poly)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: error: ‘pyopencv_gapi_wip_draw_Poly_t’ does not name adid you mean ‘pyopencv_rapid_Tracker_t’?
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                  ^~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:178:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Poly)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:67: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:178:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Poly)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:68: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:178:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Poly)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:76: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:178:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Poly)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:168:77: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_gapi_wip_draw_##Prim##_t*>(obj)->v;                              \
                                                                             ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:178:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(Poly)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In function ‘bool pyopencv_to(PyObject*, T&, const ArgInfo&)  = cv::util::variant<cv::util::monostate, cv::GMatDesc, cv::GScalarDesc, cv::GArrayDesc, cv::GOpaqueDesc, cv::GFrameDesc>; PyObjecject]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:196:49: error: ‘pyopencv_GMatDesc_TypePtr’ was not declared incope
                 reinterpret_cast<PyTypeObject*>(pyopencv_##Meta##_TypePtr))) \
                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:202:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GMatDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:196:49: note: suggested alternative: ‘pyopencv_UMat_TypePtr’
                 reinterpret_cast<PyTypeObject*>(pyopencv_##Meta##_TypePtr))) \
                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:202:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GMatDesc)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:34: error: ‘pyopencv_GMatDesc_t’ does not name a type; didan ‘pyopencv_UMat_t’?
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                  ^~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:53: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:202:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GMatDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:53: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:202:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GMatDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:54: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                      ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:202:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GMatDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:62: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                              ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:202:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GMatDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:63: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                               ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:202:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GMatDesc)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:196:49: error: ‘pyopencv_GScalarDesc_TypePtr’ was not declareds scope
                 reinterpret_cast<PyTypeObject*>(pyopencv_##Meta##_TypePtr))) \
                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:203:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GScalarDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:196:49: note: suggested alternative: ‘pyopencv_UsacParams_Type
                 reinterpret_cast<PyTypeObject*>(pyopencv_##Meta##_TypePtr))) \
                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:203:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GScalarDesc)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:34: error: ‘pyopencv_GScalarDesc_t’ does not name a type;  mean ‘pyopencv_UsacParams_t’?
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                  ^~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:53: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:203:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GScalarDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:53: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:203:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GScalarDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:54: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                      ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:203:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GScalarDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:62: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                              ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:203:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GScalarDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:63: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                               ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:203:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GScalarDesc)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:196:49: error: ‘pyopencv_GArrayDesc_TypePtr’ was not declared  scope
                 reinterpret_cast<PyTypeObject*>(pyopencv_##Meta##_TypePtr))) \
                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:204:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GArrayDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:196:49: note: suggested alternative: ‘pyopencv_Tracker_TypePtr
                 reinterpret_cast<PyTypeObject*>(pyopencv_##Meta##_TypePtr))) \
                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:204:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GArrayDesc)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:34: error: ‘pyopencv_GArrayDesc_t’ does not name a type; dmean ‘pyopencv_Tracker_t’?
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                  ^~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:53: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:204:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GArrayDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:53: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:204:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GArrayDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:54: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                      ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:204:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GArrayDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:62: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                              ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:204:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GArrayDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:63: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                               ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:204:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GArrayDesc)
     ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:196:49: error: ‘pyopencv_GOpaqueDesc_TypePtr’ was not declareds scope
                 reinterpret_cast<PyTypeObject*>(pyopencv_##Meta##_TypePtr))) \
                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:205:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GOpaqueDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:196:49: note: suggested alternative: ‘pyopencv_Feature2D_TypeP
                 reinterpret_cast<PyTypeObject*>(pyopencv_##Meta##_TypePtr))) \
                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:205:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GOpaqueDesc)
     ^
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:34: error: ‘pyopencv_GOpaqueDesc_t’ does not name a type;  mean ‘pyopencv_Feature2D_t’?
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:34: note: in definition of macro ‘TRY_EXTRACT’
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                  ^~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:53: error: expected ‘>’ before ‘*’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:205:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GOpaqueDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:53: error: expected ‘(’ before ‘*’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:205:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GOpaqueDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:54: error: expected primary-expression before ‘>’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                      ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:205:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GOpaqueDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:62: error: ‘PyObject {aka struct _object}’ has no member n’
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                              ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:205:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GOpaqueDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:198:63: error: expected ‘)’ before ‘;’ token
         value = reinterpret_cast<pyopencv_##Meta##_t*>(obj)->v;              \
                                                               ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:205:5: note: in expansion of macro ‘TRY_EXTRACT’
     TRY_EXTRACT(GOpaqueDesc)
     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: At global scope:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:260:55: error: ‘GNetParam’ is not a member of ‘cv::gapi’
 bool pyopencv_to(PyObject* obj, std::vector<cv::gapi::GNetParam>& value, const ArgInfo& info)
                                                       ^~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:260:55: error: ‘GNetParam’ is not a member of ‘cv::gapi’
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:260:64: error: template argument 1 is invalid
 bool pyopencv_to(PyObject* obj, std::vector<cv::gapi::GNetParam>& value, const ArgInfo& info)
                                                                ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:260:64: error: template argument 2 is invalid
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In function ‘bool pyopencv_to(PyObject*, T&, const ArgInfo&)  = int; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:262:52: error: no matching function for call to ‘pyopencv_to_gvec(PyObject*&, int&, const ArgInfo&)’
     return pyopencv_to_generic_vec(obj, value, info);
                                                    ^
In file included from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:17:0:
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:262:13: note: candidate: template<class Tp> bool pyopencv_to_generic_bject*, std::vector<_Tp>&, const ArgInfo&)
 static bool pyopencv_to_generic_vec(PyObject* obj, std::vector<Tp>& value, const ArgInfo& info)
             ^~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:262:13: note:   template argument deduction/substitution failed:
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:262:52: note:   mismatched types ‘std::vector<_Tp>’ and ‘int’
     return pyopencv_to_generic_vec(obj, value, info);
                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: At global scope:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:266:53: error: ‘GNetParam’ is not a member of ‘cv::gapi’
 PyObject* pyopencv_from(const std::vector<cv::gapi::GNetParam>& value)
                                                     ^~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:266:53: error: ‘GNetParam’ is not a member of ‘cv::gapi’
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:266:62: error: template argument 1 is invalid
 PyObject* pyopencv_from(const std::vector<cv::gapi::GNetParam>& value)
                                                              ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:266:62: error: template argument 2 is invalid
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In function ‘PyObject* pyopencv_from(const T&) [with T = int;ct = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:268:43: error: no matching function for call to ‘pyopencv_fromc_vec(const int&)’
     return pyopencv_from_generic_vec(value);
                                           ^
In file included from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:17:0:
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:315:18: note: candidate: template<class Tp> PyObject* pyopencv_from_gvec(const std::vector<_Tp>&)
 static PyObject* pyopencv_from_generic_vec(const std::vector<Tp>& value)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:315:18: note:   template argument deduction/substitution failed:
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:268:43: note:   mismatched types ‘const std::vector<_Tp>’ and int’
     return pyopencv_from_generic_vec(value);
                                           ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In function ‘T extract_proto_args(PyObject*)’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:449:70: error: ‘pyopencv_GScalar_TypePtr’ was not declared in ope
         if (PyObject_TypeCheck(item, reinterpret_cast<PyTypeObject*>(pyopencv_GScalar_TypePtr)))
                                                                      ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:449:70: note: suggested alternative: ‘pyopencv_Tracker_TypePtr
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:451:48: error: ‘pyopencv_GScalar_t’ does not name a type; did n ‘pyopencv_Tracker_t’?
             args.emplace_back(reinterpret_cast<pyopencv_GScalar_t*>(item)->v);
                                                ^~~~~~~~~~~~~~~~~~
                                                pyopencv_Tracker_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:451:66: error: expected ‘>’ before ‘*’ token
             args.emplace_back(reinterpret_cast<pyopencv_GScalar_t*>(item)->v);
                                                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:451:66: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:451:67: error: expected primary-expression before ‘>’ token
             args.emplace_back(reinterpret_cast<pyopencv_GScalar_t*>(item)->v);
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:451:76: error: ‘PyObject {aka struct _object}’ has no member n’
             args.emplace_back(reinterpret_cast<pyopencv_GScalar_t*>(item)->v);
                                                                            ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:453:75: error: ‘pyopencv_GMat_TypePtr’ was not declared in thi
         else if (PyObject_TypeCheck(item, reinterpret_cast<PyTypeObject*>(pyopencv_GMat_TypePtr)))
                                                                           ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:453:75: note: suggested alternative: ‘pyopencv_UMat_TypePtr’
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:455:48: error: ‘pyopencv_GMat_t’ does not name a type; did youpyopencv_UMat_t’?
             args.emplace_back(reinterpret_cast<pyopencv_GMat_t*>(item)->v);
                                                ^~~~~~~~~~~~~~~
                                                pyopencv_UMat_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:455:63: error: expected ‘>’ before ‘*’ token
             args.emplace_back(reinterpret_cast<pyopencv_GMat_t*>(item)->v);
                                                               ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:455:63: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:455:64: error: expected primary-expression before ‘>’ token
             args.emplace_back(reinterpret_cast<pyopencv_GMat_t*>(item)->v);
                                                                ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:455:73: error: ‘PyObject {aka struct _object}’ has no member n’
             args.emplace_back(reinterpret_cast<pyopencv_GMat_t*>(item)->v);
                                                                         ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:457:75: error: ‘pyopencv_GOpaqueT_TypePtr’ was not declared incope
         else if (PyObject_TypeCheck(item, reinterpret_cast<PyTypeObject*>(pyopencv_GOpaqueT_TypePtr)))
                                                                           ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:457:75: note: suggested alternative: ‘pyopencv_Tracker_TypePtr
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:459:48: error: ‘pyopencv_GOpaqueT_t’ does not name a type; didan ‘pyopencv_Tracker_t’?
             args.emplace_back(reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.strip());
                                                ^~~~~~~~~~~~~~~~~~~
                                                pyopencv_Tracker_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:459:67: error: expected ‘>’ before ‘*’ token
             args.emplace_back(reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.strip());
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:459:67: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:459:68: error: expected primary-expression before ‘>’ token
             args.emplace_back(reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.strip());
                                                                    ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:459:77: error: ‘PyObject {aka struct _object}’ has no member n’
             args.emplace_back(reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.strip());
                                                                             ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:461:75: error: ‘pyopencv_GArrayT_TypePtr’ was not declared in ope
         else if (PyObject_TypeCheck(item, reinterpret_cast<PyTypeObject*>(pyopencv_GArrayT_TypePtr)))
                                                                           ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:461:75: note: suggested alternative: ‘pyopencv_AKAZE_TypePtr’
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:463:48: error: ‘pyopencv_GArrayT_t’ does not name a type; did n ‘pyopencv_AKAZE_t’?
             args.emplace_back(reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.strip());
                                                ^~~~~~~~~~~~~~~~~~
                                                pyopencv_AKAZE_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:463:66: error: expected ‘>’ before ‘*’ token
             args.emplace_back(reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.strip());
                                                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:463:66: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:463:67: error: expected primary-expression before ‘>’ token
             args.emplace_back(reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.strip());
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:463:76: error: ‘PyObject {aka struct _object}’ has no member n’
             args.emplace_back(reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.strip());
                                                                            ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In function ‘cv::GRunArg extract_run_arg(const cv::GTypeInfo&ect*)’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:546:57: error: ‘pyopencv_gapi_wip_IStreamSource_TypePtr’ was nared in this scope
                         reinterpret_cast<PyTypeObject*>(pyopencv_gapi_wip_IStreamSource_TypePtr)))
                                                         ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:546:57: note: suggested alternative: ‘gapi_wip_IStreamSource_P
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:549:38: error: ‘pyopencv_gapi_wip_IStreamSource_t’ does not nape; did you mean ‘gapi_wip_IStreamSource_Ptr’?
                     reinterpret_cast<pyopencv_gapi_wip_IStreamSource_t*>(item)->v;
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      gapi_wip_IStreamSource_Ptr
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:549:71: error: expected ‘>’ before ‘*’ token
                     reinterpret_cast<pyopencv_gapi_wip_IStreamSource_t*>(item)->v;
                                                                       ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:549:71: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:549:72: error: expected primary-expression before ‘>’ token
                     reinterpret_cast<pyopencv_gapi_wip_IStreamSource_t*>(item)->v;
                                                                        ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:549:81: error: ‘PyObject {aka struct _object}’ has no member n’
                     reinterpret_cast<pyopencv_gapi_wip_IStreamSource_t*>(item)->v;
                                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:549:82: error: expected ‘)’ before ‘;’ token
                     reinterpret_cast<pyopencv_gapi_wip_IStreamSource_t*>(item)->v;
                                                                                  ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In function ‘PyObject* pyopencv_cv_gapi_op(PyObject*, PyObjecbject*)’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:896:53: error: ‘pyopencv_GMat_TypePtr’ was not declared in thi
                     reinterpret_cast<PyTypeObject*>(pyopencv_GMat_TypePtr)))
                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:896:53: note: suggested alternative: ‘pyopencv_UMat_TypePtr’
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:898:48: error: ‘pyopencv_GMat_t’ does not name a type; did youpyopencv_UMat_t’?
             args.emplace_back(reinterpret_cast<pyopencv_GMat_t*>(item)->v);
                                                ^~~~~~~~~~~~~~~
                                                pyopencv_UMat_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:898:63: error: expected ‘>’ before ‘*’ token
             args.emplace_back(reinterpret_cast<pyopencv_GMat_t*>(item)->v);
                                                               ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:898:63: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:898:64: error: expected primary-expression before ‘>’ token
             args.emplace_back(reinterpret_cast<pyopencv_GMat_t*>(item)->v);
                                                                ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:898:73: error: ‘PyObject {aka struct _object}’ has no member n’
             args.emplace_back(reinterpret_cast<pyopencv_GMat_t*>(item)->v);
                                                                         ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:901:60: error: ‘pyopencv_GScalar_TypePtr’ was not declared in ope
                            reinterpret_cast<PyTypeObject*>(pyopencv_GScalar_TypePtr)))
                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:901:60: note: suggested alternative: ‘pyopencv_Tracker_TypePtr
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:903:48: error: ‘pyopencv_GScalar_t’ does not name a type; did n ‘pyopencv_Tracker_t’?
             args.emplace_back(reinterpret_cast<pyopencv_GScalar_t*>(item)->v);
                                                ^~~~~~~~~~~~~~~~~~
                                                pyopencv_Tracker_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:903:66: error: expected ‘>’ before ‘*’ token
             args.emplace_back(reinterpret_cast<pyopencv_GScalar_t*>(item)->v);
                                                                  ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:903:66: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:903:67: error: expected primary-expression before ‘>’ token
             args.emplace_back(reinterpret_cast<pyopencv_GScalar_t*>(item)->v);
                                                                   ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:903:76: error: ‘PyObject {aka struct _object}’ has no member n’
             args.emplace_back(reinterpret_cast<pyopencv_GScalar_t*>(item)->v);
                                                                            ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:906:60: error: ‘pyopencv_GOpaqueT_TypePtr’ was not declared incope
                            reinterpret_cast<PyTypeObject*>(pyopencv_GOpaqueT_TypePtr)))
                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:906:60: note: suggested alternative: ‘pyopencv_Tracker_TypePtr
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:908:43: error: ‘pyopencv_GOpaqueT_t’ does not name a type; didan ‘pyopencv_Tracker_t’?
             auto&& arg = reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.arg();
                                           ^~~~~~~~~~~~~~~~~~~
                                           pyopencv_Tracker_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:908:62: error: expected ‘>’ before ‘*’ token
             auto&& arg = reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.arg();
                                                              ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:908:62: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:908:63: error: expected primary-expression before ‘>’ token
             auto&& arg = reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.arg();
                                                               ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:908:72: error: ‘PyObject {aka struct _object}’ has no member n’
             auto&& arg = reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.arg();
                                                                        ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:908:79: error: expected ‘)’ before ‘;’ token
             auto&& arg = reinterpret_cast<pyopencv_GOpaqueT_t*>(item)->v.arg();
                                                                               ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:917:60: error: ‘pyopencv_GArrayT_TypePtr’ was not declared in ope
                            reinterpret_cast<PyTypeObject*>(pyopencv_GArrayT_TypePtr)))
                                                            ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:917:60: note: suggested alternative: ‘pyopencv_AKAZE_TypePtr’
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:919:43: error: ‘pyopencv_GArrayT_t’ does not name a type; did n ‘pyopencv_AKAZE_t’?
             auto&& arg = reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.arg();
                                           ^~~~~~~~~~~~~~~~~~
                                           pyopencv_AKAZE_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:919:61: error: expected ‘>’ before ‘*’ token
             auto&& arg = reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.arg();
                                                             ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:919:61: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:919:62: error: expected primary-expression before ‘>’ token
             auto&& arg = reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.arg();
                                                              ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:919:71: error: ‘PyObject {aka struct _object}’ has no member n’
             auto&& arg = reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.arg();
                                                                       ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:919:78: error: expected ‘)’ before ‘;’ token
             auto&& arg = reinterpret_cast<pyopencv_GArrayT_t*>(item)->v.arg();
                                                                              ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In static member function ‘static bool PyOpenCV_Converter<cv:<T> >::to(PyObject*, cv::GArray<T>&, const ArgInfo&)’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:999:69: error: ‘pyopencv_GArrayT_TypePtr’ was not declared in ope
         if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_GArrayT_TypePtr)))
                                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:999:69: note: suggested alternative: ‘pyopencv_AKAZE_TypePtr’
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1001:44: error: ‘pyopencv_GArrayT_t’ does not name a type; didan ‘pyopencv_AKAZE_t’?
             auto& array = reinterpret_cast<pyopencv_GArrayT_t*>(obj)->v;
                                            ^~~~~~~~~~~~~~~~~~
                                            pyopencv_AKAZE_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1001:62: error: expected ‘>’ before ‘*’ token
             auto& array = reinterpret_cast<pyopencv_GArrayT_t*>(obj)->v;
                                                              ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1001:62: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1001:63: error: expected primary-expression before ‘>’ token
             auto& array = reinterpret_cast<pyopencv_GArrayT_t*>(obj)->v;
                                                               ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1001:71: error: ‘PyObject {aka struct _object}’ has no member v’
             auto& array = reinterpret_cast<pyopencv_GArrayT_t*>(obj)->v;
                                                                       ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1001:72: error: expected ‘)’ before ‘;’ token
             auto& array = reinterpret_cast<pyopencv_GArrayT_t*>(obj)->v;
                                                                        ^
In file included from /usr/include/python3.6m/pytime.h:6:0,
                 from /usr/include/python3.6m/Python.h:77,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.hpp:20,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:5:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp: In static member function ‘static bool PyOpenCV_Converter<cv:e<T> >::to(PyObject*, cv::GOpaque<T>&, const ArgInfo&)’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1025:69: error: ‘pyopencv_GOpaqueT_TypePtr’ was not declared iscope
         if (PyObject_TypeCheck(obj, reinterpret_cast<PyTypeObject*>(pyopencv_GOpaqueT_TypePtr)))
                                                                     ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1025:69: note: suggested alternative: ‘pyopencv_Tracker_TypePt
In file included from /opt/opencv/opencv-4.5.5/release/modules/python_bindings_generator/pyopencv_custom_headers.h:23:0,
                 from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:88:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1027:45: error: ‘pyopencv_GOpaqueT_t’ does not name a type; diean ‘pyopencv_Tracker_t’?
             auto& opaque = reinterpret_cast<pyopencv_GOpaqueT_t*>(obj)->v;
                                             ^~~~~~~~~~~~~~~~~~~
                                             pyopencv_Tracker_t
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1027:64: error: expected ‘>’ before ‘*’ token
             auto& opaque = reinterpret_cast<pyopencv_GOpaqueT_t*>(obj)->v;
                                                                ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1027:64: error: expected ‘(’ before ‘*’ token
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1027:65: error: expected primary-expression before ‘>’ token
             auto& opaque = reinterpret_cast<pyopencv_GOpaqueT_t*>(obj)->v;
                                                                 ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1027:73: error: ‘PyObject {aka struct _object}’ has no member v’
             auto& opaque = reinterpret_cast<pyopencv_GOpaqueT_t*>(obj)->v;
                                                                         ^
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:1027:74: error: expected ‘)’ before ‘;’ token
             auto& opaque = reinterpret_cast<pyopencv_GOpaqueT_t*>(obj)->v;
                                                                          ^
In file included from /opt/opencv/opencv-4.5.5/modules/python/src2/cv2.cpp:17:0:
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:wip::draw::Rect; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:138:80:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:raw::Rect, void>’
 PyObject* pyopencv_from(const T& src) { return PyOpenCV_Converter<T>::from(src); }
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:wip::draw::Text; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:140:80:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:raw::Text, void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:wip::draw::Circle; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:142:82:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:raw::Circle, void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:wip::draw::Line; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:144:80:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:raw::Line, void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:wip::draw::Poly; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:146:80:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:raw::Poly, void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:wip::draw::Mosaic; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:148:82:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:raw::Mosaic, void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:wip::draw::Image; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:150:81:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:raw::Image, void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:sc; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:782:98:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::GMatDid>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:rDesc; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:785:101:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::GScal void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:Desc; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:788:100:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::GArravoid>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:eDesc; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:791:101:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::GOpaq void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:GKernelPackage; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:876:29:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:lPackage, void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:wip::GOutputs; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:937:80:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::gapi:Outputs, void>’
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘bool pyopencv_to(PyObject*, T&, const ArgInfo&)T = cv::GCompileArg; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:278:25:   required from ‘bool pyopencv_to_generic_vec(PyObject*, std:<_Tp>&, const ArgInfo&) [with Tp = cv::GCompileArg; PyObject = _object]’
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:274:52:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:55:94: error: ‘to’ is not a member of ‘PyOpenCV_Converter<cv::GCompiloid>’
 bool pyopencv_to(PyObject* obj, T& p, const ArgInfo& info) { return PyOpenCV_Converter<T>::to(obj, p, info); }
                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp: In instantiation of ‘PyObject* pyopencv_from(const T&) [with T = cv:leArg; PyObject = _object]’:
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:321:39:   required from ‘PyObject* pyopencv_from_generic_vec(const stor<_Tp>&) [with Tp = cv::GCompileArg; PyObject = _object]’
/opt/opencv/opencv-4.5.5/modules/gapi/misc/python/pyopencv_gapi.hpp:280:43:   required from here
/opt/opencv/opencv-4.5.5/modules/python/src2/cv2_convert.hpp:58:75: error: ‘from’ is not a member of ‘PyOpenCV_Converter<cv::GComp void>’
 PyObject* pyopencv_from(const T& src) { return PyOpenCV_Converter<T>::from(src); }
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
modules/python3/CMakeFiles/opencv_python3.dir/build.make:75: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/__/s.cpp.o' failed
make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1
CMakeFiles/Makefile2:6311: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/all' failed
make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
```