diff --git a/doc/baselines.rst b/doc/baselines.rst index d9236f053fa6f1d00a66c58d445c585796661872..e03611d5923e16ad269eb43b4cb58cbd377c0d77 100644 --- a/doc/baselines.rst +++ b/doc/baselines.rst @@ -141,9 +141,9 @@ The ROC curves for the particular experiment can be downloaded from here: :download:`ROC curve <img/ROC_lbp_svm_replay_attack.pdf>` - ------------ + Image Quality Measures as features of facial region + SVM classifier ======================================================================== @@ -249,6 +249,55 @@ The description of the database instance, which can be used to run face PAD expe here :ref:`bob.pad.face.resources.databases.replay_mobile`. +LBP features of facial region + SVM classifier +======================================================================== + +Detailed description of this PAD pipe-line is given at :ref:`bob.pad.face.resources.face_pad.lbp_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 lbp-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/lbp_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 "LBP features of facial region + 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`` | 13.814 | 17.174 | ++-------------------+----------+----------+ + +The ROC curves for the particular experiment can be downloaded from here: + +:download:`ROC curve <img/ROC_lbp_svm_replay_mobile.pdf>` + +------------ + + Image Quality Measures as features of facial region + SVM classifier ======================================================================== diff --git a/doc/img/ROC_lbp_svm_replay_mobile.pdf b/doc/img/ROC_lbp_svm_replay_mobile.pdf new file mode 100644 index 0000000000000000000000000000000000000000..d31c0e0d2247664593b98147ebe62fa8c5d9da69 Binary files /dev/null and b/doc/img/ROC_lbp_svm_replay_mobile.pdf differ