๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
Skip to content

IrvingMeng/SecureVector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SecureVector

A official implementation of SecureVector Towards Privacy-Preserving, Real-Time and Lossless Feature Matching and involved baselines of template protection.

Usage

  1. Download data for lfw/cfp/agedb from Gdrive or BaiduDrive.

  2. Download IJB from BaiduDrive part1 and part2. Merge them by command cat data2a* > data2.tar.

  3. Extract them in the root directory. You should have the following structure:

    Note: Features are extracted by MagFace. Replace the feat.list if you use another model.

    data/
    โ”œโ”€โ”€ agedb
    โ”‚ โ”œโ”€โ”€ agedb_feat.list
    โ”‚ โ””โ”€โ”€ pair.list
    โ”œโ”€โ”€ cfp
    โ”‚ โ”œโ”€โ”€ cfp_feat.list
    โ”‚ โ””โ”€โ”€ pair.list
    โ”œโ”€โ”€ ijb
    โ”‚ โ”œโ”€โ”€ ijbb_feat.list
    โ”‚ โ”œโ”€โ”€ ijbc_feat.list
    โ”‚ โ””โ”€โ”€ meta
    โ”‚     โ”œโ”€โ”€ ijbb_face_tid_mid.txt
    โ”‚     โ”œโ”€โ”€ ijbb_template_pair_label.txt
    โ”‚     โ”œโ”€โ”€ ijbc_face_tid_mid.txt
    โ”‚     โ””โ”€โ”€ ijbc_template_pair_label.txt
    โ””โ”€โ”€ lfw
    โ”œโ”€โ”€ lfw_feat.list
    โ””โ”€โ”€ pair.list
  1. Run evaluations on the face task by:
    # [key] for method
        # 0. baseline
        # 1. SecureVector [1]
        # 2. ase [2]
        # 3. ironmask [3]
        # 4. sfm [4]

    export key=1 

    # LFW/CFP/AgeDB
    eval/eval1.sh $key  

    # IJB
    eval/evalibjx.sh $key

References

[1] Qiang Meng, el al, "Towards Privacy-Preserving, Real-Time and Lossless Feature Matching", arXiv 2022.

[2] Dusmanu, Mihai, et al. "Privacy-preserving image features via adversarial affine subspace embeddings." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2021.

[3] Kim, Sunpill, et al. "Ironmask: Modular architecture for protecting deep face template." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2021.

[4] Boddeti, Vishnu Naresh. "Secure face matching using fully homomorphic encryption." 2018 IEEE 9th International Conference on Biometrics Theory, Applications and Systems (BTAS). IEEE, 2018.

About

Code for paper "Towards Privacy-Preserving, Real-Time and Lossless Feature Matching"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published