Deepface is open source, You can find the all code at below GitHub link, github.com/serengil/deepface Try to read the docs and go through the code. If you have difficulty in understanding any specific part then feel free to reply. I will try to create new episode on it.
is there any function using MLP CLASSIFIER/or any other deep learning technique that describes emotions of speech (how much person is happy , depressed etc)???
Actually I have done with all libraries..I have imported it correctly but the last one line of code that is result= Deepface.analyze was not running and error is that deepface has no attribute analyze .please give mi solution
I get nothing in output when hit enter with the same coding script how to check these libraries are giving error or not cause i am getting blank replies
If deepface library errors out then it will throw on your Jupyter Notebook automatically. Are you able to display loaded image ? If yes then does this image contains face image?
I can not install deepface on Windows. It says To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict. And the link they provide is not useful. I think it requires Python 3.8 64 bit, but Python has 64 bit only for Mac, for Windows it is only 32 bit
@@DataMagicAI Thank you for your answer. I have Python 3.9.1 and it does yet support tensorflow:( I have to wait a bit, according to this command github.com/tensorflow/tensorflow/issues/44485
It seems to an issue with your local environment. Below are the some best practices. You may give a try and see if it helps out, 1. Try to update your spyder IDE conda update spyder 2. Make sure there is only one python version path is added in your environment variables.
Check my Computer Vision playlist with OpenCV. Running web cam in Colab bit complicated but you can run same code in Spyder or Pycharm IDE with web cam very easily.
facial_expression_model_weights.h5 will be downloaded... Access denied with the following error: Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator. I am getting this error.How can i resolve this any help on this?
Nice approach to make code shorter but
What is the concept behind this code.
Can you describe this in separate video?
Deepface is open source, You can find the all code at below GitHub link,
github.com/serengil/deepface
Try to read the docs and go through the code. If you have difficulty in understanding any specific part then feel free to reply. I will try to create new episode on it.
this really helped thankyou
Glad, you find it helpful !
great job man thanks a lot .
You're welcome!
Nice concept
Thank you !
Thanku...
Thank you
👍
Perfect.
Thank you !
you know I spent around 2 hours just because I've written "emotions" instead of "emotion"
Oh, keep close eye 👀 on code. Happy coding
Hi bro ... is this library Free to use ? I mean can I make simple game using this library ?
Yes ,Its open source library. You can use it to create games.
is there any function using MLP CLASSIFIER/or any other deep learning technique that describes emotions of speech (how much person is happy , depressed etc)???
Please check below link for your reference :
dev.to/kalebu/emotion-detection-from-text-python-k3
github.com/abishekarun/Text-Emotion-Classification
Please make a CV ML tutorial for beginner's to learn from scratch
Will create Computer Vision(CV) Tutorial for beginners soon...
Open CV playlist :
ua-cam.com/play/PLTmQbi1PYZ_GrjMHiGCYa0WyDZfxu-yTz.html
what type of image do we need to use for testing this model...plz explain
You can use any jpg or ping image. Make sure it has the face object.
Actually I have done with all libraries..I have imported it correctly but the last one line of code that is result= Deepface.analyze was not running and error is that deepface has no attribute analyze .please give mi solution
Any other tutorials for detecting emotion from the text?
Will publish soon ....the sentiment analysis from text tutorial.....
@@DataMagicAI Thanks. I'm waiting for tht :D
How to make it for live web cam detection plzz
Read input with opencv. Check out computer vision with Opencv playlist on our channel.
Can we do real time application for more faces in single frame using machine learning.
Yes you can do it.
Hi Boss, please tell me where is the file containing all the images to train the model?
How to make the model learn?
This is pre-trained model which is already learned. You just have to use it. Don’t need to train.
Can we use this model for real time detection. Please help
Yes, use OpenCV to acces live feed and apply this model. Check our computer vision playlist for more help on OpenCV
I get nothing in output when hit enter with the same coding script how to check these libraries are giving error or not cause i am getting blank replies
If deepface library errors out then it will throw on your Jupyter Notebook automatically.
Are you able to display loaded image ? If yes then does this image contains face image?
this program executed only for Jupiter notebook or colab
You can run this code in any python supported IDE.
I can not install deepface on Windows. It says
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict.
And the link they provide is not useful. I think it requires Python 3.8 64 bit, but Python has 64 bit only for Mac, for Windows it is only 32 bit
You can download 64 bit version from below link.
www.python.org/downloads/windows/
While creating this episode I used Python 3.6 version .
@@DataMagicAI Thanks I downloaded, but still could not install deepface. I don't know how to loosen tensorflow>=1.9.0
It asks to follow this link, but it is not helpful pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
pip install tensorflow==1.9.0
@@DataMagicAI Thank you for your answer. I have Python 3.9.1 and it does yet support tensorflow:( I have to wait a bit, according to this command github.com/tensorflow/tensorflow/issues/44485
i am getting attribute error on running that result statement please help me to solve the issue
Could you please provide full error details ?
bro i am geeting like this AttributeError: module 'deepface' has no attribute 'analyze'
can you please solve it
It seems, you have not installed DeepFace library in correct way. Please try to reinstall the same.
it shows 'NoneType' object is not subscriptable error for the line plt.imshow(img1[:,:,::-1])
It seems your image not loaded properly. Try on some other image input.
Im getting an issue like' python has stopped working' after running the code. how can i fix dis prblm..
Which IDE you are using ?
spyder
It seems to an issue with your local environment.
Below are the some best practices. You may give a try and see if it helps out,
1. Try to update your spyder IDE
conda update spyder
2. Make sure there is only one python version path is added in your environment variables.
Plt.imshow(img[:,:,::-1])
I'm getting error in this line
Typeerror:'Non Type' object is not subscriptable
Run below line separately to make sure your image is loaded in numpy array(img1) in right way.
img1=cv2.imread(your_image_file)
@@DataMagicAI same error for me too.. i've tried what you said too.. still same error
i had so many error. not suppose to define local image path...img1[:,:,::-1] had error
Provide full error details so I can help you out
@@DataMagicAI SURE SIR
i getting an error
"NoneType' object is not subscriptable"
Provide full error. Seems your input image is not loaded properly
I got this error again and again how to solve this ....>TypeError: Image data of dtype object cannot be converted to float
It seems you are doing some mistakes after loading the image. Make sure you are using the loaded image(numpy array) correctly as explained in video.
I am getting error - consider to set enforce detection argument to false
Please provide full error details so I can help you better
How to use webcam for this?
Check my Computer Vision playlist with OpenCV. Running web cam in Colab bit complicated but you can run same code in Spyder or Pycharm IDE with web cam very easily.
facial_expression_model_weights.h5 will be downloaded...
Access denied with the following error:
Too many users have viewed or downloaded this file recently. Please
try accessing the file again later. If the file you are trying to
access is particularly large or is shared with many people, it may
take up to 24 hours to be able to view or download the file. If you
still can't access a file after 24 hours, contact your domain
administrator.
I am getting this error.How can i resolve this any help on this?
are you using open cv , deep face or any other deep learning technique?
It's DeepFace open source deep learning library which is developed by Facebook research team.
It's DeepFace open source deep learning library which is developed by Facebook research team.
It's DeepFace open source deep learning library which is developed by Facebook research team.
Can you please provide some more details,
is this issue occurring while deepface installation ?
need it
Drop an email datamagic2020@gmail.com
NameError: name 'img1' is not defined
Make sure you are passing your sample image path which will be loaded in variable img1.
Please sir give me this code
You can pause the video and write down the code. It's just 5 lines.
Please ans me