Open xiaolul opened 2 years ago
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>());
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: