diff --git a/README.md b/README.md index 7e50f15..78d80aa 100644 --- a/README.md +++ b/README.md @@ -321,13 +321,26 @@ calculated_similarity = cs.decrypt(encrypted_cosine_similarity)[0] # verification print("same person" if calculated_similarity >= 1 - threshold else "different persons") - -# proof of work -assert abs(calculated_similarity - sum(x * y for x, y in zip(alpha, beta))) < 1e-2 ``` In this scheme, we leverage the computational power of the cloud to compute encrypted cosine similarity. However, the cloud has no knowledge of the actual calculations it performs. That's the **magic** of homomorphic encryption! Only the secret key holder on the on-premises side can decrypt the encrypted cosine similarity and determine whether the pair represents the same person or different individuals. Check out [`LightPHE`](https://github.com/serengil/LightPHE) library to find out more about partially homomorphic encryption. +### Extended Applications + +DeepFace can also be used for fun and insightful applications such as + +**Find Your Celebrity Look-Alike** - [`Demo`](https://youtu.be/jaxkEn-Kieo), [`Real-Time Demo`](https://youtu.be/RMgIKU1H8DY), [`Tutorial`](https://sefiks.com/2019/05/05/celebrity-look-alike-face-recognition-with-deep-learning-in-keras/) + +DeepFace can analyze your facial features and match them with celebrities, letting you discover which famous personality you resemble the most. + +

+ +**Find Which Parent a Child Look More** - [`Demo`](https://youtu.be/nza4tmi9vhE), [`Tutorial`](https://sefiks.com/2022/12/22/decide-whom-your-child-looks-like-with-facial-recognition-mommy-or-daddy/) + +DeepFace can also be used to compare a child's face to their parents' or relatives' faces to determine which one the child resembles more. + +

+ ## Contribution Pull requests are more than welcome! If you are planning to contribute a large patch, please create an issue first to get any upfront questions or design decisions out of the way first. diff --git a/icon/celebrity-look-alike.jpg b/icon/celebrity-look-alike.jpg new file mode 100644 index 0000000..ff60494 Binary files /dev/null and b/icon/celebrity-look-alike.jpg differ diff --git a/icon/parental-look-alike-scaled.jpg b/icon/parental-look-alike-scaled.jpg new file mode 100644 index 0000000..9b2e3a7 Binary files /dev/null and b/icon/parental-look-alike-scaled.jpg differ