deepface

DeepFace analyze function rises serialization issue

DeepFace analyze function rises serialization issue Question: i would like to use deepface algorithm for detection human’s emotion from the image, here is my code : import cv2 from deepface import DeepFace import numpy as np import json image =cv2.imread(’emotion.jpg’) #json.dumps(image) analyze =DeepFace.analyze(image,actions=’emotions’,enforce_detection=False) print(analyze) but when i have run the code, got the following error …

Total answers: 1

How to use DeepFace.detectFace() to actually detect a several faces in an image?

How to use DeepFace.detectFace() to actually detect a several faces in an image? Question: I am using deep face library in order to get several faces in one picture, DeepFace.detectFace(), only detect one face, but if I use the backends separately without use DeepFace I can extract all faces, is it possible to use DeepFace.detectFace() …

Total answers: 3