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评估工具使用
文章来源: FDDB评估工具使用