File tree 1 file changed +3
-3
lines changed
demos/background_subtraction_demo/cpp_gapi
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 27
27
#include < opencv2/gapi/gstreaming.hpp>
28
28
#include < opencv2/gapi/imgproc.hpp>
29
29
#include < opencv2/gapi/infer.hpp>
30
- #include < opencv2/gapi/infer/ie .hpp>
30
+ #include < opencv2/gapi/infer/ov .hpp>
31
31
#include < opencv2/gapi/own/assert.hpp>
32
32
#include < opencv2/gapi/streaming/source.hpp>
33
33
#include < opencv2/gapi/util/optional.hpp>
@@ -147,13 +147,13 @@ int main(int argc, char* argv[]) {
147
147
auto config = ConfigFactory::getUserConfig (FLAGS_d, FLAGS_nireq, FLAGS_nstreams, FLAGS_nthreads);
148
148
// clang-format off
149
149
const auto net =
150
- cv::gapi::ie ::Params<cv::gapi::Generic>{
150
+ cv::gapi::ov ::Params<cv::gapi::Generic>{
151
151
model->getName (),
152
152
FLAGS_m, // path to topology IR
153
153
fileNameNoExt (FLAGS_m) + " .bin" , // path to weights
154
154
FLAGS_d // device specifier
155
155
}.cfgNumRequests (config.maxAsyncRequests )
156
- .pluginConfig (config.getLegacyConfig ());
156
+ .cfgPluginConfig (config.getLegacyConfig ());
157
157
// clang-format on
158
158
159
159
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