ipvikas commited on
Commit
2798e2d
1 Parent(s): 23ffe16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,9 +15,9 @@ import pandas as pd
15
  def get_deepface(image):
16
  df = DeepFace.find(img_path=image, db_path=db_path)
17
  d = DeepFace.analyze(img_path=image)
18
- new_list = zip(d.keys(), d.values())
19
- new_list = list(new_list)
20
- return new_list
21
 
22
  description = "Deepface is a lightweight face recognition and facial attribute analysis (age, gender, emotion and race) framework for python. It is a hybrid face recognition framework wrapping state-of-the-art models: VGG-Face, Google FaceNet, OpenFace, Facebook DeepFace, DeepID, ArcFace and Dlib."
23
 
 
15
  def get_deepface(image):
16
  df = DeepFace.find(img_path=image, db_path=db_path)
17
  d = DeepFace.analyze(img_path=image)
18
+ #new_list = zip(d.keys(), d.values())
19
+ #new_list = list(new_list)
20
+ return d
21
 
22
  description = "Deepface is a lightweight face recognition and facial attribute analysis (age, gender, emotion and race) framework for python. It is a hybrid face recognition framework wrapping state-of-the-art models: VGG-Face, Google FaceNet, OpenFace, Facebook DeepFace, DeepID, ArcFace and Dlib."
23