-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port G-API demos to API2.0 - background_subtraction_demo/cpp_gapi #3903
base: master
Are you sure you want to change the base?
Port G-API demos to API2.0 - background_subtraction_demo/cpp_gapi #3903
Conversation
.github/workflows/cpp_gapi-demos.yml
Outdated
with: | ||
repository: opencv/opencv | ||
path: cache/opencv | ||
name: Clone and checkout OpenCV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To test this PR in OpenCV : opencv/opencv#24938.
Will be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To also test this PR in OpenCV : opencv/opencv#25508.
Will be removed.
c4f5c76
to
e036f72
Compare
This PR should be merged after this one opencv/opencv#24938. |
54f13fe
to
23c8a75
Compare
23c8a75
to
0049139
Compare
@@ -241,6 +241,8 @@ int main(int argc, char* argv[]) { | |||
} else { | |||
presenter.handleKey(key); | |||
} | |||
} else { | |||
cv::imwrite("./background-substr-out.jpg", output); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be removed.
Ticket:
103104
Description:
G-API Background Subtraction Demo, Classification Benchmark C++ G-API Demo, G-API Gaze Estimation Demo and other - fail on NPU with the following error:
dynamic shape issues
Conclusion: We need to port the G-API demos to API2.0 to make them work.
Affected demos:
[ ERROR ] OpenCV(4.8.0-dev) ..\modules\gapi\src\backends\ov\govbackend.cpp:799: error: (-215:Assertion failed) cv::util::holds_alternativecv::GMatDesc(input_meta) in function 'cv::gimpl::ov::PrePostProcWrapper::cfgPreProcessing' - WIP
Also needs the following change to be merge to OpenCV repo: