mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 19:45:21 +00:00
Merge branch 'serengil:master' into master
This commit is contained in:
commit
2c9847e256
11
CITATION.md
11
CITATION.md
@ -55,6 +55,17 @@ If you use deepface in your research for facial attribute analysis purposes such
|
||||
|
||||
We have additionally released these papers within the DeepFace project for a multitude of purposes.
|
||||
|
||||
```BibTeX
|
||||
@misc{serengil2025cipherface,
|
||||
title = {CipherFace: A Fully Homomorphic Encryption-Driven Framework for Secure Cloud-Based Facial Recognition},
|
||||
author = {Serengil, Sefik and Ozpinar, Alper},
|
||||
year = {2025},
|
||||
publisher = {arXiv},
|
||||
url = {https://arxiv.org/abs/2502.18514},
|
||||
doi = {10.48550/arXiv.2502.18514}
|
||||
}
|
||||
```
|
||||
|
||||
```BibTeX
|
||||
@misc{serengil2023db,
|
||||
title = {An evaluation of sql and nosql databases for facial recognition pipelines},
|
||||
|
37
README.md
37
README.md
@ -16,8 +16,14 @@
|
||||
[](https://github.com/sponsors/serengil)
|
||||
[](https://buymeacoffee.com/serengil)
|
||||
|
||||
<div align="center">
|
||||
<a href="https://trendshift.io/repositories/4227" target="_blank"><img src="https://trendshift.io/api/badge/repositories/4227" alt="serengil%2Fdeepface | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
||||
|
||||
<a href="https://www.producthunt.com/posts/deepface?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-deepface" target="_blank">
|
||||
<img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=753599&theme=light" alt="DeepFace - A Lightweight Deep Face Recognition Library for Python | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
[](https://news.ycombinator.com/item?id=42584896)
|
||||
[](https://www.producthunt.com/posts/deepface?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-deepface)
|
||||
@ -399,7 +405,7 @@ Before creating a PR, you should run the unit tests and linting locally by runni
|
||||
|
||||
There are many ways to support a project - starring⭐️ the GitHub repo is just one 🙏
|
||||
|
||||
If you do like this work, then you can support it financially on [Patreon](https://www.patreon.com/serengil?repo=deepface), [GitHub Sponsors](https://github.com/sponsors/serengil) or [Buy Me a Coffee](https://buymeacoffee.com/serengil). Also, your company's logo will be shown on README on GitHub and PyPI if you become a sponsor in gold, silver or bronze tiers.
|
||||
If you do like this work, then you can support it financially on [Patreon](https://www.patreon.com/serengil?repo=deepface), [GitHub Sponsors](https://github.com/sponsors/serengil) or [Buy Me a Coffee](https://buymeacoffee.com/serengil). Also, your company's logo will be shown on README on GitHub if you become a sponsor in gold, silver or bronze tiers.
|
||||
|
||||
<a href="https://www.patreon.com/serengil?repo=deepface">
|
||||
<img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/patreon.png" width="30%" height="30%">
|
||||
@ -429,9 +435,10 @@ Additionally, you can help us reach a wider audience by upvoting our posts on Ha
|
||||
|
||||
## Citation
|
||||
|
||||
Please cite deepface in your publications if it helps your research - see [`CITATIONS`](https://github.com/serengil/deepface/blob/master/CITATION.md) for more details. Here are its BibTex entries:
|
||||
Please cite deepface in your publications if it helps your research.
|
||||
|
||||
If you use deepface in your research for facial recognition or face detection purposes, please cite these publications:
|
||||
<details>
|
||||
<summary>S. Serengil and A. Ozpinar, <b>"A Benchmark of Facial Recognition Pipelines and Co-Usability Performances of Modules"</b>, <i>Journal of Information Technologies</i>, vol. 17, no. 2, pp. 95-107, 2024.</summary>
|
||||
|
||||
```BibTeX
|
||||
@article{serengil2024lightface,
|
||||
@ -447,6 +454,10 @@ If you use deepface in your research for facial recognition or face detection pu
|
||||
publisher = {Gazi University}
|
||||
}
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>S. I. Serengil and A. Ozpinar, <b>"LightFace: A Hybrid Deep Face Recognition Framework"</b>, <i>2020 Innovations in Intelligent Systems and Applications Conference (ASYU)</i>, 2020, pp. 23-27.</summary>
|
||||
|
||||
```BibTeX
|
||||
@inproceedings{serengil2020lightface,
|
||||
@ -460,8 +471,10 @@ If you use deepface in your research for facial recognition or face detection pu
|
||||
organization = {IEEE}
|
||||
}
|
||||
```
|
||||
</details>
|
||||
|
||||
On the other hand, if you use deepface in your research for facial attribute analysis purposes such as age, gender, emotion or ethnicity prediction tasks, please cite this publication.
|
||||
<details>
|
||||
<summary>S. I. Serengil and A. Ozpinar, <b>"HyperExtended LightFace: A Facial Attribute Analysis Framework"</b>, <i>2021 International Conference on Engineering and Emerging Technologies (ICEET)</i>, 2021, pp. 1-4.</summary>
|
||||
|
||||
```BibTeX
|
||||
@inproceedings{serengil2021lightface,
|
||||
@ -475,6 +488,22 @@ On the other hand, if you use deepface in your research for facial attribute ana
|
||||
organization = {IEEE}
|
||||
}
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>S. Serengil and A. Ozpinar, <b>"CipherFace: A Fully Homomorphic Encryption-Driven Framework for Secure Cloud-Based Facial Recognition"</b>, arXiv preprint arXiv: 2502.18154, 2025.</summary>
|
||||
|
||||
```BibTeX
|
||||
@misc{serengil2025cipherface,
|
||||
title = {CipherFace: A Fully Homomorphic Encryption-Driven Framework for Secure Cloud-Based Facial Recognition},
|
||||
author = {Serengil, Sefik and Ozpinar, Alper},
|
||||
year = {2025},
|
||||
publisher = {arXiv},
|
||||
url = {https://arxiv.org/abs/2502.18514},
|
||||
doi = {10.48550/arXiv.2502.18514}
|
||||
}
|
||||
```
|
||||
</details>
|
||||
|
||||
Also, if you use deepface in your GitHub projects, please add `deepface` in the `requirements.txt`.
|
||||
|
||||
|
@ -141,7 +141,8 @@ def verify(
|
||||
"""
|
||||
if isinstance(img_path, list):
|
||||
# given image is already pre-calculated embedding
|
||||
if not all(isinstance(dim, float) for dim in img_path):
|
||||
if not all(isinstance(dim, (float, int)) for dim in img_path):
|
||||
|
||||
raise ValueError(
|
||||
f"When passing img{index}_path as a list,"
|
||||
" ensure that all its items are of type float."
|
||||
|
Loading…
x
Reference in New Issue
Block a user