deepFace Facial expression detection using deepface library Libraries or dependies used are: OpenCv DeepFace Haarcascade Classifier First I created a function to detect face. Then I used DeepFace library to detect the emotion of the detected face.