admin管理员组

文章数量:1650771

项目:

​​​​​​https://github/mogvision/FFDhttps://github/mogvision/FFD

问题描述:用自己图片测试时报错没有txt文件。

原因猜测:他的txt文件应该是由FFD程序创建的,如果没有生成,那说明FFD执行出错了。

1、我直接运行FFD,发现确实报错了。可能是作者用到了OpenCV3.2来编译,而我电脑上装的是4.5版本,只有libopencv_calib3d.so.4.5。我重新下载了3.2.0版本并编译。

./FFD: error while loading shared libraries: libopencv_calib3d.so.3.2: cannot open shared object file: No such file or directory


2、“Ubuntu下多版本OpenCV共存和切换” 可参考:https://blog.csdn/learning_tortosie/article/details/80594399https://blog.csdn/learning_tortosie/article/details/80594399%E3%80%82%E5%A6%82%E6%9E%9C%E9%81%87%E5%88%B0%E5%AE%89%E8%A3%853.2%E6%8A%A5%E9%94%99%EF%BC%8C%E5%8F%AF%E5%8F%82%E8%80%83%EF%BC%9Ahttps://blog.csdn/goodxin_ie/article/details/82856008

如果遇到安装3.2报错,可参考:

ubuntu(linux)下安装openCV(ffmpeg导致的编译不通过的解决办法)_goodxin_ie的博客-CSDN博客  1.opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1313:21: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope         c->flags |= CODEC_FLAG_GLOBAL_HEADER;2.opencv-3.1.0...https://blog.csdn/goodxin_ie/article/details/82856008

3、安装完成后,参考这个issue添加路径:

https://github/cggos/DIPDemoQt/issues/1。https://github/cggos/DIPDemoQt/issues/1%E3%80%82

4、亲测可用~

本文标签: fastFFDDetectorfeature