Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2fc713bb
Commit
2fc713bb
authored
May 22, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11566 from mshabunin:allow-ie-force
parents
e1b96b6d
53a68783
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
OpenCVDetectInferenceEngine.cmake
cmake/OpenCVDetectInferenceEngine.cmake
+1
-1
CMakeLists.txt
modules/dnn/CMakeLists.txt
+1
-1
op_inf_engine.cpp
modules/dnn/src/op_inf_engine.cpp
+4
-0
op_inf_engine.hpp
modules/dnn/src/op_inf_engine.hpp
+3
-1
No files found.
cmake/OpenCVDetectInferenceEngine.cmake
View file @
2fc713bb
...
@@ -30,7 +30,7 @@ if(NOT INF_ENGINE_ROOT_DIR OR NOT EXISTS "${INF_ENGINE_ROOT_DIR}/include/inferen
...
@@ -30,7 +30,7 @@ if(NOT INF_ENGINE_ROOT_DIR OR NOT EXISTS "${INF_ENGINE_ROOT_DIR}/include/inferen
list
(
APPEND ie_root_paths
"
${
INTEL_CVSDK_DIR
}
/inference_engine"
)
list
(
APPEND ie_root_paths
"
${
INTEL_CVSDK_DIR
}
/inference_engine"
)
endif
()
endif
()
if
(
WITH_INF_ENGINE AND
NOT ie_root_paths
)
if
(
NOT ie_root_paths
)
list
(
APPEND ie_root_paths
"/opt/intel/deeplearning_deploymenttoolkit/deployment_tools/inference_engine"
)
list
(
APPEND ie_root_paths
"/opt/intel/deeplearning_deploymenttoolkit/deployment_tools/inference_engine"
)
endif
()
endif
()
...
...
modules/dnn/CMakeLists.txt
View file @
2fc713bb
...
@@ -80,7 +80,7 @@ else()
...
@@ -80,7 +80,7 @@ else()
set
(
sources_options EXCLUDE_OPENCL
)
set
(
sources_options EXCLUDE_OPENCL
)
endif
()
endif
()
if
(
WITH_INF_ENGINE AND
HAVE_INF_ENGINE
)
if
(
HAVE_INF_ENGINE
)
add_definitions
(
-DHAVE_INF_ENGINE=1
)
add_definitions
(
-DHAVE_INF_ENGINE=1
)
list
(
APPEND include_dirs
${
INF_ENGINE_INCLUDE_DIRS
}
)
list
(
APPEND include_dirs
${
INF_ENGINE_INCLUDE_DIRS
}
)
list
(
APPEND libs
${
INF_ENGINE_LIBRARIES
}
)
list
(
APPEND libs
${
INF_ENGINE_LIBRARIES
}
)
...
...
modules/dnn/src/op_inf_engine.cpp
View file @
2fc713bb
...
@@ -192,6 +192,10 @@ void InfEngineBackendNet::getName(char*, size_t) noexcept
...
@@ -192,6 +192,10 @@ void InfEngineBackendNet::getName(char*, size_t) noexcept
{
{
}
}
void
InfEngineBackendNet
::
getName
(
char
*
,
size_t
)
const
noexcept
{
}
size_t
InfEngineBackendNet
::
layerCount
()
noexcept
size_t
InfEngineBackendNet
::
layerCount
()
noexcept
{
{
return
layers
.
size
();
return
layers
.
size
();
...
...
modules/dnn/src/op_inf_engine.hpp
View file @
2fc713bb
...
@@ -46,7 +46,9 @@ public:
...
@@ -46,7 +46,9 @@ public:
virtual
InferenceEngine
::
InputInfo
::
Ptr
getInput
(
const
std
::
string
&
inputName
)
noexcept
CV_OVERRIDE
;
virtual
InferenceEngine
::
InputInfo
::
Ptr
getInput
(
const
std
::
string
&
inputName
)
noexcept
CV_OVERRIDE
;
virtual
void
getName
(
char
*
pName
,
size_t
len
)
noexcept
CV_OVERRIDE
;
virtual
void
getName
(
char
*
pName
,
size_t
len
)
noexcept
;
virtual
void
getName
(
char
*
pName
,
size_t
len
)
const
noexcept
;
virtual
size_t
layerCount
()
noexcept
CV_OVERRIDE
;
virtual
size_t
layerCount
()
noexcept
CV_OVERRIDE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment