GithubHelp home page GithubHelp logo

martlgap / xqlfw Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 1.0 14.21 MB

Repo for our Paper: Cross Quality LFW: A database for Analyzing Cross-Resolution Image Face Recognition in Unconstrained Environments

Home Page: https://martlgap.github.io/xqlfw

License: MIT License

Python 100.00%
database facerecognition face recognition verification dataset evaluation protocol lfw

xqlfw's Introduction

Cross-Quality Labeled Faces in the Wild (XQLFW)

Code style: black Downloads License Last Commit

Here, we release the database, evaluation protocol and code for the following paper:

๐Ÿ“‚ Database and Evaluation Protocol

If you are interested in our Database and Evaluation Protocol please visit our website.

๐Ÿ’ป Code

We provide the code to calculate the accuracy for face recognition models on the XQLFW evaluation protocol.

๐Ÿฅฃ Requirements

Python 3.8

๐Ÿš€ How to use

  1. Download the database and evaluation protocol here
  2. Inference the images and save the embeddings and labels to a numpy file (*.npy) according to:
    [[pair1_img1_embed, pair1_img2_embed, pair2_img1_embed, pair2_img2_embed, ...], 
    [True, True, False, ...]]
  3. Run the evaluate.py code with --source_embedding argument containing the absolute path to a directory containing your embedding .npy files:
    python evaluate.py --source_embeddings="path/to/your/folder" --csv --save
    • Use the flag --csv if you want to get the results displayed in csv instead of a table.
    • Use the flag --save to save the results into the source_embedding directory.
  4. See the results and enjoy!

๐Ÿ“– Cite

If you use our code please consider citing:

@inproceedings{knoche2021xqlfw,
  author={Knoche, Martin and Hoermann, Stefan and Rigoll, Gerhard},
  booktitle={2021 16th IEEE International Conference on Automatic Face and Gesture Recognition (FG 2021)}, 
  title={Cross-Quality LFW: A Database for Analyzing Cross- Resolution Image Face Recognition in Unconstrained Environments}, 
  year={2021},
  volume={},
  number={},
  pages={1-5},
  doi={10.1109/FG52635.2021.9666960}
}

and maybe also:

@TechReport{LFWTech,
  author={Gary B. Huang and Manu Ramesh and Tamara Berg
    and Erik Learned-Miller},
  title={Labeled Faces in the Wild: A Database for Studying
    Face Recognition in Unconstrained Environments},
  institution={University of Massachusetts, Amherst},
  year={2007},
  number={07-49},
  month={October}
}

@TechReport{LFWTechUpdate,
  author={Huang, Gary B and Learned-Miller, Erik},
  title={Labeled Faces in the Wild: Updates and New
    Reporting Procedures},
  institution={University of Massachusetts, Amherst},
  year={2014},
  number={UM-CS-2014-003},
  month={May}
}

โœ‰๏ธ Contact

For any inquiries, please open an issue on GitHub or send an E-Mail to: [email protected]

xqlfw's People

Contributors

martlgap avatar

Stargazers

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

Watchers

 avatar

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.