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

Added baseline doc for Frame Differences + SVM on Replay-Mobile DB

parent cd31364a
No related branches found
No related tags found
1 merge request!7Completed experiments for the Replay-Mobile and MSU MFSD DBs + HLDI's + updated preprocessors
......@@ -347,4 +347,54 @@ 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`.
Note, that the same PAD pipe-line was used to run experiments on the Replay-Attack database.
To run this baseline on the `Replay-Mobile`_ database, using the ``grandtest`` protocol, execute the following:
.. code-block:: sh
$ ./bin/spoof.py frame-diff-svm \
--database replay-mobile --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-Mobile database" \
-F 7 \
--criterion EER \
--roc <PATH_TO_STORE_THE_RESULTS>/ROC.pdf
The EER/HTER errors for the `Replay-Mobile`_ database are summarized in the Table below:
+-------------------+----------+----------+
| Protocol | EER,\% | HTER,\% |
+===================+==========+==========+
| ``grandtest`` | 10.801 | 10.414 |
+-------------------+----------+----------+
The ROC curves for the particular experiment can be downloaded from here:
:download:`ROC curve <img/ROC_frame_diff_svm_replay_mobile.pdf>`
------------
.. include:: links.rst
File added
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