diff --git a/meta-digi-dey/dynamic-layers/meta-ml/recipes-libraries/eiq-examples/eiq-examples_git.bb b/meta-digi-dey/dynamic-layers/meta-ml/recipes-libraries/eiq-examples/eiq-examples_git.bb new file mode 100644 index 000000000..127a68575 --- /dev/null +++ b/meta-digi-dey/dynamic-layers/meta-ml/recipes-libraries/eiq-examples/eiq-examples_git.bb @@ -0,0 +1,28 @@ +SUMMARY = "The eiq examples based on Tf-lite" +DESCRIPTION = "The eiq examples based on Tf-lite" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI = "${EIQ_EXAMPLES_SRC};branch=${SRCBRANCH}" +EIQ_EXAMPLES_SRC ?= "git://github.com/nxp-imx/eiq-example.git;protocol=https" +SRCBRANCH = "lf-6.1.1_1.0.0" +SRCREV = "798519ee033fb7a5aef989a793afe16f400d6479" + +S = "${WORKDIR}/git" + +do_install () { + # install scripts to /usr/bin + install -d ${D}${bindir}/${PN}-${PV}/ + cp ${S}/download_models.py ${D}${bindir}/${PN}-${PV}/ + cp -r ${S}/dms ${D}${bindir}/${PN}-${PV}/ + cp -r ${S}/face_recognition ${D}${bindir}/${PN}-${PV}/ + cp -r ${S}/image_classification ${D}${bindir}/${PN}-${PV}/ + cp -r ${S}/object_detection ${D}${bindir}/${PN}-${PV}/ + cp -r ${S}/gesture_detection ${D}${bindir}/${PN}-${PV}/ +} + +RDEPENDS:${PN} = "python3 python3-numpy python3-pillow python3-requests \ + python3-opencv python3-pillow tensorflow-lite" + +#Only support imx93 currently, will add other plantform support. +COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"