我正在尝试使用https://github.com/pjreddie/darknet从视频文件中检测对象。我为opencv安装了libopencv-dev。我把opencv4=1设为Makefile。
运行这段代码。./darknet detector demo cfg/coco.data cfg/yolo-tiny-obj.cfg yolov3.weights data/1.mp4与got误差Demo needs OpenCV for webcam images.
有人能帮我吗?谢谢。
发布于 2021-09-13 07:13:18
。
make clean
makegit clone https://github.com/opencv/opencv
cd opencv
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j7
sudo make install在重新编译黑网之后
make clean
makehttps://stackoverflow.com/questions/69151313
复制相似问题