mirror of
https://github.com/serengil/deepface.git
synced 2025-06-05 19:15:23 +00:00
Update README.md
cleaner code in readme
This commit is contained in:
parent
09969b10c3
commit
425d7797a2
@ -413,11 +413,7 @@ onprem_cs = LightPHE(algorithm_name = "Paillier", precision = 19)
|
||||
onprem_cs.export_keys("public.txt", public=True)
|
||||
|
||||
# build cryptosystem in cloud with only public key
|
||||
cloud_cs = LightPHE(
|
||||
algorithm_name = "Paillier",
|
||||
precision = 19,
|
||||
key_file = "public.txt",
|
||||
)
|
||||
cloud_cs = LightPHE(algorithm_name = "Paillier", precision = 19, key_file = "public.txt")
|
||||
|
||||
# find l2 normalized vector embeddings - VGG-Face already does
|
||||
source_embedding = DeepFace.represent("img1.jpg")[0]["embedding"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user