Skip to content
Snippets Groups Projects
Commit 42890572 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Added doc for Replay-attack DB to resources section

parent 5c5ce25e
1 merge request!3Frame differences based (motion analysis) PAD algorithm and corresponding doc
Pipeline #
#!/usr/bin/env python
"""`Replayattack`_ is a database for face PAD experiments.
The Replay-Attack Database for face spoofing consists of 1300 video clips of photo and video attack attempts to 50 clients,
under different lighting conditions. This Database was produced at the Idiap Research Institute, in Switzerland.
The reference citation is [CAM12]_.
You can download the raw data of the `Replayattack`_ database by following
the link.
.. include:: links.rst
"""
from bob.pad.face.database import ReplayPadDatabase
# Directory where the data files are stored.
# This directory is given in the .bob_bio_databases.txt file located in your home directory
original_directory = "[YOUR_REPLAY_ATTACK_DIRECTORY]"
"""Value of ``~/.bob_bio_databases.txt`` for this database"""
original_extension = ".mov" # extension of the data files
......@@ -15,3 +29,17 @@ database = ReplayPadDatabase(
original_extension=original_extension,
training_depends_on_protocol=True,
)
"""The :py:class:`bob.pad.base.database.PadDatabase` derivative with Replayattack
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
data files. You should procure those yourself.
Notice that ``original_directory`` is set to ``[YOUR_REPLAY_ATTACK_DIRECTORY]``.
You must make sure to create ``${HOME}/.bob_bio_databases.txt`` setting this
value to the place where you actually installed the Replayattack Database, as
explained in the section :ref:`bob.pad.face.baselines`.
"""
\ No newline at end of file
......@@ -10,19 +10,27 @@ This section contains a listing of all ready-to-use resources you can find in
this package.
---------------------------------
.. _bob.pad.face.resources.databases:
Databases
------------
These configuration files/resources contain entry points for the ``--database`` command line argument of the
``spoof.py`` script.
.. _bob.pad.face.resources.databases.replay:
Replay-attack Database
================================================================================
.. automodule:: bob.pad.face.config.database.replay
:members:
---------------------------------
.. _bob.pad.face.resources.face_pad:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment