Advertisement
jiapei100

OpenCV4PythonFailure

Sep 25th, 2018
2,024
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 220.19 KB | None | 0 0
  1. [ 99%] Building CXX object modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o
  2. cd ....../opencv/build/modules/python3 && /usr/bin/ccache /usr/bin/c++  -DCVAPI_EXPORTS -DOPENCV_TRAITS_ENABLE_DEPRECATED -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I....../opencv/build/3rdparty/ippicv/ippicv_lnx/include -I....../opencv/build/3rdparty/ippicv/ippiw_lnx/include -I....../opencv/build -isystem /usr/local/include -isystem /opt/intel/mkl/include -isystem /usr/include/python3.6m -isystem ~/.local/lib/python3.6/site-packages/numpy/core/include -I....../opencv/modules/python/python3/include -I....../opencv/build/modules/python3 -I....../opencv_contrib/modules/cudev/include -I....../opencv/modules/core/include -I....../opencv_contrib/modules/cudaarithm/include -I....../opencv/modules/flann/include -I....../opencv_contrib/modules/hdf/include -I....../opencv/modules/imgproc/include -I....../opencv/modules/ml/include -I....../opencv/modules/objdetect/include -I....../opencv_contrib/modules/phase_unwrapping/include -I....../opencv_contrib/modules/plot/include -I....../opencv_contrib/modules/reg/include -I....../opencv_contrib/modules/surface_matching/include -I....../opencv_contrib/modules/xphoto/include -I....../opencv_contrib/modules/cudafilters/include -I....../opencv_contrib/modules/cudaimgproc/include -I....../opencv_contrib/modules/cudawarping/include -I....../opencv_contrib/modules/freetype/include -I....../opencv_contrib/modules/fuzzy/include -I....../opencv_contrib/modules/hfs/include -I....../opencv_contrib/modules/img_hash/include -I....../opencv/modules/imgcodecs/include -I....../opencv/modules/photo/include -I....../opencv/modules/videoio/include -I....../opencv_contrib/modules/xobjdetect/include -I....../opencv_contrib/modules/datasets/include -I....../opencv/modules/highgui/include -I....../opencv_contrib/modules/bioinspired/include -I....../opencv_contrib/modules/dpm/include -I....../opencv/modules/features2d/include -I....../opencv_contrib/modules/line_descriptor/include -I....../opencv_contrib/modules/saliency/include -I....../opencv/modules/calib3d/include -I....../opencv_contrib/modules/ccalib/include -I....../opencv_contrib/modules/cudafeatures2d/include -I....../opencv_contrib/modules/cudastereo/include -I....../opencv_contrib/modules/cvv/include -I....../opencv_contrib/modules/face/include -I....../opencv_contrib/modules/rgbd/include -I....../opencv/modules/shape/include -I....../opencv_contrib/modules/structured_light/include -I....../opencv/modules/video/include -I....../opencv_contrib/modules/xfeatures2d/include -I....../opencv_contrib/modules/ximgproc/include -I....../opencv_contrib/modules/aruco/include -I....../opencv_contrib/modules/bgsegm/include -I....../opencv_contrib/modules/cudabgsegm/include -I....../opencv_contrib/modules/cudalegacy/include -I....../opencv_contrib/modules/cudaobjdetect/include -I....../opencv_contrib/modules/cudaoptflow/include -I....../opencv_contrib/modules/optflow/include -I....../opencv_contrib/modules/sfm/include -I....../opencv/modules/stitching/include -I....../opencv/modules/superres/include -I....../opencv_contrib/modules/text/include -I....../opencv_contrib/modules/tracking/include -I....../opencv/modules/videostab/include -I....../opencv/modules/python/src2 -I....../opencv/build/modules/python_bindings_generator  -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fno-omit-frame-pointer -ffast-math -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -Wno-undef -O3 -DNDEBUG  -DNDEBUG -fPIC   -std=c++11 -o CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o -c ....../opencv/modules/python/src2/cv2.cpp
  3. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  4. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6348:13: error: ‘cudacodec’ is not a member of ‘cv’
  5.      Ptr<cv::cudacodec::EncoderCallBack> v;
  6.              ^~~~~~~~~
  7. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6348:13: note: suggested alternative: ‘imdecode’
  8.      Ptr<cv::cudacodec::EncoderCallBack> v;
  9.              ^~~~~~~~~
  10.              imdecode
  11. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6348:13: error: ‘cudacodec’ is not a member of ‘cv’
  12. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6348:13: note: suggested alternative: ‘imdecode’
  13.      Ptr<cv::cudacodec::EncoderCallBack> v;
  14.              ^~~~~~~~~
  15.              imdecode
  16. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6348:39: error: template argument 1 is invalid
  17.      Ptr<cv::cudacodec::EncoderCallBack> v;
  18.                                        ^
  19. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘void pyopencv_cudacodec_EncoderCallBack_dealloc(PyObject*)’:
  20. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6360:54: error: request for member ‘release’ in((pyopencv_cudacodec_EncoderCallBack_t*)self)->pyopencv_cudacodec_EncoderCallBack_t::v’, which is of non-class type ‘int’
  21.      ((pyopencv_cudacodec_EncoderCallBack_t*)self)->v.release();
  22.                                                       ^~~~~~~
  23. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: At global scope:
  24. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6365:36: error: ‘cudacodec’ is not a member of ‘cv’
  25.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderCallBack> >
  26.                                     ^~~~~~~~~
  27. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6365:36: note: suggested alternative: ‘imdecode’
  28.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderCallBack> >
  29.                                     ^~~~~~~~~
  30.                                     imdecode
  31. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6365:36: error: ‘cudacodec’ is not a member of ‘cv’
  32. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6365:36: note: suggested alternative: ‘imdecode’
  33.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderCallBack> >
  34.                                     ^~~~~~~~~
  35.                                     imdecode
  36. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6365:62: error: template argument 1 is invalid
  37.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderCallBack> >
  38.                                                               ^
  39. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6365:64: error: template argument 1 is invalid
  40.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderCallBack> >
  41.                                                                 ^
  42. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6394:13: error: ‘cudacodec’ is not a member of ‘cv’
  43.      Ptr<cv::cudacodec::EncoderParams> v;
  44.              ^~~~~~~~~
  45. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6394:13: note: suggested alternative: ‘imdecode’
  46.      Ptr<cv::cudacodec::EncoderParams> v;
  47.              ^~~~~~~~~
  48.              imdecode
  49. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6394:13: error: ‘cudacodec’ is not a member of ‘cv’
  50. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6394:13: note: suggested alternative: ‘imdecode’
  51.      Ptr<cv::cudacodec::EncoderParams> v;
  52.              ^~~~~~~~~
  53.              imdecode
  54. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6394:37: error: template argument 1 is invalid
  55.      Ptr<cv::cudacodec::EncoderParams> v;
  56.                                      ^
  57. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘void pyopencv_cudacodec_EncoderParams_dealloc(PyObject*)’:
  58. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6406:52: error: request for member ‘release’ in((pyopencv_cudacodec_EncoderParams_t*)self)->pyopencv_cudacodec_EncoderParams_t::v’, which is of non-class type ‘int’
  59.      ((pyopencv_cudacodec_EncoderParams_t*)self)->v.release();
  60.                                                     ^~~~~~~
  61. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: At global scope:
  62. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6411:36: error: ‘cudacodec’ is not a member of ‘cv’
  63.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderParams> >
  64.                                     ^~~~~~~~~
  65. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6411:36: note: suggested alternative: ‘imdecode’
  66.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderParams> >
  67.                                     ^~~~~~~~~
  68.                                     imdecode
  69. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6411:36: error: ‘cudacodec’ is not a member of ‘cv’
  70. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6411:36: note: suggested alternative: ‘imdecode’
  71.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderParams> >
  72.                                     ^~~~~~~~~
  73.                                     imdecode
  74. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6411:60: error: template argument 1 is invalid
  75.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderParams> >
  76.                                                             ^
  77. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6411:62: error: template argument 1 is invalid
  78.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::EncoderParams> >
  79.                                                               ^
  80. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6440:13: error: ‘cudacodec’ is not a member of ‘cv’
  81.      Ptr<cv::cudacodec::RawVideoSource> v;
  82.              ^~~~~~~~~
  83. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6440:13: note: suggested alternative: ‘imdecode’
  84.      Ptr<cv::cudacodec::RawVideoSource> v;
  85.              ^~~~~~~~~
  86.              imdecode
  87. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6440:13: error: ‘cudacodec’ is not a member of ‘cv’
  88. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6440:13: note: suggested alternative: ‘imdecode’
  89.      Ptr<cv::cudacodec::RawVideoSource> v;
  90.              ^~~~~~~~~
  91.              imdecode
  92. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6440:38: error: template argument 1 is invalid
  93.      Ptr<cv::cudacodec::RawVideoSource> v;
  94.                                       ^
  95. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘void pyopencv_cudacodec_RawVideoSource_dealloc(PyObject*)’:
  96. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6452:53: error: request for member ‘release’ in((pyopencv_cudacodec_RawVideoSource_t*)self)->pyopencv_cudacodec_RawVideoSource_t::v’, which is of non-class type ‘int’
  97.      ((pyopencv_cudacodec_RawVideoSource_t*)self)->v.release();
  98.                                                      ^~~~~~~
  99. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: At global scope:
  100. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6457:36: error: ‘cudacodec’ is not a member of ‘cv’
  101.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::RawVideoSource> >
  102.                                     ^~~~~~~~~
  103. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6457:36: note: suggested alternative: ‘imdecode’
  104.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::RawVideoSource> >
  105.                                     ^~~~~~~~~
  106.                                     imdecode
  107. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6457:36: error: ‘cudacodec’ is not a member of ‘cv’
  108. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6457:36: note: suggested alternative: ‘imdecode’
  109.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::RawVideoSource> >
  110.                                     ^~~~~~~~~
  111.                                     imdecode
  112. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6457:61: error: template argument 1 is invalid
  113.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::RawVideoSource> >
  114.                                                              ^
  115. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6457:63: error: template argument 1 is invalid
  116.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::RawVideoSource> >
  117.                                                                ^
  118. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6486:13: error: ‘cudacodec’ is not a member of ‘cv’
  119.      Ptr<cv::cudacodec::VideoReader> v;
  120.              ^~~~~~~~~
  121. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6486:13: note: suggested alternative: ‘imdecode’
  122.      Ptr<cv::cudacodec::VideoReader> v;
  123.              ^~~~~~~~~
  124.              imdecode
  125. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6486:13: error: ‘cudacodec’ is not a member of ‘cv’
  126. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6486:13: note: suggested alternative: ‘imdecode’
  127.      Ptr<cv::cudacodec::VideoReader> v;
  128.              ^~~~~~~~~
  129.              imdecode
  130. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6486:35: error: template argument 1 is invalid
  131.      Ptr<cv::cudacodec::VideoReader> v;
  132.                                    ^
  133. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘void pyopencv_cudacodec_VideoReader_dealloc(PyObject*)’:
  134. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6498:50: error: request for member ‘release’ in((pyopencv_cudacodec_VideoReader_t*)self)->pyopencv_cudacodec_VideoReader_t::v’, which is of non-class type ‘int’
  135.      ((pyopencv_cudacodec_VideoReader_t*)self)->v.release();
  136.                                                   ^~~~~~~
  137. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: At global scope:
  138. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6503:36: error: ‘cudacodec’ is not a member of ‘cv’
  139.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoReader> >
  140.                                     ^~~~~~~~~
  141. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6503:36: note: suggested alternative: ‘imdecode’
  142.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoReader> >
  143.                                     ^~~~~~~~~
  144.                                     imdecode
  145. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6503:36: error: ‘cudacodec’ is not a member of ‘cv’
  146. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6503:36: note: suggested alternative: ‘imdecode’
  147.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoReader> >
  148.                                     ^~~~~~~~~
  149.                                     imdecode
  150. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6503:58: error: template argument 1 is invalid
  151.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoReader> >
  152.                                                           ^
  153. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6503:60: error: template argument 1 is invalid
  154.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoReader> >
  155.                                                             ^
  156. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6532:13: error: ‘cudacodec’ is not a member of ‘cv’
  157.      Ptr<cv::cudacodec::VideoWriter> v;
  158.              ^~~~~~~~~
  159. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6532:13: note: suggested alternative: ‘imdecode’
  160.      Ptr<cv::cudacodec::VideoWriter> v;
  161.              ^~~~~~~~~
  162.              imdecode
  163. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6532:13: error: ‘cudacodec’ is not a member of ‘cv’
  164. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6532:13: note: suggested alternative: ‘imdecode’
  165.      Ptr<cv::cudacodec::VideoWriter> v;
  166.              ^~~~~~~~~
  167.              imdecode
  168. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6532:35: error: template argument 1 is invalid
  169.      Ptr<cv::cudacodec::VideoWriter> v;
  170.                                    ^
  171. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘void pyopencv_cudacodec_VideoWriter_dealloc(PyObject*)’:
  172. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6544:50: error: request for member ‘release’ in((pyopencv_cudacodec_VideoWriter_t*)self)->pyopencv_cudacodec_VideoWriter_t::v’, which is of non-class type ‘int’
  173.      ((pyopencv_cudacodec_VideoWriter_t*)self)->v.release();
  174.                                                   ^~~~~~~
  175. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: At global scope:
  176. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6549:36: error: ‘cudacodec’ is not a member of ‘cv’
  177.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoWriter> >
  178.                                     ^~~~~~~~~
  179. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6549:36: note: suggested alternative: ‘imdecode’
  180.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoWriter> >
  181.                                     ^~~~~~~~~
  182.                                     imdecode
  183. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6549:36: error: ‘cudacodec’ is not a member of ‘cv’
  184. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6549:36: note: suggested alternative: ‘imdecode’
  185.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoWriter> >
  186.                                     ^~~~~~~~~
  187.                                     imdecode
  188. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6549:58: error: template argument 1 is invalid
  189.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoWriter> >
  190.                                                           ^
  191. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6549:60: error: template argument 1 is invalid
  192.  struct PyOpenCV_Converter< Ptr<cv::cudacodec::VideoWriter> >
  193.                                                             ^
  194. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6578:13: error: ‘dnn’ is not a member of ‘cv’
  195.      Ptr<cv::dnn::DictValue> v;
  196.              ^~~
  197. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6578:13: error: ‘dnn’ is not a member of ‘cv’
  198. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6578:27: error: template argument 1 is invalid
  199.      Ptr<cv::dnn::DictValue> v;
  200.                            ^
  201. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘void pyopencv_dnn_DictValue_dealloc(PyObject*)’:
  202. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6590:42: error: request for member ‘release’ in((pyopencv_dnn_DictValue_t*)self)->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  203.      ((pyopencv_dnn_DictValue_t*)self)->v.release();
  204.                                           ^~~~~~~
  205. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: At global scope:
  206. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6595:36: error: ‘dnn’ is not a member of ‘cv’
  207.  struct PyOpenCV_Converter< Ptr<cv::dnn::DictValue> >
  208.                                     ^~~
  209. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6595:36: error: ‘dnn’ is not a member of ‘cv’
  210. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6595:50: error: template argument 1 is invalid
  211.  struct PyOpenCV_Converter< Ptr<cv::dnn::DictValue> >
  212.                                                   ^
  213. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6595:52: error: template argument 1 is invalid
  214.  struct PyOpenCV_Converter< Ptr<cv::dnn::DictValue> >
  215.                                                     ^
  216. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6641:36: error: ‘dnn’ is not a member of ‘cv’
  217.  struct PyOpenCV_Converter< Ptr<cv::dnn::Layer> >
  218.                                     ^~~
  219. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6641:36: error: ‘dnn’ is not a member of ‘cv’
  220. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6641:46: error: template argument 1 is invalid
  221.  struct PyOpenCV_Converter< Ptr<cv::dnn::Layer> >
  222.                                               ^
  223. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6641:48: error: template argument 1 is invalid
  224.  struct PyOpenCV_Converter< Ptr<cv::dnn::Layer> >
  225.                                                 ^
  226. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6670:9: error: ‘dnn’ in namespace ‘cv’ does not name a type
  227.      cv::dnn::Net v;
  228.          ^~~
  229. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘void pyopencv_dnn_Net_dealloc(PyObject*)’:
  230. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6682:34: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  231.      ((pyopencv_dnn_Net_t*)self)->v.cv::dnn::Net::~Net();
  232.                                   ^
  233. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6682:40: error: ‘cv::dnn’ has not been declared
  234.      ((pyopencv_dnn_Net_t*)self)->v.cv::dnn::Net::~Net();
  235.                                         ^~~
  236. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: At global scope:
  237. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6687:32: error: ‘dnn’ is not a member of ‘cv’
  238.  struct PyOpenCV_Converter< cv::dnn::Net >
  239.                                 ^~~
  240. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6687:32: error: ‘dnn’ is not a member of ‘cv’
  241. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:6687:41: error: template argument 1 is invalid
  242.  struct PyOpenCV_Converter< cv::dnn::Net >
  243.                                          ^
  244. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  245. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘int pyopencv_cv_dnn_dnn_DictValue_DictValue(pyopencv_dnn_DictValue_t*, PyObject*, PyObject*)’:
  246. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35079:25: error: ‘dnn’ is not a namespace-name
  247.      using namespace cv::dnn;
  248.                          ^~~
  249. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35079:28: error: expected namespace-name before ‘;’ token
  250.      using namespace cv::dnn;
  251.                             ^
  252. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35087:34: error: ‘dnn’ is not a member of ‘cv’
  253.          new (&(self->v)) Ptr<cv::dnn::DictValue>(); // init Ptr with placement new
  254.                                   ^~~
  255. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35087:34: error: ‘dnn’ is not a member of ‘cv’
  256. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35087:48: error: template argument 1 is invalid
  257.          new (&(self->v)) Ptr<cv::dnn::DictValue>(); // init Ptr with placement new
  258.                                                 ^
  259. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35088:35: error: request for member ‘reset’ in ‘self->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  260.          if(self) ERRWRAP2(self->v.reset(new cv::dnn::DictValue(i)));
  261.                                    ^
  262. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  263.      expr; \
  264.      ^~~~
  265. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35088:49: error: ‘dnn’ in namespace ‘cv’ does not name a type
  266.          if(self) ERRWRAP2(self->v.reset(new cv::dnn::DictValue(i)));
  267.                                                  ^
  268. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  269.      expr; \
  270.      ^~~~
  271. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  272. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35100:34: error: ‘dnn’ is not a member of ‘cv’
  273.          new (&(self->v)) Ptr<cv::dnn::DictValue>(); // init Ptr with placement new
  274.                                   ^~~
  275. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35100:34: error: ‘dnn’ is not a member of ‘cv’
  276. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35100:48: error: template argument 1 is invalid
  277.          new (&(self->v)) Ptr<cv::dnn::DictValue>(); // init Ptr with placement new
  278.                                                 ^
  279. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35101:35: error: request for member ‘reset’ in ‘self->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  280.          if(self) ERRWRAP2(self->v.reset(new cv::dnn::DictValue(p)));
  281.                                    ^
  282. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  283.      expr; \
  284.      ^~~~
  285. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35101:49: error: ‘dnn’ in namespace ‘cv’ does not name a type
  286.          if(self) ERRWRAP2(self->v.reset(new cv::dnn::DictValue(p)));
  287.                                                  ^
  288. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  289.      expr; \
  290.      ^~~~
  291. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  292. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35115:34: error: ‘dnn’ is not a member of ‘cv’
  293.          new (&(self->v)) Ptr<cv::dnn::DictValue>(); // init Ptr with placement new
  294.                                   ^~~
  295. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35115:34: error: ‘dnn’ is not a member of ‘cv’
  296. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35115:48: error: template argument 1 is invalid
  297.          new (&(self->v)) Ptr<cv::dnn::DictValue>(); // init Ptr with placement new
  298.                                                 ^
  299. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35116:35: error: request for member ‘reset’ in ‘self->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  300.          if(self) ERRWRAP2(self->v.reset(new cv::dnn::DictValue(s)));
  301.                                    ^
  302. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  303.      expr; \
  304.      ^~~~
  305. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35116:49: error: ‘dnn’ in namespace ‘cv’ does not name a type
  306.          if(self) ERRWRAP2(self->v.reset(new cv::dnn::DictValue(s)));
  307.                                                  ^
  308. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  309.      expr; \
  310.      ^~~~
  311. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  312. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_DictValue_getIntValue(PyObject*, PyObject*, PyObject*)’:
  313. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35126:25: error: ‘dnn’ is not a namespace-name
  314.      using namespace cv::dnn;
  315.                          ^~~
  316. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35126:28: error: expected namespace-name before ‘;’ token
  317.      using namespace cv::dnn;
  318.                             ^
  319. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35128:9: error: ‘cv::dnn’ has not been declared
  320.      cv::dnn::DictValue* _self_ = NULL;
  321.          ^~~
  322. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35128:25: error: ‘_self_’ was not declared in this scope
  323.      cv::dnn::DictValue* _self_ = NULL;
  324.                          ^~~~~~
  325. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35128:25: note: suggested alternative: ‘self’
  326.      cv::dnn::DictValue* _self_ = NULL;
  327.                          ^~~~~~
  328.                          self
  329. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35130:55: error: request for member ‘get’ in((pyopencv_dnn_DictValue_t*)self)->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  330.          _self_ = ((pyopencv_dnn_DictValue_t*)self)->v.get();
  331.                                                        ^~~
  332. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_DictValue_getRealValue(PyObject*, PyObject*, PyObject*)’:
  333. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35148:25: error: ‘dnn’ is not a namespace-name
  334.      using namespace cv::dnn;
  335.                          ^~~
  336. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35148:28: error: expected namespace-name before ‘;’ token
  337.      using namespace cv::dnn;
  338.                             ^
  339. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35150:9: error: ‘cv::dnn’ has not been declared
  340.      cv::dnn::DictValue* _self_ = NULL;
  341.          ^~~
  342. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35150:25: error: ‘_self_’ was not declared in this scope
  343.      cv::dnn::DictValue* _self_ = NULL;
  344.                          ^~~~~~
  345. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35150:25: note: suggested alternative: ‘self’
  346.      cv::dnn::DictValue* _self_ = NULL;
  347.                          ^~~~~~
  348.                          self
  349. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35152:55: error: request for member ‘get’ in((pyopencv_dnn_DictValue_t*)self)->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  350.          _self_ = ((pyopencv_dnn_DictValue_t*)self)->v.get();
  351.                                                        ^~~
  352. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_DictValue_getStringValue(PyObject*, PyObject*, PyObject*)’:
  353. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35170:25: error: ‘dnn’ is not a namespace-name
  354.      using namespace cv::dnn;
  355.                          ^~~
  356. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35170:28: error: expected namespace-name before ‘;’ token
  357.      using namespace cv::dnn;
  358.                             ^
  359. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35172:9: error: ‘cv::dnn’ has not been declared
  360.      cv::dnn::DictValue* _self_ = NULL;
  361.          ^~~
  362. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35172:25: error: ‘_self_’ was not declared in this scope
  363.      cv::dnn::DictValue* _self_ = NULL;
  364.                          ^~~~~~
  365. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35172:25: note: suggested alternative: ‘self’
  366.      cv::dnn::DictValue* _self_ = NULL;
  367.                          ^~~~~~
  368.                          self
  369. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35174:55: error: request for member ‘get’ in((pyopencv_dnn_DictValue_t*)self)->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  370.          _self_ = ((pyopencv_dnn_DictValue_t*)self)->v.get();
  371.                                                        ^~~
  372. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_DictValue_isInt(PyObject*, PyObject*, PyObject*)’:
  373. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35192:25: error: ‘dnn’ is not a namespace-name
  374.      using namespace cv::dnn;
  375.                          ^~~
  376. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35192:28: error: expected namespace-name before ‘;’ token
  377.      using namespace cv::dnn;
  378.                             ^
  379. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35194:9: error: ‘cv::dnn’ has not been declared
  380.      cv::dnn::DictValue* _self_ = NULL;
  381.          ^~~
  382. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35194:25: error: ‘_self_’ was not declared in this scope
  383.      cv::dnn::DictValue* _self_ = NULL;
  384.                          ^~~~~~
  385. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35194:25: note: suggested alternative: ‘self’
  386.      cv::dnn::DictValue* _self_ = NULL;
  387.                          ^~~~~~
  388.                          self
  389. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35196:55: error: request for member ‘get’ in((pyopencv_dnn_DictValue_t*)self)->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  390.          _self_ = ((pyopencv_dnn_DictValue_t*)self)->v.get();
  391.                                                        ^~~
  392. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_DictValue_isReal(PyObject*, PyObject*, PyObject*)’:
  393. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35212:25: error: ‘dnn’ is not a namespace-name
  394.      using namespace cv::dnn;
  395.                          ^~~
  396. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35212:28: error: expected namespace-name before ‘;’ token
  397.      using namespace cv::dnn;
  398.                             ^
  399. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35214:9: error: ‘cv::dnn’ has not been declared
  400.      cv::dnn::DictValue* _self_ = NULL;
  401.          ^~~
  402. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35214:25: error: ‘_self_’ was not declared in this scope
  403.      cv::dnn::DictValue* _self_ = NULL;
  404.                          ^~~~~~
  405. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35214:25: note: suggested alternative: ‘self’
  406.      cv::dnn::DictValue* _self_ = NULL;
  407.                          ^~~~~~
  408.                          self
  409. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35216:55: error: request for member ‘get’ in((pyopencv_dnn_DictValue_t*)self)->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  410.          _self_ = ((pyopencv_dnn_DictValue_t*)self)->v.get();
  411.                                                        ^~~
  412. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_DictValue_isString(PyObject*, PyObject*, PyObject*)’:
  413. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35232:25: error: ‘dnn’ is not a namespace-name
  414.      using namespace cv::dnn;
  415.                          ^~~
  416. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35232:28: error: expected namespace-name before ‘;’ token
  417.      using namespace cv::dnn;
  418.                             ^
  419. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35234:9: error: ‘cv::dnn’ has not been declared
  420.      cv::dnn::DictValue* _self_ = NULL;
  421.          ^~~
  422. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35234:25: error: ‘_self_’ was not declared in this scope
  423.      cv::dnn::DictValue* _self_ = NULL;
  424.                          ^~~~~~
  425. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35234:25: note: suggested alternative: ‘self’
  426.      cv::dnn::DictValue* _self_ = NULL;
  427.                          ^~~~~~
  428.                          self
  429. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35236:55: error: request for member ‘get’ in((pyopencv_dnn_DictValue_t*)self)->pyopencv_dnn_DictValue_t::v’, which is of non-class type ‘int’
  430.          _self_ = ((pyopencv_dnn_DictValue_t*)self)->v.get();
  431.                                                        ^~~
  432. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  433. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_dnn_Layer_get_blobs(pyopencv_dnn_Layer_t*, void*)’:
  434. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:9: error: ‘cv::dnn’ has not been declared
  435.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  436.          ^~~
  437. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:21: error: ‘_self_’ was not declared in this scope
  438.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  439.                      ^~~~~~
  440. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:21: note: suggested alternative: ‘__erfl’
  441.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  442.                      ^~~~~~
  443.                      __erfl
  444. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:47: error: ‘dnn’ in namespace ‘cv’ does not name a type
  445.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  446.                                                ^~~
  447. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:50: error: expected ‘>’ before ‘::’ token
  448.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  449.                                                   ^~
  450. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:50: error: expected ‘(’ before ‘::’ token
  451. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:52: error: ‘::Layer’ has not been declared
  452.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  453.                                                     ^~~~~
  454. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:58: error: expected primary-expression before ‘>’ token
  455.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  456.                                                           ^
  457. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35284:71: error: expected ‘)’ before ‘;’ token
  458.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  459.                                                                        ^
  460. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘int pyopencv_dnn_Layer_set_blobs(pyopencv_dnn_Layer_t*, PyObject*, void*)’:
  461. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:9: error: ‘cv::dnn’ has not been declared
  462.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  463.          ^~~
  464. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:21: error: ‘_self_’ was not declared in this scope
  465.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  466.                      ^~~~~~
  467. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:21: note: suggested alternative: ‘__erfl’
  468.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  469.                      ^~~~~~
  470.                      __erfl
  471. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:47: error: ‘dnn’ in namespace ‘cv’ does not name a type
  472.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  473.                                                ^~~
  474. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:50: error: expected ‘>’ before ‘::’ token
  475.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  476.                                                   ^~
  477. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:50: error: expected ‘(’ before ‘::’ token
  478. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:52: error: ‘::Layer’ has not been declared
  479.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  480.                                                     ^~~~~
  481. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:58: error: expected primary-expression before ‘>’ token
  482.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  483.                                                           ^
  484. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35297:71: error: expected ‘)’ before ‘;’ token
  485.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  486.                                                                        ^
  487. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_dnn_Layer_get_name(pyopencv_dnn_Layer_t*, void*)’:
  488. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:9: error: ‘cv::dnn’ has not been declared
  489.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  490.          ^~~
  491. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:21: error: ‘_self_’ was not declared in this scope
  492.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  493.                      ^~~~~~
  494. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:21: note: suggested alternative: ‘__erfl’
  495.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  496.                      ^~~~~~
  497.                      __erfl
  498. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:47: error: ‘dnn’ in namespace ‘cv’ does not name a type
  499.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  500.                                                ^~~
  501. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:50: error: expected ‘>’ before ‘::’ token
  502.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  503.                                                   ^~
  504. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:50: error: expected ‘(’ before ‘::’ token
  505. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:52: error: ‘::Layer’ has not been declared
  506.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  507.                                                     ^~~~~
  508. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:58: error: expected primary-expression before ‘>’ token
  509.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  510.                                                           ^
  511. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35308:71: error: expected ‘)’ before ‘;’ token
  512.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  513.                                                                        ^
  514. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_dnn_Layer_get_preferableTarget(pyopencv_dnn_Layer_t*, void*)’:
  515. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:9: error: ‘cv::dnn’ has not been declared
  516.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  517.          ^~~
  518. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:21: error: ‘_self_’ was not declared in this scope
  519.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  520.                      ^~~~~~
  521. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:21: note: suggested alternative: ‘__erfl’
  522.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  523.                      ^~~~~~
  524.                      __erfl
  525. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:47: error: ‘dnn’ in namespace ‘cv’ does not name a type
  526.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  527.                                                ^~~
  528. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:50: error: expected ‘>’ before ‘::’ token
  529.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  530.                                                   ^~
  531. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:50: error: expected ‘(’ before ‘::’ token
  532. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:52: error: ‘::Layer’ has not been declared
  533.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  534.                                                     ^~~~~
  535. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:58: error: expected primary-expression before ‘>’ token
  536.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  537.                                                           ^
  538. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35316:71: error: expected ‘)’ before ‘;’ token
  539.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  540.                                                                        ^
  541. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_dnn_Layer_get_type(pyopencv_dnn_Layer_t*, void*)’:
  542. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:9: error: ‘cv::dnn’ has not been declared
  543.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  544.          ^~~
  545. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:21: error: ‘_self_’ was not declared in this scope
  546.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  547.                      ^~~~~~
  548. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:21: note: suggested alternative: ‘__erfl’
  549.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  550.                      ^~~~~~
  551.                      __erfl
  552. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:47: error: ‘dnn’ in namespace ‘cv’ does not name a type
  553.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  554.                                                ^~~
  555. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:50: error: expected ‘>’ before ‘::’ token
  556.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  557.                                                   ^~
  558. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:50: error: expected ‘(’ before ‘::’ token
  559. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:52: error: ‘::Layer’ has not been declared
  560.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  561.                                                     ^~~~~
  562. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:58: error: expected primary-expression before ‘>’ token
  563.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  564.                                                           ^
  565. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35324:71: error: expected ‘)’ before ‘;’ token
  566.      cv::dnn::Layer* _self_ = dynamic_cast<cv::dnn::Layer*>(p->v.get());
  567.                                                                        ^
  568. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Layer_finalize(PyObject*, PyObject*, PyObject*)’:
  569. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35342:25: error: ‘dnn’ is not a namespace-name
  570.      using namespace cv::dnn;
  571.                          ^~~
  572. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35342:28: error: expected namespace-name before ‘;’ token
  573.      using namespace cv::dnn;
  574.                             ^
  575. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35344:9: error: ‘cv::dnn’ has not been declared
  576.      cv::dnn::Layer* _self_ = NULL;
  577.          ^~~
  578. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35344:21: error: ‘_self_’ was not declared in this scope
  579.      cv::dnn::Layer* _self_ = NULL;
  580.                      ^~~~~~
  581. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35344:21: note: suggested alternative: ‘self’
  582.      cv::dnn::Layer* _self_ = NULL;
  583.                      ^~~~~~
  584.                      self
  585. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35346:35: error: ‘dnn’ in namespace ‘cv’ does not name a type
  586.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  587.                                    ^~~
  588. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35346:38: error: expected ‘>’ before ‘::’ token
  589.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  590.                                       ^~
  591. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35346:38: error: expected ‘(’ before ‘::’ token
  592. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35346:40: error: ‘::Layer’ has not been declared
  593.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  594.                                         ^~~~~
  595. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35346:46: error: expected primary-expression before ‘>’ token
  596.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  597.                                               ^
  598. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35346:87: error: expected ‘)’ before ‘;’ token
  599.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  600.                                                                                        ^
  601. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Layer_outputNameToIndex(PyObject*, PyObject*, PyObject*)’:
  602. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35387:25: error: ‘dnn’ is not a namespace-name
  603.      using namespace cv::dnn;
  604.                          ^~~
  605. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35387:28: error: expected namespace-name before ‘;’ token
  606.      using namespace cv::dnn;
  607.                             ^
  608. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35389:9: error: ‘cv::dnn’ has not been declared
  609.      cv::dnn::Layer* _self_ = NULL;
  610.          ^~~
  611. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35389:21: error: ‘_self_’ was not declared in this scope
  612.      cv::dnn::Layer* _self_ = NULL;
  613.                      ^~~~~~
  614. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35389:21: note: suggested alternative: ‘self’
  615.      cv::dnn::Layer* _self_ = NULL;
  616.                      ^~~~~~
  617.                      self
  618. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35391:35: error: ‘dnn’ in namespace ‘cv’ does not name a type
  619.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  620.                                    ^~~
  621. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35391:38: error: expected ‘>’ before ‘::’ token
  622.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  623.                                       ^~
  624. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35391:38: error: expected ‘(’ before ‘::’ token
  625. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35391:40: error: ‘::Layer’ has not been declared
  626.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  627.                                         ^~~~~
  628. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35391:46: error: expected primary-expression before ‘>’ token
  629.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  630.                                               ^
  631. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35391:87: error: expected ‘)’ before ‘;’ token
  632.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  633.                                                                                        ^
  634. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Layer_run(PyObject*, PyObject*, PyObject*)’:
  635. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35411:25: error: ‘dnn’ is not a namespace-name
  636.      using namespace cv::dnn;
  637.                          ^~~
  638. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35411:28: error: expected namespace-name before ‘;’ token
  639.      using namespace cv::dnn;
  640.                             ^
  641. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35413:9: error: ‘cv::dnn’ has not been declared
  642.      cv::dnn::Layer* _self_ = NULL;
  643.          ^~~
  644. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35413:21: error: ‘_self_’ was not declared in this scope
  645.      cv::dnn::Layer* _self_ = NULL;
  646.                      ^~~~~~
  647. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35413:21: note: suggested alternative: ‘self’
  648.      cv::dnn::Layer* _self_ = NULL;
  649.                      ^~~~~~
  650.                      self
  651. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35415:35: error: ‘dnn’ in namespace ‘cv’ does not name a type
  652.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  653.                                    ^~~
  654. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35415:38: error: expected ‘>’ before ‘::’ token
  655.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  656.                                       ^~
  657. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35415:38: error: expected ‘(’ before ‘::’ token
  658. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35415:40: error: ‘::Layer’ has not been declared
  659.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  660.                                         ^~~~~
  661. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35415:46: error: expected primary-expression before ‘>’ token
  662.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  663.                                               ^
  664. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35415:87: error: expected ‘)’ before ‘;’ token
  665.          _self_ = dynamic_cast<cv::dnn::Layer*>(((pyopencv_dnn_Layer_t*)self)->v.get());
  666.                                                                                        ^
  667. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  668. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘int pyopencv_cv_dnn_dnn_Net_Net(pyopencv_dnn_Net_t*, PyObject*, PyObject*)’:
  669. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35497:25: error: ‘dnn’ is not a namespace-name
  670.      using namespace cv::dnn;
  671.                          ^~~
  672. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35497:28: error: expected namespace-name before ‘;’ token
  673.      using namespace cv::dnn;
  674.                             ^
  675. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35502:40: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  676.          if(self) ERRWRAP2(new (&(self->v)) cv::dnn::Net());
  677.                                         ^
  678. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  679.      expr; \
  680.      ^~~~
  681. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35502:48: error: ‘dnn’ in namespace ‘cv’ does not name a type
  682.          if(self) ERRWRAP2(new (&(self->v)) cv::dnn::Net());
  683.                                                 ^
  684. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  685.      expr; \
  686.      ^~~~
  687. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  688. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_connect(PyObject*, PyObject*, PyObject*)’:
  689. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35511:25: error: ‘dnn’ is not a namespace-name
  690.      using namespace cv::dnn;
  691.                          ^~~
  692. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35511:28: error: expected namespace-name before ‘;’ token
  693.      using namespace cv::dnn;
  694.                             ^
  695. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35513:9: error: ‘cv::dnn’ has not been declared
  696.      cv::dnn::Net* _self_ = NULL;
  697.          ^~~
  698. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35513:19: error: ‘_self_’ was not declared in this scope
  699.      cv::dnn::Net* _self_ = NULL;
  700.                    ^~~~~~
  701. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35513:19: note: suggested alternative: ‘self’
  702.      cv::dnn::Net* _self_ = NULL;
  703.                    ^~~~~~
  704.                    self
  705. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35515:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  706.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  707.                                                 ^
  708. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_empty(PyObject*, PyObject*, PyObject*)’:
  709. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35537:25: error: ‘dnn’ is not a namespace-name
  710.      using namespace cv::dnn;
  711.                          ^~~
  712. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35537:28: error: expected namespace-name before ‘;’ token
  713.      using namespace cv::dnn;
  714.                             ^
  715. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35539:9: error: ‘cv::dnn’ has not been declared
  716.      cv::dnn::Net* _self_ = NULL;
  717.          ^~~
  718. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35539:19: error: ‘_self_’ was not declared in this scope
  719.      cv::dnn::Net* _self_ = NULL;
  720.                    ^~~~~~
  721. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35539:19: note: suggested alternative: ‘self’
  722.      cv::dnn::Net* _self_ = NULL;
  723.                    ^~~~~~
  724.                    self
  725. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35541:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  726.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  727.                                                 ^
  728. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_enableFusion(PyObject*, PyObject*, PyObject*)’:
  729. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35557:25: error: ‘dnn’ is not a namespace-name
  730.      using namespace cv::dnn;
  731.                          ^~~
  732. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35557:28: error: expected namespace-name before ‘;’ token
  733.      using namespace cv::dnn;
  734.                             ^
  735. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35559:9: error: ‘cv::dnn’ has not been declared
  736.      cv::dnn::Net* _self_ = NULL;
  737.          ^~~
  738. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35559:19: error: ‘_self_’ was not declared in this scope
  739.      cv::dnn::Net* _self_ = NULL;
  740.                    ^~~~~~
  741. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35559:19: note: suggested alternative: ‘self’
  742.      cv::dnn::Net* _self_ = NULL;
  743.                    ^~~~~~
  744.                    self
  745. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35561:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  746.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  747.                                                 ^
  748. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_forward(PyObject*, PyObject*, PyObject*)’:
  749. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35578:25: error: ‘dnn’ is not a namespace-name
  750.      using namespace cv::dnn;
  751.                          ^~~
  752. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35578:28: error: expected namespace-name before ‘;’ token
  753.      using namespace cv::dnn;
  754.                             ^
  755. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35580:9: error: ‘cv::dnn’ has not been declared
  756.      cv::dnn::Net* _self_ = NULL;
  757.          ^~~
  758. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35580:19: error: ‘_self_’ was not declared in this scope
  759.      cv::dnn::Net* _self_ = NULL;
  760.                    ^~~~~~
  761. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35580:19: note: suggested alternative: ‘self’
  762.      cv::dnn::Net* _self_ = NULL;
  763.                    ^~~~~~
  764.                    self
  765. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35582:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  766.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  767.                                                 ^
  768. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_forwardAndRetrieve(PyObject*, PyObject*, PyObject*)’:
  769. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35672:25: error: ‘dnn’ is not a namespace-name
  770.      using namespace cv::dnn;
  771.                          ^~~
  772. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35672:28: error: expected namespace-name before ‘;’ token
  773.      using namespace cv::dnn;
  774.                             ^
  775. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35674:9: error: ‘cv::dnn’ has not been declared
  776.      cv::dnn::Net* _self_ = NULL;
  777.          ^~~
  778. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35674:19: error: ‘_self_’ was not declared in this scope
  779.      cv::dnn::Net* _self_ = NULL;
  780.                    ^~~~~~
  781. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35674:19: note: suggested alternative: ‘self’
  782.      cv::dnn::Net* _self_ = NULL;
  783.                    ^~~~~~
  784.                    self
  785. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35676:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  786.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  787.                                                 ^
  788. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getFLOPS(PyObject*, PyObject*, PyObject*)’:
  789. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35696:25: error: ‘dnn’ is not a namespace-name
  790.      using namespace cv::dnn;
  791.                          ^~~
  792. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35696:28: error: expected namespace-name before ‘;’ token
  793.      using namespace cv::dnn;
  794.                             ^
  795. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35698:9: error: ‘cv::dnn’ has not been declared
  796.      cv::dnn::Net* _self_ = NULL;
  797.          ^~~
  798. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35698:19: error: ‘_self_’ was not declared in this scope
  799.      cv::dnn::Net* _self_ = NULL;
  800.                    ^~~~~~
  801. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35698:19: note: suggested alternative: ‘self’
  802.      cv::dnn::Net* _self_ = NULL;
  803.                    ^~~~~~
  804.                    self
  805. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35700:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  806.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  807.                                                 ^
  808. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35705:5: error: ‘vector_MatShape’ was not declared in this scope
  809.      vector_MatShape netInputShapes;
  810.      ^~~~~~~~~~~~~~~
  811. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35705:5: note: suggested alternative: ‘vector_Match’
  812.      vector_MatShape netInputShapes;
  813.      ^~~~~~~~~~~~~~~
  814.      vector_Match
  815. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35710:43: error: ‘netInputShapes’ was not declared in this scope
  816.          pyopencv_to(pyobj_netInputShapes, netInputShapes, ArgInfo("netInputShapes", 0)) )
  817.                                            ^~~~~~~~~~~~~~
  818. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35710:43: note: suggested alternative: ‘pyobj_netInputShapes’
  819.          pyopencv_to(pyobj_netInputShapes, netInputShapes, ArgInfo("netInputShapes", 0)) )
  820.                                            ^~~~~~~~~~~~~~
  821.                                            pyobj_netInputShapes
  822. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35720:5: error: ‘MatShape’ was not declared in this scope
  823.      MatShape netInputShape;
  824.      ^~~~~~~~
  825. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35725:42: error: ‘netInputShape’ was not declared in this scope
  826.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  827.                                           ^~~~~~~~~~~~~
  828. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35725:42: note: suggested alternative: ‘pyobj_netInputShape’
  829.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  830.                                           ^~~~~~~~~~~~~
  831.                                           pyobj_netInputShape
  832. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35736:5: error: ‘vector_MatShape’ was not declared in this scope
  833.      vector_MatShape netInputShapes;
  834.      ^~~~~~~~~~~~~~~
  835. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35736:5: note: suggested alternative: ‘vector_Match’
  836.      vector_MatShape netInputShapes;
  837.      ^~~~~~~~~~~~~~~
  838.      vector_Match
  839. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35741:43: error: ‘netInputShapes’ was not declared in this scope
  840.          pyopencv_to(pyobj_netInputShapes, netInputShapes, ArgInfo("netInputShapes", 0)) )
  841.                                            ^~~~~~~~~~~~~~
  842. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35741:43: note: suggested alternative: ‘pyobj_netInputShapes’
  843.          pyopencv_to(pyobj_netInputShapes, netInputShapes, ArgInfo("netInputShapes", 0)) )
  844.                                            ^~~~~~~~~~~~~~
  845.                                            pyobj_netInputShapes
  846. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35752:5: error: ‘MatShape’ was not declared in this scope
  847.      MatShape netInputShape;
  848.      ^~~~~~~~
  849. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35757:42: error: ‘netInputShape’ was not declared in this scope
  850.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  851.                                           ^~~~~~~~~~~~~
  852. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35757:42: note: suggested alternative: ‘pyobj_netInputShape’
  853.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  854.                                           ^~~~~~~~~~~~~
  855.                                           pyobj_netInputShape
  856. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getLayer(PyObject*, PyObject*, PyObject*)’:
  857. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35769:25: error: ‘dnn’ is not a namespace-name
  858.      using namespace cv::dnn;
  859.                          ^~~
  860. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35769:28: error: expected namespace-name before ‘;’ token
  861.      using namespace cv::dnn;
  862.                             ^
  863. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35771:9: error: ‘cv::dnn’ has not been declared
  864.      cv::dnn::Net* _self_ = NULL;
  865.          ^~~
  866. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35771:19: error: ‘_self_’ was not declared in this scope
  867.      cv::dnn::Net* _self_ = NULL;
  868.                    ^~~~~~
  869. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35771:19: note: suggested alternative: ‘self’
  870.      cv::dnn::Net* _self_ = NULL;
  871.                    ^~~~~~
  872.                    self
  873. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35773:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  874.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  875.                                                 ^
  876. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35777:5: error: ‘LayerId’ was not declared in this scope
  877.      LayerId layerId;
  878.      ^~~~~~~
  879. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35778:9: error: ‘Layer’ was not declared in this scope
  880.      Ptr<Layer> retval;
  881.          ^~~~~
  882. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35778:14: error: template argument 1 is invalid
  883.      Ptr<Layer> retval;
  884.               ^
  885. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35782:36: error: ‘layerId’ was not declared in this scope
  886.          pyopencv_to(pyobj_layerId, layerId, ArgInfo("layerId", 0)) )
  887.                                     ^~~~~~~
  888. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getLayerId(PyObject*, PyObject*, PyObject*)’:
  889. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35793:25: error: ‘dnn’ is not a namespace-name
  890.      using namespace cv::dnn;
  891.                          ^~~
  892. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35793:28: error: expected namespace-name before ‘;’ token
  893.      using namespace cv::dnn;
  894.                             ^
  895. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35795:9: error: ‘cv::dnn’ has not been declared
  896.      cv::dnn::Net* _self_ = NULL;
  897.          ^~~
  898. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35795:19: error: ‘_self_’ was not declared in this scope
  899.      cv::dnn::Net* _self_ = NULL;
  900.                    ^~~~~~
  901. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35795:19: note: suggested alternative: ‘self’
  902.      cv::dnn::Net* _self_ = NULL;
  903.                    ^~~~~~
  904.                    self
  905. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35797:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  906.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  907.                                                 ^
  908. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getLayerNames(PyObject*, PyObject*, PyObject*)’:
  909. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35817:25: error: ‘dnn’ is not a namespace-name
  910.      using namespace cv::dnn;
  911.                          ^~~
  912. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35817:28: error: expected namespace-name before ‘;’ token
  913.      using namespace cv::dnn;
  914.                             ^
  915. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35819:9: error: ‘cv::dnn’ has not been declared
  916.      cv::dnn::Net* _self_ = NULL;
  917.          ^~~
  918. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35819:19: error: ‘_self_’ was not declared in this scope
  919.      cv::dnn::Net* _self_ = NULL;
  920.                    ^~~~~~
  921. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35819:19: note: suggested alternative: ‘self’
  922.      cv::dnn::Net* _self_ = NULL;
  923.                    ^~~~~~
  924.                    self
  925. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35821:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  926.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  927.                                                 ^
  928. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getLayerTypes(PyObject*, PyObject*, PyObject*)’:
  929. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35837:25: error: ‘dnn’ is not a namespace-name
  930.      using namespace cv::dnn;
  931.                          ^~~
  932. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35837:28: error: expected namespace-name before ‘;’ token
  933.      using namespace cv::dnn;
  934.                             ^
  935. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35839:9: error: ‘cv::dnn’ has not been declared
  936.      cv::dnn::Net* _self_ = NULL;
  937.          ^~~
  938. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35839:19: error: ‘_self_’ was not declared in this scope
  939.      cv::dnn::Net* _self_ = NULL;
  940.                    ^~~~~~
  941. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35839:19: note: suggested alternative: ‘self’
  942.      cv::dnn::Net* _self_ = NULL;
  943.                    ^~~~~~
  944.                    self
  945. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35841:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  946.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  947.                                                 ^
  948. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getLayersCount(PyObject*, PyObject*, PyObject*)’:
  949. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35857:25: error: ‘dnn’ is not a namespace-name
  950.      using namespace cv::dnn;
  951.                          ^~~
  952. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35857:28: error: expected namespace-name before ‘;’ token
  953.      using namespace cv::dnn;
  954.                             ^
  955. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35859:9: error: ‘cv::dnn’ has not been declared
  956.      cv::dnn::Net* _self_ = NULL;
  957.          ^~~
  958. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35859:19: error: ‘_self_’ was not declared in this scope
  959.      cv::dnn::Net* _self_ = NULL;
  960.                    ^~~~~~
  961. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35859:19: note: suggested alternative: ‘self’
  962.      cv::dnn::Net* _self_ = NULL;
  963.                    ^~~~~~
  964.                    self
  965. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35861:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  966.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  967.                                                 ^
  968. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getLayersShapes(PyObject*, PyObject*, PyObject*)’:
  969. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35881:25: error: ‘dnn’ is not a namespace-name
  970.      using namespace cv::dnn;
  971.                          ^~~
  972. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35881:28: error: expected namespace-name before ‘;’ token
  973.      using namespace cv::dnn;
  974.                             ^
  975. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35883:9: error: ‘cv::dnn’ has not been declared
  976.      cv::dnn::Net* _self_ = NULL;
  977.          ^~~
  978. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35883:19: error: ‘_self_’ was not declared in this scope
  979.      cv::dnn::Net* _self_ = NULL;
  980.                    ^~~~~~
  981. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35883:19: note: suggested alternative: ‘self’
  982.      cv::dnn::Net* _self_ = NULL;
  983.                    ^~~~~~
  984.                    self
  985. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35885:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  986.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  987.                                                 ^
  988. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35890:5: error: ‘vector_MatShape’ was not declared in this scope
  989.      vector_MatShape netInputShapes;
  990.      ^~~~~~~~~~~~~~~
  991. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35890:5: note: suggested alternative: ‘vector_Match’
  992.      vector_MatShape netInputShapes;
  993.      ^~~~~~~~~~~~~~~
  994.      vector_Match
  995. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35892:5: error: ‘vector_vector_MatShape’ was not declared in this scope
  996.      vector_vector_MatShape inLayersShapes;
  997.      ^~~~~~~~~~~~~~~~~~~~~~
  998. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35892:5: note: suggested alternative: ‘vector_vector_DMatch’
  999.      vector_vector_MatShape inLayersShapes;
  1000.      ^~~~~~~~~~~~~~~~~~~~~~
  1001.      vector_vector_DMatch
  1002. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35893:28: error: expected ‘;’ before ‘outLayersShapes’
  1003.      vector_vector_MatShape outLayersShapes;
  1004.                             ^~~~~~~~~~~~~~~
  1005. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35897:43: error: ‘netInputShapes’ was not declared in this scope
  1006.          pyopencv_to(pyobj_netInputShapes, netInputShapes, ArgInfo("netInputShapes", 0)) )
  1007.                                            ^~~~~~~~~~~~~~
  1008. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35897:43: note: suggested alternative: ‘pyobj_netInputShapes’
  1009.          pyopencv_to(pyobj_netInputShapes, netInputShapes, ArgInfo("netInputShapes", 0)) )
  1010.                                            ^~~~~~~~~~~~~~
  1011.                                            pyobj_netInputShapes
  1012. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35899:69: error: ‘inLayersShapes’ was not declared in this scope
  1013.          ERRWRAP2(_self_->getLayersShapes(netInputShapes, layersIds, inLayersShapes, outLayersShapes));
  1014.                                                                      ^
  1015. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1016.      expr; \
  1017.      ^~~~
  1018. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35899:85: error: ‘outLayersShapes’ was not declared in this scope
  1019.          ERRWRAP2(_self_->getLayersShapes(netInputShapes, layersIds, inLayersShapes, outLayersShapes));
  1020.                                                                                      ^
  1021. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1022.      expr; \
  1023.      ^~~~
  1024. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  1025. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35900:79: error: ‘inLayersShapes’ was not declared in this scope
  1026.          return Py_BuildValue("(NNN)", pyopencv_from(layersIds), pyopencv_from(inLayersShapes), pyopencv_from(outLayersShapes));
  1027.                                                                                ^~~~~~~~~~~~~~
  1028. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35900:110: error: ‘outLayersShapes’ was not declared in this scope
  1029.          return Py_BuildValue("(NNN)", pyopencv_from(layersIds), pyopencv_from(inLayersShapes), pyopencv_from(outLayersShapes));
  1030.                                                                                                               ^~~~~~~~~~~~~~~
  1031. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35907:5: error: ‘MatShape’ was not declared in this scope
  1032.      MatShape netInputShape;
  1033.      ^~~~~~~~
  1034. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35909:5: error: ‘vector_vector_MatShape’ was not declared in this scope
  1035.      vector_vector_MatShape inLayersShapes;
  1036.      ^~~~~~~~~~~~~~~~~~~~~~
  1037. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35909:5: note: suggested alternative: ‘vector_vector_DMatch’
  1038.      vector_vector_MatShape inLayersShapes;
  1039.      ^~~~~~~~~~~~~~~~~~~~~~
  1040.      vector_vector_DMatch
  1041. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35910:28: error: expected ‘;’ before ‘outLayersShapes’
  1042.      vector_vector_MatShape outLayersShapes;
  1043.                             ^~~~~~~~~~~~~~~
  1044. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35914:42: error: ‘netInputShape’ was not declared in this scope
  1045.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  1046.                                           ^~~~~~~~~~~~~
  1047. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35914:42: note: suggested alternative: ‘pyobj_netInputShape’
  1048.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  1049.                                           ^~~~~~~~~~~~~
  1050.                                           pyobj_netInputShape
  1051. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35916:68: error: ‘inLayersShapes’ was not declared in this scope
  1052.          ERRWRAP2(_self_->getLayersShapes(netInputShape, layersIds, inLayersShapes, outLayersShapes));
  1053.                                                                     ^
  1054. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1055.      expr; \
  1056.      ^~~~
  1057. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35916:84: error: ‘outLayersShapes’ was not declared in this scope
  1058.          ERRWRAP2(_self_->getLayersShapes(netInputShape, layersIds, inLayersShapes, outLayersShapes));
  1059.                                                                                     ^
  1060. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1061.      expr; \
  1062.      ^~~~
  1063. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  1064. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35917:79: error: ‘inLayersShapes’ was not declared in this scope
  1065.          return Py_BuildValue("(NNN)", pyopencv_from(layersIds), pyopencv_from(inLayersShapes), pyopencv_from(outLayersShapes));
  1066.                                                                                ^~~~~~~~~~~~~~
  1067. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35917:110: error: ‘outLayersShapes’ was not declared in this scope
  1068.          return Py_BuildValue("(NNN)", pyopencv_from(layersIds), pyopencv_from(inLayersShapes), pyopencv_from(outLayersShapes));
  1069.                                                                                                               ^~~~~~~~~~~~~~~
  1070. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getMemoryConsumption(PyObject*, PyObject*, PyObject*)’:
  1071. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35926:25: error: ‘dnn’ is not a namespace-name
  1072.      using namespace cv::dnn;
  1073.                          ^~~
  1074. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35926:28: error: expected namespace-name before ‘;’ token
  1075.      using namespace cv::dnn;
  1076.                             ^
  1077. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35928:9: error: ‘cv::dnn’ has not been declared
  1078.      cv::dnn::Net* _self_ = NULL;
  1079.          ^~~
  1080. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35928:19: error: ‘_self_’ was not declared in this scope
  1081.      cv::dnn::Net* _self_ = NULL;
  1082.                    ^~~~~~
  1083. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35928:19: note: suggested alternative: ‘self’
  1084.      cv::dnn::Net* _self_ = NULL;
  1085.                    ^~~~~~
  1086.                    self
  1087. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35930:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1088.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1089.                                                 ^
  1090. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35935:5: error: ‘MatShape’ was not declared in this scope
  1091.      MatShape netInputShape;
  1092.      ^~~~~~~~
  1093. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35941:42: error: ‘netInputShape’ was not declared in this scope
  1094.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  1095.                                           ^~~~~~~~~~~~~
  1096. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35941:42: note: suggested alternative: ‘pyobj_netInputShape’
  1097.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  1098.                                           ^~~~~~~~~~~~~
  1099.                                           pyobj_netInputShape
  1100. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35952:5: error: ‘vector_MatShape’ was not declared in this scope
  1101.      vector_MatShape netInputShapes;
  1102.      ^~~~~~~~~~~~~~~
  1103. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35952:5: note: suggested alternative: ‘vector_Match’
  1104.      vector_MatShape netInputShapes;
  1105.      ^~~~~~~~~~~~~~~
  1106.      vector_Match
  1107. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35958:43: error: ‘netInputShapes’ was not declared in this scope
  1108.          pyopencv_to(pyobj_netInputShapes, netInputShapes, ArgInfo("netInputShapes", 0)) )
  1109.                                            ^~~~~~~~~~~~~~
  1110. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35958:43: note: suggested alternative: ‘pyobj_netInputShapes’
  1111.          pyopencv_to(pyobj_netInputShapes, netInputShapes, ArgInfo("netInputShapes", 0)) )
  1112.                                            ^~~~~~~~~~~~~~
  1113.                                            pyobj_netInputShapes
  1114. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35969:5: error: ‘MatShape’ was not declared in this scope
  1115.      MatShape netInputShape;
  1116.      ^~~~~~~~
  1117. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35975:42: error: ‘netInputShape’ was not declared in this scope
  1118.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  1119.                                           ^~~~~~~~~~~~~
  1120. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35975:42: note: suggested alternative: ‘pyobj_netInputShape’
  1121.          pyopencv_to(pyobj_netInputShape, netInputShape, ArgInfo("netInputShape", 0)) )
  1122.                                           ^~~~~~~~~~~~~
  1123.                                           pyobj_netInputShape
  1124. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getParam(PyObject*, PyObject*, PyObject*)’:
  1125. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35987:25: error: ‘dnn’ is not a namespace-name
  1126.      using namespace cv::dnn;
  1127.                          ^~~
  1128. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35987:28: error: expected namespace-name before ‘;’ token
  1129.      using namespace cv::dnn;
  1130.                             ^
  1131. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35989:9: error: ‘cv::dnn’ has not been declared
  1132.      cv::dnn::Net* _self_ = NULL;
  1133.          ^~~
  1134. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35989:19: error: ‘_self_’ was not declared in this scope
  1135.      cv::dnn::Net* _self_ = NULL;
  1136.                    ^~~~~~
  1137. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35989:19: note: suggested alternative: ‘self’
  1138.      cv::dnn::Net* _self_ = NULL;
  1139.                    ^~~~~~
  1140.                    self
  1141. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35991:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1142.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1143.                                                 ^
  1144. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:35995:5: error: ‘LayerId’ was not declared in this scope
  1145.      LayerId layer;
  1146.      ^~~~~~~
  1147. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36001:34: error: ‘layer’ was not declared in this scope
  1148.          pyopencv_to(pyobj_layer, layer, ArgInfo("layer", 0)) )
  1149.                                   ^~~~~
  1150. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getPerfProfile(PyObject*, PyObject*, PyObject*)’:
  1151. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36012:25: error: ‘dnn’ is not a namespace-name
  1152.      using namespace cv::dnn;
  1153.                          ^~~
  1154. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36012:28: error: expected namespace-name before ‘;’ token
  1155.      using namespace cv::dnn;
  1156.                             ^
  1157. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36014:9: error: ‘cv::dnn’ has not been declared
  1158.      cv::dnn::Net* _self_ = NULL;
  1159.          ^~~
  1160. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36014:19: error: ‘_self_’ was not declared in this scope
  1161.      cv::dnn::Net* _self_ = NULL;
  1162.                    ^~~~~~
  1163. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36014:19: note: suggested alternative: ‘self’
  1164.      cv::dnn::Net* _self_ = NULL;
  1165.                    ^~~~~~
  1166.                    self
  1167. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36016:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1168.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1169.                                                 ^
  1170. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_getUnconnectedOutLayers(PyObject*, PyObject*, PyObject*)’:
  1171. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36033:25: error: ‘dnn’ is not a namespace-name
  1172.      using namespace cv::dnn;
  1173.                          ^~~
  1174. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36033:28: error: expected namespace-name before ‘;’ token
  1175.      using namespace cv::dnn;
  1176.                             ^
  1177. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36035:9: error: ‘cv::dnn’ has not been declared
  1178.      cv::dnn::Net* _self_ = NULL;
  1179.          ^~~
  1180. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36035:19: error: ‘_self_’ was not declared in this scope
  1181.      cv::dnn::Net* _self_ = NULL;
  1182.                    ^~~~~~
  1183. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36035:19: note: suggested alternative: ‘self’
  1184.      cv::dnn::Net* _self_ = NULL;
  1185.                    ^~~~~~
  1186.                    self
  1187. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36037:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1188.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1189.                                                 ^
  1190. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_readFromModelOptimizer_static(PyObject*, PyObject*, PyObject*)’:
  1191. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36053:25: error: ‘dnn’ is not a namespace-name
  1192.      using namespace cv::dnn;
  1193.                          ^~~
  1194. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36053:28: error: expected namespace-name before ‘;’ token
  1195.      using namespace cv::dnn;
  1196.                             ^
  1197. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36059:5: error: ‘Net’ was not declared in this scope
  1198.      Net retval;
  1199.      ^~~
  1200. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36059:5: note: suggested alternative: ‘gets’
  1201.      Net retval;
  1202.      ^~~
  1203.      gets
  1204. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36066:18: error: ‘retval’ was not declared in this scope
  1205.          ERRWRAP2(retval = cv::dnn::Net::readFromModelOptimizer(xml, bin));
  1206.                   ^
  1207. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1208.      expr; \
  1209.      ^~~~
  1210. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36066:18: note: suggested alternative: ‘read
  1211.          ERRWRAP2(retval = cv::dnn::Net::readFromModelOptimizer(xml, bin));
  1212.                   ^
  1213. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1214.      expr; \
  1215.      ^~~~
  1216. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36066:31: error: ‘cv::dnn’ has not been declared
  1217.          ERRWRAP2(retval = cv::dnn::Net::readFromModelOptimizer(xml, bin));
  1218.                                ^
  1219. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1220.      expr; \
  1221.      ^~~~
  1222. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  1223. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36067:30: error: ‘retval’ was not declared in this scope
  1224.          return pyopencv_from(retval);
  1225.                               ^~~~~~
  1226. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36067:30: note: suggested alternative: ‘read
  1227.          return pyopencv_from(retval);
  1228.                               ^~~~~~
  1229.                               read
  1230. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_setHalideScheduler(PyObject*, PyObject*, PyObject*)’:
  1231. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36075:25: error: ‘dnn’ is not a namespace-name
  1232.      using namespace cv::dnn;
  1233.                          ^~~
  1234. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36075:28: error: expected namespace-name before ‘;’ token
  1235.      using namespace cv::dnn;
  1236.                             ^
  1237. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36077:9: error: ‘cv::dnn’ has not been declared
  1238.      cv::dnn::Net* _self_ = NULL;
  1239.          ^~~
  1240. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36077:19: error: ‘_self_’ was not declared in this scope
  1241.      cv::dnn::Net* _self_ = NULL;
  1242.                    ^~~~~~
  1243. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36077:19: note: suggested alternative: ‘self’
  1244.      cv::dnn::Net* _self_ = NULL;
  1245.                    ^~~~~~
  1246.                    self
  1247. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36079:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1248.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1249.                                                 ^
  1250. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_setInput(PyObject*, PyObject*, PyObject*)’:
  1251. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36098:25: error: ‘dnn’ is not a namespace-name
  1252.      using namespace cv::dnn;
  1253.                          ^~~
  1254. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36098:28: error: expected namespace-name before ‘;’ token
  1255.      using namespace cv::dnn;
  1256.                             ^
  1257. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36100:9: error: ‘cv::dnn’ has not been declared
  1258.      cv::dnn::Net* _self_ = NULL;
  1259.          ^~~
  1260. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36100:19: error: ‘_self_’ was not declared in this scope
  1261.      cv::dnn::Net* _self_ = NULL;
  1262.                    ^~~~~~
  1263. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36100:19: note: suggested alternative: ‘self’
  1264.      cv::dnn::Net* _self_ = NULL;
  1265.                    ^~~~~~
  1266.                    self
  1267. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36102:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1268.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1269.                                                 ^
  1270. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_setInputsNames(PyObject*, PyObject*, PyObject*)’:
  1271. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36151:25: error: ‘dnn’ is not a namespace-name
  1272.      using namespace cv::dnn;
  1273.                          ^~~
  1274. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36151:28: error: expected namespace-name before ‘;’ token
  1275.      using namespace cv::dnn;
  1276.                             ^
  1277. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36153:9: error: ‘cv::dnn’ has not been declared
  1278.      cv::dnn::Net* _self_ = NULL;
  1279.          ^~~
  1280. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36153:19: error: ‘_self_’ was not declared in this scope
  1281.      cv::dnn::Net* _self_ = NULL;
  1282.                    ^~~~~~
  1283. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36153:19: note: suggested alternative: ‘self’
  1284.      cv::dnn::Net* _self_ = NULL;
  1285.                    ^~~~~~
  1286.                    self
  1287. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36155:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1288.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1289.                                                 ^
  1290. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_setParam(PyObject*, PyObject*, PyObject*)’:
  1291. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36174:25: error: ‘dnn’ is not a namespace-name
  1292.      using namespace cv::dnn;
  1293.                          ^~~
  1294. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36174:28: error: expected namespace-name before ‘;’ token
  1295.      using namespace cv::dnn;
  1296.                             ^
  1297. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36176:9: error: ‘cv::dnn’ has not been declared
  1298.      cv::dnn::Net* _self_ = NULL;
  1299.          ^~~
  1300. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36176:19: error: ‘_self_’ was not declared in this scope
  1301.      cv::dnn::Net* _self_ = NULL;
  1302.                    ^~~~~~
  1303. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36176:19: note: suggested alternative: ‘self’
  1304.      cv::dnn::Net* _self_ = NULL;
  1305.                    ^~~~~~
  1306.                    self
  1307. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36178:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1308.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1309.                                                 ^
  1310. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36183:5: error: ‘LayerId’ was not declared in this scope
  1311.      LayerId layer;
  1312.      ^~~~~~~
  1313. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36190:34: error: ‘layer’ was not declared in this scope
  1314.          pyopencv_to(pyobj_layer, layer, ArgInfo("layer", 0)) &&
  1315.                                   ^~~~~
  1316. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36201:5: error: ‘LayerId’ was not declared in this scope
  1317.      LayerId layer;
  1318.      ^~~~~~~
  1319. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36208:34: error: ‘layer’ was not declared in this scope
  1320.          pyopencv_to(pyobj_layer, layer, ArgInfo("layer", 0)) &&
  1321.                                   ^~~~~
  1322. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_setPreferableBackend(PyObject*, PyObject*, PyObject*)’:
  1323. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36221:25: error: ‘dnn’ is not a namespace-name
  1324.      using namespace cv::dnn;
  1325.                          ^~~
  1326. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36221:28: error: expected namespace-name before ‘;’ token
  1327.      using namespace cv::dnn;
  1328.                             ^
  1329. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36223:9: error: ‘cv::dnn’ has not been declared
  1330.      cv::dnn::Net* _self_ = NULL;
  1331.          ^~~
  1332. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36223:19: error: ‘_self_’ was not declared in this scope
  1333.      cv::dnn::Net* _self_ = NULL;
  1334.                    ^~~~~~
  1335. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36223:19: note: suggested alternative: ‘self’
  1336.      cv::dnn::Net* _self_ = NULL;
  1337.                    ^~~~~~
  1338.                    self
  1339. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36225:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1340.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1341.                                                 ^
  1342. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_dnn_dnn_Net_setPreferableTarget(PyObject*, PyObject*, PyObject*)’:
  1343. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36242:25: error: ‘dnn’ is not a namespace-name
  1344.      using namespace cv::dnn;
  1345.                          ^~~
  1346. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36242:28: error: expected namespace-name before ‘;’ token
  1347.      using namespace cv::dnn;
  1348.                             ^
  1349. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36244:9: error: ‘cv::dnn’ has not been declared
  1350.      cv::dnn::Net* _self_ = NULL;
  1351.          ^~~
  1352. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36244:19: error: ‘_self_’ was not declared in this scope
  1353.      cv::dnn::Net* _self_ = NULL;
  1354.                    ^~~~~~
  1355. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36244:19: note: suggested alternative: ‘self’
  1356.      cv::dnn::Net* _self_ = NULL;
  1357.                    ^~~~~~
  1358.                    self
  1359. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:36246:48: error: ‘struct pyopencv_dnn_Net_t’ has no member named ‘v’
  1360.          _self_ = &((pyopencv_dnn_Net_t*)self)->v;
  1361.                                                 ^
  1362. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  1363. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_cudacodec_cudacodec_EncoderCallBack_onBeginFrame(PyObject*, PyObject*, PyObject*)’:
  1364. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40452:25: error: ‘cudacodec’ is not a namespace-name
  1365.      using namespace cv::cudacodec;
  1366.                          ^~~~~~~~~
  1367. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40452:34: error: expected namespace-name before ‘;’ token
  1368.      using namespace cv::cudacodec;
  1369.                                   ^
  1370. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40454:9: error: ‘cv::cudacodec’ has not been declared
  1371.      cv::cudacodec::EncoderCallBack* _self_ = NULL;
  1372.          ^~~~~~~~~
  1373. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40454:37: error: ‘_self_’ was not declared in this scope
  1374.      cv::cudacodec::EncoderCallBack* _self_ = NULL;
  1375.                                      ^~~~~~
  1376. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40454:37: note: suggested alternative: ‘self’
  1377.      cv::cudacodec::EncoderCallBack* _self_ = NULL;
  1378.                                      ^~~~~~
  1379.                                      self
  1380. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40456:67: error: request for member ‘get’ in((pyopencv_cudacodec_EncoderCallBack_t*)self)->pyopencv_cudacodec_EncoderCallBack_t::v’, which is of non-class type ‘int’
  1381.          _self_ = ((pyopencv_cudacodec_EncoderCallBack_t*)self)->v.get();
  1382.                                                                    ^~~
  1383. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40461:5: error: ‘EncoderCallBack_PicType’ was not declared in this scope
  1384.      EncoderCallBack_PicType picType=static_cast<EncoderCallBack_PicType>(0);
  1385.      ^~~~~~~~~~~~~~~~~~~~~~~
  1386. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40465:36: error: ‘picType’ was not declared in this scope
  1387.          pyopencv_to(pyobj_picType, picType, ArgInfo("picType", 0)) )
  1388.                                     ^~~~~~~
  1389. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40465:36: note: suggested alternative: ‘CvType’
  1390.          pyopencv_to(pyobj_picType, picType, ArgInfo("picType", 0)) )
  1391.                                     ^~~~~~~
  1392.                                     CvType
  1393. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_cudacodec_cudacodec_EncoderCallBack_onEndFrame(PyObject*, PyObject*, PyObject*)’:
  1394. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40476:25: error: ‘cudacodec’ is not a namespace-name
  1395.      using namespace cv::cudacodec;
  1396.                          ^~~~~~~~~
  1397. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40476:34: error: expected namespace-name before ‘;’ token
  1398.      using namespace cv::cudacodec;
  1399.                                   ^
  1400. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40478:9: error: ‘cv::cudacodec’ has not been declared
  1401.      cv::cudacodec::EncoderCallBack* _self_ = NULL;
  1402.          ^~~~~~~~~
  1403. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40478:37: error: ‘_self_’ was not declared in this scope
  1404.      cv::cudacodec::EncoderCallBack* _self_ = NULL;
  1405.                                      ^~~~~~
  1406. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40478:37: note: suggested alternative: ‘self’
  1407.      cv::cudacodec::EncoderCallBack* _self_ = NULL;
  1408.                                      ^~~~~~
  1409.                                      self
  1410. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40480:67: error: request for member ‘get’ in((pyopencv_cudacodec_EncoderCallBack_t*)self)->pyopencv_cudacodec_EncoderCallBack_t::v’, which is of non-class type ‘int’
  1411.          _self_ = ((pyopencv_cudacodec_EncoderCallBack_t*)self)->v.get();
  1412.                                                                    ^~~
  1413. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40485:5: error: ‘EncoderCallBack_PicType’ was not declared in this scope
  1414.      EncoderCallBack_PicType picType=static_cast<EncoderCallBack_PicType>(0);
  1415.      ^~~~~~~~~~~~~~~~~~~~~~~
  1416. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40489:36: error: ‘picType’ was not declared in this scope
  1417.          pyopencv_to(pyobj_picType, picType, ArgInfo("picType", 0)) )
  1418.                                     ^~~~~~~
  1419. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40489:36: note: suggested alternative: ‘CvType’
  1420.          pyopencv_to(pyobj_picType, picType, ArgInfo("picType", 0)) )
  1421.                                     ^~~~~~~
  1422.                                     CvType
  1423. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_cudacodec_cudacodec_VideoWriter_getEncoderParams(PyObject*, PyObject*, PyObject*)’:
  1424. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40534:25: error: ‘cudacodec’ is not a namespace-name
  1425.      using namespace cv::cudacodec;
  1426.                          ^~~~~~~~~
  1427. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40534:34: error: expected namespace-name before ‘;’ token
  1428.      using namespace cv::cudacodec;
  1429.                                   ^
  1430. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40536:9: error: ‘cv::cudacodec’ has not been declared
  1431.      cv::cudacodec::VideoWriter* _self_ = NULL;
  1432.          ^~~~~~~~~
  1433. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40536:33: error: ‘_self_’ was not declared in this scope
  1434.      cv::cudacodec::VideoWriter* _self_ = NULL;
  1435.                                  ^~~~~~
  1436. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40536:33: note: suggested alternative: ‘self’
  1437.      cv::cudacodec::VideoWriter* _self_ = NULL;
  1438.                                  ^~~~~~
  1439.                                  self
  1440. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40538:63: error: request for member ‘get’ in((pyopencv_cudacodec_VideoWriter_t*)self)->pyopencv_cudacodec_VideoWriter_t::v’, which is of non-class type ‘int’
  1441.          _self_ = ((pyopencv_cudacodec_VideoWriter_t*)self)->v.get();
  1442.                                                                ^~~
  1443. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40541:5: error: ‘EncoderParams’ was not declared in this scope
  1444.      EncoderParams retval;
  1445.      ^~~~~~~~~~~~~
  1446. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40545:18: error: ‘retval’ was not declared in this scope
  1447.          ERRWRAP2(retval = _self_->getEncoderParams());
  1448.                   ^
  1449. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1450.      expr; \
  1451.      ^~~~
  1452. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40545:18: note: suggested alternative: ‘read
  1453.          ERRWRAP2(retval = _self_->getEncoderParams());
  1454.                   ^
  1455. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1456.      expr; \
  1457.      ^~~~
  1458. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  1459. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40546:30: error: ‘retval’ was not declared in this scope
  1460.          return pyopencv_from(retval);
  1461.                               ^~~~~~
  1462. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40546:30: note: suggested alternative: ‘read
  1463.          return pyopencv_from(retval);
  1464.                               ^~~~~~
  1465.                               read
  1466. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_cudacodec_cudacodec_VideoWriter_write(PyObject*, PyObject*, PyObject*)’:
  1467. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40554:25: error: ‘cudacodec’ is not a namespace-name
  1468.      using namespace cv::cudacodec;
  1469.                          ^~~~~~~~~
  1470. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40554:34: error: expected namespace-name before ‘;’ token
  1471.      using namespace cv::cudacodec;
  1472.                                   ^
  1473. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40556:9: error: ‘cv::cudacodec’ has not been declared
  1474.      cv::cudacodec::VideoWriter* _self_ = NULL;
  1475.          ^~~~~~~~~
  1476. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40556:33: error: ‘_self_’ was not declared in this scope
  1477.      cv::cudacodec::VideoWriter* _self_ = NULL;
  1478.                                  ^~~~~~
  1479. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40556:33: note: suggested alternative: ‘self’
  1480.      cv::cudacodec::VideoWriter* _self_ = NULL;
  1481.                                  ^~~~~~
  1482.                                  self
  1483. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40558:63: error: request for member ‘get’ in((pyopencv_cudacodec_VideoWriter_t*)self)->pyopencv_cudacodec_VideoWriter_t::v’, which is of non-class type ‘int’
  1484.          _self_ = ((pyopencv_cudacodec_VideoWriter_t*)self)->v.get();
  1485.                                                                ^~~
  1486. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_cudacodec_cudacodec_VideoReader_nextFrame(PyObject*, PyObject*, PyObject*)’:
  1487. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40629:25: error: ‘cudacodec’ is not a namespace-name
  1488.      using namespace cv::cudacodec;
  1489.                          ^~~~~~~~~
  1490. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40629:34: error: expected namespace-name before ‘;’ token
  1491.      using namespace cv::cudacodec;
  1492.                                   ^
  1493. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40631:9: error: ‘cv::cudacodec’ has not been declared
  1494.      cv::cudacodec::VideoReader* _self_ = NULL;
  1495.          ^~~~~~~~~
  1496. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40631:33: error: ‘_self_’ was not declared in this scope
  1497.      cv::cudacodec::VideoReader* _self_ = NULL;
  1498.                                  ^~~~~~
  1499. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40631:33: note: suggested alternative: ‘self’
  1500.      cv::cudacodec::VideoReader* _self_ = NULL;
  1501.                                  ^~~~~~
  1502.                                  self
  1503. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:40633:63: error: request for member ‘get’ in((pyopencv_cudacodec_VideoReader_t*)self)->pyopencv_cudacodec_VideoReader_t::v’, which is of non-class type ‘int’
  1504.          _self_ = ((pyopencv_cudacodec_VideoReader_t*)self)->v.get();
  1505.                                                                ^~~
  1506. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1507. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_cudacodec_createVideoReader(PyObject*, PyObject*, PyObject*)’:
  1508. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27354:25: error: ‘cudacodec’ is not a namespace-name
  1509.      using namespace cv::cudacodec;
  1510.                          ^~~~~~~~~
  1511. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27354:34: error: expected namespace-name before ‘;’ token
  1512.      using namespace cv::cudacodec;
  1513.                                   ^
  1514. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27359:9: error: ‘VideoReader’ was not declared in this scope
  1515.      Ptr<VideoReader> retval;
  1516.          ^~~~~~~~~~~
  1517. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27359:9: note: suggested alternative: ‘CvSeqReader’
  1518.      Ptr<VideoReader> retval;
  1519.          ^~~~~~~~~~~
  1520.          CvSeqReader
  1521. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27359:20: error: template argument 1 is invalid
  1522.      Ptr<VideoReader> retval;
  1523.                     ^
  1524. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27365:31: error: ‘cv::cudacodec’ has not been declared
  1525.          ERRWRAP2(retval = cv::cudacodec::createVideoReader(filename));
  1526.                                ^
  1527. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1528.      expr; \
  1529.      ^~~~
  1530. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1531. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27373:9: error: ‘RawVideoSource’ was not declared in this scope
  1532.      Ptr<RawVideoSource> source;
  1533.          ^~~~~~~~~~~~~~
  1534. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27373:23: error: template argument 1 is invalid
  1535.      Ptr<RawVideoSource> source;
  1536.                        ^
  1537. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27374:9: error: ‘VideoReader’ was not declared in this scope
  1538.      Ptr<VideoReader> retval;
  1539.          ^~~~~~~~~~~
  1540. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27374:9: note: suggested alternative: ‘CvSeqReader’
  1541.      Ptr<VideoReader> retval;
  1542.          ^~~~~~~~~~~
  1543.          CvSeqReader
  1544. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27374:20: error: template argument 1 is invalid
  1545.      Ptr<VideoReader> retval;
  1546.                     ^
  1547. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27380:31: error: ‘cv::cudacodec’ has not been declared
  1548.          ERRWRAP2(retval = cv::cudacodec::createVideoReader(source));
  1549.                                ^
  1550. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1551.      expr; \
  1552.      ^~~~
  1553. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1554. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_cudacodec_createVideoWriter(PyObject*, PyObject*, PyObject*)’:
  1555. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27390:25: error: ‘cudacodec’ is not a namespace-name
  1556.      using namespace cv::cudacodec;
  1557.                          ^~~~~~~~~
  1558. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27390:34: error: expected namespace-name before ‘;’ token
  1559.      using namespace cv::cudacodec;
  1560.                                   ^
  1561. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27399:5: error: ‘SurfaceFormat’ was not declared in this scope
  1562.      SurfaceFormat format=SF_BGR;
  1563.      ^~~~~~~~~~~~~
  1564. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27400:9: error: ‘cudacodec’ was not declared in this scope
  1565.      Ptr<cudacodec::VideoWriter> retval;
  1566.          ^~~~~~~~~
  1567. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27400:31: error: template argument 1 is invalid
  1568.      Ptr<cudacodec::VideoWriter> retval;
  1569.                                ^
  1570. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: error: no matching function for call to ‘pyopencv_to(PyObject*&, <unresolved overloaded function type>, ArgInfo)
  1571.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1572.                                                                ^
  1573. ....../opencv/modules/python/src2/cv2.cpp:24:6: note: candidate: template<class T> bool pyopencv_to(PyObject*, T&, const char*)
  1574.  bool pyopencv_to(PyObject* obj, T& p, const char* name = "<unknown>") { return PyOpenCV_Converter<T>::to(obj, p, name); }
  1575.       ^~~~~~~~~~~
  1576. ....../opencv/modules/python/src2/cv2.cpp:24:6: note:   template argument deduction/substitution failed:
  1577. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1578. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   couldn't deduce template parameter ‘T’
  1579.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1580.                                                               ^
  1581. ....../opencv/modules/python/src2/cv2.cpp:313:13: note: candidate: bool pyopencv_to(PyObject*, cv::Mat&, ArgInfo)
  1582. static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info)
  1583.             ^~~~~~~~~~~
  1584. ....../opencv/modules/python/src2/cv2.cpp:313:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Mat&’
  1585. ....../opencv/modules/python/src2/cv2.cpp:499:6: note: candidate: template<class _Tp, int m, int n> bool pyopencv_to(PyObject*, cv::Matx<_Tp, m, n>&, ArgInfo)
  1586. bool pyopencv_to(PyObject* o, Matx<_Tp, m, n>& mx, const ArgInfo info)
  1587.      ^~~~~~~~~~~
  1588. ....../opencv/modules/python/src2/cv2.cpp:499:6: note:   template argument deduction/substitution failed:
  1589. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1590. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}’
  1591.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1592.                                                               ^
  1593. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}’
  1594. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   could not resolve address from overloaded function ‘cv::format’
  1595. ....../opencv/modules/python/src2/cv2.cpp:511:6: note: candidate: template<class _Tp, int m, int n> bool pyopencv_to(PyObject*, cv::Matx<_Tp, m, n>&, const char*)
  1596. bool pyopencv_to(PyObject* o, Matx<_Tp, m, n>& mx, const char* name)
  1597.      ^~~~~~~~~~~
  1598. ....../opencv/modules/python/src2/cv2.cpp:511:6: note:   template argument deduction/substitution failed:
  1599. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1600. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}’
  1601.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1602.                                                               ^
  1603. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}’
  1604. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   could not resolve address from overloaded function ‘cv::format’
  1605. ....../opencv/modules/python/src2/cv2.cpp:575:13: note: candidate: bool pyopencv_to(PyObject*, cv::Scalar&, ArgInfo)
  1606. static bool pyopencv_to(PyObject *o, Scalar& s, const ArgInfo info)
  1607.             ^~~~~~~~~~~
  1608. ....../opencv/modules/python/src2/cv2.cpp:575:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Scalar& {aka cv::Scalar_<double>&}’
  1609. ....../opencv/modules/python/src2/cv2.cpp:947:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4d&, ArgInfo)
  1610. static bool pyopencv_to(PyObject* obj, Vec4d& v, ArgInfo info)
  1611.             ^~~~~~~~~~~
  1612. ....../opencv/modules/python/src2/cv2.cpp:947:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4d& {aka cv::Vec<double, 4>&}’
  1613. ....../opencv/modules/python/src2/cv2.cpp:960:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4f&, ArgInfo)
  1614. static bool pyopencv_to(PyObject* obj, Vec4f& v, ArgInfo info)
  1615.             ^~~~~~~~~~~
  1616. ....../opencv/modules/python/src2/cv2.cpp:960:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4f& {aka cv::Vec<float, 4>&}’
  1617. ....../opencv/modules/python/src2/cv2.cpp:973:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4i&, ArgInfo)
  1618. static bool pyopencv_to(PyObject* obj, Vec4i& v, ArgInfo info)
  1619.             ^~~~~~~~~~~
  1620. ....../opencv/modules/python/src2/cv2.cpp:973:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4i& {aka cv::Vec<int, 4>&}’
  1621. ....../opencv/modules/python/src2/cv2.cpp:986:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3d&, ArgInfo)
  1622. static bool pyopencv_to(PyObject* obj, Vec3d& v, ArgInfo info)
  1623.             ^~~~~~~~~~~
  1624. ....../opencv/modules/python/src2/cv2.cpp:986:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3d& {aka cv::Vec<double, 3>&}’
  1625. ....../opencv/modules/python/src2/cv2.cpp:999:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3f&, ArgInfo)
  1626. static bool pyopencv_to(PyObject* obj, Vec3f& v, ArgInfo info)
  1627.             ^~~~~~~~~~~
  1628. ....../opencv/modules/python/src2/cv2.cpp:999:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3f& {aka cv::Vec<float, 3>&}’
  1629. ....../opencv/modules/python/src2/cv2.cpp:1012:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3i&, ArgInfo)
  1630. static bool pyopencv_to(PyObject* obj, Vec3i& v, ArgInfo info)
  1631.             ^~~~~~~~~~~
  1632. ....../opencv/modules/python/src2/cv2.cpp:1012:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3i& {aka cv::Vec<int, 3>&}’
  1633. ....../opencv/modules/python/src2/cv2.cpp:1025:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2d&, ArgInfo)
  1634. static bool pyopencv_to(PyObject* obj, Vec2d& v, ArgInfo info)
  1635.             ^~~~~~~~~~~
  1636. ....../opencv/modules/python/src2/cv2.cpp:1025:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2d& {aka cv::Vec<double, 2>&}’
  1637. ....../opencv/modules/python/src2/cv2.cpp:1038:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2f&, ArgInfo)
  1638. static bool pyopencv_to(PyObject* obj, Vec2f& v, ArgInfo info)
  1639.             ^~~~~~~~~~~
  1640. ....../opencv/modules/python/src2/cv2.cpp:1038:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2f& {aka cv::Vec<float, 2>&}’
  1641. ....../opencv/modules/python/src2/cv2.cpp:1051:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2i&, ArgInfo)
  1642. static bool pyopencv_to(PyObject* obj, Vec2i& v, ArgInfo info)
  1643.             ^~~~~~~~~~~
  1644. ....../opencv/modules/python/src2/cv2.cpp:1051:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2i& {aka cv::Vec<int, 2>&}’
  1645. ....../opencv/modules/python/src2/cv2.cpp:1242:6: note: candidate: template<class _Tp> bool pyopencv_to(PyObject*, std::vector<_Tp>&, ArgInfo)
  1646. bool pyopencv_to(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info)
  1647.      ^~~~~~~~~~~
  1648. ....../opencv/modules/python/src2/cv2.cpp:1242:6: note:   template argument deduction/substitution failed:
  1649. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1650. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   mismatched types ‘std::vector<_Tp>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}’
  1651.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1652.                                                               ^
  1653. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   mismatched types ‘std::vector<_Tp>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}’
  1654. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27406:63: note:   could not resolve address from overloaded function ‘cv::format’
  1655. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  1656. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:19157:13: note: candidate: bool pyopencv_to(PyObject*, cv::Moments&, const char*)
  1657. static bool pyopencv_to(PyObject* src, cv::Moments& dst, const char* name)
  1658.             ^~~~~~~~~~~
  1659. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:19157:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Moments&’
  1660. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27408:31: error: ‘cv::cudacodec’ has not been declared
  1661.         ERRWRAP2(retval = cv::cudacodec::createVideoWriter(fileName, frameSize, fps, format));
  1662.                               ^
  1663. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1664.     expr; \
  1665.     ^~~~
  1666. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1667. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27421:5: error: ‘EncoderParams’ was not declared in this scope
  1668.     EncoderParams params;
  1669.     ^~~~~~~~~~~~~
  1670. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27423:5: error: ‘SurfaceFormat’ was not declared in this scope
  1671.     SurfaceFormat format=SF_BGR;
  1672.     ^~~~~~~~~~~~~
  1673. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27424:9: error: ‘cudacodec’ was not declared in this scope
  1674.     Ptr<cudacodec::VideoWriter> retval;
  1675.         ^~~~~~~~~
  1676. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27424:31: error: template argument 1 is invalid
  1677.     Ptr<cudacodec::VideoWriter> retval;
  1678.                               ^
  1679. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27430:35: error: ‘params’ was not declared in this scope
  1680.         pyopencv_to(pyobj_params, params, ArgInfo("params", 0)) &&
  1681.                                   ^~~~~~
  1682. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27430:35: note: suggested alternative: ‘args’
  1683.         pyopencv_to(pyobj_params, params, ArgInfo("params", 0)) &&
  1684.                                   ^~~~~~
  1685.                                   args
  1686. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: error: no matching function for call to ‘pyopencv_to(PyObject*&, <unresolved overloaded function type>, ArgInfo)’
  1687.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1688.                                                               ^
  1689. ....../opencv/modules/python/src2/cv2.cpp:24:6: note: candidate: template<class T> bool pyopencv_to(PyObject*, T&, const char*)
  1690. bool pyopencv_to(PyObject* obj, T& p, const char* name = "<unknown>") { return PyOpenCV_Converter<T>::to(obj, p, name); }
  1691.      ^~~~~~~~~~~
  1692. ....../opencv/modules/python/src2/cv2.cpp:24:6: note:   template argument deduction/substitution failed:
  1693. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1694. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   couldn't deduce template parameter ‘T’
  1695.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1696.                                                                ^
  1697. ....../opencv/modules/python/src2/cv2.cpp:313:13: note: candidate: bool pyopencv_to(PyObject*, cv::Mat&, ArgInfo)
  1698.  static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info)
  1699.              ^~~~~~~~~~~
  1700. ....../opencv/modules/python/src2/cv2.cpp:313:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Mat&
  1701. ....../opencv/modules/python/src2/cv2.cpp:499:6: note: candidate: template<class _Tp, int m, int n> bool pyopencv_to(PyObject*, cv::Matx<_Tp, m, n>&, ArgInfo)
  1702.  bool pyopencv_to(PyObject* o, Matx<_Tp, m, n>& mx, const ArgInfo info)
  1703.       ^~~~~~~~~~~
  1704. ....../opencv/modules/python/src2/cv2.cpp:499:6: note:   template argument deduction/substitution failed:
  1705. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1706. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}
  1707.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1708.                                                                ^
  1709. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}
  1710. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   could not resolve address from overloaded function ‘cv::format’
  1711. ....../opencv/modules/python/src2/cv2.cpp:511:6: note: candidate: template<class _Tp, int m, int n> bool pyopencv_to(PyObject*, cv::Matx<_Tp, m, n>&, const char*)
  1712.  bool pyopencv_to(PyObject* o, Matx<_Tp, m, n>& mx, const char* name)
  1713.       ^~~~~~~~~~~
  1714. ....../opencv/modules/python/src2/cv2.cpp:511:6: note:   template argument deduction/substitution failed:
  1715. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1716. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}
  1717.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1718.                                                                ^
  1719. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}
  1720. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   could not resolve address from overloaded function ‘cv::format’
  1721. ....../opencv/modules/python/src2/cv2.cpp:575:13: note: candidate: bool pyopencv_to(PyObject*, cv::Scalar&, ArgInfo)
  1722.  static bool pyopencv_to(PyObject *o, Scalar& s, const ArgInfo info)
  1723.              ^~~~~~~~~~~
  1724. ....../opencv/modules/python/src2/cv2.cpp:575:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Scalar& {aka cv::Scalar_<double>&}
  1725. ....../opencv/modules/python/src2/cv2.cpp:947:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4d&, ArgInfo)
  1726.  static bool pyopencv_to(PyObject* obj, Vec4d& v, ArgInfo info)
  1727.              ^~~~~~~~~~~
  1728. ....../opencv/modules/python/src2/cv2.cpp:947:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4d& {aka cv::Vec<double, 4>&}
  1729. ....../opencv/modules/python/src2/cv2.cpp:960:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4f&, ArgInfo)
  1730.  static bool pyopencv_to(PyObject* obj, Vec4f& v, ArgInfo info)
  1731.              ^~~~~~~~~~~
  1732. ....../opencv/modules/python/src2/cv2.cpp:960:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4f& {aka cv::Vec<float, 4>&}
  1733. ....../opencv/modules/python/src2/cv2.cpp:973:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4i&, ArgInfo)
  1734.  static bool pyopencv_to(PyObject* obj, Vec4i& v, ArgInfo info)
  1735.              ^~~~~~~~~~~
  1736. ....../opencv/modules/python/src2/cv2.cpp:973:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4i& {aka cv::Vec<int, 4>&}
  1737. ....../opencv/modules/python/src2/cv2.cpp:986:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3d&, ArgInfo)
  1738.  static bool pyopencv_to(PyObject* obj, Vec3d& v, ArgInfo info)
  1739.              ^~~~~~~~~~~
  1740. ....../opencv/modules/python/src2/cv2.cpp:986:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3d& {aka cv::Vec<double, 3>&}
  1741. ....../opencv/modules/python/src2/cv2.cpp:999:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3f&, ArgInfo)
  1742.  static bool pyopencv_to(PyObject* obj, Vec3f& v, ArgInfo info)
  1743.              ^~~~~~~~~~~
  1744. ....../opencv/modules/python/src2/cv2.cpp:999:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3f& {aka cv::Vec<float, 3>&}
  1745. ....../opencv/modules/python/src2/cv2.cpp:1012:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3i&, ArgInfo)
  1746.  static bool pyopencv_to(PyObject* obj, Vec3i& v, ArgInfo info)
  1747.              ^~~~~~~~~~~
  1748. ....../opencv/modules/python/src2/cv2.cpp:1012:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3i& {aka cv::Vec<int, 3>&}
  1749. ....../opencv/modules/python/src2/cv2.cpp:1025:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2d&, ArgInfo)
  1750.  static bool pyopencv_to(PyObject* obj, Vec2d& v, ArgInfo info)
  1751.              ^~~~~~~~~~~
  1752. ....../opencv/modules/python/src2/cv2.cpp:1025:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2d& {aka cv::Vec<double, 2>&}
  1753. ....../opencv/modules/python/src2/cv2.cpp:1038:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2f&, ArgInfo)
  1754.  static bool pyopencv_to(PyObject* obj, Vec2f& v, ArgInfo info)
  1755.              ^~~~~~~~~~~
  1756. ....../opencv/modules/python/src2/cv2.cpp:1038:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2f& {aka cv::Vec<float, 2>&}
  1757. ....../opencv/modules/python/src2/cv2.cpp:1051:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2i&, ArgInfo)
  1758.  static bool pyopencv_to(PyObject* obj, Vec2i& v, ArgInfo info)
  1759.              ^~~~~~~~~~~
  1760. ....../opencv/modules/python/src2/cv2.cpp:1051:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2i& {aka cv::Vec<int, 2>&}
  1761. ....../opencv/modules/python/src2/cv2.cpp:1242:6: note: candidate: template<class _Tp> bool pyopencv_to(PyObject*, std::vector<_Tp>&, ArgInfo)
  1762.  bool pyopencv_to(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info)
  1763.       ^~~~~~~~~~~
  1764. ....../opencv/modules/python/src2/cv2.cpp:1242:6: note:   template argument deduction/substitution failed:
  1765. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1766. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   mismatched types ‘std::vector<_Tp>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}
  1767.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1768.                                                                ^
  1769. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   mismatched types ‘std::vector<_Tp>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}
  1770. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27431:63: note:   could not resolve address from overloaded function ‘cv::format’
  1771. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  1772. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:19157:13: note: candidate: bool pyopencv_to(PyObject*, cv::Moments&, const char*)
  1773.  static bool pyopencv_to(PyObject* src, cv::Moments& dst, const char* name)
  1774.              ^~~~~~~~~~~
  1775. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:19157:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Moments&
  1776. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27433:31: error: ‘cv::cudacodec’ has not been declared
  1777.          ERRWRAP2(retval = cv::cudacodec::createVideoWriter(fileName, frameSize, fps, params, format));
  1778.                                ^
  1779. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1780.      expr; \
  1781.      ^~~~
  1782. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1783. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27441:9: error: ‘EncoderCallBack’ was not declared in this scope
  1784.      Ptr<EncoderCallBack> encoderCallback;
  1785.          ^~~~~~~~~~~~~~~
  1786. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27441:9: note: suggested alternative: ‘CvErrorCallback’
  1787.      Ptr<EncoderCallBack> encoderCallback;
  1788.          ^~~~~~~~~~~~~~~
  1789.          CvErrorCallback
  1790. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27441:24: error: template argument 1 is invalid
  1791.      Ptr<EncoderCallBack> encoderCallback;
  1792.                         ^
  1793. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27446:5: error: ‘SurfaceFormat’ was not declared in this scope
  1794.      SurfaceFormat format=SF_BGR;
  1795.      ^~~~~~~~~~~~~
  1796. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27447:9: error: ‘cudacodec’ was not declared in this scope
  1797.      Ptr<cudacodec::VideoWriter> retval;
  1798.          ^~~~~~~~~
  1799. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27447:31: error: template argument 1 is invalid
  1800.      Ptr<cudacodec::VideoWriter> retval;
  1801.                                ^
  1802. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: error: no matching function for call to ‘pyopencv_to(PyObject*&, <unresolved overloaded function type>, ArgInfo)
  1803.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1804.                                                                ^
  1805. ....../opencv/modules/python/src2/cv2.cpp:24:6: note: candidate: template<class T> bool pyopencv_to(PyObject*, T&, const char*)
  1806.  bool pyopencv_to(PyObject* obj, T& p, const char* name = "<unknown>") { return PyOpenCV_Converter<T>::to(obj, p, name); }
  1807.       ^~~~~~~~~~~
  1808. ....../opencv/modules/python/src2/cv2.cpp:24:6: note:   template argument deduction/substitution failed:
  1809. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1810. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   couldn't deduce template parameter ‘T’
  1811.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1812.                                                               ^
  1813. ....../opencv/modules/python/src2/cv2.cpp:313:13: note: candidate: bool pyopencv_to(PyObject*, cv::Mat&, ArgInfo)
  1814. static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info)
  1815.             ^~~~~~~~~~~
  1816. ....../opencv/modules/python/src2/cv2.cpp:313:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Mat&’
  1817. ....../opencv/modules/python/src2/cv2.cpp:499:6: note: candidate: template<class _Tp, int m, int n> bool pyopencv_to(PyObject*, cv::Matx<_Tp, m, n>&, ArgInfo)
  1818. bool pyopencv_to(PyObject* o, Matx<_Tp, m, n>& mx, const ArgInfo info)
  1819.      ^~~~~~~~~~~
  1820. ....../opencv/modules/python/src2/cv2.cpp:499:6: note:   template argument deduction/substitution failed:
  1821. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1822. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}’
  1823.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1824.                                                               ^
  1825. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}’
  1826. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   could not resolve address from overloaded function ‘cv::format’
  1827. ....../opencv/modules/python/src2/cv2.cpp:511:6: note: candidate: template<class _Tp, int m, int n> bool pyopencv_to(PyObject*, cv::Matx<_Tp, m, n>&, const char*)
  1828. bool pyopencv_to(PyObject* o, Matx<_Tp, m, n>& mx, const char* name)
  1829.      ^~~~~~~~~~~
  1830. ....../opencv/modules/python/src2/cv2.cpp:511:6: note:   template argument deduction/substitution failed:
  1831. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1832. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}’
  1833.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1834.                                                               ^
  1835. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}’
  1836. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   could not resolve address from overloaded function ‘cv::format’
  1837. ....../opencv/modules/python/src2/cv2.cpp:575:13: note: candidate: bool pyopencv_to(PyObject*, cv::Scalar&, ArgInfo)
  1838. static bool pyopencv_to(PyObject *o, Scalar& s, const ArgInfo info)
  1839.             ^~~~~~~~~~~
  1840. ....../opencv/modules/python/src2/cv2.cpp:575:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Scalar& {aka cv::Scalar_<double>&}’
  1841. ....../opencv/modules/python/src2/cv2.cpp:947:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4d&, ArgInfo)
  1842. static bool pyopencv_to(PyObject* obj, Vec4d& v, ArgInfo info)
  1843.             ^~~~~~~~~~~
  1844. ....../opencv/modules/python/src2/cv2.cpp:947:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4d& {aka cv::Vec<double, 4>&}’
  1845. ....../opencv/modules/python/src2/cv2.cpp:960:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4f&, ArgInfo)
  1846. static bool pyopencv_to(PyObject* obj, Vec4f& v, ArgInfo info)
  1847.             ^~~~~~~~~~~
  1848. ....../opencv/modules/python/src2/cv2.cpp:960:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4f& {aka cv::Vec<float, 4>&}’
  1849. ....../opencv/modules/python/src2/cv2.cpp:973:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4i&, ArgInfo)
  1850. static bool pyopencv_to(PyObject* obj, Vec4i& v, ArgInfo info)
  1851.             ^~~~~~~~~~~
  1852. ....../opencv/modules/python/src2/cv2.cpp:973:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4i& {aka cv::Vec<int, 4>&}’
  1853. ....../opencv/modules/python/src2/cv2.cpp:986:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3d&, ArgInfo)
  1854. static bool pyopencv_to(PyObject* obj, Vec3d& v, ArgInfo info)
  1855.             ^~~~~~~~~~~
  1856. ....../opencv/modules/python/src2/cv2.cpp:986:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3d& {aka cv::Vec<double, 3>&}’
  1857. ....../opencv/modules/python/src2/cv2.cpp:999:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3f&, ArgInfo)
  1858. static bool pyopencv_to(PyObject* obj, Vec3f& v, ArgInfo info)
  1859.             ^~~~~~~~~~~
  1860. ....../opencv/modules/python/src2/cv2.cpp:999:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3f& {aka cv::Vec<float, 3>&}’
  1861. ....../opencv/modules/python/src2/cv2.cpp:1012:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3i&, ArgInfo)
  1862. static bool pyopencv_to(PyObject* obj, Vec3i& v, ArgInfo info)
  1863.             ^~~~~~~~~~~
  1864. ....../opencv/modules/python/src2/cv2.cpp:1012:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3i& {aka cv::Vec<int, 3>&}’
  1865. ....../opencv/modules/python/src2/cv2.cpp:1025:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2d&, ArgInfo)
  1866. static bool pyopencv_to(PyObject* obj, Vec2d& v, ArgInfo info)
  1867.             ^~~~~~~~~~~
  1868. ....../opencv/modules/python/src2/cv2.cpp:1025:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2d& {aka cv::Vec<double, 2>&}’
  1869. ....../opencv/modules/python/src2/cv2.cpp:1038:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2f&, ArgInfo)
  1870. static bool pyopencv_to(PyObject* obj, Vec2f& v, ArgInfo info)
  1871.             ^~~~~~~~~~~
  1872. ....../opencv/modules/python/src2/cv2.cpp:1038:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2f& {aka cv::Vec<float, 2>&}’
  1873. ....../opencv/modules/python/src2/cv2.cpp:1051:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2i&, ArgInfo)
  1874. static bool pyopencv_to(PyObject* obj, Vec2i& v, ArgInfo info)
  1875.             ^~~~~~~~~~~
  1876. ....../opencv/modules/python/src2/cv2.cpp:1051:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2i& {aka cv::Vec<int, 2>&}’
  1877. ....../opencv/modules/python/src2/cv2.cpp:1242:6: note: candidate: template<class _Tp> bool pyopencv_to(PyObject*, std::vector<_Tp>&, ArgInfo)
  1878. bool pyopencv_to(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info)
  1879.      ^~~~~~~~~~~
  1880. ....../opencv/modules/python/src2/cv2.cpp:1242:6: note:   template argument deduction/substitution failed:
  1881. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1882. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   mismatched types ‘std::vector<_Tp>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}’
  1883.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1884.                                                               ^
  1885. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   mismatched types ‘std::vector<_Tp>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}’
  1886. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27453:63: note:   could not resolve address from overloaded function ‘cv::format’
  1887. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  1888. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:19157:13: note: candidate: bool pyopencv_to(PyObject*, cv::Moments&, const char*)
  1889. static bool pyopencv_to(PyObject* src, cv::Moments& dst, const char* name)
  1890.             ^~~~~~~~~~~
  1891. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:19157:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Moments&’
  1892. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27455:31: error: ‘cv::cudacodec’ has not been declared
  1893.         ERRWRAP2(retval = cv::cudacodec::createVideoWriter(encoderCallback, frameSize, fps, format));
  1894.                               ^
  1895. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  1896.     expr; \
  1897.     ^~~~
  1898. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1899. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27463:9: error: ‘EncoderCallBack’ was not declared in this scope
  1900.     Ptr<EncoderCallBack> encoderCallback;
  1901.         ^~~~~~~~~~~~~~~
  1902. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27463:9: note: suggested alternative: ‘CvErrorCallback’
  1903.     Ptr<EncoderCallBack> encoderCallback;
  1904.         ^~~~~~~~~~~~~~~
  1905.         CvErrorCallback
  1906. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27463:24: error: template argument 1 is invalid
  1907.     Ptr<EncoderCallBack> encoderCallback;
  1908.                        ^
  1909. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27468:5: error: ‘EncoderParams’ was not declared in this scope
  1910.     EncoderParams params;
  1911.     ^~~~~~~~~~~~~
  1912. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27470:5: error: ‘SurfaceFormat’ was not declared in this scope
  1913.     SurfaceFormat format=SF_BGR;
  1914.     ^~~~~~~~~~~~~
  1915. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27471:9: error: ‘cudacodec’ was not declared in this scope
  1916.     Ptr<cudacodec::VideoWriter> retval;
  1917.         ^~~~~~~~~
  1918. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27471:31: error: template argument 1 is invalid
  1919.     Ptr<cudacodec::VideoWriter> retval;
  1920.                               ^
  1921. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27477:35: error: ‘params’ was not declared in this scope
  1922.         pyopencv_to(pyobj_params, params, ArgInfo("params", 0)) &&
  1923.                                   ^~~~~~
  1924. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27477:35: note: suggested alternative: ‘args’
  1925.         pyopencv_to(pyobj_params, params, ArgInfo("params", 0)) &&
  1926.                                   ^~~~~~
  1927.                                   args
  1928. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: error: no matching function for call to ‘pyopencv_to(PyObject*&, <unresolved overloaded function type>, ArgInfo)’
  1929.         pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1930.                                                               ^
  1931. ....../opencv/modules/python/src2/cv2.cpp:24:6: note: candidate: template<class T> bool pyopencv_to(PyObject*, T&, const char*)
  1932. bool pyopencv_to(PyObject* obj, T& p, const char* name = "<unknown>") { return PyOpenCV_Converter<T>::to(obj, p, name); }
  1933.      ^~~~~~~~~~~
  1934. ....../opencv/modules/python/src2/cv2.cpp:24:6: note:   template argument deduction/substitution failed:
  1935. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1936. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   couldn't deduce template parameter ‘T’
  1937.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1938.                                                                ^
  1939. ....../opencv/modules/python/src2/cv2.cpp:313:13: note: candidate: bool pyopencv_to(PyObject*, cv::Mat&, ArgInfo)
  1940.  static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info)
  1941.              ^~~~~~~~~~~
  1942. ....../opencv/modules/python/src2/cv2.cpp:313:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Mat&
  1943. ....../opencv/modules/python/src2/cv2.cpp:499:6: note: candidate: template<class _Tp, int m, int n> bool pyopencv_to(PyObject*, cv::Matx<_Tp, m, n>&, ArgInfo)
  1944.  bool pyopencv_to(PyObject* o, Matx<_Tp, m, n>& mx, const ArgInfo info)
  1945.       ^~~~~~~~~~~
  1946. ....../opencv/modules/python/src2/cv2.cpp:499:6: note:   template argument deduction/substitution failed:
  1947. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1948. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}
  1949.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1950.                                                                ^
  1951. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}
  1952. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   could not resolve address from overloaded function ‘cv::format’
  1953. ....../opencv/modules/python/src2/cv2.cpp:511:6: note: candidate: template<class _Tp, int m, int n> bool pyopencv_to(PyObject*, cv::Matx<_Tp, m, n>&, const char*)
  1954.  bool pyopencv_to(PyObject* o, Matx<_Tp, m, n>& mx, const char* name)
  1955.       ^~~~~~~~~~~
  1956. ....../opencv/modules/python/src2/cv2.cpp:511:6: note:   template argument deduction/substitution failed:
  1957. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  1958. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}
  1959.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  1960.                                                                ^
  1961. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   mismatched types ‘cv::Matx<_Tp, m, n>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}
  1962. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   could not resolve address from overloaded function ‘cv::format’
  1963. ....../opencv/modules/python/src2/cv2.cpp:575:13: note: candidate: bool pyopencv_to(PyObject*, cv::Scalar&, ArgInfo)
  1964.  static bool pyopencv_to(PyObject *o, Scalar& s, const ArgInfo info)
  1965.              ^~~~~~~~~~~
  1966. ....../opencv/modules/python/src2/cv2.cpp:575:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Scalar& {aka cv::Scalar_<double>&}
  1967. ....../opencv/modules/python/src2/cv2.cpp:947:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4d&, ArgInfo)
  1968.  static bool pyopencv_to(PyObject* obj, Vec4d& v, ArgInfo info)
  1969.              ^~~~~~~~~~~
  1970. ....../opencv/modules/python/src2/cv2.cpp:947:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4d& {aka cv::Vec<double, 4>&}
  1971. ....../opencv/modules/python/src2/cv2.cpp:960:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4f&, ArgInfo)
  1972.  static bool pyopencv_to(PyObject* obj, Vec4f& v, ArgInfo info)
  1973.              ^~~~~~~~~~~
  1974. ....../opencv/modules/python/src2/cv2.cpp:960:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4f& {aka cv::Vec<float, 4>&}
  1975. ....../opencv/modules/python/src2/cv2.cpp:973:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec4i&, ArgInfo)
  1976.  static bool pyopencv_to(PyObject* obj, Vec4i& v, ArgInfo info)
  1977.              ^~~~~~~~~~~
  1978. ....../opencv/modules/python/src2/cv2.cpp:973:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec4i& {aka cv::Vec<int, 4>&}
  1979. ....../opencv/modules/python/src2/cv2.cpp:986:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3d&, ArgInfo)
  1980.  static bool pyopencv_to(PyObject* obj, Vec3d& v, ArgInfo info)
  1981.              ^~~~~~~~~~~
  1982. ....../opencv/modules/python/src2/cv2.cpp:986:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3d& {aka cv::Vec<double, 3>&}
  1983. ....../opencv/modules/python/src2/cv2.cpp:999:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3f&, ArgInfo)
  1984.  static bool pyopencv_to(PyObject* obj, Vec3f& v, ArgInfo info)
  1985.              ^~~~~~~~~~~
  1986. ....../opencv/modules/python/src2/cv2.cpp:999:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3f& {aka cv::Vec<float, 3>&}
  1987. ....../opencv/modules/python/src2/cv2.cpp:1012:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec3i&, ArgInfo)
  1988.  static bool pyopencv_to(PyObject* obj, Vec3i& v, ArgInfo info)
  1989.              ^~~~~~~~~~~
  1990. ....../opencv/modules/python/src2/cv2.cpp:1012:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec3i& {aka cv::Vec<int, 3>&}
  1991. ....../opencv/modules/python/src2/cv2.cpp:1025:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2d&, ArgInfo)
  1992.  static bool pyopencv_to(PyObject* obj, Vec2d& v, ArgInfo info)
  1993.              ^~~~~~~~~~~
  1994. ....../opencv/modules/python/src2/cv2.cpp:1025:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2d& {aka cv::Vec<double, 2>&}
  1995. ....../opencv/modules/python/src2/cv2.cpp:1038:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2f&, ArgInfo)
  1996.  static bool pyopencv_to(PyObject* obj, Vec2f& v, ArgInfo info)
  1997.              ^~~~~~~~~~~
  1998. ....../opencv/modules/python/src2/cv2.cpp:1038:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2f& {aka cv::Vec<float, 2>&}
  1999. ....../opencv/modules/python/src2/cv2.cpp:1051:13: note: candidate: bool pyopencv_to(PyObject*, cv::Vec2i&, ArgInfo)
  2000.  static bool pyopencv_to(PyObject* obj, Vec2i& v, ArgInfo info)
  2001.              ^~~~~~~~~~~
  2002. ....../opencv/modules/python/src2/cv2.cpp:1051:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Vec2i& {aka cv::Vec<int, 2>&}
  2003. ....../opencv/modules/python/src2/cv2.cpp:1242:6: note: candidate: template<class _Tp> bool pyopencv_to(PyObject*, std::vector<_Tp>&, ArgInfo)
  2004.  bool pyopencv_to(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info)
  2005.       ^~~~~~~~~~~
  2006. ....../opencv/modules/python/src2/cv2.cpp:1242:6: note:   template argument deduction/substitution failed:
  2007. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2008. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   mismatched types ‘std::vector<_Tp>’ and ‘cv::Ptr<cv::Formatted>(cv::InputArray, cv::Formatter::FormatType) {aka cv::Ptr<cv::Formatted>(const cv::_InputArray&, cv::Formatter::FormatType)}
  2009.          pyopencv_to(pyobj_format, format, ArgInfo("format", 0)) )
  2010.                                                                ^
  2011. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   mismatched types ‘std::vector<_Tp>’ and ‘cv::String(const char*, ...) {aka std::__cxx11::basic_string<char>(const char*, ...)}
  2012. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27478:63: note:   could not resolve address from overloaded function ‘cv::format’
  2013. In file included from ....../opencv/modules/python/src2/cv2.cpp:1673:0:
  2014. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:19157:13: note: candidate: bool pyopencv_to(PyObject*, cv::Moments&, const char*)
  2015.  static bool pyopencv_to(PyObject* src, cv::Moments& dst, const char* name)
  2016.              ^~~~~~~~~~~
  2017. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:19157:13: note:   no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘cv::Moments&
  2018. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27480:31: error: ‘cv::cudacodec’ has not been declared
  2019.          ERRWRAP2(retval = cv::cudacodec::createVideoWriter(encoderCallback, frameSize, fps, params, format));
  2020.                                ^
  2021. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2022.      expr; \
  2023.      ^~~~
  2024. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2025. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_NMSBoxes(PyObject*, PyObject*, PyObject*)’:
  2026. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27490:25: error: ‘dnn’ is not a namespace-name
  2027.      using namespace cv::dnn;
  2028.                          ^~~
  2029. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27490:28: error: expected namespace-name before ‘;’ token
  2030.      using namespace cv::dnn;
  2031.                             ^
  2032. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27508:22: error: ‘cv::dnn’ has not been declared
  2033.          ERRWRAP2(cv::dnn::NMSBoxes(bboxes, scores, score_threshold, nms_threshold, indices, eta, top_k));
  2034.                       ^
  2035. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2036.      expr; \
  2037.      ^~~~
  2038. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27530:22: error: ‘cv::dnn’ has not been declared
  2039.          ERRWRAP2(cv::dnn::NMSBoxes(bboxes, scores, score_threshold, nms_threshold, indices, eta, top_k));
  2040.                       ^
  2041. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2042.      expr; \
  2043.      ^~~~
  2044. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2045. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_NMSBoxesRotated(PyObject*, PyObject*, PyObject*)’:
  2046. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27540:25: error: ‘dnn’ is not a namespace-name
  2047.      using namespace cv::dnn;
  2048.                          ^~~
  2049. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27540:28: error: expected namespace-name before ‘;’ token
  2050.      using namespace cv::dnn;
  2051.                             ^
  2052. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27557:22: error: ‘cv::dnn’ has not been declared
  2053.          ERRWRAP2(cv::dnn::NMSBoxes(bboxes, scores, score_threshold, nms_threshold, indices, eta, top_k));
  2054.                       ^
  2055. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2056.      expr; \
  2057.      ^~~~
  2058. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2059. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_Net_readFromModelOptimizer(PyObject*, PyObject*, PyObject*)’:
  2060. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27566:25: error: ‘dnn’ is not a namespace-name
  2061.      using namespace cv::dnn;
  2062.                          ^~~
  2063. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27566:28: error: expected namespace-name before ‘;’ token
  2064.      using namespace cv::dnn;
  2065.                             ^
  2066. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27572:5: error: ‘Net’ was not declared in this scope
  2067.      Net retval;
  2068.      ^~~
  2069. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27572:5: note: suggested alternative: ‘gets’
  2070.      Net retval;
  2071.      ^~~
  2072.      gets
  2073. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27579:18: error: ‘retval’ was not declared in this scope
  2074.          ERRWRAP2(retval = cv::dnn::Net::readFromModelOptimizer(xml, bin));
  2075.                   ^
  2076. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2077.      expr; \
  2078.      ^~~~
  2079. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27579:18: note: suggested alternative: ‘read
  2080.          ERRWRAP2(retval = cv::dnn::Net::readFromModelOptimizer(xml, bin));
  2081.                   ^
  2082. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2083.      expr; \
  2084.      ^~~~
  2085. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27579:31: error: ‘cv::dnn’ has not been declared
  2086.          ERRWRAP2(retval = cv::dnn::Net::readFromModelOptimizer(xml, bin));
  2087.                                ^
  2088. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2089.      expr; \
  2090.      ^~~~
  2091. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2092. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27580:30: error: ‘retval’ was not declared in this scope
  2093.          return pyopencv_from(retval);
  2094.                               ^~~~~~
  2095. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27580:30: note: suggested alternative: ‘read
  2096.          return pyopencv_from(retval);
  2097.                               ^~~~~~
  2098.                               read
  2099. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_blobFromImage(PyObject*, PyObject*, PyObject*)’:
  2100. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27588:25: error: ‘dnn’ is not a namespace-name
  2101.      using namespace cv::dnn;
  2102.                          ^~~
  2103. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27588:28: error: expected namespace-name before ‘;’ token
  2104.      using namespace cv::dnn;
  2105.                             ^
  2106. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27609:31: error: ‘cv::dnn’ has not been declared
  2107.          ERRWRAP2(retval = cv::dnn::blobFromImage(image, scalefactor, size, mean, swapRB, crop, ddepth));
  2108.                                ^
  2109. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2110.      expr; \
  2111.      ^~~~
  2112. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27634:31: error: ‘cv::dnn’ has not been declared
  2113.          ERRWRAP2(retval = cv::dnn::blobFromImage(image, scalefactor, size, mean, swapRB, crop, ddepth));
  2114.                                ^
  2115. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2116.      expr; \
  2117.      ^~~~
  2118. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2119. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_blobFromImages(PyObject*, PyObject*, PyObject*)’:
  2120. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27644:25: error: ‘dnn’ is not a namespace-name
  2121.      using namespace cv::dnn;
  2122.                          ^~~
  2123. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27644:28: error: expected namespace-name before ‘;’ token
  2124.      using namespace cv::dnn;
  2125.                             ^
  2126. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27665:31: error: ‘cv::dnn’ has not been declared
  2127.          ERRWRAP2(retval = cv::dnn::blobFromImages(images, scalefactor, size, mean, swapRB, crop, ddepth));
  2128.                                ^
  2129. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2130.      expr; \
  2131.      ^~~~
  2132. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27690:31: error: ‘cv::dnn’ has not been declared
  2133.          ERRWRAP2(retval = cv::dnn::blobFromImages(images, scalefactor, size, mean, swapRB, crop, ddepth));
  2134.                                ^
  2135. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2136.      expr; \
  2137.      ^~~~
  2138. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2139. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_imagesFromBlob(PyObject*, PyObject*, PyObject*)’:
  2140. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27700:25: error: ‘dnn’ is not a namespace-name
  2141.      using namespace cv::dnn;
  2142.                          ^~~
  2143. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27700:28: error: expected namespace-name before ‘;’ token
  2144.      using namespace cv::dnn;
  2145.                             ^
  2146. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27713:22: error: ‘cv::dnn’ has not been declared
  2147.          ERRWRAP2(cv::dnn::imagesFromBlob(blob_, images_));
  2148.                       ^
  2149. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2150.      expr; \
  2151.      ^~~~
  2152. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27730:22: error: ‘cv::dnn’ has not been declared
  2153.          ERRWRAP2(cv::dnn::imagesFromBlob(blob_, images_));
  2154.                       ^
  2155. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2156.      expr; \
  2157.      ^~~~
  2158. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2159. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readNet(PyObject*, PyObject*, PyObject*)’:
  2160. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27740:25: error: ‘dnn’ is not a namespace-name
  2161.      using namespace cv::dnn;
  2162.                          ^~~
  2163. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27740:28: error: expected namespace-name before ‘;’ token
  2164.      using namespace cv::dnn;
  2165.                             ^
  2166. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27749:5: error: ‘Net’ was not declared in this scope
  2167.      Net retval;
  2168.      ^~~
  2169. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27749:5: note: suggested alternative: ‘gets’
  2170.      Net retval;
  2171.      ^~~
  2172.      gets
  2173. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27757:18: error: ‘retval’ was not declared in this scope
  2174.          ERRWRAP2(retval = cv::dnn::readNet(model, config, framework));
  2175.                   ^
  2176. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2177.      expr; \
  2178.      ^~~~
  2179. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27757:18: note: suggested alternative: ‘read
  2180.          ERRWRAP2(retval = cv::dnn::readNet(model, config, framework));
  2181.                   ^
  2182. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2183.      expr; \
  2184.      ^~~~
  2185. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27757:31: error: ‘cv::dnn’ has not been declared
  2186.          ERRWRAP2(retval = cv::dnn::readNet(model, config, framework));
  2187.                                ^
  2188. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2189.      expr; \
  2190.      ^~~~
  2191. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2192. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27758:30: error: ‘retval’ was not declared in this scope
  2193.          return pyopencv_from(retval);
  2194.                               ^~~~~~
  2195. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27758:30: note: suggested alternative: ‘read
  2196.          return pyopencv_from(retval);
  2197.                               ^~~~~~
  2198.                               read
  2199. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27770:5: error: ‘Net’ was not declared in this scope
  2200.      Net retval;
  2201.      ^~~
  2202. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27770:5: note: suggested alternative: ‘gets’
  2203.      Net retval;
  2204.      ^~~
  2205.      gets
  2206. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27778:18: error: ‘retval’ was not declared in this scope
  2207.          ERRWRAP2(retval = cv::dnn::readNet(framework, bufferModel, bufferConfig));
  2208.                   ^
  2209. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2210.      expr; \
  2211.      ^~~~
  2212. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27778:18: note: suggested alternative: ‘read
  2213.          ERRWRAP2(retval = cv::dnn::readNet(framework, bufferModel, bufferConfig));
  2214.                   ^
  2215. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2216.      expr; \
  2217.      ^~~~
  2218. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27778:31: error: ‘cv::dnn’ has not been declared
  2219.          ERRWRAP2(retval = cv::dnn::readNet(framework, bufferModel, bufferConfig));
  2220.                                ^
  2221. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2222.      expr; \
  2223.      ^~~~
  2224. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2225. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27779:30: error: ‘retval’ was not declared in this scope
  2226.          return pyopencv_from(retval);
  2227.                               ^~~~~~
  2228. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27779:30: note: suggested alternative: ‘read
  2229.          return pyopencv_from(retval);
  2230.                               ^~~~~~
  2231.                               read
  2232. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readNetFromCaffe(PyObject*, PyObject*, PyObject*)’:
  2233. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27788:25: error: ‘dnn’ is not a namespace-name
  2234.      using namespace cv::dnn;
  2235.                          ^~~
  2236. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27788:28: error: expected namespace-name before ‘;’ token
  2237.      using namespace cv::dnn;
  2238.                             ^
  2239. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27795:5: error: ‘Net’ was not declared in this scope
  2240.      Net retval;
  2241.      ^~~
  2242. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27795:5: note: suggested alternative: ‘gets’
  2243.      Net retval;
  2244.      ^~~
  2245.      gets
  2246. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27802:18: error: ‘retval’ was not declared in this scope
  2247.          ERRWRAP2(retval = cv::dnn::readNetFromCaffe(prototxt, caffeModel));
  2248.                   ^
  2249. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2250.      expr; \
  2251.      ^~~~
  2252. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27802:18: note: suggested alternative: ‘read
  2253.          ERRWRAP2(retval = cv::dnn::readNetFromCaffe(prototxt, caffeModel));
  2254.                   ^
  2255. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2256.      expr; \
  2257.      ^~~~
  2258. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27802:31: error: ‘cv::dnn’ has not been declared
  2259.          ERRWRAP2(retval = cv::dnn::readNetFromCaffe(prototxt, caffeModel));
  2260.                                ^
  2261. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2262.      expr; \
  2263.      ^~~~
  2264. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2265. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27803:30: error: ‘retval’ was not declared in this scope
  2266.          return pyopencv_from(retval);
  2267.                               ^~~~~~
  2268. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27803:30: note: suggested alternative: ‘read
  2269.          return pyopencv_from(retval);
  2270.                               ^~~~~~
  2271.                               read
  2272. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27813:5: error: ‘Net’ was not declared in this scope
  2273.      Net retval;
  2274.      ^~~
  2275. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27813:5: note: suggested alternative: ‘gets’
  2276.      Net retval;
  2277.      ^~~
  2278.      gets
  2279. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27820:18: error: ‘retval’ was not declared in this scope
  2280.          ERRWRAP2(retval = cv::dnn::readNetFromCaffe(bufferProto, bufferModel));
  2281.                   ^
  2282. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2283.      expr; \
  2284.      ^~~~
  2285. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27820:18: note: suggested alternative: ‘read
  2286.          ERRWRAP2(retval = cv::dnn::readNetFromCaffe(bufferProto, bufferModel));
  2287.                   ^
  2288. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2289.      expr; \
  2290.      ^~~~
  2291. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27820:31: error: ‘cv::dnn’ has not been declared
  2292.          ERRWRAP2(retval = cv::dnn::readNetFromCaffe(bufferProto, bufferModel));
  2293.                                ^
  2294. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2295.      expr; \
  2296.      ^~~~
  2297. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2298. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27821:30: error: ‘retval’ was not declared in this scope
  2299.          return pyopencv_from(retval);
  2300.                               ^~~~~~
  2301. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27821:30: note: suggested alternative: ‘read
  2302.          return pyopencv_from(retval);
  2303.                               ^~~~~~
  2304.                               read
  2305. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readNetFromDarknet(PyObject*, PyObject*, PyObject*)’:
  2306. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27830:25: error: ‘dnn’ is not a namespace-name
  2307.      using namespace cv::dnn;
  2308.                          ^~~
  2309. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27830:28: error: expected namespace-name before ‘;’ token
  2310.      using namespace cv::dnn;
  2311.                             ^
  2312. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27837:5: error: ‘Net’ was not declared in this scope
  2313.      Net retval;
  2314.      ^~~
  2315. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27837:5: note: suggested alternative: ‘gets’
  2316.      Net retval;
  2317.      ^~~
  2318.      gets
  2319. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27844:18: error: ‘retval’ was not declared in this scope
  2320.          ERRWRAP2(retval = cv::dnn::readNetFromDarknet(cfgFile, darknetModel));
  2321.                   ^
  2322. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2323.      expr; \
  2324.      ^~~~
  2325. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27844:18: note: suggested alternative: ‘read
  2326.          ERRWRAP2(retval = cv::dnn::readNetFromDarknet(cfgFile, darknetModel));
  2327.                   ^
  2328. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2329.      expr; \
  2330.      ^~~~
  2331. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27844:31: error: ‘cv::dnn’ has not been declared
  2332.          ERRWRAP2(retval = cv::dnn::readNetFromDarknet(cfgFile, darknetModel));
  2333.                                ^
  2334. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2335.      expr; \
  2336.      ^~~~
  2337. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2338. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27845:30: error: ‘retval’ was not declared in this scope
  2339.          return pyopencv_from(retval);
  2340.                               ^~~~~~
  2341. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27845:30: note: suggested alternative: ‘read
  2342.          return pyopencv_from(retval);
  2343.                               ^~~~~~
  2344.                               read
  2345. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27855:5: error: ‘Net’ was not declared in this scope
  2346.      Net retval;
  2347.      ^~~
  2348. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27855:5: note: suggested alternative: ‘gets’
  2349.      Net retval;
  2350.      ^~~
  2351.      gets
  2352. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27862:18: error: ‘retval’ was not declared in this scope
  2353.          ERRWRAP2(retval = cv::dnn::readNetFromDarknet(bufferCfg, bufferModel));
  2354.                   ^
  2355. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2356.      expr; \
  2357.      ^~~~
  2358. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27862:18: note: suggested alternative: ‘read
  2359.          ERRWRAP2(retval = cv::dnn::readNetFromDarknet(bufferCfg, bufferModel));
  2360.                   ^
  2361. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2362.      expr; \
  2363.      ^~~~
  2364. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27862:31: error: ‘cv::dnn’ has not been declared
  2365.          ERRWRAP2(retval = cv::dnn::readNetFromDarknet(bufferCfg, bufferModel));
  2366.                                ^
  2367. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2368.      expr; \
  2369.      ^~~~
  2370. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2371. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27863:30: error: ‘retval’ was not declared in this scope
  2372.          return pyopencv_from(retval);
  2373.                               ^~~~~~
  2374. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27863:30: note: suggested alternative: ‘read
  2375.          return pyopencv_from(retval);
  2376.                               ^~~~~~
  2377.                               read
  2378. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readNetFromModelOptimizer(PyObject*, PyObject*, PyObject*)’:
  2379. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27872:25: error: ‘dnn’ is not a namespace-name
  2380.      using namespace cv::dnn;
  2381.                          ^~~
  2382. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27872:28: error: expected namespace-name before ‘;’ token
  2383.      using namespace cv::dnn;
  2384.                             ^
  2385. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27878:5: error: ‘Net’ was not declared in this scope
  2386.      Net retval;
  2387.      ^~~
  2388. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27878:5: note: suggested alternative: ‘gets’
  2389.      Net retval;
  2390.      ^~~
  2391.      gets
  2392. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27885:18: error: ‘retval’ was not declared in this scope
  2393.          ERRWRAP2(retval = cv::dnn::readNetFromModelOptimizer(xml, bin));
  2394.                   ^
  2395. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2396.      expr; \
  2397.      ^~~~
  2398. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27885:18: note: suggested alternative: ‘read
  2399.          ERRWRAP2(retval = cv::dnn::readNetFromModelOptimizer(xml, bin));
  2400.                   ^
  2401. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2402.      expr; \
  2403.      ^~~~
  2404. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27885:31: error: ‘cv::dnn’ has not been declared
  2405.          ERRWRAP2(retval = cv::dnn::readNetFromModelOptimizer(xml, bin));
  2406.                                ^
  2407. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2408.      expr; \
  2409.      ^~~~
  2410. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2411. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27886:30: error: ‘retval’ was not declared in this scope
  2412.          return pyopencv_from(retval);
  2413.                               ^~~~~~
  2414. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27886:30: note: suggested alternative: ‘read
  2415.          return pyopencv_from(retval);
  2416.                               ^~~~~~
  2417.                               read
  2418. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readNetFromONNX(PyObject*, PyObject*, PyObject*)’:
  2419. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27894:25: error: ‘dnn’ is not a namespace-name
  2420.      using namespace cv::dnn;
  2421.                          ^~~
  2422. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27894:28: error: expected namespace-name before ‘;’ token
  2423.      using namespace cv::dnn;
  2424.                             ^
  2425. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27898:5: error: ‘Net’ was not declared in this scope
  2426.      Net retval;
  2427.      ^~~
  2428. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27898:5: note: suggested alternative: ‘gets’
  2429.      Net retval;
  2430.      ^~~
  2431.      gets
  2432. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27904:18: error: ‘retval’ was not declared in this scope
  2433.          ERRWRAP2(retval = cv::dnn::readNetFromONNX(onnxFile));
  2434.                   ^
  2435. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2436.      expr; \
  2437.      ^~~~
  2438. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27904:18: note: suggested alternative: ‘read
  2439.          ERRWRAP2(retval = cv::dnn::readNetFromONNX(onnxFile));
  2440.                   ^
  2441. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2442.      expr; \
  2443.      ^~~~
  2444. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27904:31: error: ‘cv::dnn’ has not been declared
  2445.          ERRWRAP2(retval = cv::dnn::readNetFromONNX(onnxFile));
  2446.                                ^
  2447. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2448.      expr; \
  2449.      ^~~~
  2450. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2451. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27905:30: error: ‘retval’ was not declared in this scope
  2452.          return pyopencv_from(retval);
  2453.                               ^~~~~~
  2454. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27905:30: note: suggested alternative: ‘read
  2455.          return pyopencv_from(retval);
  2456.                               ^~~~~~
  2457.                               read
  2458. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readNetFromTensorflow(PyObject*, PyObject*, PyObject*)’:
  2459. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27913:25: error: ‘dnn’ is not a namespace-name
  2460.      using namespace cv::dnn;
  2461.                          ^~~
  2462. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27913:28: error: expected namespace-name before ‘;’ token
  2463.      using namespace cv::dnn;
  2464.                             ^
  2465. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27920:5: error: ‘Net’ was not declared in this scope
  2466.      Net retval;
  2467.      ^~~
  2468. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27920:5: note: suggested alternative: ‘gets’
  2469.      Net retval;
  2470.      ^~~
  2471.      gets
  2472. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27927:18: error: ‘retval’ was not declared in this scope
  2473.          ERRWRAP2(retval = cv::dnn::readNetFromTensorflow(model, config));
  2474.                   ^
  2475. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2476.      expr; \
  2477.      ^~~~
  2478. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27927:18: note: suggested alternative: ‘read
  2479.          ERRWRAP2(retval = cv::dnn::readNetFromTensorflow(model, config));
  2480.                   ^
  2481. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2482.      expr; \
  2483.      ^~~~
  2484. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27927:31: error: ‘cv::dnn’ has not been declared
  2485.          ERRWRAP2(retval = cv::dnn::readNetFromTensorflow(model, config));
  2486.                                ^
  2487. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2488.      expr; \
  2489.      ^~~~
  2490. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2491. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27928:30: error: ‘retval’ was not declared in this scope
  2492.          return pyopencv_from(retval);
  2493.                               ^~~~~~
  2494. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27928:30: note: suggested alternative: ‘read
  2495.          return pyopencv_from(retval);
  2496.                               ^~~~~~
  2497.                               read
  2498. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27938:5: error: ‘Net’ was not declared in this scope
  2499.      Net retval;
  2500.      ^~~
  2501. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27938:5: note: suggested alternative: ‘gets’
  2502.      Net retval;
  2503.      ^~~
  2504.      gets
  2505. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27945:18: error: ‘retval’ was not declared in this scope
  2506.          ERRWRAP2(retval = cv::dnn::readNetFromTensorflow(bufferModel, bufferConfig));
  2507.                   ^
  2508. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2509.      expr; \
  2510.      ^~~~
  2511. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27945:18: note: suggested alternative: ‘read
  2512.          ERRWRAP2(retval = cv::dnn::readNetFromTensorflow(bufferModel, bufferConfig));
  2513.                   ^
  2514. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2515.      expr; \
  2516.      ^~~~
  2517. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27945:31: error: ‘cv::dnn’ has not been declared
  2518.          ERRWRAP2(retval = cv::dnn::readNetFromTensorflow(bufferModel, bufferConfig));
  2519.                                ^
  2520. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2521.      expr; \
  2522.      ^~~~
  2523. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2524. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27946:30: error: ‘retval’ was not declared in this scope
  2525.          return pyopencv_from(retval);
  2526.                               ^~~~~~
  2527. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27946:30: note: suggested alternative: ‘read
  2528.          return pyopencv_from(retval);
  2529.                               ^~~~~~
  2530.                               read
  2531. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readNetFromTorch(PyObject*, PyObject*, PyObject*)’:
  2532. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27955:25: error: ‘dnn’ is not a namespace-name
  2533.      using namespace cv::dnn;
  2534.                          ^~~
  2535. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27955:28: error: expected namespace-name before ‘;’ token
  2536.      using namespace cv::dnn;
  2537.                             ^
  2538. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27960:5: error: ‘Net’ was not declared in this scope
  2539.      Net retval;
  2540.      ^~~
  2541. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27960:5: note: suggested alternative: ‘gets’
  2542.      Net retval;
  2543.      ^~~
  2544.      gets
  2545. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27966:18: error: ‘retval’ was not declared in this scope
  2546.          ERRWRAP2(retval = cv::dnn::readNetFromTorch(model, isBinary));
  2547.                   ^
  2548. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2549.      expr; \
  2550.      ^~~~
  2551. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27966:18: note: suggested alternative: ‘read
  2552.          ERRWRAP2(retval = cv::dnn::readNetFromTorch(model, isBinary));
  2553.                   ^
  2554. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2555.      expr; \
  2556.      ^~~~
  2557. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27966:31: error: ‘cv::dnn’ has not been declared
  2558.          ERRWRAP2(retval = cv::dnn::readNetFromTorch(model, isBinary));
  2559.                                ^
  2560. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2561.      expr; \
  2562.      ^~~~
  2563. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2564. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27967:30: error: ‘retval’ was not declared in this scope
  2565.          return pyopencv_from(retval);
  2566.                               ^~~~~~
  2567. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27967:30: note: suggested alternative: ‘read
  2568.          return pyopencv_from(retval);
  2569.                               ^~~~~~
  2570.                               read
  2571. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readTensorFromONNX(PyObject*, PyObject*, PyObject*)’:
  2572. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27975:25: error: ‘dnn’ is not a namespace-name
  2573.      using namespace cv::dnn;
  2574.                          ^~~
  2575. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27975:28: error: expected namespace-name before ‘;’ token
  2576.      using namespace cv::dnn;
  2577.                             ^
  2578. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27985:31: error: ‘cv::dnn’ has not been declared
  2579.          ERRWRAP2(retval = cv::dnn::readTensorFromONNX(path));
  2580.                                ^
  2581. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2582.      expr; \
  2583.      ^~~~
  2584. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2585. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_readTorchBlob(PyObject*, PyObject*, PyObject*)’:
  2586. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27994:25: error: ‘dnn’ is not a namespace-name
  2587.      using namespace cv::dnn;
  2588.                          ^~~
  2589. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:27994:28: error: expected namespace-name before ‘;’ token
  2590.      using namespace cv::dnn;
  2591.                             ^
  2592. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28005:31: error: ‘cv::dnn’ has not been declared
  2593.          ERRWRAP2(retval = cv::dnn::readTorchBlob(filename, isBinary));
  2594.                                ^
  2595. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2596.      expr; \
  2597.      ^~~~
  2598. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2599. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_resetMyriadDevice(PyObject*, PyObject*, PyObject*)’:
  2600. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28014:25: error: ‘dnn’ is not a namespace-name
  2601.      using namespace cv::dnn;
  2602.                          ^~~
  2603. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28014:28: error: expected namespace-name before ‘;’ token
  2604.      using namespace cv::dnn;
  2605.                             ^
  2606. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28019:22: error: ‘cv::dnn’ has not been declared
  2607.          ERRWRAP2(cv::dnn::resetMyriadDevice());
  2608.                       ^
  2609. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2610.      expr; \
  2611.      ^~~~
  2612. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2613. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_shrinkCaffeModel(PyObject*, PyObject*, PyObject*)’:
  2614. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28028:25: error: ‘dnn’ is not a namespace-name
  2615.      using namespace cv::dnn;
  2616.                          ^~~
  2617. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28028:28: error: expected namespace-name before ‘;’ token
  2618.      using namespace cv::dnn;
  2619.                             ^
  2620. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28043:22: error: ‘cv::dnn’ has not been declared
  2621.          ERRWRAP2(cv::dnn::shrinkCaffeModel(src, dst, layersTypes));
  2622.                       ^
  2623. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2624.      expr; \
  2625.      ^~~~
  2626. In file included from ....../opencv/modules/python/src2/cv2.cpp:1674:0:
  2627. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_dnn_writeTextGraph(PyObject*, PyObject*, PyObject*)’:
  2628. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28052:25: error: ‘dnn’ is not a namespace-name
  2629.      using namespace cv::dnn;
  2630.                          ^~~
  2631. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28052:28: error: expected namespace-name before ‘;’ token
  2632.      using namespace cv::dnn;
  2633.                             ^
  2634. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28064:22: error: ‘cv::dnn’ has not been declared
  2635.          ERRWRAP2(cv::dnn::writeTextGraph(model, output));
  2636.                       ^
  2637. ....../opencv/modules/python/src2/cv2.cpp:175:5: note: in definition of macro ‘ERRWRAP2’
  2638.      expr; \
  2639.      ^~~~
  2640. In file included from ....../opencv/modules/python/src2/cv2.cpp:1740:0:
  2641. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h: At global scope:
  2642. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2196:54: error: ‘cv::cudacodec’ has not been declared
  2643.      {"EncoderCallBack_BFRAME", static_cast<long>(cv::cudacodec::EncoderCallBack::BFRAME)},
  2644.                                                       ^~~~~~~~~
  2645. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2197:56: error: ‘cv::cudacodec’ has not been declared
  2646.      {"ENCODER_CALL_BACK_BFRAME", static_cast<long>(cv::cudacodec::EncoderCallBack::BFRAME)},
  2647.                                                         ^~~~~~~~~
  2648. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2198:54: error: ‘cv::cudacodec’ has not been declared
  2649.      {"EncoderCallBack_IFRAME", static_cast<long>(cv::cudacodec::EncoderCallBack::IFRAME)},
  2650.                                                       ^~~~~~~~~
  2651. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2199:56: error: ‘cv::cudacodec’ has not been declared
  2652.      {"ENCODER_CALL_BACK_IFRAME", static_cast<long>(cv::cudacodec::EncoderCallBack::IFRAME)},
  2653.                                                         ^~~~~~~~~
  2654. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2200:54: error: ‘cv::cudacodec’ has not been declared
  2655.      {"EncoderCallBack_PFRAME", static_cast<long>(cv::cudacodec::EncoderCallBack::PFRAME)},
  2656.                                                       ^~~~~~~~~
  2657. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2201:56: error: ‘cv::cudacodec’ has not been declared
  2658.      {"ENCODER_CALL_BACK_PFRAME", static_cast<long>(cv::cudacodec::EncoderCallBack::PFRAME)},
  2659.                                                         ^~~~~~~~~
  2660. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2202:36: error: ‘cv::cudacodec’ has not been declared
  2661.      {"H264", static_cast<long>(cv::cudacodec::H264)},
  2662.                                     ^~~~~~~~~
  2663. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2203:40: error: ‘cv::cudacodec’ has not been declared
  2664.      {"H264_MVC", static_cast<long>(cv::cudacodec::H264_MVC)},
  2665.                                         ^~~~~~~~~
  2666. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2204:40: error: ‘cv::cudacodec’ has not been declared
  2667.      {"H264_SVC", static_cast<long>(cv::cudacodec::H264_SVC)},
  2668.                                         ^~~~~~~~~
  2669. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2205:36: error: ‘cv::cudacodec’ has not been declared
  2670.      {"JPEG", static_cast<long>(cv::cudacodec::JPEG)},
  2671.                                     ^~~~~~~~~
  2672. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2206:37: error: ‘cv::cudacodec’ has not been declared
  2673.      {"MPEG1", static_cast<long>(cv::cudacodec::MPEG1)},
  2674.                                      ^~~~~~~~~
  2675. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2207:37: error: ‘cv::cudacodec’ has not been declared
  2676.      {"MPEG2", static_cast<long>(cv::cudacodec::MPEG2)},
  2677.                                      ^~~~~~~~~
  2678. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2208:37: error: ‘cv::cudacodec’ has not been declared
  2679.      {"MPEG4", static_cast<long>(cv::cudacodec::MPEG4)},
  2680.                                      ^~~~~~~~~
  2681. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2209:42: error: ‘cv::cudacodec’ has not been declared
  2682.      {"Monochrome", static_cast<long>(cv::cudacodec::Monochrome)},
  2683.                                           ^~~~~~~~~
  2684. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2210:42: error: ‘cv::cudacodec’ has not been declared
  2685.      {"MONOCHROME", static_cast<long>(cv::cudacodec::Monochrome)},
  2686.                                           ^~~~~~~~~
  2687. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2211:38: error: ‘cv::cudacodec’ has not been declared
  2688.      {"SF_BGR", static_cast<long>(cv::cudacodec::SF_BGR)},
  2689.                                       ^~~~~~~~~
  2690. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2212:39: error: ‘cv::cudacodec’ has not been declared
  2691.      {"SF_GRAY", static_cast<long>(cv::cudacodec::SF_GRAY)},
  2692.                                        ^~~~~~~~~
  2693. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2213:39: error: ‘cv::cudacodec’ has not been declared
  2694.      {"SF_IYUV", static_cast<long>(cv::cudacodec::SF_IYUV)},
  2695.                                        ^~~~~~~~~
  2696. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2214:39: error: ‘cv::cudacodec’ has not been declared
  2697.      {"SF_NV12", static_cast<long>(cv::cudacodec::SF_NV12)},
  2698.                                        ^~~~~~~~~
  2699. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2215:39: error: ‘cv::cudacodec’ has not been declared
  2700.      {"SF_UYVY", static_cast<long>(cv::cudacodec::SF_UYVY)},
  2701.                                        ^~~~~~~~~
  2702. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2216:39: error: ‘cv::cudacodec’ has not been declared
  2703.      {"SF_YUY2", static_cast<long>(cv::cudacodec::SF_YUY2)},
  2704.                                        ^~~~~~~~~
  2705. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2217:39: error: ‘cv::cudacodec’ has not been declared
  2706.      {"SF_YV12", static_cast<long>(cv::cudacodec::SF_YV12)},
  2707.                                        ^~~~~~~~~
  2708. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2218:49: error: ‘cv::cudacodec’ has not been declared
  2709.      {"Uncompressed_NV12", static_cast<long>(cv::cudacodec::Uncompressed_NV12)},
  2710.                                                  ^~~~~~~~~
  2711. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2219:49: error: ‘cv::cudacodec’ has not been declared
  2712.      {"UNCOMPRESSED_NV12", static_cast<long>(cv::cudacodec::Uncompressed_NV12)},
  2713.                                                  ^~~~~~~~~
  2714. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2220:49: error: ‘cv::cudacodec’ has not been declared
  2715.      {"Uncompressed_UYVY", static_cast<long>(cv::cudacodec::Uncompressed_UYVY)},
  2716.                                                  ^~~~~~~~~
  2717. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2221:49: error: ‘cv::cudacodec’ has not been declared
  2718.      {"UNCOMPRESSED_UYVY", static_cast<long>(cv::cudacodec::Uncompressed_UYVY)},
  2719.                                                  ^~~~~~~~~
  2720. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2222:51: error: ‘cv::cudacodec’ has not been declared
  2721.      {"Uncompressed_YUV420", static_cast<long>(cv::cudacodec::Uncompressed_YUV420)},
  2722.                                                    ^~~~~~~~~
  2723. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2223:51: error: ‘cv::cudacodec’ has not been declared
  2724.      {"UNCOMPRESSED_YUV420", static_cast<long>(cv::cudacodec::Uncompressed_YUV420)},
  2725.                                                    ^~~~~~~~~
  2726. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2224:49: error: ‘cv::cudacodec’ has not been declared
  2727.      {"Uncompressed_YUYV", static_cast<long>(cv::cudacodec::Uncompressed_YUYV)},
  2728.                                                  ^~~~~~~~~
  2729. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2225:49: error: ‘cv::cudacodec’ has not been declared
  2730.      {"UNCOMPRESSED_YUYV", static_cast<long>(cv::cudacodec::Uncompressed_YUYV)},
  2731.                                                  ^~~~~~~~~
  2732. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2226:49: error: ‘cv::cudacodec’ has not been declared
  2733.      {"Uncompressed_YV12", static_cast<long>(cv::cudacodec::Uncompressed_YV12)},
  2734.                                                  ^~~~~~~~~
  2735. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2227:49: error: ‘cv::cudacodec’ has not been declared
  2736.      {"UNCOMPRESSED_YV12", static_cast<long>(cv::cudacodec::Uncompressed_YV12)},
  2737.                                                  ^~~~~~~~~
  2738. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2228:35: error: ‘cv::cudacodec’ has not been declared
  2739.      {"VC1", static_cast<long>(cv::cudacodec::VC1)},
  2740.                                    ^~~~~~~~~
  2741. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2229:38: error: ‘cv::cudacodec’ has not been declared
  2742.      {"YUV420", static_cast<long>(cv::cudacodec::YUV420)},
  2743.                                       ^~~~~~~~~
  2744. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2230:38: error: ‘cv::cudacodec’ has not been declared
  2745.      {"YUV422", static_cast<long>(cv::cudacodec::YUV422)},
  2746.                                       ^~~~~~~~~
  2747. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2231:38: error: ‘cv::cudacodec’ has not been declared
  2748.      {"YUV444", static_cast<long>(cv::cudacodec::YUV444)},
  2749.                                       ^~~~~~~~~
  2750. In file included from ....../opencv/modules/python/src2/cv2.cpp:1740:0:
  2751. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2358:51: error: ‘cv::dnn’ has not been declared
  2752.      {"DNN_BACKEND_DEFAULT", static_cast<long>(cv::dnn::DNN_BACKEND_DEFAULT)},
  2753.                                                    ^~~
  2754. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2359:50: error: ‘cv::dnn’ has not been declared
  2755.      {"DNN_BACKEND_HALIDE", static_cast<long>(cv::dnn::DNN_BACKEND_HALIDE)},
  2756.                                                   ^~~
  2757. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2360:60: error: ‘cv::dnn’ has not been declared
  2758.      {"DNN_BACKEND_INFERENCE_ENGINE", static_cast<long>(cv::dnn::DNN_BACKEND_INFERENCE_ENGINE)},
  2759.                                                             ^~~
  2760. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2361:50: error: ‘cv::dnn’ has not been declared
  2761.      {"DNN_BACKEND_OPENCV", static_cast<long>(cv::dnn::DNN_BACKEND_OPENCV)},
  2762.                                                   ^~~
  2763. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2362:46: error: ‘cv::dnn’ has not been declared
  2764.      {"DNN_TARGET_CPU", static_cast<long>(cv::dnn::DNN_TARGET_CPU)},
  2765.                                               ^~~
  2766. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2363:49: error: ‘cv::dnn’ has not been declared
  2767.      {"DNN_TARGET_MYRIAD", static_cast<long>(cv::dnn::DNN_TARGET_MYRIAD)},
  2768.                                                  ^~~
  2769. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2364:49: error: ‘cv::dnn’ has not been declared
  2770.      {"DNN_TARGET_OPENCL", static_cast<long>(cv::dnn::DNN_TARGET_OPENCL)},
  2771.                                                  ^~~
  2772. ....../opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2365:54: error: ‘cv::dnn’ has not been declared
  2773.      {"DNN_TARGET_OPENCL_FP16", static_cast<long>(cv::dnn::DNN_TARGET_OPENCL_FP16)},
  2774.                                                       ^~~
  2775. modules/python3/CMakeFiles/opencv_python3.dir/build.make:65: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o' failed
  2776. make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1
  2777. make[2]: Leaving directory '....../opencv/build'
  2778. CMakeFiles/Makefile2:6367: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/all' failed
  2779. make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
  2780. make[1]: Leaving directory '....../opencv/build'
  2781. Makefile:165: recipe for target 'all' failed
  2782. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement