![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OPENCV
LikeShadows
后来你成熟了,可也不爱笑了
展开
-
open VIDEOIO(V4L2:/dev/video0): can‘t open camera by index
在 linux 下运行 opencv 使用摄像头采集图像时,弹出这个错误:网上各种找,各种试,都不行,最后还是请教大佬,说是修改下 USB 的兼容性,修改为 3.x 就可以了:修改完后,再运行代码,可以正常使用了:...原创 2021-09-09 15:02:39 · 7218 阅读 · 1 评论 -
OEPNCV_摄像头采集显示
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <stdlib.h>#include <unistd.h>#include <sys/ioctl.h>#include <linux/videodev2.h>#include <string.h>#includ原创 2021-07-07 15:41:01 · 126 阅读 · 0 评论 -
OPENCV 安装踩坑历程
OPENCV 踩坑历程1. 编译源码脚本#!/bin/shCur_Dir=$(pwd)echo $Cur_Direxport ZYNQ_CV_BUILD=/opt/alinx/opencv_host_libexport LD_LIBRARY_PATH=$ZYNQ_CV_BUILD/lib:${LD_LIBRARY_PATH}export C_INCLUDE_PATH=$ZYNQ_CV_BUILD/include:${C_INCLUDE_PATH}export CPLUS_INCLUDE_原创 2021-07-07 15:28:54 · 317 阅读 · 0 评论