This example demonstrates the capablity of AM57x for video analytics. It builds on Qt and utilizes various IP blocks on AM57x:
* Capture Driver: v4l2 camera capture * Open CV on A15: gesture recognition * Open CL for C66x: wave simulation algorithm * Open GL for SGX: hardware accelerated graphics rendering * Display Driver: DSS for display <br> Signed-off-by: Jacob Stiffler <j-stiff...@ti.com> --- .../qt-opencv-opencl-opengl-multithreaded_git.bb | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 meta-arago-extras/recipes-demo-applications/video-analytics-demo/qt-opencv-opencl-opengl-multithreaded_git.bb diff --git a/meta-arago-extras/recipes-demo-applications/video-analytics-demo/qt-opencv-opencl-opengl-multithreaded_git.bb b/meta-arago-extras/recipes-demo-applications/video-analytics-demo/qt-opencv-opencl-opengl-multithreaded_git.bb new file mode 100644 index 0000000..6785bdc --- /dev/null +++ b/meta-arago-extras/recipes-demo-applications/video-analytics-demo/qt-opencv-opencl-opengl-multithreaded_git.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "A simple multithreaded OpenCV example application using the Qt framework" +HOMEPAGE = "https://github.com/devernay/qt-opencv-multithreaded" +SECTION = "multimedia" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=e28b998056a1a513e87be11c5045e85b" + +DEPENDS += "opencv opencl virtual/egl ti-cgt6x-native clocl-native dsplib-c66x" + +COMPATIBLE_MACHINE = "dra7xx" + +PV = "1.3.3" +PR = "r1" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/apps/qt-opencv-opencl-opengl-multithreaded.git;protocol=git;branch=${BRANCH}" + +SRCREV = "f679a74230dbf7ace66ef06f79e02ac9abfc7d58" + +S = "${WORKDIR}/git" + +inherit qt-provider + +export TARGET_ROOTDIR = "${STAGING_DIR_HOST}" +export TI_OCL_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +export TI_DSPLIB_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-dsplib-c66x-tree" + +do_compile() { + cd ${S} + oe_runmake -f oclMakefile + cd - + oe_runmake +} + +do_install() { + install -d ${D}/usr/bin + install -m 755 qt-opencv-opencl-opengl-multithreaded ${D}/usr/bin/qt-opencv-opencl-opengl-multithreaded +} + +RDEPENDS_${PN} += "opencv opencl-runtime" -- 1.9.1 _______________________________________________ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago