Hey Thanks for such a detailed video! I need to Know when you are creating a same video but there you should train a Model and then test the Same Method with its Accuracy so we can have an idea to train different models and then compare them to Check which Models give us a Better Accuracy. I need to Know are there any video for Training a Data set using different models?
Hey there, tahnk you so much for this amazing tutorial. But i have a question. Is there a way to record all these emotions in real time and store in a database?
Your video is very helpful for research scholar.... Kindly make videos on different types of feature extraction techniques so that we can train our NN- model on these feature vectors...
hello sir when i am import deepface file the i am face this error can you please guide me: i am facing this error: ImportError Traceback (most recent call last) F:\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in 63 try: ---> 64 from tensorflow.python._pywrap_tensorflow_internal import * 65 # This try catch logic is because there is no bazel equivalent for py_extension. ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed. During handling of the above exception, another exception occurred: ImportError Traceback (most recent call last) in ----> 1 from deepface import DeepFace F:\anaconda3\lib\site-packages\deepface\DeepFace.py in 9 import pickle 10 ---> 11 from deepface.basemodels import VGGFace, OpenFace, Facenet, FbDeepFace, DeepID, DlibWrapper, ArcFace, Boosting 12 from deepface.extendedmodels import Age, Gender, Race, Emotion 13 from deepface.commons import functions, realtime, distance as dst
Thank you for explaining every minute details. Can you please make video on how to create own dataset, and labelling each image before training on CNN model.
Sir Kindly guide about feature extraction in facial emotion recognition. Which features are extracted? How they are extracted? What's the road map? From where to learn feature extraction techniques specifically for facial emotion recognition?
Thank you for you interest, I am planning to upload 2 more videos on this topic, one will be based on Tensorflow and another will be based on PyTorch, to build and train deep learning model from scratch, so stay tuned, I hope with in a week so .
Here we are with 03 more videos on the same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
I am facing this issue when I run (predictions = DeepFace.analyze(img)): OSError: Unable to open file (unable to open file: name = '/Home_DIRECTORY/.deepface/weights/age_model_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) Note: I am using mac and running the code on Jupyter notebook
Thank you so much for your interest. Plz find other 03 videos on same topic by visiting our channel. . I.e using tensorflow, you can build your own model and it would be really fast as i dont require dependencies on other libraries. Keep supporting us like this. 👍
I am interested in how emotional recognition is being used in the industry to better show interesting videos for customers and create happy faces instead of sad faces. How can these be used in health care for those in hospitals?
result=DeepFace.analyze(frame,actions=['emotion']). Sir this single command giving me the error and asking face is no detected. kindly help me to solve it. plz
So I am trying to build a model for class engagement detection(if a student is focused, bored, tired etc). What is the best dataset you or anyone reading this comment would suggest?
We have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Thanks for the detailed video Sir. However, I am encoutering the same error that you have in the last part of your video and it doesn't run. What should I do?
Thanks for the video , its very helpful ...... but its last part of video doesn't run. Input In [60] break ^ SyntaxError: 'break' outside loop how to solve this.
Hello, Sir I want idea of face movement like left and right recognition system on python, This system is being built for drivers. sir plz help me or any suggestion. ThankYou.
Hey, I am getting this error. OSError: Unable to open file (unable to open file: name = 'C:\Users\admin/.deepface/weights/age_model_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) Can you help me with this?
Thank you for your interest. There can be two possibilities , 1) please reinstall deepface library again, 2) your slashes "\" are not look like normal, such as first few are "\" and then all of sudden became "/", make sure if you are calling from a path, to put right slashes. Please follow the instructions once again , I hope if you follow line by line it will solve your problem.
@@deeplearning_by_phdscholar6925 Thanks. Actually, the h5 files were not present at my local file explorer. But why I am getting this error Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.
@@prvindpanday how did you solved the "Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False. " error ??
I'm master student at Dalian Maritime University china and i'm a beginner and working on emotion detection Could anyone please guide what does it mean my supervisor told me."you should cite more literatures from CVPR ICCV ECCV TPAMI ICCV this kind of stuffs". Waiting for your reply.
Sorry for being late in replying, did you check the exact id of your camera, our code is dynamic please make sure to install opencv or if possible install full package of opencv sometimes "pip install opencv-python" may not install all the things, please install full package by "pip install opencv-contrib-python" then try the code cap = cv2.VideoCapture(1) # Check if the webcam is opened correctly if not cap.isOpened(): cap = cv2.VideoCapture(0) if not cap.isOpened(): raise IOError("Cannot open webcam") I hope your problem will be resolved
I have an error that I tensorflow/core/platform/cpu_feature_guard this tensorflow binary is optimised with oneapi deep neural network library to use the following cpu instructions in performance-critical operation AVX AV2X Please help me sir 🙏
Sir even though I have written the same code but still the rectangle and the text is not being displayed on the image. The image in still printing but without the rectangle or the text. Please advice me.
""Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False. " I am getting this error how do I resolve??
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
my image is not showing in pycharm local area what to do when i write plt.imshow(img) it didn't work not showing the image as like you have shown sir what to do
for me, image is coming up till RGB conversion but after analyzing it's not showing up for pycharm getting ('keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects')
Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Sir in real time video detection i am getting error at line result=DeepFace.analyze(frame, action=['emotion']. Error:"type error:object of type 'NoneType' has no len()." What to do sir.
please i'm facing a prblm while downloading the model prediction = DeepFace.analyze(img) , i downloaded the facial_expression_model_weights.zip file and add it to my project folder but i dont know how it should works! add the path of the file to the code or how ? please help me
Sorry for being late in replying, please follow the instructions in the video, we can ensure you that you will be able to deploy the model. Unfortunately, deepface library is unstable some times. In this regard, , if you can wait, we are going to publish 03 more videos on training your own model from scratch. We will publish all videos this week . Stay blessed.
@@deeplearning_by_phdscholar6925 Thank you for replying , i actually followed step by step all the instructions but i dont know why it's not working but i'll definitely wait for your next videos .
I am facing this issue when I run (plt.imshow(img)): TypeError: Image data of dtype object cannot be converted to float I am sure that the picture not problem import cv2 img = cv2.imread('train\0\Training_345125.jpg') -> right address import matplotlib.pyplot as plt plt.imshow(img)
Hi sir I keep getting output like this when I am using this code in webcam "1/1 [==============================] - 0s 24ms/step" can you pls tell how I can remove this
Thank you for this amazing video. I am facing an issue while running the code. Kindly help me to solve it. # inserting text on video 31 cv2.putText(frame, ---> 32 result['emotion_detector'], 33 (50, 50), 34 font, 3, TypeError: list indices must be integers or slices, not str
hello sir your work was really good but am finding some difficulty in downloading library files of matplotlib and deepface can you please guide me ....
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
I have to come error that Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False. camera is open but frame is not. plz reply soon
Good job phdScholar , in other case u should explain how to use it with other IDE's and the differents methods of creating a environement for deeplearning like tensorflow for exemple
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Hello Sir, I want to detect the emotion and the activity/action of the user using the real time video capture. Do you have any recommendations for the implementation of the activity detection part ( datasets, algorithms, libraries etc.) along with this emotion detection ?
When i am importing deepface in my system it is not displaying "Using TenserFlow backend" and on "predictions = DeepFace.analyze(imgg)" command i am getting this error --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in ----> 1 predictions = DeepFace.analyze(imgg) ~\anaconda3\lib\site-packages\deepface\DeepFace.py in analyze(img_path, actions, models, enforce_detection, detector_backend) 306 307 img_paths, bulkProcess = functions.initialize_input(img_path) --> 308 functions.initialize_detector(detector_backend = detector_backend)
"value error: Face couldnot be detected . please confirm that picture is a face photo as consider to set enforce detection to false"....................this is the error i'm facing sir.......sir could you help me to fix it?????
Hello Sir, Is it possible to build a system that recognizes face emotions as well as drowsiness(eyes closing and yawning) of a person and alert them for extreme emotions and drowsiness?
Thank you so much for your interest and sorry for being late in replying. Nice idea, sure you can do it by combining our two videos, such as emotion recognition and drowsiness detection Please visit my channel you will find both the videos. So in order to combine them you will have to use two different models, at the end, so code will be same , all you need is to merge such as provide face image to Deepface library , and crop eyes (as we did in drowsiness detection video), and provide it to drowsiness detection model accordingly. I hope I have answered your query, If you have any question , please feel free to ask and keep supporting my channel like this.
Here we are with 03 more videos on same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
I am getting an error while drawing a rectangle around the face. Kindly help: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
Hi, I came to the part where camera needs to be open, but I just have laptop camera so it reports the error. Can this work out with laptop camera? And if so, how? Thank you very much :)
Thank you for your interest, this code is valid for laptop camera as the code is dynamic (all usb cameras + laptop cameras) and I have already tested in my laptop as well. As you have not mentioned exact error , let me guess few possiblities 1 ) your camera drivers, if it works on zoom and other applications , then it must open with opencv as well 2) incase you have isntalled opencv with "pip install python-opencv", I recommend you to to run "pip install opencv-contrib-python" command to install full package of opencv, sometimes few packages are missed. I hope if your camera is working on other applications , it must run, as we have shown in video and our code is dynamic, keep sharing my videos and keep supporting me like this, Stay blessed.
Sorry for being late in replying and thanks for your interest. Its already Realtime face emotion recognition , in case you mean a particular library which could do it automatically for you, I recommend you to follow the instruction and build your own model, once it is trained , you can use it for future. Incase I come to know about some built-in library I will definitely get back to you.
New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
i am getting an error as "1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict" when i am trying to install deepface package in VS code please help!
i got File Not Found error while executing "predictions = DeepFace.analyze(img)" it says "FileNotFoundError: [Errno 2] No such file or directory: '/root/.deepface/weights/facial_expression_model_weights.zip'" . how can i solve it??
Thank you so much for your interest, can you tell me which platform are you using, it seems like you are executing in ubuntu while in tutorial I have only shown for windows 10. However, it must be dynamic, I will check it in ubuntu as well. Meanwhile can you please use windows 10 and follow all the instructions, I hope you will get it. In addition, I will upload a new tutorial in a week for building your own deep learning model for emotion recognition. Thanks
@@ImpulseFusion Here we are with 03 more videos on the same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Here we are with 03 more videos on same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
OSError: Unable to open file (truncated file: eof = 53416104, sblock->base_addr = 0, stored_eof = 538771776) I am getting an error like this..could you please say how to fix it
Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Getting error in deepface analyze..its says "Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False." plz reply
please modify your code by adding enforce_detection =False result = DeepFace.analyze(frame, actions=['emotion'], enforce_detection=False) Or make sure your face is inside the video or any other exception method using webcame such as if face not detection donot call deepface.
Here we are with 03 more videos on the same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Sorry for being late in replying, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired library of your compfort Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Sorry for being late in replying Now you can train you own images, and we have trained FER 2013 you can choose your own programming language or library in which you are comfortable. we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
Although, in last video we did not used any training as it was for beginners, This time, we have published 03 more videos on training your own images and dataset FER 2013 Based on you comfort level for programming language and library, you can follow any of them Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
I am facing this error in line 7, but why!! ResourceExhaustedError: OOM when allocating tensor with shape[7,7,512,4096] and type float on /job:localhost/replica:0/task:0/device:CPU:0 by allocator cpu [Op:RandomUniform]
it seems like your computer specification are not enough. We recommend you to please use google colab ( colab.research.google.com) , its free as long as you are logged-in via gmail account, press "NEW NOTEBOOK" then for all installations, add this "!" mark before like !pip install deepface, follow all the instructions as is in video, you will be good to go
@@deeplearning_by_phdscholar6925 As your instruction, I write the code on google colab but sorry to say this time I am facing a problem at very beginning , that is TypeError: Image data of dtype object cannot be converted to float. I write the exact code as your video.
In case you mean, fight as an action, so it lies under "action recognition", in this regard, you need to learn object detection + sequential logic or graphs, to perform action recognition. Stay tuned, as we have started with beginners level, we will definitely cover the basic level topics and will eventually cover action recognition. Keep watching our all upcoming videos, we will get back to you soon.
Thank you for your interest, you can do it for mobile applications as well, but you need to use other tools like Tensorflow lite etc, (code will be almost same only wrapper ) and android development. In short, base will be same and with slight modifications, you can do it, I hope I answered your question. Stay blessed.
Thank you for you interest, as it is beginners level video, so we want you to please follow the instructions in the video, and at the end you will have the code right? , I hope I have answered your question.
New videos for training the dataset for face emotion recognition using github link for 1) is also provided 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
ValueError: Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False. bro i am getting this error i am at last step please solve this one
please modify your code by adding enforce_detection =False result = DeepFace.analyze(frame, actions=['emotion'], enforce_detection=False) Or make sure your face is inside the video or any other exception method using webcame such as if face not detection donot call deepface. Please keep supporting my channel
hey I got this error raise ValueError("Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.") ValueError: Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False. [ WARN:1] terminating async callback
Thank you for your interest. This error is known when you don't have face inside video frame. While testing, make sure you must have face inside video frame. Secondly, as deepface library is under development, please make sure to have front-face video. I hope this will solve your problem.
@@deeplearning_by_phdscholar6925 thanks alot for your quick reply , there is also another error for still images, it work only for one image (i.e happyboy) but arise an error for another images such as (sadwoman) ResourceExhaustedError: OOM when allocating tensor with shape[7,7,512,4096] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [Op:Add]
@@shadisaleh763 Here we are with 03 more videos on same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest Thank you for your interest, Code for 1) is also provided New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation ruclips.net/video/yN7qfBhfGqs/видео.html 2) Matlab based implementation ruclips.net/video/XimgHdQbPEc/видео.html 3) Tensorflow based implementation ruclips.net/video/avv9GQ3b6Qg/видео.html
I’m new at learning AI and computer vision, this an excellent video, explained in detail on each step , thanks a lot!
Hey Thanks for such a detailed video! I need to Know when you are creating a same video but there you should train a Model and then test the Same Method with its Accuracy so we can have an idea to train different models and then compare them to Check which Models give us a Better Accuracy. I need to Know are there any video for Training a Data set using different models?
Hey there, tahnk you so much for this amazing tutorial. But i have a question. Is there a way to record all these emotions in real time and store in a database?
Hi, did you find an answer ?
Did you got the answer
Your video is very helpful for research scholar....
Kindly make videos on different types of feature extraction techniques so that we can train our NN- model on these feature vectors...
Waiting for your next video on "Training deep learning architecture for facial emotion recognition".
Will upload soon, as I am merging it with my other tutorials so it is taking time, so hopefully in maximum two weeks,
Well explained Sir , waiting for your video on facial emotions recognition from scratch.
hay can anyone please explain why we're using ML not DL in this????? ple
hello sir when i am import deepface file the i am face this error can you please guide me:
i am facing this error:
ImportError Traceback (most recent call last)
F:\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
63 try:
---> 64 from tensorflow.python._pywrap_tensorflow_internal import *
65 # This try catch logic is because there is no bazel equivalent for py_extension.
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
in
----> 1 from deepface import DeepFace
F:\anaconda3\lib\site-packages\deepface\DeepFace.py in
9 import pickle
10
---> 11 from deepface.basemodels import VGGFace, OpenFace, Facenet, FbDeepFace, DeepID, DlibWrapper, ArcFace, Boosting
12 from deepface.extendedmodels import Age, Gender, Race, Emotion
13 from deepface.commons import functions, realtime, distance as dst
@@starmovies2714 just simply install it using "pip install deepface"
Thank you for explaining every minute details. Can you please make video on how to create own dataset, and labelling each image before training on CNN model.
Sir Kindly guide about feature extraction in facial emotion recognition. Which features are extracted? How they are extracted? What's the road map? From where to learn feature extraction techniques specifically for facial emotion recognition?
Thank you for you interest, I am planning to upload 2 more videos on this topic, one will be based on Tensorflow and another will be based on PyTorch, to build and train deep learning model from scratch, so stay tuned, I hope with in a week so .
@@deeplearning_by_phdscholar6925 I'm thankful that you responded, kindly guide me about feature extraction for frontal face emotion recognition?
Here we are with 03 more videos on the same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
I am facing this issue when I run (predictions = DeepFace.analyze(img)):
OSError: Unable to open file (unable to open file: name = '/Home_DIRECTORY/.deepface/weights/age_model_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Note: I am using mac and running the code on Jupyter notebook
I also face this error...
Great! any suggestion to improve the performance? it is very slow
Thank you so much for your interest. Plz find other 03 videos on same topic by visiting our channel. . I.e using tensorflow, you can build your own model and it would be really fast as i dont require dependencies on other libraries.
Keep supporting us like this. 👍
I am interested in how emotional recognition is being used in the industry to better show interesting videos for customers and create happy faces instead of sad faces. How can these be used in health care for those in hospitals?
Great Explanation Bro 👍👍I did it
result=DeepFace.analyze(frame,actions=['emotion']). Sir this single command giving me the error and asking face is no detected. kindly help me to solve it.
plz
So I am trying to build a model for class engagement detection(if a student is focused, bored, tired etc). What is the best dataset you or anyone reading this comment would suggest?
Great video!
We have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
@@deeplearning_by_phdscholar6925 Thank you
Thanks for the detailed video Sir. However, I am encoutering the same error that you have in the last part of your video and it doesn't run. What should I do?
very nice SIr... Appreciate it
Which algorithms are you using in the entire process?
when I try to run this code in live demo it shows value error face could not be detected sir can u help me to fix this.. please reply soon
thank you for this video
THANK YOU FOR EXPLAINING IT, CAN YOU PLEASE HELP US DOING WITH COLAB
Thanks for the video , its very helpful ......
but its last part of video doesn't run.
Input In [60]
break
^
SyntaxError: 'break' outside loop
how to solve this.
hey! how to implement this project using google collab. Please suggest.
Hello, Sir I want idea of face movement like left and right recognition system on python, This system is being built for drivers. sir plz help me or any suggestion. ThankYou.
Hi Shan bhai ,
Great vedio for the beginners , can we get the source code of this project
That will much helpfull fro all the beginners
Nice
i did not see source code and dataset along with the video. these things are great if we get stuck somewhere in coding.
Hey, I am getting this error.
OSError: Unable to open file (unable to open file: name = 'C:\Users\admin/.deepface/weights/age_model_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Can you help me with this?
Thank you for your interest. There can be two possibilities , 1) please reinstall deepface library again, 2) your slashes "\" are not look like normal, such as first few are "\" and then all of sudden became "/", make sure if you are calling from a path, to put right slashes. Please follow the instructions once again , I hope if you follow line by line it will solve your problem.
@@deeplearning_by_phdscholar6925 Thanks. Actually, the h5 files were not present at my local file explorer.
But why I am getting this error
Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.
@@prvindpanday u solved that error?
@@bemberkarshashanksai7676 yes dude
@@prvindpanday how did you solved the "Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.
" error ??
Super. fantastic.
One question: Can we provide mp4, mgeg video file instead of real time video?
Can u sir make video on the copy move forgery detection in digital video / image for using the juypter notebook in python.can u plz help me sir
I'm master student at Dalian Maritime University china and i'm a beginner and working on emotion detection Could anyone please guide what does it mean my supervisor told me."you should cite more literatures from CVPR ICCV ECCV TPAMI ICCV this kind of stuffs". Waiting for your reply.
When I ran it, no error and my camera light is on but no window open, what happened?
same thing bro what you do for that
Sorry for being late in replying, did you check the exact id of your camera, our code is dynamic
please make sure to install opencv or if possible install full package of opencv
sometimes "pip install opencv-python" may not install all the things,
please install full package by "pip install opencv-contrib-python"
then try the code
cap = cv2.VideoCapture(1)
# Check if the webcam is opened correctly
if not cap.isOpened():
cap = cv2.VideoCapture(0)
if not cap.isOpened():
raise IOError("Cannot open webcam")
I hope your problem will be resolved
@@deeplearning_by_phdscholar6925 same problem tried to everything but camera remains on and nothing is displayed
Can you tell me how to improve the accuracy of face detection when it is far from the camera?
I have an error that I tensorflow/core/platform/cpu_feature_guard this tensorflow binary is optimised with oneapi deep neural network library to use the following cpu instructions in performance-critical operation AVX AV2X
Please help me sir 🙏
Sir even though I have written the same code but still the rectangle and the text is not being displayed on the image. The image in still printing but without the rectangle or the text. Please advice me.
""Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.
" I am getting this error how do I resolve??
me too, face could not be detected
You can solve this error by adding this in the code:
result = DeepFace.analyze(frame, actions=['emotion'], enforce_detection=False)
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
my image is not showing in pycharm local area what to do when i write plt.imshow(img) it didn't work not showing the image as like you have shown sir what to do
for me, image is coming up till RGB conversion but after analyzing it's not showing up for pycharm getting ('keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects')
Getting os error:eof, i was compiling program and internet got disconnected, i was in the line predictions=DeepFace,analyze(img)
Sir i am going to work on it n i need your guidance and help also
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
sir what can I do when predictions= DeepFace.analyze(img) show OS error
please help!!
How do i apply this on scilab?
I have this same project but to be implemented on scilab.
Can you please help me?
My prediction is coming out as a List and not dictionary, so I am stuck there as the dominant emotion is throwing up an error, please help
Sir in real time video detection i am getting error at line
result=DeepFace.analyze(frame, action=['emotion']. Error:"type error:object of type 'NoneType' has no len()."
What to do sir.
im getting the same error, were u able to solve it by any chance?
actions*
HELLO i am having trouble with the emotion webcam portion need help wont load
Hi how can I get in touch with you ? Really informative videos! would love to discuss a prospective project with you .
Bhaiyya thanks bhaiyaa
please i'm facing a prblm while downloading the model prediction = DeepFace.analyze(img) , i downloaded the facial_expression_model_weights.zip file and add it to my project folder but i dont know how it should works! add the path of the file to the code or how ? please help me
Sorry for being late in replying, please follow the instructions in the video, we can ensure you that you will be able to deploy the model. Unfortunately, deepface library is unstable some times. In this regard, , if you can wait, we are going to publish 03 more videos on training your own model from scratch. We will publish all videos this week . Stay blessed.
@@deeplearning_by_phdscholar6925 Thank you for replying , i actually followed step by step all the instructions but i dont know why it's not working but i'll definitely wait for your next videos .
can i use vscode ; instead of jupyter ?? Please let me know sir.
I am facing this issue when I run (plt.imshow(img)):
TypeError: Image data of dtype object cannot be converted to float
I am sure that the picture not problem
import cv2
img = cv2.imread('train\0\Training_345125.jpg') -> right address
import matplotlib.pyplot as plt
plt.imshow(img)
Hi sir I keep getting output like this when I am using this code in webcam "1/1 [==============================] - 0s 24ms/step" can you pls tell how I can remove this
Thank you for this amazing video. I am facing an issue while running the code. Kindly help me to solve it.
# inserting text on video
31 cv2.putText(frame,
---> 32 result['emotion_detector'],
33 (50, 50),
34 font, 3,
TypeError: list indices must be integers or slices, not str
Hello;
did you find the solution because I have the same problem
TypeError: string indices must be integers, not 'str'
I too have the problem
hi bro, it still importing action emotions without stopping, what should I do? thank you
hello sir your work was really good but am finding some difficulty in downloading library files of matplotlib and deepface can you please guide me ....
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
I have to come error that Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False. camera is open but frame is not. plz reply soon
sir i can't get 14:48 here ... my notebook is showing error i am fed up this error again and agin ... first it showed on vs code then on Jupiter
Good job phdScholar , in other case u should explain how to use it with other IDE's and the differents methods of creating a environement for deeplearning like tensorflow for exemple
hello am finding some difficulty in downloading deepface library and matplotlib could u please guide me
@@starmovies2714 hi noor , ur working with anaconda distribution ?
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
Hi, I have a problem at 17:06 . For me the type isn't dict but list. So i can't really continue with the following steps... Can anyone help?
Use predictions[0]['dominant_emotion'] since it is a dictionary inside a list
@@SardarKhan-dq3xp Code said 'unable to get a frame'. How can i fix this problem?
i am not able to access the drive folder as it says its being shared with too many people
did you find the solution? I am having the same problem. i don,t have permission to access it.
Hello Sir, I want to detect the emotion and the activity/action of the user using the real time video capture. Do you have any recommendations for the implementation of the activity detection part ( datasets, algorithms, libraries etc.) along with this emotion detection ?
I am also looking for for the same...
@@ankitaksb I'm still in the process of searching a way for that
When i am importing deepface in my system it is not displaying "Using TenserFlow backend" and on "predictions = DeepFace.analyze(imgg)" command i am getting this error
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
----> 1 predictions = DeepFace.analyze(imgg)
~\anaconda3\lib\site-packages\deepface\DeepFace.py in analyze(img_path, actions, models, enforce_detection, detector_backend)
306
307 img_paths, bulkProcess = functions.initialize_input(img_path)
--> 308 functions.initialize_detector(detector_backend = detector_backend)
I want to knoe more about it for my internship please let me know how to connect
hi can u pls share the notebook link in description
sir only neutral is being shown no matter whichever expression I provide
"value error: Face couldnot be detected . please confirm that picture is a face photo as consider to set enforce detection to false"....................this is the error i'm facing sir.......sir could you help me to fix it?????
Sir webcam is not working properly, only the flash light is blowing and camera is not working...
Hello Sir,
Is it possible to build a system that recognizes face emotions as well as drowsiness(eyes closing and yawning) of a person and alert them for extreme emotions and drowsiness?
Thank you so much for your interest and sorry for being late in replying.
Nice idea, sure you can do it by combining our two videos, such as emotion recognition and drowsiness detection
Please visit my channel you will find both the videos.
So in order to combine them you will have to use two different models, at the end, so code will be same , all you need is to merge such as provide face image to Deepface library , and crop eyes (as we did in drowsiness detection video), and provide it to drowsiness detection model accordingly.
I hope I have answered your query, If you have any question , please feel free to ask and keep supporting my channel like this.
Here we are with 03 more videos on same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
I am getting an error while drawing a rectangle around the face. Kindly help:
OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
Please have you found solution to this... I'm having same issue
@@offthechart01 I followed a different video ...
ruclips.net/video/a573pDNNFEY/видео.html
Try this
Hi, I came to the part where camera needs to be open, but I just have laptop camera so it reports the error. Can this work out with laptop camera? And if so, how? Thank you very much :)
Thank you for your interest, this code is valid for laptop camera as the code is dynamic (all usb cameras + laptop cameras) and I have already tested in my laptop as well.
As you have not mentioned exact error , let me guess few possiblities
1 ) your camera drivers, if it works on zoom and other applications , then it must open with opencv as well
2) incase you have isntalled opencv with "pip install python-opencv", I recommend you to to run "pip install opencv-contrib-python" command to install full package of opencv, sometimes few packages are missed.
I hope if your camera is working on other applications , it must run, as we have shown in video and our code is dynamic, keep sharing my videos and keep supporting me like this, Stay blessed.
I can not find the path of the dataset. can you please help me?
can we use it on the door of the school to know did they children happy or not
Can we use this for real time video? can you suggest libraries for real time video facial emotion recognizer
Sorry for being late in replying and thanks for your interest. Its already Realtime face emotion recognition , in case you mean a particular library which could do it automatically for you, I recommend you to follow the instruction and build your own model, once it is trained , you can use it for future. Incase I come to know about some built-in library I will definitely get back to you.
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
Can you post a link to the github or google colab for this?
predictions = DeepFace.analyse(img) is not working for me
it is giving an error
What if u gave the programme the painting of Mona Lisa
Can this be done without Webcam.......
I use droid cam as my webcam...!!!!!!!!!
so is there any solution??
excuse Is there a paper for this MODEL for reference? thanks
i am getting an error as
"1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict"
when i am trying to install deepface package in VS code
please help!
try to do it via pip it worked for me
i got File Not Found error while executing "predictions = DeepFace.analyze(img)" it says "FileNotFoundError: [Errno 2] No such file or directory: '/root/.deepface/weights/facial_expression_model_weights.zip'" . how can i solve it??
Thank you so much for your interest, can you tell me which platform are you using, it seems like you are executing in ubuntu while in tutorial I have only shown for windows 10. However, it must be dynamic, I will check it in ubuntu as well. Meanwhile can you please use windows 10 and follow all the instructions, I hope you will get it. In addition, I will upload a new tutorial in a week for building your own deep learning model for emotion recognition. Thanks
@@deeplearning_by_phdscholar6925 i am working on macOS , and executed it on colab as well as vsCode .
@@ImpulseFusion Here we are with 03 more videos on the same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
No one on the screen will display an error
How to deal with?
Thank you
deepface is not predicting the correct emotion for the image pls help me
helpful!
When will the video of training of this video's dataset will be released
Here we are with 03 more videos on same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
OSError: Unable to open file (truncated file: eof = 53416104, sblock->base_addr = 0, stored_eof = 538771776)
I am getting an error like this..could you please say how to fix it
Hey hi!! Are u rectified this error????? If u doned can u plz help me
gray = cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)
^
IndentationError: unexpected indent
How can I fix this error?
@DeepLearning_by_PhDScholar
Thanks
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
instead of dictionary for prediction i'm getting it in list format plz can some one help about how to alter the code
Did u find the solution?
please share the images used in this project
Hello brother, is the code available in github?
What is the algorithm used here
Getting error in deepface analyze..its says "Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False." plz reply
please modify your code by adding enforce_detection =False
result = DeepFace.analyze(frame, actions=['emotion'], enforce_detection=False)
Or make sure your face is inside the video
or
any other exception method using webcame such as if face not detection donot call deepface.
Here we are with 03 more videos on the same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
I met an error:
('Detected face shape is ', (0, 218, 3), '. Consider to set enforce_detection argument to False.')
How can I fix that?
after I fix this error, i met another:
object of type 'NoneType' has no len()
@@techech8848 Make sure that you wrote the last two lines cap.release()
and
cv2.destroyAllWindows() outside of the while loop...
predict = DeepFace.analyze(img, enforce_detection = False )
Sorry for being late in replying, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
When I am running predictions variable then my python is getting closed and kernel is dying. Any suggestions please?
You could move to Iceland
Sorry for being late in replying, after receiving few complaints about instability of DeepFace, we have published new videos on training your own images, you can choose any of them based on your desired library of your compfort
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
Hello there I am completely new to this, I just want to know where did you use that dataset?
He never used it, he uses a pre trained model (DeepFace) instead
Sorry for being late in replying
Now you can train you own images, and we have trained FER 2013
you can choose your own programming language or library in which you are comfortable.
we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
Although, in last video we did not used any training as it was for beginners,
This time, we have published 03 more videos on training your own images and dataset FER 2013
Based on you comfort level for programming language and library, you can follow any of them
Thank you for your interest,
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
I am facing this error in line 7, but why!!
ResourceExhaustedError: OOM when allocating tensor with shape[7,7,512,4096] and type float on /job:localhost/replica:0/task:0/device:CPU:0 by allocator cpu [Op:RandomUniform]
it seems like your computer specification are not enough. We recommend you to please use google colab ( colab.research.google.com) , its free as long as you are logged-in via gmail account, press "NEW NOTEBOOK" then for all installations, add this "!" mark before like !pip install deepface, follow all the instructions as is in video, you will be good to go
@@deeplearning_by_phdscholar6925 As your instruction, I write the code on google colab but sorry to say this time I am facing a problem at very beginning , that is TypeError: Image data of dtype object cannot be converted to float. I write the exact code as your video.
Can anyone tell me ? Where i can find this folder?
can you make fight detection or any help in this which tools should i learn for this i am beginer in this
In case you mean, fight as an action, so it lies under "action recognition", in this regard, you need to learn object detection + sequential logic or graphs, to perform action recognition. Stay tuned, as we have started with beginners level, we will definitely cover the basic level topics and will eventually cover action recognition. Keep watching our all upcoming videos, we will get back to you soon.
@@deeplearning_by_phdscholar6925 thanks and plz also make a project related to fight detection that will great help
Hi, can this project do in mobile apps?
Thank you for your interest, you can do it for mobile applications as well, but you need to use other tools like Tensorflow lite etc, (code will be almost same only wrapper ) and android development. In short, base will be same and with slight modifications, you can do it, I hope I answered your question. Stay blessed.
Can you give me the full code and resources on Github link, please.
Thank you for you interest, as it is beginners level video, so we want you to please follow the instructions in the video, and at the end you will have the code right? , I hope I have answered your question.
New videos for training the dataset for face emotion recognition using
github link for 1) is also provided
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html
ValueError: Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.
bro i am getting this error i am at last step please solve this one
please modify your code by adding enforce_detection =False
result = DeepFace.analyze(frame, actions=['emotion'], enforce_detection=False)
Or make sure your face is inside the video
or
any other exception method using webcame such as if face not detection donot call deepface.
Please keep supporting my channel
hey I got this error
raise ValueError("Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.")
ValueError: Face could not be detected. Please confirm that the picture is a face photo or consider to set enforce_detection param to False.
[ WARN:1] terminating async callback
Thank you for your interest. This error is known when you don't have face inside video frame. While testing, make sure you must have face inside video frame. Secondly, as deepface library is under development, please make sure to have front-face video. I hope this will solve your problem.
@@deeplearning_by_phdscholar6925 thanks alot for your quick reply ,
there is also another error for still images,
it work only for one image (i.e happyboy) but arise an error for another images such as (sadwoman)
ResourceExhaustedError: OOM when allocating tensor with shape[7,7,512,4096] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [Op:Add]
@@deeplearning_by_phdscholar6925 is there possible to get the code ? thanks
@@shadisaleh763 Here we are with 03 more videos on same topic, choose according to your programming language or library in which you are comfortable, we have published new videos on training your own images, you can choose any of them based on your desired field of interest
Thank you for your interest,
Code for 1) is also provided
New videos for training the dataset for face emotion recognition using
1 ) Pytorch based implementation
ruclips.net/video/yN7qfBhfGqs/видео.html
2) Matlab based implementation
ruclips.net/video/XimgHdQbPEc/видео.html
3) Tensorflow based implementation
ruclips.net/video/avv9GQ3b6Qg/видео.html