download.sh 1002 B

12345678910111213141516171819202122232425262728293031
  1. # All rights `PaddleDetection` reserved
  2. # References:
  3. # @TechReport{fddbTech,
  4. # author = {Vidit Jain and Erik Learned-Miller},
  5. # title = {FDDB: A Benchmark for Face Detection in Unconstrained Settings},
  6. # institution = {University of Massachusetts, Amherst},
  7. # year = {2010},
  8. # number = {UM-CS-2010-009}
  9. # }
  10. DIR="$( cd "$(dirname "$0")" ; pwd -P )"
  11. cd "$DIR"
  12. # Download the data.
  13. echo "Downloading..."
  14. # external link to the Faces in the Wild dataset and annotations file
  15. wget http://tamaraberg.com/faceDataset/originalPics.tar.gz
  16. wget http://vis-www.cs.umass.edu/fddb/FDDB-folds.tgz
  17. wget http://vis-www.cs.umass.edu/fddb/evaluation.tgz
  18. # Extract the data.
  19. echo "Extracting..."
  20. tar -zxf originalPics.tar.gz
  21. tar -zxf FDDB-folds.tgz
  22. tar -zxf evaluation.tgz
  23. # Generate full image path list and groundtruth in FDDB-folds:
  24. cd FDDB-folds
  25. cat `ls|grep -v"ellipse"` > filePath.txt && cat *ellipse* > fddb_annotFile.txt
  26. cd ..
  27. echo "------------- All done! --------------"