Skip to content
Snippets Groups Projects
Commit 0c9964c4 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix docs

parent d7a3e017
Branches
Tags
1 merge request!127Fix deep-pix-bis, add more tests, update docs
Pipeline #61833 failed
...@@ -16,9 +16,6 @@ If you use this database, please cite the following publication:: ...@@ -16,9 +16,6 @@ If you use this database, please cite the following publication::
journal = {IEEE International Conference on Automatic Face and Gesture Recognition}, journal = {IEEE International Conference on Automatic Face and Gesture Recognition},
year = {2017}, year = {2017},
} }
.. include:: links.rst
""" """
from bob.pad.face.database import OulunpuPadDatabase from bob.pad.face.database import OulunpuPadDatabase
......
...@@ -10,8 +10,6 @@ link. After downloading, you can tell the bob library where the files are ...@@ -10,8 +10,6 @@ link. After downloading, you can tell the bob library where the files are
located using:: located using::
$ bob config set bob.db.replayattack.directory /path/to/replayattack/directory $ bob config set bob.db.replayattack.directory /path/to/replayattack/directory
.. include:: links.rst
""" """
from bob.pad.face.database import ReplayAttackPadDatabase from bob.pad.face.database import ReplayAttackPadDatabase
......
...@@ -24,8 +24,6 @@ evaluation. All the random splits are done 10 times to created 10 different ...@@ -24,8 +24,6 @@ evaluation. All the random splits are done 10 times to created 10 different
protocols. The PAD protocols contain only one type of attacks. For convenience, protocols. The PAD protocols contain only one type of attacks. For convenience,
PA_F and PA_V protocols are created for face and voice, respectively which PA_F and PA_V protocols are created for face and voice, respectively which
contain all the attacks. contain all the attacks.
.. include:: links.rst
""" """
from bob.pad.face.database import SwanPadDatabase from bob.pad.face.database import SwanPadDatabase
......
...@@ -77,7 +77,7 @@ Baselines on REPLAY-ATTACK database ...@@ -77,7 +77,7 @@ Baselines on REPLAY-ATTACK database
-------------------------------------- --------------------------------------
This section summarizes the results of baseline face PAD experiments on the This section summarizes the results of baseline face PAD experiments on the
REPLAY-ATTACK (`replayattack`_) database. The description of the REPLAY-ATTACK (`replay-attack`_) database. The description of the
database-related settings, which are used to run face PAD baselines on the database-related settings, which are used to run face PAD baselines on the
Replay-Attack is given here :ref:`bob.pad.face.resources.databases.replay`. To Replay-Attack is given here :ref:`bob.pad.face.resources.databases.replay`. To
understand the settings in more detail you can check the corresponding understand the settings in more detail you can check the corresponding
...@@ -205,26 +205,28 @@ Finally, you can evaluate this baseline using:: ...@@ -205,26 +205,28 @@ Finally, you can evaluate this baseline using::
which should give you:: which should give you::
[Min. criterion: EER ] Threshold on Development set `<OUTPUT>/scores-dev.csv`: 4.051177e-01 [Min. criterion: EER ] Threshold on Development set `<OUTPUT>/scores-dev.csv`: 4.326179e-01
=================== ============== ============== ====================== ============= ============
.. Development Evaluation .. Development Evaluation
=================== ============== ============== ====================== ============= ============
APCER (mattescreen) 4.7% 8.3% APCER (print/1) 0.6% 1.7%
APCER (print) 15.6% 18.8% APCER (print/2) 0.0% 4.2%
APCER_AP 15.6% 18.8% APCER (video_replay/1) 1.7% 0.0%
BPCER 10.0% 10.9% APCER (video_replay/2) 0.0% 0.8%
ACER 12.8% 14.8% APCER_AP 1.7% 4.2%
FTA 0.0% 0.0% BPCER 0.6% 0.0%
FPR 10.2% (26/256) 13.5% (26/192) ACER 1.1% 2.1%
FNR 10.0% (16/160) 10.9% (12/110) FTA 0.0% 0.0%
HTER 10.1% 12.2% FPR 0.6% (4/720) 1.7% (8/480)
FAR 10.2% 13.5% FNR 0.6% (1/180) 0.0% (0/120)
FRR 10.0% 10.9% HTER 0.6% 0.8%
PRECISION 0.8 0.8 FAR 0.6% 1.7%
RECALL 0.9 0.9 FRR 0.6% 0.0%
F1_SCORE 0.9 0.8 PRECISION 1.0 0.9
AUC 1.0 1.0 RECALL 1.0 1.0
AUC-LOG-SCALE 2.0 1.8 F1_SCORE 1.0 1.0
=================== ============== ============== AUC 1.0 1.0
AUC-LOG-SCALE 2.9 2.7
====================== ============= ============
.. include:: links.rst .. include:: links.rst
...@@ -43,7 +43,16 @@ Replay-Mobile Database ...@@ -43,7 +43,16 @@ Replay-Mobile Database
.. automodule:: bob.pad.face.config.replay_mobile .. automodule:: bob.pad.face.config.replay_mobile
:members: :members:
---------------------------------
.. _bob.pad.face.resources.databases.oulunpu:
OULU-NPU Database
================================================================================
.. automodule:: bob.pad.face.config.oulunpu
:members:
.. _bob.pad.face.resources.face_pad: .. _bob.pad.face.resources.face_pad:
...@@ -57,3 +66,5 @@ The configuration files contain at least the following arguments of the ...@@ -57,3 +66,5 @@ The configuration files contain at least the following arguments of the
``bob pad run-pipeline`` command: ``bob pad run-pipeline`` command:
* ``pipeline`` containing zero, one, or more Transformers and one Classifier * ``pipeline`` containing zero, one, or more Transformers and one Classifier
.. include:: links.rst
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment