commit | 2354fd550437a6a017439ce15e46c1c2aa7ab4a1 | [log] [tgz] |
---|---|---|
author | zongwave <[email protected]> | Mon Apr 01 09:21:50 2019 +0800 |
committer | Zong Wei <[email protected]> | Mon Apr 01 18:24:54 2019 +0800 |
tree | 4fa2fcde16e49d70d8fc58c3a6a7e42edb71821e | |
parent | cf02947a61da589d5fca5f0d1677a0ab276a88d3 [diff] |
dnn: abstract dnn inference engine class and derive object detection class * clone openvino inference engine git clone https://github.com/opencv/dldt.git * build openvino inference engien https://github.com/opencv/dldt/blob/2018/inference-engine/README.md * export openvino path to environment varibles $ export OPENVINO_IE_INC_PATH=${OPENVINO_INFERENCE_ENGINE_DIR} $ export OPENVINO_IE_LIBS_PATH=${OPENVINO_INFERENCE_ENGINE_DIR}/bin/intel64/Release/lib # NOTE: Fill in the ${OPENVINO_INFERENCE_ENGINE_DIR} - e.g. /home/usr/openvino/dldt/inference-engine/ * test command $ ./test-dnn-inference --input cars_on_road.jpg --model-file vehicle-detection-adas-0002.xml
Copyright (C) 2014-2019 Intel Corporation
libxcam core source code under the terms of Apache License, Version 2.0
libXCam is a project for extended camera features and focus on image quality improvement and video analysis. There are lots features supported in image pre-processing, image post-processing and smart analysis. This library makes GPU/CPU/ISP working together to improve image quality. OpenCL is used to improve performance in different platforms.
Environment variable settings
For different --prefix options, the environment variables may be different. Please set the environment variable according to the actual situation.
--prefix=/usr/local:
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0:$GST_PLUGIN_PATH
--prefix=/usr:
export LD_LIBRARY_PATH=/usr/lib/:$LD_LIBRARY_PATH export GST_PLUGIN_PATH=/usr/lib/gstreamer-1.0:$GST_PLUGIN_PATH
$ ./autogen.sh [options]
--prefix=PREFIX install architecture-independent files in PREFIX [default=/usr/local] --enable-debug enable debug, [default=no] --enable-profiling enable profiling, [default=no] --enable-drm enable drm buffer, [default=no] --enable-aiq enable Aiq 3A algorithm build, [default=no] --enable-gst enable gstreamer plugin build, [default=no] --enable-libcl enable libcl image processor, [default=yes] --enable-opencv enable opencv library, [default=no] --enable-capi enable libxcam-capi library, [default=no] --enable-docs build Doxygen documentation [default=no] --enable-3alib enable 3A lib build, [default=no] --enable-smartlib enable smart analysis lib build, [default=no] --enable-gles enable gles, [default=no] --enable-vulkan enable vulkan, [default=no] --enable-render enable 3D texture render, [default=no] --enable-dnn enable dnn inference, [default=no]
For example:
$ ./autogen.sh --prefix=/usr --enable-gst --enable-libcl --enable-opencv \ --enable-smartlib --enable-profiling --enable-gles --enable-render --enable-dnn
$ make
$ sudo make install