How to detect Emotions using Open CV and DeepFace | Beginners | Python
Vložit
- čas přidán 13. 07. 2022
- This video is about how you can detect emotions from faces using opencv and an opensource library known as deepface. Its a pretty simple implementation and can be done with 20-30 lines of code.
For getting the base code for the script please first watch the part 1 of the video.
#python #programming #code
Attribute error:tree has no flatten how to correct it
Where is the part 1?
I am facing an error in the installation of deepface library
[TypeError: Unable to convert function return value to a Python type! The signature was
() -> handle
]
can pls make a video for this problem
Sure can you tell me more about the issue, I will surely create a video
please upload the repo link in bio so it will be easy to add issues.
Yes, added
@@blurcodewithprakhar3934Attribute error:tree has no attribute flatten
Could I detect multiple faces with deep face by frame?
Yes you can
share us the whole code
cv2.putText(frame, text = response['dominant_emotion'], org = (x,y),fontFace = cv2.FONT_HERSHEY_SCRIPT_SIMPLEX, fontScale = 1, color = (0,0,255))
TypeError: list indices must be integers or slices, not str
I am getting this error. can u pls help me out
Sure, Can you tell me more on the issue , I will surely try to help
Did you solve this issue?
Tell us the solution @@blurcodewithprakhar3934