Fix conversion of the kernel's input for GArray<GArray<U>> -> vector<vector<U>>
authorOrestChura <orest.chura@intel.com>
Wed, 31 Mar 2021 18:10:13 +0000 (21:10 +0300)
committerOrestChura <orest.chura@intel.com>
Wed, 31 Mar 2021 20:37:44 +0000 (23:37 +0300)
modules/gapi/include/opencv2/gapi/cpu/gcpukernel.hpp

index 6ddcb7270c41a0f75c56399c2836b0021073a582..5539e244bab5b39f2c60ebf02031b7cc6867cb19 100644 (file)
@@ -190,6 +190,11 @@ template<> struct get_in<cv::GArray<cv::GScalar> >: public get_in<cv::GArray<cv:
 {
 };
 
+// FIXME(dm): GArray<vector<U>>/GArray<GArray<U>> conversion should be done more gracefully in the system
+template<typename U> struct get_in<cv::GArray<cv::GArray<U>> >: public get_in<cv::GArray<std::vector<U>> >
+{
+};
+
 //FIXME(dm): GOpaque<Mat>/GOpaque<GMat> conversion should be done more gracefully in the system
 template<> struct get_in<cv::GOpaque<cv::GMat> >: public get_in<cv::GOpaque<cv::Mat> >
 {