Skip to content
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

[BUG] Code in ssd.cpp result in compiling error #76

Open
xiaolul opened this issue Feb 20, 2022 · 0 comments
Open

[BUG] Code in ssd.cpp result in compiling error #76

xiaolul opened this issue Feb 20, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@xiaolul
Copy link

xiaolul commented Feb 20, 2022

Describe the bug
Code azure-percept-advanced-development/ssd.cpp at main · Microsoft/azure-percept-advanced-development (github.com) results in compile error when considering camera feed.

To Reproduce
recompile the azureeyemodule using the current code

Expected behavior
no compile error

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
We modified the following to make it work:

// before: auto pipeline = graph.compileStreaming(cv::compile_args(networks, kernels, cv::gapi::mx::mvcmdFile{ this->mvcmd })); 
auto pipeline = graph.compileStreaming(cv::gapi::mx::Camera::params(), cv::compile_args(networks, kernels, cv::gapi::mx::mvcmdFile{ this->mvcmd }));
...
// before: pipeline.setSource<cv::gapi::wip::GCaptureSource>(video_file_path);
pipeline.setSource(cv::gapi::wip::make_src<cv::gapi::mx::Camera>()); 
...
// before: pipeline.setSource<cv::gapi::wip::GCaptureSource>(0); 
pipeline.setSource(cv::gapi::wip::make_src<cv::gapi::mx::Camera>());
@xiaolul xiaolul added the bug Something isn't working label Feb 20, 2022
@xiaolul xiaolul changed the title [BUG] [BUG] Code in ssd.cpp result in compiling error Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants