Merge pull request #19828 from OrestChura:oc/fix_garray_garray_input
authorOrest Chura <orest.chura@intel.com>
Thu, 1 Apr 2021 20:39:31 +0000 (23:39 +0300)
committerGitHub <noreply@github.com>
Thu, 1 Apr 2021 20:39:31 +0000 (20:39 +0000)
commit34a8a45a6a3339945c4aa38c441c3a8a25b73f2a
treeb61178ab4aaacc0bba17a539c554ff680e4d71e1
parent1e51f87298cd9d636b5aa0637a57cc9214c6f176
Merge pull request #19828 from OrestChura:oc/fix_garray_garray_input

[G-API] Fix bug of GArray<GArray> passing through a graph

* Add test to check GArray<GArray> passing through a graph (assertion failed)

* G-API: Flatten GArray<T> to std::vector<T> when capturing VCtr

- Also: Fix formatting in garray.hpp

* Refactored test, added valuable check

* Initialize size_t

Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com>
modules/gapi/include/opencv2/gapi/garray.hpp
modules/gapi/test/gapi_array_tests.cpp