download.sh 1003 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# All rights `PaddleDetection` reserved
# References:
#   @TechReport{fddbTech,
#      author = {Vidit Jain and Erik Learned-Miller},
#      title =  {FDDB: A Benchmark for Face Detection in Unconstrained Settings},
#      institution =  {University of Massachusetts, Amherst},
#      year = {2010},
#      number = {UM-CS-2010-009}
#   }

DIR="$( cd "$(dirname "$0")" ; pwd -P )"
cd "$DIR"

# Download the data.
echo "Downloading..."
# external link to the Faces in the Wild data set and annotations file
17
wget http://tamaraberg.com/faceDataset/originalPics.tar.gz
18 19 20 21 22 23 24 25 26 27 28 29 30 31
wget http://vis-www.cs.umass.edu/fddb/FDDB-folds.tgz
wget http://vis-www.cs.umass.edu/fddb/evaluation.tgz

# Extract the data.
echo "Extracting..."
tar -zxf originalPics.tar.gz
tar -zxf FDDB-folds.tgz
tar -zxf evaluation.tgz

# Generate full image path list and groundtruth in FDDB-folds:
cd FDDB-folds
cat `ls|grep -v"ellipse"` > filePath.txt && cat *ellipse* > fddb_annotFile.txt
cd ..
echo "-------------   All done!   --------------"