|
|
|
@ -291,12 +291,10 @@ OCV_OPTION(WITH_IPP "Include Intel IPP support" (NOT MINGW AND NOT CV_DISABLE_OP |
|
|
|
|
OCV_OPTION(WITH_HALIDE "Include Halide support" OFF |
|
|
|
|
VISIBLE_IF TRUE |
|
|
|
|
VERIFY HAVE_HALIDE) |
|
|
|
|
OCV_OPTION(WITH_INF_ENGINE "Include Intel Inference Engine support" OFF |
|
|
|
|
# replacement for deprecated options: WITH_INF_ENGINE, WITH_NGRAPH |
|
|
|
|
OCV_OPTION(WITH_OPENVINO "Include Intel OpenVINO toolkit support" (WITH_INF_ENGINE) |
|
|
|
|
VISIBLE_IF TRUE |
|
|
|
|
VERIFY INF_ENGINE_TARGET) |
|
|
|
|
OCV_OPTION(WITH_NGRAPH "Include nGraph support" WITH_INF_ENGINE |
|
|
|
|
VISIBLE_IF TRUE |
|
|
|
|
VERIFY TARGET ngraph::ngraph) |
|
|
|
|
VERIFY TARGET ocv.3rdparty.openvino) |
|
|
|
|
OCV_OPTION(WITH_JASPER "Include JPEG2K support" ON |
|
|
|
|
VISIBLE_IF NOT IOS |
|
|
|
|
VERIFY HAVE_JASPER) |
|
|
|
@ -764,7 +762,7 @@ if(WITH_HALIDE) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
# --- Inference Engine --- |
|
|
|
|
if(WITH_INF_ENGINE) |
|
|
|
|
if(WITH_INF_ENGINE OR WITH_OPENVINO) |
|
|
|
|
include(cmake/OpenCVDetectInferenceEngine.cmake) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
@ -1524,10 +1522,16 @@ if(WITH_HALIDE OR HAVE_HALIDE) |
|
|
|
|
status(" Halide:" HAVE_HALIDE THEN "YES (${HALIDE_LIBRARIES} ${HALIDE_INCLUDE_DIRS})" ELSE NO) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
if(WITH_INF_ENGINE OR INF_ENGINE_TARGET) |
|
|
|
|
if(HAVE_OPENVINO |
|
|
|
|
OR (WITH_OPENVINO AND NOT WITH_INF_ENGINE AND NOT INF_ENGINE_TARGET) |
|
|
|
|
) |
|
|
|
|
status(" OpenVINO:" TARGET openvino::runtime THEN "YES (${OpenVINO_VERSION})" ELSE "NO") |
|
|
|
|
else() |
|
|
|
|
if(WITH_INF_ENGINE OR INF_ENGINE_TARGET) |
|
|
|
|
if(INF_ENGINE_TARGET) |
|
|
|
|
list(GET INF_ENGINE_TARGET 0 ie_target) |
|
|
|
|
set(__msg "YES (${INF_ENGINE_RELEASE} / ${INF_ENGINE_VERSION})") |
|
|
|
|
ocv_get_imported_target(ie_target "${ie_target}") |
|
|
|
|
get_target_property(_lib ${ie_target} IMPORTED_LOCATION) |
|
|
|
|
get_target_property(_lib_imp_rel ${ie_target} IMPORTED_IMPLIB_RELEASE) |
|
|
|
|
get_target_property(_lib_imp_dbg ${ie_target} IMPORTED_IMPLIB_DEBUG) |
|
|
|
@ -1548,10 +1552,10 @@ if(WITH_INF_ENGINE OR INF_ENGINE_TARGET) |
|
|
|
|
else() |
|
|
|
|
status(" Inference Engine:" "NO") |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
if(WITH_NGRAPH OR HAVE_NGRAPH) |
|
|
|
|
endif() |
|
|
|
|
if(WITH_NGRAPH OR HAVE_NGRAPH) |
|
|
|
|
if(HAVE_NGRAPH) |
|
|
|
|
set(__target ngraph::ngraph) |
|
|
|
|
ocv_get_imported_target(__target ngraph::ngraph) |
|
|
|
|
set(__msg "YES (${ngraph_VERSION})") |
|
|
|
|
get_target_property(_lib ${__target} IMPORTED_LOCATION) |
|
|
|
|
get_target_property(_lib_imp_rel ${__target} IMPORTED_IMPLIB_RELEASE) |
|
|
|
@ -1573,6 +1577,7 @@ if(WITH_NGRAPH OR HAVE_NGRAPH) |
|
|
|
|
else() |
|
|
|
|
status(" nGraph:" "NO") |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
if(WITH_EIGEN OR HAVE_EIGEN) |
|
|
|
|