meta-intel/dynamic-layers/openembedded-layer/recipes-support/opencv/open-model-zoo_2024.1.0.bb
Yogesh Tyagi 11c41c9a46 open-model-zoo : upgrade 2024.0.0 -> 2024.1.0
Release Notes:
https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2024.1.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-05-03 10:13:09 +08:00

55 lines
1.7 KiB
BlitzBasic

SUMMARY = "OpenVINO(TM) Toolkit - Open Model Zoo repository"
HOMEPAGE = "https://github.com/opencv/open_model_zoo"
DESCRIPTION = "This repository includes optimized deep learning \
models and a set of demos to expedite development of high-performance \
deep learning inference applications."
SRC_URI = "git://github.com/opencv/open_model_zoo.git;protocol=https;branch=master \
file://0001-use-oe-gflags.patch \
"
SRCREV = "cf5141dad2a4f24e1c5d5b9d43219ed804c48bbf"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
"
inherit cmake
S = "${WORKDIR}/git"
OECMAKE_SOURCEPATH = "${S}/demos"
DEPENDS += "openvino-inference-engine opencv gflags"
RDEPENDS:${PN} += " \
python3-decorator \
python3-defusedxml \
python3-networkx \
python3-protobuf \
python3-requests \
python3-pyyaml \
python3-numpy \
bash \
"
COMPATIBLE_HOST = '(x86_64).*-linux'
COMPATIBLE_HOST:libc-musl = "null"
EXTRA_OECMAKE += " \
-DENABLE_SAMPLES=ON \
"
do_install(){
install -d ${D}${libdir}
install -d ${D}${bindir}
install -d ${D}${datadir}/openvino/open-model-zoo/tools
install -d ${D}${datadir}/openvino/open-model-zoo/demos
cp -rf ${B}/intel64/Release/*.a ${D}${libdir}
cp -rf ${B}/intel64/Release/*_demo* ${D}${bindir}
cp -rf ${S}/models ${D}${datadir}/openvino/open-model-zoo
cp -rf ${S}/demos ${D}${datadir}/openvino/open-model-zoo
cp -rf ${S}/tools/model_tools ${D}${datadir}/openvino/open-model-zoo/tools
}
FILES:${PN} += "${datadir}/openvino"