diff --git a/.travis.yml b/.travis.yml index 5e5dbef8ed0a06366f52d89e7aeab5ef484209ee..6abb5c6dfbd5691850cfc7a584158a8e2f853b14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,22 +16,19 @@ matrix: before_install: - sudo add-apt-repository -y ppa:biometrics/bob - sudo apt-get update -qq -- sudo apt-get install -qq --force-yes libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev libboost-all-dev libblitz1-dev libhdf5-serial-dev libvl-dev -- sudo apt-get install -qq --force-yes dvipng texlive-latex-base texlive-latex-extra texlive-math-extra -- sudo apt-get install -qq --force-yes libatlas-dev libatlas-base-dev liblapack-dev +- sudo apt-get install -qq --force-yes libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev libboost-all-dev libblitz1-dev libhdf5-serial-dev libvl-dev dvipng texlive-latex-base texlive-latex-extra texlive-math-extra libatlas-dev libatlas-base-dev liblapack-dev - if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq gfortran; fi - if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi - if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi -- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel scipy$SCIPYSPEC matplotlib==1.3.0 sphinx nose==1.3.0 -- pip install cpp-coveralls +- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel scipy$SCIPYSPEC matplotlib==1.3.0 sphinx nose==1.3.0 jinja2==2.6 coveralls install: - python bootstrap.py -- CFLAGS=-coverage ./bin/buildout +- ./bin/buildout script: - ./bin/python -c 'from bob.example.faceverify import get_config; print(get_config())' - ./bin/coverage run --source=bob.example.faceverify ./bin/nosetests -sv - ./bin/sphinx-build -b doctest doc sphinx - ./bin/sphinx-build -b html doc sphinx after_success: -- coveralls --build-root=`pwd` --exclude=src +- coveralls - ./src/bob.extension/scripts/upload-sphinx.sh diff --git a/README.rst b/README.rst index 5ab655960e9567e674386955c4c1d48ae8ac0e48..c860fcb60ad5734e80f8e61881a8ab6288fe35a0 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,22 @@ -Face verification using Bob -=========================== +.. vim: set fileencoding=utf-8 : +.. Manuel Guenther <manuel.guenther@idiap.ch> +.. Thu Sep 4 11:35:05 CEST 2014 + +.. image:: https://travis-ci.org/bioidiap/bob.example.faceverify.svg?branch=master + :target: https://travis-ci.org/bioidiap/bob.example.faceverify +.. image:: https://coveralls.io/repos/bioidiap/bob.example.faceverify/badge.png + :target: https://coveralls.io/r/bioidiap/bob.example.faceverify +.. image:: http://img.shields.io/github/tag/bioidiap/bob.example.faceverify.png + :target: https://github.com/bioidiap/bob.example.faceverify +.. image:: http://img.shields.io/pypi/v/bob.example.faceverify.png + :target: https://pypi.python.org/pypi/bob.example.faceverify +.. image:: http://img.shields.io/pypi/dm/bob.example.faceverify.png + :target: https://pypi.python.org/pypi/bob.example.faceverify + + +======================================= + Exemplary Face Verification Using Bob +======================================= .. note:: If you are reading this page through our GitHub portal and not through PyPI, note the development tip of the package may not be stable or become unstable in a matter of moments. @@ -9,7 +26,7 @@ Face verification using Bob Overview -------- -This example demonstrates how to use Bob to build different face verification systems. +This example demonstrates how to use Bob to build three different face verification systems. It includes examples with three different complexities: * A simple eigenface based example @@ -19,7 +36,7 @@ It includes examples with three different complexities: Requirements ------------ -To use this example, you will require Bob in version of at least 1.2.0. and the AT&T database. +To use this example, you will require the AT&T database. The AT&T database ................. @@ -28,18 +45,6 @@ Still, the results may not be meaningful. One good thing about the AT&T database is that it is freely available. You can download it from http://www.cl.cam.ac.uk/research/dtg/attarchive/facedatabase.html. -Bob -... -If you do not have a Bob version yet, or your Bob version is too old, you can get a new one from http://www.idiap.ch/software/bob. - -If your Bob version is not installed globally or not in the default path, you have to edit the *buildout.cfg* file in the root directory of this package. -In the ``[buildout]`` section, please add a line ``prefixes = <BOB_INSTALL_DIRECTORY>``, where ``<BOB_INSTALL_DIRECTORY>`` points to the root directory of your local Bob installation. - -.. note:: - If you are at Idiap, Bob is installed globally, so there is no need to specify the ``prefixes``, unless you want to use another version of it. - - - Download --------