From ac838923b71851ee8cdd2b2cb36eec865af41c7c Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Thu, 24 Sep 2020 10:09:23 +0300 Subject: [PATCH] analysis sample code --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 869cdd0..70b47e6 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,8 @@ Deepface also offers facial attribute analysis including [`age`](https://sefiks. from deepface import DeepFace demography = DeepFace.analyze("img4.jpg", actions = ['age', 'gender', 'race', 'emotion']) #demographies = DeepFace.analyze(["img1.jpg", "img2.jpg", "img3.jpg"]) #analyzing multiple faces same time -print("This is ", demography["age"]," years old ",demography["dominant_race"]," ",demography["gender"]," in ",demography["dominant_emotion"]," mood") +print(demography["age"]," years old ",demography["dominant_race"]," ",demography["gender"] + ," in ",demography["dominant_emotion"]," mood") ```