Тёмный

Emotion Detection in Python | Emotion detection in 5 lines | Machine Learning | Data Magic 

Data Magic (by Sunny Kusawa)
Подписаться 21 тыс.
Просмотров 25 тыс.
50% 1

Hello Friends,
Today we are going to do emotion detection for the face images with the help of DeepFace library which is developed by Facebook Research team.
Emotion Detection in Python | Emotion detection in 5 lines | Machine Learning | Data Magic
Solve Deepface related issues : • How to install deepfa...
#emotiondetection #machinelearning #python
Please Like, Comment, Share and Subscribe!!!
Connect with me,
RU-vid : / @datamagicai
Facebook : / datamagic2020
Instagram : / datamagic2020
Twitter : / datamagic5
For Business Inquiries : datamagic2020@gmail.com
emotion detection
emotion detection using machine learning
emotion detection python
emotion detection using opencv python
emotion detection using deep learning
emotion detection using cnn
emotion detection using keras
emotion detection using tensorflow
emotion detection using image processing in python
emotion detection python easy tutorial
emotion detection python code
facial emotion detection
facial emotion detection using python
facial emotion recognition
facial emotion recognition using python
facial emotion recognition using machine learning
facial emotion recognition realtime
facial emotion recognition and detection
facial emotion recognition using deep learning
facial emotion recognition using keras

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 89   
@somyagoyal8561
@somyagoyal8561 4 года назад
Nice approach to make code shorter but What is the concept behind this code. Can you describe this in separate video?
@DataMagicAI
@DataMagicAI 4 года назад
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.
@safaaaezqeio6123
@safaaaezqeio6123 2 года назад
Thank you
@DataMagicAI
@DataMagicAI 2 года назад
👍
@petsworld3856
@petsworld3856 3 года назад
Thanku...
@joannnittika4304
@joannnittika4304 4 года назад
this really helped thankyou
@DataMagicAI
@DataMagicAI 4 года назад
Glad, you find it helpful !
@rutvikrana512
@rutvikrana512 4 года назад
Hi bro ... is this library Free to use ? I mean can I make simple game using this library ?
@DataMagicAI
@DataMagicAI 4 года назад
Yes ,Its open source library. You can use it to create games.
@doraveeravenkatasaisrisuja3565
@doraveeravenkatasaisrisuja3565 3 года назад
great job man thanks a lot .
@DataMagicAI
@DataMagicAI 3 года назад
You're welcome!
@b-log55
@b-log55 4 года назад
Nice concept
@DataMagicAI
@DataMagicAI 4 года назад
Thank you !
@universalguy3115
@universalguy3115 3 года назад
Perfect.
@DataMagicAI
@DataMagicAI 3 года назад
Thank you !
@amrutashinde2613
@amrutashinde2613 5 месяцев назад
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
@chakrikethireddy3229
@chakrikethireddy3229 Год назад
what type of image do we need to use for testing this model...plz explain
@DataMagicAI
@DataMagicAI Год назад
You can use any jpg or ping image. Make sure it has the face object.
@arjunvk6201
@arjunvk6201 2 года назад
Can we use this model for real time detection. Please help
@DataMagicAI
@DataMagicAI 2 года назад
Yes, use OpenCV to acces live feed and apply this model. Check our computer vision playlist for more help on OpenCV
@VidishArvind
@VidishArvind 4 года назад
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)???
@DataMagicAI
@DataMagicAI 3 года назад
Please check below link for your reference : dev.to/kalebu/emotion-detection-from-text-python-k3 github.com/abishekarun/Text-Emotion-Classification
@katrathai_pagirvom
@katrathai_pagirvom Год назад
How to make it for live web cam detection plzz
@DataMagicAI
@DataMagicAI Год назад
Read input with opencv. Check out computer vision with Opencv playlist on our channel.
@veenareddy151
@veenareddy151 2 года назад
Can we do real time application for more faces in single frame using machine learning.
@DataMagicAI
@DataMagicAI 2 года назад
Yes you can do it.
@sahayasugirthacindrellas7482
@sahayasugirthacindrellas7482 3 года назад
this program executed only for Jupiter notebook or colab
@DataMagicAI
@DataMagicAI 3 года назад
You can run this code in any python supported IDE.
@drm8164
@drm8164 Год назад
Hi Boss, please tell me where is the file containing all the images to train the model? How to make the model learn?
@DataMagicAI
@DataMagicAI Год назад
This is pre-trained model which is already learned. You just have to use it. Don’t need to train.
@youssefdirani
@youssefdirani 3 года назад
you know I spent around 2 hours just because I've written "emotions" instead of "emotion"
@DataMagicAI
@DataMagicAI 3 года назад
Oh, keep close eye 👀 on code. Happy coding
@syedmujeebh6661
@syedmujeebh6661 4 года назад
Please make a CV ML tutorial for beginner's to learn from scratch
@DataMagicAI
@DataMagicAI 4 года назад
Will create Computer Vision(CV) Tutorial for beginners soon...
@DataMagicAI
@DataMagicAI 3 года назад
Open CV playlist : ru-vid.com/group/PLTmQbi1PYZ_GrjMHiGCYa0WyDZfxu-yTz
@noranissulaiman5346
@noranissulaiman5346 3 года назад
Any other tutorials for detecting emotion from the text?
@DataMagicAI
@DataMagicAI 3 года назад
Will publish soon ....the sentiment analysis from text tutorial.....
@noranissulaiman5346
@noranissulaiman5346 3 года назад
@@DataMagicAI Thanks. I'm waiting for tht :D
@dhanshreekumaresh2295
@dhanshreekumaresh2295 Год назад
it shows 'NoneType' object is not subscriptable error for the line plt.imshow(img1[:,:,::-1])
@DataMagicAI
@DataMagicAI Год назад
It seems your image not loaded properly. Try on some other image input.
@satishpadnani3110
@satishpadnani3110 4 года назад
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
@DataMagicAI
@DataMagicAI 4 года назад
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?
@kevinjeyaraj8596
@kevinjeyaraj8596 Год назад
i getting an error "NoneType' object is not subscriptable"
@DataMagicAI
@DataMagicAI Год назад
Provide full error. Seems your input image is not loaded properly
@nizamiimamverdiyev8346
@nizamiimamverdiyev8346 3 года назад
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
@DataMagicAI 3 года назад
You can download 64 bit version from below link. www.python.org/downloads/windows/ While creating this episode I used Python 3.6 version .
@nizamiimamverdiyev8346
@nizamiimamverdiyev8346 3 года назад
@@DataMagicAI Thanks I downloaded, but still could not install deepface. I don't know how to loosen tensorflow>=1.9.0
@nizamiimamverdiyev8346
@nizamiimamverdiyev8346 3 года назад
It asks to follow this link, but it is not helpful pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
@DataMagicAI
@DataMagicAI 3 года назад
pip install tensorflow==1.9.0
@nizamiimamverdiyev8346
@nizamiimamverdiyev8346 3 года назад
@@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
@shaikali7811
@shaikali7811 3 года назад
bro i am geeting like this AttributeError: module 'deepface' has no attribute 'analyze' can you please solve it
@DataMagicAI
@DataMagicAI 3 года назад
It seems, you have not installed DeepFace library in correct way. Please try to reinstall the same.
@ramyanagiredla4248
@ramyanagiredla4248 3 года назад
i am getting attribute error on running that result statement please help me to solve the issue
@DataMagicAI
@DataMagicAI 3 года назад
Could you please provide full error details ?
@jamshaidali711
@jamshaidali711 3 года назад
I got this error again and again how to solve this ....>TypeError: Image data of dtype object cannot be converted to float
@DataMagicAI
@DataMagicAI 3 года назад
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.
@nishchithanish1748
@nishchithanish1748 4 года назад
Im getting an issue like' python has stopped working' after running the code. how can i fix dis prblm..
@DataMagicAI
@DataMagicAI 4 года назад
Which IDE you are using ?
@nishchithanish1748
@nishchithanish1748 4 года назад
spyder
@DataMagicAI
@DataMagicAI 4 года назад
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.
@rayyanamir8560
@rayyanamir8560 2 года назад
How to use webcam for this?
@DataMagicAI
@DataMagicAI 2 года назад
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.
@sahayasugirthacindrellas7482
@sahayasugirthacindrellas7482 3 года назад
i had so many error. not suppose to define local image path...img1[:,:,::-1] had error
@DataMagicAI
@DataMagicAI 3 года назад
Provide full error details so I can help you out
@sahayasugirthacindrellas7482
@sahayasugirthacindrellas7482 3 года назад
@@DataMagicAI SURE SIR
@harshitaSharmaE
@harshitaSharmaE 4 года назад
Plt.imshow(img[:,:,::-1]) I'm getting error in this line Typeerror:'Non Type' object is not subscriptable
@DataMagicAI
@DataMagicAI 4 года назад
Run below line separately to make sure your image is loaded in numpy array(img1) in right way. img1=cv2.imread(your_image_file)
@shantikonda5197
@shantikonda5197 3 года назад
@@DataMagicAI same error for me too.. i've tried what you said too.. still same error
@ShivamSharma-zn5hi
@ShivamSharma-zn5hi 3 года назад
I am getting error - consider to set enforce detection argument to false
@DataMagicAI
@DataMagicAI 3 года назад
Please provide full error details so I can help you better
@vimalmishra65
@vimalmishra65 4 года назад
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?
@VidishArvind
@VidishArvind 4 года назад
are you using open cv , deep face or any other deep learning technique?
@DataMagicAI
@DataMagicAI 3 года назад
It's DeepFace open source deep learning library which is developed by Facebook research team.
@DataMagicAI
@DataMagicAI 3 года назад
It's DeepFace open source deep learning library which is developed by Facebook research team.
@DataMagicAI
@DataMagicAI 3 года назад
It's DeepFace open source deep learning library which is developed by Facebook research team.
@DataMagicAI
@DataMagicAI 3 года назад
Can you please provide some more details, is this issue occurring while deepface installation ?
@ishfaqueshaku8246
@ishfaqueshaku8246 3 года назад
NameError: name 'img1' is not defined
@DataMagicAI
@DataMagicAI 3 года назад
Make sure you are passing your sample image path which will be loaded in variable img1.
@RATANAGARWALITINFORMER
@RATANAGARWALITINFORMER 3 года назад
need it
@DataMagicAI
@DataMagicAI 3 года назад
Drop an email datamagic2020@gmail.com
@ramanujasati2713
@ramanujasati2713 4 года назад
Please sir give me this code
@DataMagicAI
@DataMagicAI 3 года назад
You can pause the video and write down the code. It's just 5 lines.
@amrutashinde2613
@amrutashinde2613 5 месяцев назад
Please ans me
Далее
aespa 에스파 'Whiplash' MV
03:11
Просмотров 12 млн
Open Source Face Analysis with Python
15:07
Просмотров 53 тыс.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Просмотров 327 тыс.
How I'd Learn AI in 2024 (if I could start over)
17:55