From 7c1accfdd4e79f7488bfd2063095cc5ba0abc66f Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Thu, 5 Mar 2020 15:23:25 +0300 Subject: [PATCH] list input --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e1e81d..79d8031 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ print("Is verified: ", result["verified"]) print("Distance: ", result["distance"]) ``` -Each call of verification function builds a face recognition model scratch and this is a costly operation. If you are going to verify multiple faces sequentially, then you should pass an array to verify function to speed up. +Each call of verification function builds a face recognition model scratch and this is a costly operation. If you are going to verify multiple faces sequentially, then you should pass an array to verify function to speed the operation up. In this way, complex face recognition models will be built once. ```python dataset = [ @@ -77,7 +77,7 @@ from deepface import DeepFace demography = DeepFace.analyze("img4.jpg") #passing nothing as 2nd argument will find everything #demography = DeepFace.analyze("img4.jpg", ['age', 'gender', 'race', 'emotion']) #identical to the line above -demographies = DeepFace.analyze(["img1.jpg", "img2.jpg", "img3.jpg"]) +demographies = DeepFace.analyze(["img1.jpg", "img2.jpg", "img3.jpg"]) #analyzing multiple faces same time ```