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

Added doc on frame differences + svm baseline for Replay attack DB

parent 1b69e386
Branches
Tags
1 merge request!3Frame differences based (motion analysis) PAD algorithm and corresponding doc
Pipeline #
......@@ -193,4 +193,52 @@ The ROC curves for the particular experiment can be downloaded from here:
------------
Frame differences based features (motion analysis) + SVM classifier
========================================================================
Detailed description of this PAD pipe-line is given at :ref:`bob.pad.face.resources.face_pad.frame_diff_svm_replayattack`.
To run this baseline on the `replayattack`_ database, using the ``grandtest`` protocol, execute the following:
.. code-block:: sh
$ ./bin/spoof.py frame-diff-svm \
--database replay --protocol grandtest --groups train dev eval \
--sub-directory <PATH_TO_STORE_THE_RESULTS>
.. tip::
Similarly to the tip above you can run this baseline in parallel.
To understand the settings of this baseline PAD experiment you can check the
corresponding configuration file: ``bob/pad/face/config/frame_diff_svm.py``
To evaluate the results computing EER, HTER and plotting ROC you can use the
following command:
.. code-block:: sh
./bin/evaluate.py \
--dev-files <PATH_TO_STORE_THE_RESULTS>/grandtest/scores/scores-dev \
--eval-files <PATH_TO_STORE_THE_RESULTS>/grandtest/scores/scores-eval \
--legends "10 features for each window in Frame Differences + SVM classifier + REPLAY-ATTACK database" \
-F 7 \
--criterion EER \
--roc <PATH_TO_STORE_THE_RESULTS>/ROC.pdf
The EER/HTER errors for `replayattack`_ database are summarized in the Table below:
+-------------------+----------+----------+
| Protocol | EER,\% | HTER,\% |
+===================+==========+==========+
| ``grandtest`` | 11.752 | 13.195 |
+-------------------+----------+----------+
The ROC curves for the particular experiment can be downloaded from here:
:download:`ROC curve <img/ROC_frame_diff_svm_replay_attack.pdf>`
------------
.. include:: links.rst
File added
......@@ -42,7 +42,7 @@ The configuration files contain at least the following arguments of the ``spoof.
.. _bob.pad.face.resources.face_pad.lbp_svm_replayattack:
LBP features of facial region + SVM for REPLAY-ATTACK
======================================================
================================================================================
.. automodule:: bob.pad.face.config.lbp_svm
:members:
......@@ -54,4 +54,13 @@ Image Quality Measures as features of facial region + SVM for REPLAY-ATTACK
================================================================================
.. automodule:: bob.pad.face.config.qm_svm
:members:
\ No newline at end of file
:members:
.. _bob.pad.face.resources.face_pad.frame_diff_svm_replayattack:
Frame differences based features (motion analysis) + SVM for REPLAY-ATTACK
================================================================================
.. automodule:: bob.pad.face.config.frame_diff_svm
:members:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment