1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Make Intel's Inference Engine backend is default if no preferable backend is specified.

This commit is contained in:
Dmitry Kurtaev
2018-06-01 10:54:12 +03:00
parent 1822e85f4a
commit b781ac7346
45 changed files with 253 additions and 199 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ public:
virtual bool supportBackend(int backendId) CV_OVERRIDE
{
return backendId == DNN_BACKEND_DEFAULT ||
return backendId == DNN_BACKEND_OPENCV ||
backendId == DNN_BACKEND_HALIDE && haveHalide() ||
backendId == DNN_BACKEND_INFERENCE_ENGINE && haveInfEngine();
}