diff options
Diffstat (limited to 'dynamic-layers/meta-python/recipes-opencv/dldt/dldt-model-optimizer_2020r1.bb')
| -rw-r--r-- | dynamic-layers/meta-python/recipes-opencv/dldt/dldt-model-optimizer_2020r1.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dynamic-layers/meta-python/recipes-opencv/dldt/dldt-model-optimizer_2020r1.bb b/dynamic-layers/meta-python/recipes-opencv/dldt/dldt-model-optimizer_2020r1.bb new file mode 100644 index 00000000..26068acc --- /dev/null +++ b/dynamic-layers/meta-python/recipes-opencv/dldt/dldt-model-optimizer_2020r1.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | SUMMARY = "OpenVINO Model Optimzer" | ||
| 2 | DESCRIPTION = "Model Optimizer is a cross-platform command-line tool that \ | ||
| 3 | facilitates the transition between the training and deployment \ | ||
| 4 | environment, performs static model analysis, and adjusts deep \ | ||
| 5 | learning models for optimal execution on end-point target devices." | ||
| 6 | HOMEPAGE = "https://01.org/openvinotoolkit" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/opencv/dldt.git;protocol=git;branch=2020 \ | ||
| 9 | " | ||
| 10 | SRCREV = "b2140c083a068a63591e8c2e9b5f6b240790519d" | ||
| 11 | |||
| 12 | LICENSE = "Apache-2.0" | ||
| 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
| 14 | |||
| 15 | CVE_PRODUCT = "intel:openvino" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | mkdir -p ${D}${datadir}/openvino/model-optimizer | ||
| 21 | cp -r model-optimizer ${D}${datadir}/openvino/ | ||
| 22 | } | ||
| 23 | |||
| 24 | RDEPENDS_${PN} += " \ | ||
| 25 | python3-numpy \ | ||
| 26 | python3-protobuf \ | ||
| 27 | python3-defusedxml \ | ||
| 28 | python3-networkx \ | ||
| 29 | python3-test-generator \ | ||
| 30 | bash \ | ||
| 31 | " | ||
| 32 | |||
| 33 | FILES_${PN} += "${datadir}/openvino" | ||
