前言
作者 git 下来之后
安装Aruco Library
1、进入aruco-3.0.11 的build 2、修改makefie 文件 把五处路径/home/matheecs/Documents 改为 /home/pi/Documents 3、删除makechche.txt 4、 cmake.. make sudo make install
build aruco_pose_estimate
进入build 2、修改makefie 文件 把五处路径/home/matheecs/Documents 改为 /home/pi/Documents 3、删除makechche.txt 4、 cmake.. make
运行
cd ~/Documents/ArUco-Demo/aruco_pose_estimate ./build/aruco_pose_estimate camera_calibration.yml 0.105
问题
如果图像串口打开后马上关闭
把 (char)cv::waitKey(33)>=0 改为 cv::waitKey(33)>=0
找不到/dev/video0
安装原装摄像头之后 使用raspistill可以打开摄像头 但没有/dev/video0节点 原因 解决方法: 打开 /etc/modules 添加一行 bcm2835-v4l2 重启系统 OK