diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2021-09-01 09:18:02 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-09-01 10:16:19 +0800 |
commit | bfc685697de7eb1e88ebdcaa3dc196af3daa91b4 (patch) | |
tree | 081f0ecc7b5b61d2f15ca6b53b6a8b9f27aa0a2d /dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2021.4.bb | |
parent | a9c7df9131617dab607768f6b5f9ecc01439660f (diff) | |
download | meta-intel-bfc685697de7eb1e88ebdcaa3dc196af3daa91b4.tar.gz |
open-model-zoo: upgrade 2021.3 -> 2021.4
https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2021.4
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2021.4.bb')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2021.4.bb | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2021.4.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2021.4.bb new file mode 100644 index 00000000..b68e0641 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2021.4.bb | |||
@@ -0,0 +1,66 @@ | |||
1 | SUMMARY = "OpenVINO(TM) Toolkit - Open Model Zoo repository" | ||
2 | HOMEPAGE = "https://github.com/opencv/open_model_zoo" | ||
3 | DESCRIPTION = "This repository includes optimized deep learning \ | ||
4 | models and a set of demos to expedite development of high-performance \ | ||
5 | deep learning inference applications." | ||
6 | |||
7 | SRC_URI = "git://github.com/opencv/open_model_zoo.git;protocol=git;branch=master \ | ||
8 | file://0001-use-oe-gflags.patch \ | ||
9 | " | ||
10 | |||
11 | SRCREV = "e37a163a2385d9ddaa8e3da1ccb50c80d4fa0802" | ||
12 | |||
13 | LICENSE = "Apache-2.0" | ||
14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \ | ||
15 | " | ||
16 | |||
17 | inherit cmake | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | OECMAKE_SOURCEPATH = "${S}/demos" | ||
21 | |||
22 | DEPENDS += "openvino-inference-engine opencv gflags" | ||
23 | |||
24 | RDEPENDS:${PN} += " \ | ||
25 | python3-decorator \ | ||
26 | python3-defusedxml \ | ||
27 | python3-networkx \ | ||
28 | python3-protobuf \ | ||
29 | python3-test-generator \ | ||
30 | python3-requests \ | ||
31 | python3-pyyaml \ | ||
32 | python3-numpy \ | ||
33 | bash \ | ||
34 | " | ||
35 | |||
36 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
37 | |||
38 | EXTRA_OECMAKE += " \ | ||
39 | -DIE_MAIN_SOURCE_DIR=${B} \ | ||
40 | -DENABLE_SAMPLES=ON \ | ||
41 | -DIE_INCLUDE_DIR=${STAGING_EXECPREFIXDIR} \ | ||
42 | -DIE_RELEASE_LIBRARY=${STAGING_LIBDIR}/libinference_engine.so \ | ||
43 | -DIE_C_API_RELEASE_LIBRARY=${STAGING_LIBDIR}/libinference_engine_c_api.so \ | ||
44 | -DIE_LEGACY_RELEASE_LIBRARY=${STAGING_LIBDIR}/libinference_engine_legacy.so \ | ||
45 | -DIE_NN_BUILDER_RELEASE_LIBRARY=${STAGING_LIBDIR}/libinference_engine_nn_builder.so \ | ||
46 | -DIE_ROOT_DIR=${WORKDIR}/InferenceEngine \ | ||
47 | " | ||
48 | |||
49 | do_configure:prepend(){ | ||
50 | mkdir -p ${WORKDIR}/InferenceEngine/share | ||
51 | cp ${STAGING_LIBDIR}/cmake/InferenceEngine/* ${WORKDIR}/InferenceEngine/share/ | ||
52 | } | ||
53 | |||
54 | do_install(){ | ||
55 | install -d ${D}${libdir} | ||
56 | install -d ${D}${bindir} | ||
57 | install -d ${D}${datadir}/openvino/open-model-zoo/tools | ||
58 | install -d ${D}${datadir}/openvino/open-model-zoo/demos | ||
59 | cp -rf ${WORKDIR}/build/intel64/Release/lib/*.a ${D}${libdir} | ||
60 | cp -rf ${WORKDIR}/build/intel64/Release/*_demo* ${D}${bindir} | ||
61 | cp -rf ${WORKDIR}/git/models ${D}${datadir}/openvino/open-model-zoo | ||
62 | cp -rf ${WORKDIR}/git/demos ${D}${datadir}/openvino/open-model-zoo | ||
63 | cp -rf ${WORKDIR}/git/tools/downloader ${D}${datadir}/openvino/open-model-zoo/tools | ||
64 | } | ||
65 | |||
66 | FILES:${PN} += "${datadir}/openvino" | ||