Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pad.face
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pad.face
Commits
42890572
There was a problem fetching the pipeline summary.
Commit
42890572
authored
7 years ago
by
Olegs NIKISINS
Browse files
Options
Downloads
Patches
Plain Diff
Added doc for Replay-attack DB to resources section
parent
5c5ce25e
Loading
Loading
1 merge request
!3
Frame differences based (motion analysis) PAD algorithm and corresponding doc
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/pad/face/config/database/replay.py
+28
-0
28 additions, 0 deletions
bob/pad/face/config/database/replay.py
doc/resources.rst
+10
-2
10 additions, 2 deletions
doc/resources.rst
with
38 additions
and
2 deletions
bob/pad/face/config/database/replay.py
+
28
−
0
View file @
42890572
#!/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
This diff is collapsed.
Click to expand it.
doc/resources.rst
+
10
−
2
View file @
42890572
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment