eiq-examples: add eiq tools
Backport EIQ examples recipe from NXP's lf-6.1.1_1.0.0 release (Langdale based) https://onedigi.atlassian.net/browse/DEL-8137 https://onedigi.atlassian.net/browse/DEL-8563 Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
130a5c796c
commit
4f659d2094
|
|
@ -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)"
|
||||||
Loading…
Reference in New Issue