FDDB评估工具使用

匿名 (未验证) 提交于 2019-12-03 00:22:01

1.首先下载evaluation文件:http://vis-www.cs.umass.edu/fddb/results.html

2.解压文件进入evaluation目录:输入命令make编译

3.编译不成功可能是因为存在链接问题:http://vis-www.cs.umass.edu/fddb/faq.html

按照文档提示进行修改,如果本地opencv已经配置pkg-config只需修改第二部分,按照提示调换一下编译顺序,不要直接拷贝

4.安装gunplot:sudo apt-get install gnuplot-x11

5.如果不需要ppm需要注释掉,修改evaluation文件夹里面的common.hpp:

#define __IMAGE_FORMAT__ ".jpg" //#define __IMAGE_FORMAT__ ".ppm" #define __CVLOADIMAGE_WORKING__

6.修改evaluation文件夹里面的runEvaluate.pl路径:

my $GNUPLOT = "/usr/bin/gnuplot";  # where the binary is my $evaluateBin = "evaluate";  # where the images are my $imDir = "../";  # where the folds are my $fddbDir = "../FDDB-folds";  # where the detections are my $detDir = "../sfd/"; 
7.路径修改完成之后重新编译即可
转载请标明出处:FDDB评估工具使用
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!