mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 19:45:21 +00:00
alignment fix for emotion
This commit is contained in:
parent
905e1b082b
commit
d3aef4e0c0
@ -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):
|
||||||
|
2
setup.py
2
setup.py
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user