This recipe builds the inference engine from opencv/dldt 2019 R1.1
release.
CPU and GPU plugins have been sanity tested to work using
classification_sample. Further fine-tuning is still needed to improve
the performance.
Original patch by Anuj Mittal.
Signed-off-by: Chin Huat Ang
off so opencv from system is used.
* Remove do_install and patch Makefiles instead to install libraries correctly.
Signed-off-by: Anuj Mittal
Signed-off-by: Chin Huat Ang
---
v2: fix clDNN plugin install directory
---
.../opencv/dldt-inference-engine_2019r1.1.bb | 75 --
.../opencv
-to-CMAKE_INSTALL_LIBDIR.patch
new file mode 100644
index 000..24feee2
--- /dev/null
+++
b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Install-clDNN-plugin-to-CMAKE_INSTALL_LIBDIR.patch
@@ -0,0 +1,27 @@
+From 1cc6ee3a1df0133e2ea7a4442bd05598a89958f6 Mon Sep 17 00:00:00 20
.
Signed-off-by: Chin Huat Ang
---
.../opencv/dldt-inference-engine_2019r2.bb | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git
a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r2.bb
b/dynamic-layers/openembedded
: SharedObjectLoaderTests.canLoadExistedPlugin
FAIL: SharedObjectLoaderTests.canFindExistedMethod
FAIL: SharedObjectLoaderTests.throwIfMethodNofFoundInLibrary
FAIL: SharedObjectLoaderTests.canCallExistedMethod
Signed-off-by: Chin Huat Ang
---
.../opencv/dldt-inference-engine_2019r2.bb | 2
VPU plugins are untested, temporarily disable them.
Signed-off-by: Chin Huat Ang
---
.../recipes-support/opencv/dldt-inference-engine_2019r2.bb| 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git
a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt
Inference engine is still downloading and building it's own copy of
mkl-dnn, so remove it from DEPENDS.
Signed-off-by: Chin Huat Ang
---
.../recipes-support/opencv/dldt-inference-engine_2019r2.bb | 1 -
1 file changed, 1 deletion(-)
diff --git
a/dynamic-layers/openembedded-
Refresh patches so that they apply cleanly on 2019r3.
Signed-off-by: Chin Huat Ang
---
.../opencv/dldt-inference-engine_2019r2.bb | 87 ---
.../opencv/dldt-inference-engine_2019r3.bb | 86 +++
...tall-clDNN-plugin-to-CMAKE_INSTALL_LIBDIR.patch | 27 ---
.../opencv
Debug build type.
Do not set CMAKE_INSTALL_LOCAL_ONLY as it is unused.
Signed-off-by: Chin Huat Ang
---
.../recipes-support/opencv/dldt-inference-engine_2019r3.bb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
a/dynamic-layers/openembedded-layer/recipes
Instead of letting clDNN build against intel_ocl_icd prebuilt binaries
under clDNN/common/intel_ocl_icd, configure cmake build to pick up
opencl-icd-loader headers and libraries from staging directory.
Do not set CMAKE_INSTALL_LOCAL_ONLY as it is unused.
Signed-off-by: Chin Huat Ang
Signed-off-by: Chin Huat Ang
---
.../opencv/dldt-inference-engine_2019r3.1.bb | 117 +
.../opencv/dldt-inference-engine_2019r3.bb | 117 -
2 files changed, 117 insertions(+), 117 deletions(-)
create mode 100644
dynamic-layers/openembedded
Signed-off-by: Chin Huat Ang
---
.../dldt/dldt-model-optimizer_2019r3.1.bb | 31 ++
.../dldt/dldt-model-optimizer_2019r3.bb| 31 --
2 files changed, 31 insertions(+), 31 deletions(-)
create mode 100644
dynamic-layers/meta-python
12 matches
Mail list logo