mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 00:10:21 +08:00
ebea65777f
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 |
||
---|---|---|
.. | ||
common | ||
cpu | ||
executor | ||
gpu | ||
infer | ||
internal | ||
oak | ||
own | ||
render | ||
rmat | ||
s11n | ||
streaming | ||
util | ||
gapi_array_tests.cpp | ||
gapi_async_test.cpp | ||
gapi_basic_hetero_tests.cpp | ||
gapi_compile_args_tests.cpp | ||
gapi_desc_tests.cpp | ||
gapi_fluid_parallel_rois_test.cpp | ||
gapi_fluid_resize_test.cpp | ||
gapi_fluid_roi_test.cpp | ||
gapi_fluid_test_kernels.cpp | ||
gapi_fluid_test_kernels.hpp | ||
gapi_fluid_test.cpp | ||
gapi_frame_tests.cpp | ||
gapi_gcompiled_tests.cpp | ||
gapi_gcomputation_tests.cpp | ||
gapi_gpu_test.cpp | ||
gapi_graph_meta_tests.cpp | ||
gapi_kernel_tests.cpp | ||
gapi_mat_tests.cpp | ||
gapi_mock_kernels.hpp | ||
gapi_opaque_tests.cpp | ||
gapi_plaidml_pipelines.cpp | ||
gapi_planar_test.cpp | ||
gapi_sample_pipelines.cpp | ||
gapi_scalar_tests.cpp | ||
gapi_smoke_test.cpp | ||
gapi_transform_tests.cpp | ||
gapi_typed_tests.cpp | ||
gapi_util_tests.cpp | ||
opencl_kernels_test_gapi.hpp | ||
test_main.cpp | ||
test_precomp.hpp |