小觅(MYNT-EYE-S-SDK)驱动安装 https://mynt-eye-s-sdk.readthedocs.io/zh_CN/latest/src/sdk/install_ros_wrapper.html 其中SDK在这里下载 https://github.com/slightech/MYNT-EYE-S-SDK
一、SDK源码安装
sudo apt-get install git
git clone https://github.com/slightech/MYNT-EYE-S-SDK.git
cd MYNT-EYE-S-SDK
make init
提前安装opencv
make install
make samples
./samples/_output/bin/camera_with_junior_device_api
二、QT配置环境 在之前qt配置好opencv的基础上 .pro中插入
INCLUDEPATH += /usr/local/include/mynteye
LIBS += /usr/local/lib/libmynteye.so
INCLUDEPATH += /usr/local/include
INCLUDEPATH += /usr/local/include/opencv2
INCLUDEPATH += /usr/local/include/opencv
LIBS += /usr/local/lib/libopencv_*.so
注意在qt的程序中加入引用头文件
#include "mynteye/api/api.h"
否则会出现错误error while loading shared libraries: libmynteye.so.2: cannot open shared object file: No such file
来自:https://blog.csdn.net/talender/article/details/86652311
|