Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

SOLVED: Develop OpenVINO with QT

Küçük__Muhammet
1,546 Views

SOLUTION:

executable binary couldn't manage to bind with libcpu_extension.so derived from samples. so I added an argument to link with it at the end it works on qt without source'ing setupvars.

-l ~/omz_demos_build/intel64/Release/lib/libcpu_extension.so -m_det ~/Templates/person-detection-retail-0013.xml -m_reid ~/Templates/person-reidentification-retail-0031.xml -i ~/Videos/c.mkv 

Hello,

QT Version : 5.13.1
OS: Ubuntu 18.04
OpenVINO Version: 2019 R3

I'm trying to build "pedestrian_tracker_demo" from open_model_zoo with QT. Same project with QT haven't changed anything about it's code. I managed to build project but whenever I run the binary I get this error:

[ ERROR ] Unsupported primitive of type: PriorBoxClustered name: mbox1/priorbox

my pro file is like this:

CONFIG += c++11 console
CONFIG -= app_bundle

DEFINES += QT_DEPRECATED_WARNINGS

INCLUDEPATH += /opt/intel/openvino_2019.3.376/opencv/include
INCLUDEPATH += /opt/intel/openvino_2019.3.376/deployment_tools/inference_engine/include/
INCLUDEPATH += /opt/intel/openvino_2019.3.376/deployment_tools/inference_engine/external/tbb/include
INCLUDEPATH += /opt/intel/openvino_2019.3.376/deployment_tools/inference_engine/external/mkltiny_lnx/include

LIBS += -ldl
LIBS += -lgflags
LIBS += -L/opt/intel/openvino_2019.3.376/deployment_tools/inference_engine/external/tbb/lib \
#    -ltbb_debug \
#    -ltbbmalloc_debug \
    -ltbbmalloc \
    -ltbb
LIBS += -L/opt/intel/openvino_2019.3.376/deployment_tools/inference_engine/external/mkltiny_lnx/lib \
    -lmkl_tiny_tbb
LIBS += -L/opt/intel/openvino_2019.3.376/opencv/lib \
    -lopencv_calib3d \
    -lopencv_core \
    -lopencv_dnn \
    -lopencv_features2d \
    -lopencv_flann \
    -lopencv_gapi \
    -lopencv_highgui \
    -lopencv_imgcodecs \
    -lopencv_imgproc \
    -lopencv_ml \
    -lopencv_objdetect \
    -lopencv_photo \
    -lopencv_stitching \
    -lopencv_videoio_ffmpeg \
    -lopencv_videoio_gstreamer \
    -lopencv_videoio_intel_mfx \
    -lopencv_videoio \
    -lopencv_video

LIBS += -L/opt/intel/openvino_2019.3.376/deployment_tools/inference_engine/lib/intel64 \
    -lclDNNPlugin \
    -lcpu_extension_avx2 \
    -lcpu_extension_avx512 \
    -lcpu_extension_sse4 \
    -lGNAPlugin \
    -lHDDLPlugin \
    -lHeteroPlugin \
    -linference_engine \
    -lMKLDNNPlugin \
    -lMultiDevicePlugin \
    -lmyriadPlugin

 

0 Kudos
0 Replies
Reply