Include gapi always equires openvino dll?

System information (version)
Detailed description

I apply OpenCV GAPI with the following simple image processing.

cv::gapi::convertTo();
cv::gapi::resize();
cv::gapi::blur();
cv::gapi::mul;

After compiling the c++ application, it requires the following dll to run:

inference_engine.dll
ngraph.dll
opencv_dnn454.dll
opencv_features2d454.dll
opencv_flann454.dll
inference_engine_transformations.dll

Are these dlls really used in such a simple GAPI graph?

Hi @carter54

You’re using the pre-built binaries which are compiled with Intel OpenVINO by default. So yes, while DNN & IE are not required to run your particular graph, that functionality is already present there (it is not dynamically loaded so far).

If you need a lighter-weight version, you can try to build OpenCV with OPENCV_GAPI_INF_ENGINE support set to OFF at CMake level.