File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
demos/background_subtraction_demo/cpp_gapi Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2727#include < opencv2/gapi/gstreaming.hpp>
2828#include < opencv2/gapi/imgproc.hpp>
2929#include < opencv2/gapi/infer.hpp>
30- #include < opencv2/gapi/infer/ie .hpp>
30+ #include < opencv2/gapi/infer/ov .hpp>
3131#include < opencv2/gapi/own/assert.hpp>
3232#include < opencv2/gapi/streaming/source.hpp>
3333#include < opencv2/gapi/util/optional.hpp>
@@ -147,13 +147,13 @@ int main(int argc, char* argv[]) {
147147 auto config = ConfigFactory::getUserConfig (FLAGS_d, FLAGS_nireq, FLAGS_nstreams, FLAGS_nthreads);
148148 // clang-format off
149149 const auto net =
150- cv::gapi::ie ::Params<cv::gapi::Generic>{
150+ cv::gapi::ov ::Params<cv::gapi::Generic>{
151151 model->getName (),
152152 FLAGS_m, // path to topology IR
153153 fileNameNoExt (FLAGS_m) + " .bin" , // path to weights
154154 FLAGS_d // device specifier
155155 }.cfgNumRequests (config.maxAsyncRequests )
156- .pluginConfig (config.getLegacyConfig ());
156+ .cfgPluginConfig (config.getLegacyConfig ());
157157 // clang-format on
158158
159159 slog::info << " The background matting model " << FLAGS_m << " is loaded to " << FLAGS_d << " device."
You can’t perform that action at this time.
0 commit comments