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 …