Skip to content

butvinm/HyDiaPy

Repository files navigation

HyDiaPy

Python implementation of the HyDia protocol for privacy-preserving facial matching using Fully Homomorphic Encryption (FHE).

Based on the paper: HyDia: FHE-based Facial Matching with Hybrid Approximations and Diagonalization by Martin et al. (PETS 2025)

Usage

$ uv run main.py --query-image data/biden_1.jpg --database-dir data/database --scenario identities
Matched identities: ['biden']

See uv run main.py -h for more details.

Acknowledgments

License

MIT License - see LICENSE and NOTICE files.

About

HyDia facial match implementation in Python for learning purpose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages