alignment fix for emotion

This commit is contained in:
Şefik Serangil 2020-02-25 22:11:57 +03:00
parent 905e1b082b
commit d3aef4e0c0
2 changed files with 7 additions and 7 deletions

View File

@ -9,13 +9,13 @@ import pandas as pd
from tqdm import tqdm from tqdm import tqdm
import json import json
from basemodels import VGGFace, OpenFace, Facenet, FbDeepFace #from basemodels import VGGFace, OpenFace, Facenet, FbDeepFace
from extendedmodels import Age, Gender, Race, Emotion #from extendedmodels import Age, Gender, Race, Emotion
from commons import functions, distance as dst #from commons import functions, distance as dst
#from deepface.basemodels import VGGFace, OpenFace, Facenet, FbDeepFace from deepface.basemodels import VGGFace, OpenFace, Facenet, FbDeepFace
#from deepface.extendedmodels import Age, Gender, Race, Emotion from deepface.extendedmodels import Age, Gender, Race, Emotion
#from deepface.commons import functions, distance as dst from deepface.commons import functions, distance as dst
def verify(img1_path, img2_path def verify(img1_path, img2_path
, model_name ='VGG-Face', distance_metric = 'cosine', plot = False): , model_name ='VGG-Face', distance_metric = 'cosine', plot = False):

View File

@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup( setuptools.setup(
name="deepface", name="deepface",
version="0.0.8", version="0.0.9",
author="Sefik Ilkin Serengil", author="Sefik Ilkin Serengil",
author_email="serengil@gmail.com", author_email="serengil@gmail.com",
description="Deep Face Anaylsis Framework for Face Recognition and Demography", description="Deep Face Anaylsis Framework for Face Recognition and Demography",