Git Product home page Git Product logo

unlinkability-metric's Introduction

Unlinkability Metrics

Implementation of the local and global unlinkability metrics for biometric template protection systems evaluation proposed in [TIFS18].

License

This work is licensed under license agreement provided by Hochschule Darmstadt (h_da-License).

Instructions

Dependencies

  • seaborn
  • numpy
  • pylab
  • matplotlib
  • argparse

Usage

  1. Run evaluateUnlinkability.py

    usage: evaluateUnlinkability.py [-h] [--omega [OMEGA]] [--nBins [NBINS]]
    								[--figureTitle [FIGURETITLE]]
    								[--legendLocation [LEGENDLOCATION]]
    								matedScoresFile nonMatedScoresFile figureFile
    
    Evaluate unlinkability for two given sets of mated and non-mated linkage
    scores.
    
    positional arguments:
      matedScoresFile       filename for the mated scores
      nonMatedScoresFile    filename for the non-mated scores
      figureFile            filename for the output figure
    
    optional arguments:
      -h, --help            show this help message and exit
      --omega [OMEGA]       omega value for the computations, if none provided,
    						omega = 1
      --nBins [NBINS]       number of bins for the computations, if none provided,
    						nBins = 100
      --figureTitle [FIGURETITLE]
    						title for the output figure
      --legendLocation [LEGENDLOCATION]
    						legend location
  2. Input: at least 3 score files (mated and non-mated score examples provided), and optionally other parameters of the computation and the formatting of the figure obtained as output.

    The score files are loaded with the built-in function numpy.fromfile(). An example in hdf5 format has been provided, but other formats, such as a txt file with all scores separated by blank spaces or one score per row, can be also used.

  3. Output: figure with score distributions, point-wise and global unlinkability metric results.

References

More details in:

  • [TIFS18] M. Gomez-Barrero, J. Galbally, C. Rathgeb, C. Busch, "General Framework to Evaluate Unlinkability in Biometric Template Protection Systems", in IEEE Trans. on Informations Forensics and Security, vol. 3, no. 6, pp. 1406-1420, June 2018.

Please remember to reference article [TIFS18] on any work made public, whatever the form, based directly or indirectly on these metrics.

unlinkability-metric's People

Contributors

mgbarrero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unlinkability-metric's Issues

OSError: Unable to open file (file signature not found)

the matedScores.hdf5 and nonMatedScores.hdf5 scores aren't loading in the jupyter notebook, i have tried cloning the repo, downloading the file with the 'Download' button and downloaded the zip file file of the repo.
The code I am using to open the files:

with h5py.File('matedScores.hdf5', 'r+') as f:
print(f"keys: {f.keys()}")

Unable to run code file in windows

I am using spyder from anaconda environment to run evaluateUnlinkability.py in windows. this is the error I am facing

runfile('C:/Users/Neha/Desktop/unlinkability-metric-master/evaluateUnlinkability.py', wdir='C:/Users/Neha/Desktop/unlinkability-metric-master')
usage: evaluateUnlinkability.py [-h] [--omega [OMEGA]] [--nBins [NBINS]]
[--figureTitle [FIGURETITLE]]
[--legendLocation [LEGENDLOCATION]]
matedScoresFile nonMatedScoresFile
evaluateUnlinkability.py: error: the following arguments are required: matedScoresFile, nonMatedScoresFile
An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

C:\Users\Neha\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py:2889: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

kindly instruct how to run code in this repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.