/home/software/opencv-4.6.0/modules/gapi/misc/python/python_bridge.hpp:82:27: error: ‘GInferOutputs’ in namespace ‘cv’ does not name a type
82 | GAPI_EXPORTS_W inline cv::GInferOutputs infer(const String& name, const cv::GInferInputs& inputs)
| ^~~~~~~~~~~~~
/home/software/opencv-4.6.0/modules/gapi/misc/python/python_bridge.hpp:87:23: error: ‘GInferOutputs’ does not name a type
87 | GAPI_EXPORTS_W inline GInferOutputs infer(const std::string& name,
| ^~~~~~~~~~~~~
/home/software/opencv-4.6.0/modules/gapi/misc/python/python_bridge.hpp:94:23: error: ‘GInferListOutputs’ does not name a type
94 | GAPI_EXPORTS_W inline GInferListOutputs infer(const std::string& name,
| ^~~~~~~~~~~~~~~~~
/home/software/opencv-4.6.0/modules/gapi/misc/python/python_bridge.hpp:101:23: error: ‘GInferListOutputs’ does not name a type
101 | GAPI_EXPORTS_W inline GInferListOutputs infer2(const std::string& name,
| ^~~~~~~~~~~~~~~~~
In file included from /home/software/opencv-4.6.0/build/modules/python_bindings_generator/pyopencv_custom_headers.h:22,
from /home/software/opencv-4.6.0/modules/python/src2/cv2.cpp:88:
/home/software/opencv-4.6.0/modules/gapi/misc/python/pyopencv_gapi.hpp:15:49: error: ‘GNetPackage’ in namespace ‘cv::gapi’ does not name a type; did you mean ‘GKernelPackage’?
15 | using gapi_GNetPackage = cv::gapi::GNetPackage;
| ^~~~~~~~~~~
| GKernelPackage
/home/software/opencv-4.6.0/modules/gapi/misc/python/pyopencv_gapi.hpp:16:49: error: ‘ie’ in namespace ‘cv::gapi’ does not name a type
16 | using gapi_ie_PyParams = cv::gapi::ie::PyParams;
|