Skip to main content

This package is part of the signal-processing and machine learning toolbox Bob. It is a software package to reproduce “Evaluation Methodologies for Biometric Presentation Attack Detection” chapter of “Handbook of Biometric Anti- Spoofing: Presentation Attack Detection 2nd Edition”:

@INCOLLECTION{Chingovska_SPRINGER_2019,
         author = {Chingovska, Ivana and Mohammadi, Amir and Anjos, Andr{\'{e}} and Marcel, S{\'{e}}bastien},
         editor = {Marcel, S{\'{e}}bastien and Nixon, Mark and Fierrez, Julian and Evans, Nicholas},
          title = {Evaluation Methodologies for Biometric Presentation Attack Detection},
      booktitle = {Handbook of Biometric Anti-Spoofing},
        edition = {2nd},
        chapter = {20},
           year = {2019},
      publisher = {Springer International Publishing},
           isbn = {978-3-319-92627-8},
            url = {https://www.springer.com/us/book/9783319926261},
            doi = {10.1007/978-3-319-92627-8},
       crossref = {Chingovska_Idiap-Internal-RR-30-2018},
            pdf = {https://publidiap.idiap.ch/downloads//papers/2018/Chingovska_SPRINGER_2019.pdf}
}

Reproduction

The installation instructions are based on conda and works on Linux and MacOS systems only. Install conda before continuing.

Once you have installed conda, create a conda environment with the following command and activate it:

$ conda create --name bob.hobpad2.chapter20 --override-channels \
  -c https://www.idiap.ch/software/bob/conda -c defaults \
  bob.hobpad2.chapter20
$ conda activate bob.hobpad2.chapter20

This will install all the required software to reproduce this book chapter. Once installed, follow the commands below to generate the plots:

$ # To generate Figure 4:
$ bob measure gen generic_scores
$ bob measure hist generic_scores/scores-dev -o fig4.a.pdf
$ bob measure det generic_scores/scores-dev -o fig4.b.pdf --lines-at ' ' --no-disp-legend --titles ' '
$ bob measure epc generic_scores/scores-{dev,eval} -o fig4.c.pdf --titles ' ' --no-disp-legend -xl '$\beta$'
$ # To generate Figure 5:
$ bob vulnerability gen vuln_scores
$ bob vulnerability hist vuln_scores/{licit,spoof}/scores-dev -o fig5.a.pdf --no-iapmr-line
$ bob vulnerability hist vuln_scores/{licit,spoof}/scores-dev -o fig5.b.pdf --no-real-data
$ bob vulnerability det vuln_scores/{licit,spoof}/scores-dev -o fig5.c.pdf --fnmr 0.0214 --no-real-data --title ' '
$ bob vulnerability fmr_iapmr vuln_scores/{licit,spoof}/scores-{dev,eval} -o fig5.d.pdf --no-disp-legend --title ' '
$ bob vulnerability epc vuln_scores/{licit,spoof}/scores-{dev,eval} -o fig5.e.pdf --title ' '
$ bob vulnerability epsc vuln_scores/{licit,spoof}/scores-{dev,eval} -o fig5.f.pdf -nI --titles 'EPSC with $\beta = 0.50$' --no-disp-legend

Contact

For questions or reporting issues to this software package, contact our development mailing list.

Release files for bob.hobpad2.chapter20 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bob.hobpad2.chapter20 1.0.2
File Size Uploaded
bob.hobpad2.chapter20-1.0.2.zip 35.2 kB Details

Release files / bob.hobpad2.chapter20-1.0.2.zip

Download URL bob.hobpad2.chapter20-1.0.2.zip
Size 35.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aadea5c987f91f67dfcf833ea226c5bd36833f5053f6f6c3273e2df34e84086a
BLAKE2b-256 checksum
How to use checksums
2f516e38eda72651ef00bb348cb558dc197bfdd8b05d5e0807508f5161ce5b29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.1 setuptools/33.1.1.post20170713 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.1

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page