opencv/modules/gapi/test
Daria Mityagina ebea65777f
Merge pull request #24938 from DariaMityagina:icv/dm/add-media-frame-support-to-govbackend
G-API OV backend requires cv::MediaFrame #24938

### Pull Request Readiness Checklist

**Background_subtraction demo G-API issue. Update:**

Porting to API20 resulted in an error (both for CPU and NPU):
```
[ERROR] OpenCV(4.9.0-dev) /home/runner/work/open_model_zoo/open_model_zoo/cache/opencv/modules/gapi/src/backends/ov/govbackend.cpp:813: error: (-215: assertion not done ) cv::util::holds_alternative<cv::GMatDesc>(input_meta) in function 'cfgPreProcessing'
```

Adding cv::MediaFrame support to govbackend resulted in the following (tested with CPU):
<img width="941" alt="image" src="https://github.com/opencv/opencv/assets/52502732/3a003d61-bda7-4b1e-9117-3410cda1ba32">

### TODO

- [ ] **As part of the review process [this comment](https://github.com/opencv/opencv/pull/24938#discussion_r1487694043) was addressed which make it impossible to run the demo. I will bring those changes back in a separate PR [support `PartialShape`]**

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2024-04-24 16:25:00 +03:00
..
common core: Rename cv::float16_t to cv::hfloat (#25217) 2024-03-21 23:44:19 +03:00
cpu Merge pull request #25060 from dmatveev:dm/gapi_test_time 2024-02-22 16:40:33 +03:00
executor build: eliminate build warnings on Ubuntu 20.04/16.04 2022-12-20 06:46:30 +00:00
gpu Merge pull request #21909 from dbudnikov:dbudnikov/reduce_gapi_tests_number 2022-05-15 10:07:01 +00:00
infer Merge pull request #24938 from DariaMityagina:icv/dm/add-media-frame-support-to-govbackend 2024-04-24 16:25:00 +03:00
internal Merge pull request #23109 from seanm:misc-warnings 2023-10-06 13:33:21 +03:00
oak Merge pull request #20785 from smirnov-alexey:as/oak_backend 2022-01-17 22:56:01 +00:00
own Merge pull request #24845 from TolyaTalamanov:at/concurrent-executor 2024-01-30 17:01:50 +03:00
render Merge pull request #20284 from TolyaTalamanov:at/wrap-render 2021-07-01 09:36:19 +00:00
rmat gapi(test): reduce used amount of memory 2022-05-15 09:41:25 +00:00
s11n Merge pull request #22935 from alalek:gapi_error 2022-12-19 06:05:15 +00:00
streaming Merge pull request #25060 from dmatveev:dm/gapi_test_time 2024-02-22 16:40:33 +03:00
util Merge pull request #20922 from alexgiving:atrutnev/align_expect_assert_macros 2021-10-29 16:30:35 +00:00
gapi_array_tests.cpp Merge pull request #19828 from OrestChura:oc/fix_garray_garray_input 2021-04-01 20:39:31 +00:00
gapi_async_test.cpp Merge pull request #23109 from seanm:misc-warnings 2023-10-06 13:33:21 +03:00
gapi_basic_hetero_tests.cpp Move GKernelPackage to cv namespace 2021-12-24 18:04:11 +03:00
gapi_compile_args_tests.cpp Move GKernelPackage to cv namespace 2021-12-24 18:04:11 +03:00
gapi_desc_tests.cpp Merge pull request #16995 from mpashchenkov:mp/ocv-gapi-standalone-mat 2020-04-21 20:22:01 +00:00
gapi_fluid_parallel_rois_test.cpp Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size 2020-04-02 18:19:45 +00:00
gapi_fluid_resize_test.cpp Fix tolerance for Preproc4lpiTest set 2023-03-24 14:20:22 +03:00
gapi_fluid_roi_test.cpp Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size 2020-04-02 18:19:45 +00:00
gapi_fluid_test_kernels.cpp Move GKernelPackage to cv namespace 2021-12-24 18:04:11 +03:00
gapi_fluid_test_kernels.hpp Move GKernelPackage to cv namespace 2021-12-24 18:04:11 +03:00
gapi_fluid_test.cpp Merge pull request #23109 from seanm:misc-warnings 2023-10-06 13:33:21 +03:00
gapi_frame_tests.cpp Merge pull request #21511 from dbudniko:dbudniko/gapi_media_format_gray 2022-02-03 15:20:21 +03:00
gapi_gcompiled_tests.cpp Merge pull request #20184 from sivanov-work:fix_gapi_empty_input 2021-06-10 14:05:46 +03:00
gapi_gcomputation_tests.cpp Merge pull request #19322 from TolyaTalamanov:at/python-callbacks 2021-03-01 15:52:11 +00:00
gapi_gpu_test.cpp Move GKernelPackage to cv namespace 2021-12-24 18:04:11 +03:00
gapi_graph_meta_tests.cpp Merge pull request #20995 from mpashchenkov:mp/ocv-gapi-tdp-skip 2021-11-16 18:27:42 +00:00
gapi_kernel_tests.cpp Merge pull request #23109 from seanm:misc-warnings 2023-10-06 13:33:21 +03:00
gapi_mat_tests.cpp Merge pull request #25055 from dmatveev:dm/value_initialized_gmat 2024-03-06 17:15:49 +03:00
gapi_mock_kernels.hpp Merge pull request #14741 from rgarnov:gapi_fix_includes 2019-06-14 19:27:19 +03:00
gapi_opaque_tests.cpp Merge pull request #20922 from alexgiving:atrutnev/align_expect_assert_macros 2021-10-29 16:30:35 +00:00
gapi_plaidml_pipelines.cpp Add implementation in case plaidml isn't found 2020-06-22 00:46:41 +03:00
gapi_planar_test.cpp gapi(test): ban and get rid of countNonZero() checks 2020-02-26 14:19:19 +03:00
gapi_sample_pipelines.cpp Merge pull request #24845 from TolyaTalamanov:at/concurrent-executor 2024-01-30 17:01:50 +03:00
gapi_scalar_tests.cpp gapi(test): ban and get rid of countNonZero() checks 2020-02-26 14:19:19 +03:00
gapi_smoke_test.cpp gapi(test): ban and get rid of countNonZero() checks 2020-02-26 14:19:19 +03:00
gapi_transform_tests.cpp Move GKernelPackage to cv namespace 2021-12-24 18:04:11 +03:00
gapi_typed_tests.cpp Merge pull request #17871 from OrestChura:oc/typed_GArray_GMat 2020-07-28 14:20:36 +03:00
gapi_util_tests.cpp Merge pull request #21041 from sivanov-work:gin_gout_concept 2021-12-03 12:30:05 +00:00
opencl_kernels_test_gapi.hpp avoid kernel compile error on Arm SBCs 2020-07-06 18:27:19 +09:00
test_main.cpp Merge pull request #20995 from mpashchenkov:mp/ocv-gapi-tdp-skip 2021-11-16 18:27:42 +00:00
test_precomp.hpp Fix building opencv using gcc 11.x #19244 2021-01-02 17:43:11 +00:00