verafinger.py 1.64 KB
Newer Older
1
#!/usr/bin/env python
2
3
# vim: set fileencoding=utf-8 :
# Mon 26 Sep 2016 17:21:42 CEST
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

"""`VERA Fingervein`_ is a database for biometric fingervein recognition

It consists of 440 images from 110 clients. It was produced at the Idiap
Research Institute in Martigny and at Haute Ecole Spécialisée de Suisse
Occidentale in Sion, in Switzerland. The reference citation is [TVM14]_.

You can download the raw data of the `VERA Fingervein`_ database by following
the link.

.. include:: links.rst
"""


from bob.bio.vein.database import VerafingerBioDatabase

verafinger_directory = "[YOUR_VERAFINGER_DIRECTORY]"
"""Value of ``~/.bob_bio_databases.txt`` for this database"""

André Anjos's avatar
André Anjos committed
23
24
25
26
database = VerafingerBioDatabase(
    original_directory = verafinger_directory,
    original_extension = '.png',
    )
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"""The :py:class:`bob.bio.base.database.BioDatabase` derivative with Verafinger
database settings

.. warning::

   This class only provides a programmatic interface to load data in an orderly
   manner, respecting usage protocols. It does **not** contain the raw
   datafiles. You should procure those yourself.

Notice that ``original_directory`` is set to ``[YOUR_VERAFINGER_DIRECTORY]``.
You must make sure to create ``${HOME}/.bob_bio_databases.txt`` setting this
value to the place where you actually installed the Verafinger Database, as
explained in the section :ref:`bob.bio.vein.baselines`.
"""

protocol = 'Nom'
"""The default protocol to use for tests

You may modify this at runtime by specifying the option ``--protocol`` on the
command-line of ``verify.py`` or using the keyword ``protocol`` on a
configuration file that is loaded **after** this configuration resource.
"""