Realtime Face Emotion Recognition | Python | OpenCV | Step by Step Tutorial for beginners

  Рет қаралды 170,355

DeepLearning_by_PhDScholar

DeepLearning_by_PhDScholar

Күн бұрын

Пікірлер: 314
@linajamadar9197
@linajamadar9197 2 ай бұрын
I’m new at learning AI and computer vision, this an excellent video, explained in detail on each step , thanks a lot!
@AKSHAYKUMAR-leo
@AKSHAYKUMAR-leo 3 жыл бұрын
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?
@nizamuddinkhan9443
@nizamuddinkhan9443 3 жыл бұрын
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...
@muhammadazeemrao3901
@muhammadazeemrao3901 4 жыл бұрын
Waiting for your next video on "Training deep learning architecture for facial emotion recognition".
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
Will upload soon, as I am merging it with my other tutorials so it is taking time, so hopefully in maximum two weeks,
@meenusharma6244
@meenusharma6244 4 жыл бұрын
Well explained Sir , waiting for your video on facial emotions recognition from scratch.
@sowmiya4316
@sowmiya4316 3 жыл бұрын
hay can anyone please explain why we're using ML not DL in this????? ple
@starmovies2714
@starmovies2714 3 жыл бұрын
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
@islamicinterestofficial
@islamicinterestofficial 3 жыл бұрын
@@starmovies2714 just simply install it using "pip install deepface"
@GokhanUcar1092
@GokhanUcar1092 3 жыл бұрын
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?
@sundasrafat2232
@sundasrafat2232 2 жыл бұрын
Hi, did you find an answer ?
@giridharponnur7376
@giridharponnur7376 Жыл бұрын
Did you got the answer
@user-to7dp2uc3o
@user-to7dp2uc3o 4 жыл бұрын
Great video!
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@user-to7dp2uc3o
@user-to7dp2uc3o 3 жыл бұрын
@@deeplearning_by_phdscholar6925 Thank you
@sirasanihemaspandana7390
@sirasanihemaspandana7390 3 жыл бұрын
Great Explanation Bro 👍👍I did it
@MohsinKhan-wy4hv
@MohsinKhan-wy4hv 3 жыл бұрын
very nice SIr... Appreciate it
@pamsquad982
@pamsquad982 2 жыл бұрын
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
@ghaidaaharbi2962
@ghaidaaharbi2962 3 жыл бұрын
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
@nidafatima4531
@nidafatima4531 3 жыл бұрын
I also face this error...
@swethareddyaleti2119
@swethareddyaleti2119 3 сағат бұрын
Heyy have you completed the running of code
@elclar3
@elclar3 7 ай бұрын
thank you for this video
@muhammadazeemrao3901
@muhammadazeemrao3901 4 жыл бұрын
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?
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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 .
@muhammadazeemrao3901
@muhammadazeemrao3901 4 жыл бұрын
@@deeplearning_by_phdscholar6925 I'm thankful that you responded, kindly guide me about feature extraction for frontal face emotion recognition?
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@tejaswinichilke6447
@tejaswinichilke6447 3 жыл бұрын
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.
@aasiralikhan7205
@aasiralikhan7205 2 жыл бұрын
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?
@chemophile14
@chemophile14 4 жыл бұрын
Nice
@josealbertozequeiraperez4499
@josealbertozequeiraperez4499 3 жыл бұрын
Great! any suggestion to improve the performance? it is very slow
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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. 👍
@janviagarwal6430
@janviagarwal6430 2 жыл бұрын
hey! how to implement this project using google collab. Please suggest.
@sanskritiyadav2932
@sanskritiyadav2932 3 жыл бұрын
Which algorithms are you using in the entire process?
@prvindpanday
@prvindpanday 4 жыл бұрын
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?
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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.
@prvindpanday
@prvindpanday 4 жыл бұрын
@@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.
@bemberkarshashanksai7676
@bemberkarshashanksai7676 4 жыл бұрын
@@prvindpanday u solved that error?
@prvindpanday
@prvindpanday 4 жыл бұрын
@@bemberkarshashanksai7676 yes dude
@chillax2691
@chillax2691 4 жыл бұрын
@@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 ??
@ReinerEger
@ReinerEger 9 ай бұрын
Bhaiyya thanks bhaiyaa
@islamicinterestofficial
@islamicinterestofficial 3 жыл бұрын
Thanks
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@preetmehak-x9z
@preetmehak-x9z 9 ай бұрын
THANK YOU FOR EXPLAINING IT, CAN YOU PLEASE HELP US DOING WITH COLAB
@user-qw6fv6rw8x
@user-qw6fv6rw8x Жыл бұрын
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?
@MAANEESHA
@MAANEESHA 3 жыл бұрын
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
@eranfeit
@eranfeit 3 жыл бұрын
Thank you
@NasirHussain-wh3rw
@NasirHussain-wh3rw 3 жыл бұрын
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.
@sonalisingh9344
@sonalisingh9344 2 жыл бұрын
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.
@ThePutra313
@ThePutra313 3 жыл бұрын
When I ran it, no error and my camera light is on but no window open, what happened?
@714_praveengoswami3
@714_praveengoswami3 3 жыл бұрын
same thing bro what you do for that
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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
@devasawant2568
@devasawant2568 3 жыл бұрын
@@deeplearning_by_phdscholar6925 same problem tried to everything but camera remains on and nothing is displayed
@vaibhavkeni2941
@vaibhavkeni2941 2 жыл бұрын
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 🙏
@asimaseem8412
@asimaseem8412 Жыл бұрын
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
@suhanikashyap839
@suhanikashyap839 2 жыл бұрын
helpful!
@Naeem_Shehzad4u
@Naeem_Shehzad4u 3 жыл бұрын
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.
@hdclips501
@hdclips501 3 жыл бұрын
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
@bijudonbosco
@bijudonbosco 3 жыл бұрын
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')
@Kussta
@Kussta 3 жыл бұрын
HELLO i am having trouble with the emotion webcam portion need help wont load
@michaeldimakiling8420
@michaeldimakiling8420 2 жыл бұрын
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?
@FabiaBenson
@FabiaBenson Жыл бұрын
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
@smritiguleria4407
@smritiguleria4407 3 жыл бұрын
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
@nnamsamuel122
@nnamsamuel122 Жыл бұрын
How do i apply this on scilab? I have this same project but to be implemented on scilab. Can you please help me?
@Tejas_Khode
@Tejas_Khode 4 жыл бұрын
""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??
@phatle870
@phatle870 4 жыл бұрын
me too, face could not be detected
@rishitanagpal4384
@rishitanagpal4384 4 жыл бұрын
You can solve this error by adding this in the code: result = DeepFace.analyze(frame, actions=['emotion'], enforce_detection=False)
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@ameenullasAMG
@ameenullasAMG 3 жыл бұрын
Getting os error:eof, i was compiling program and internet got disconnected, i was in the line predictions=DeepFace,analyze(img)
@Angelsentertainmentworld
@Angelsentertainmentworld 3 жыл бұрын
Sir i am going to work on it n i need your guidance and help also
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
Thank you for your interest, New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@balajiavinash5907
@balajiavinash5907 3 жыл бұрын
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.
@pratik8792
@pratik8792 3 жыл бұрын
im getting the same error, were u able to solve it by any chance?
@ayushsinghyadav7451
@ayushsinghyadav7451 3 жыл бұрын
actions*
@salmabrahem556
@salmabrahem556 3 жыл бұрын
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
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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.
@salmabrahem556
@salmabrahem556 3 жыл бұрын
@@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 .
@aarushijain4058
@aarushijain4058 3 жыл бұрын
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.
@raghavgoel3615
@raghavgoel3615 2 жыл бұрын
sir what can I do when predictions= DeepFace.analyze(img) show OS error please help!!
@minhuccao7160
@minhuccao7160 3 жыл бұрын
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)
@mitanshubaranwal8878
@mitanshubaranwal8878 Жыл бұрын
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
@oskarvollmer2391
@oskarvollmer2391 Жыл бұрын
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?
@SardarKhan-dq3xp
@SardarKhan-dq3xp Жыл бұрын
Use predictions[0]['dominant_emotion'] since it is a dictionary inside a list
@busesengiloglu375
@busesengiloglu375 Жыл бұрын
@@SardarKhan-dq3xp Code said 'unable to get a frame'. How can i fix this problem?
@DailyWonders90
@DailyWonders90 Жыл бұрын
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
@titounisalem6624
@titounisalem6624 Жыл бұрын
Hello; did you find the solution because I have the same problem
@lokaero
@lokaero Жыл бұрын
TypeError: string indices must be integers, not 'str' I too have the problem
@maheshsoni6975
@maheshsoni6975 2 жыл бұрын
Sir webcam is not working properly, only the flash light is blowing and camera is not working...
@mukeshpandit3958
@mukeshpandit3958 2 жыл бұрын
i did not see source code and dataset along with the video. these things are great if we get stuck somewhere in coding.
@mailtoraj76
@mailtoraj76 2 жыл бұрын
Super. fantastic. One question: Can we provide mp4, mgeg video file instead of real time video?
@t561355
@t561355 2 жыл бұрын
Can you tell me how to improve the accuracy of face detection when it is far from the camera?
@MarkAnthonyFrontDesk
@MarkAnthonyFrontDesk Жыл бұрын
can i use vscode ; instead of jupyter ?? Please let me know sir.
@shaxzodbekqalandarov7957
@shaxzodbekqalandarov7957 Жыл бұрын
hi bro, it still importing action emotions without stopping, what should I do? thank you
@cyborg9910
@cyborg9910 3 жыл бұрын
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)
@siddheshpalyekar3625
@siddheshpalyekar3625 2 жыл бұрын
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'
@offthechart01
@offthechart01 2 жыл бұрын
Please have you found solution to this... I'm having same issue
@siddheshpalyekar3625
@siddheshpalyekar3625 2 жыл бұрын
@@offthechart01 I followed a different video ... kzbin.info/www/bejne/l2aaZKN6g7N5e7s Try this
@rutvijwagh6216
@rutvijwagh6216 3 жыл бұрын
i am not able to access the drive folder as it says its being shared with too many people
@mairashafi1011
@mairashafi1011 3 жыл бұрын
did you find the solution? I am having the same problem. i don,t have permission to access it.
@lakshaydulani
@lakshaydulani 3 жыл бұрын
hi can u pls share the notebook link in description
@arpitpathak7917
@arpitpathak7917 2 жыл бұрын
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
@Ananta_AI
@Ananta_AI 3 ай бұрын
I want to knoe more about it for my internship please let me know how to connect
@manbirjudge8415
@manbirjudge8415 3 жыл бұрын
What if u gave the programme the painting of Mona Lisa
@carnagersc9892
@carnagersc9892 3 жыл бұрын
"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?????
@minakshee4672
@minakshee4672 4 жыл бұрын
Can we use this for real time video? can you suggest libraries for real time video facial emotion recognizer
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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.
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
New videos for training the dataset for face emotion recognition using 1 ) Pytorch based implementation kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@shreyalipatel1732
@shreyalipatel1732 3 жыл бұрын
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
@fallen_soul778
@fallen_soul778 3 жыл бұрын
sir only neutral is being shown no matter whichever expression I provide
@kalpatarudash3316
@kalpatarudash3316 3 жыл бұрын
predictions = DeepFace.analyse(img) is not working for me it is giving an error
@tishaghosh9129
@tishaghosh9129 Жыл бұрын
I can not find the path of the dataset. can you please help me?
@shifaislamicknowledge4699
@shifaislamicknowledge4699 3 жыл бұрын
Can this be done without Webcam....... I use droid cam as my webcam...!!!!!!!!! so is there any solution??
@ImpulseFusion
@ImpulseFusion 4 жыл бұрын
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??
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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
@ImpulseFusion 4 жыл бұрын
@@deeplearning_by_phdscholar6925 i am working on macOS , and executed it on colab as well as vsCode .
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
@@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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@openmindjustdoit1306
@openmindjustdoit1306 3 жыл бұрын
can we use it on the door of the school to know did they children happy or not
@syedzub
@syedzub Жыл бұрын
Hi how can I get in touch with you ? Really informative videos! would love to discuss a prospective project with you .
@selenawilliams5051
@selenawilliams5051 Жыл бұрын
Can you post a link to the github or google colab for this?
@sradhanjansaha185
@sradhanjansaha185 3 жыл бұрын
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!
@bijudonbosco
@bijudonbosco 3 жыл бұрын
try to do it via pip it worked for me
@B.lavender
@B.lavender Жыл бұрын
gray = cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) ^ IndentationError: unexpected indent How can I fix this error?
@B.lavender
@B.lavender Жыл бұрын
@DeepLearning_by_PhDScholar
@govindshanbhag6524
@govindshanbhag6524 Жыл бұрын
instead of dictionary for prediction i'm getting it in list format plz can some one help about how to alter the code
@joshithasreeraj3320
@joshithasreeraj3320 Жыл бұрын
Did u find the solution?
@darshanbhatt6556
@darshanbhatt6556 3 жыл бұрын
deepface is not predicting the correct emotion for the image pls help me
@sreedeviprasad7082
@sreedeviprasad7082 3 жыл бұрын
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
@newgamer2905
@newgamer2905 Жыл бұрын
Hey hi!! Are u rectified this error????? If u doned can u plz help me
@andy-zq9lz
@andy-zq9lz 3 жыл бұрын
excuse Is there a paper for this MODEL for reference? thanks
@DeepikaK.m
@DeepikaK.m 6 ай бұрын
please share the images used in this project
@李易泰-t9o
@李易泰-t9o 3 жыл бұрын
No one on the screen will display an error How to deal with?
@satyakora4716
@satyakora4716 3 жыл бұрын
Can someone please share the code?
@parthivishrivastava1176
@parthivishrivastava1176 4 жыл бұрын
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?
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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.
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@fahd6162
@fahd6162 3 жыл бұрын
What is the algorithm used here
@vikasmaurya4476
@vikasmaurya4476 Жыл бұрын
Can anyone tell me ? Where i can find this folder?
@kirtigorasiya99
@kirtigorasiya99 3 жыл бұрын
AttributeError : module cv2.cv3 has no attribute ' FONT_HERSHEY_SIMPLEX.... PLZ HELP ME
@5th_official
@5th_official 3 жыл бұрын
no need for the cv3 after cv2. Try this: font = cv2.FONT_HERSHEY_COMPLEX
@mahbubhasan8816
@mahbubhasan8816 4 жыл бұрын
Can you give me the full code and resources on Github link, please.
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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.
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
New videos for training the dataset for face emotion recognition using github link for 1) is also provided 1 ) Pytorch based implementation kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@mahbubhasan8816
@mahbubhasan8816 4 жыл бұрын
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]
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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
@mahbubhasan8816
@mahbubhasan8816 4 жыл бұрын
@@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.
@shadisaleh763
@shadisaleh763 4 жыл бұрын
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
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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.
@shadisaleh763
@shadisaleh763 4 жыл бұрын
@@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
@shadisaleh763 4 жыл бұрын
@@deeplearning_by_phdscholar6925 is there possible to get the code ? thanks
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
@@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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@allawayoucef3828
@allawayoucef3828 3 жыл бұрын
source code please ?!
@bacem1439
@bacem1439 3 жыл бұрын
i would to control human activity with carte stm32 solution!
@t.h.a.n.t2561
@t.h.a.n.t2561 Жыл бұрын
TypeError:list indices must be integer or slics, not str. in prediction[`dominant_emotion´]
@t.h.a.n.t2561
@t.h.a.n.t2561 Жыл бұрын
Where is worng?
@cleverhiker3578
@cleverhiker3578 Жыл бұрын
predictions[0]['emotions'][`dominant_emotion´]
@aliasyahirah3040
@aliasyahirah3040 4 жыл бұрын
Hi, can this project do in mobile apps?
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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.
@abhishekjha4803
@abhishekjha4803 4 жыл бұрын
When will the video of training of this video's dataset will be released
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@techech8848
@techech8848 4 жыл бұрын
I met an error: ('Detected face shape is ', (0, 218, 3), '. Consider to set enforce_detection argument to False.') How can I fix that?
@techech8848
@techech8848 4 жыл бұрын
after I fix this error, i met another: object of type 'NoneType' has no len()
@ayrtonmicallef966
@ayrtonmicallef966 4 жыл бұрын
@@techech8848 Make sure that you wrote the last two lines cap.release() and cv2.destroyAllWindows() outside of the while loop...
@olesyatronkina9047
@olesyatronkina9047 3 жыл бұрын
predict = DeepFace.analyze(img, enforce_detection = False )
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@mahelawijekoon1252
@mahelawijekoon1252 3 жыл бұрын
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 ?
@ankitaksb
@ankitaksb 3 жыл бұрын
I am also looking for for the same...
@mahelawijekoon1252
@mahelawijekoon1252 3 жыл бұрын
@@ankitaksb I'm still in the process of searching a way for that
@SamyakKumarBCS
@SamyakKumarBCS 4 жыл бұрын
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
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
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.
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@darshang7500
@darshang7500 4 жыл бұрын
I am getting this following error could u please tell me what's wrong? 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. You may still be able to access the file from the browser: drive.google.com/uc?id=13iUHHP3SlNg53qSuQZDdHDSDNdBP9nwy
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
Thank you so much for your interest and I fee sorry about your error. I have noticed this problem with google coalab with Deepface library which is unstable while using coalab. I recommend you to kindly follow the video instructions and use jupyter notebook at your pc just like I did it in video. I hope you will not found problem when using inside your PC. it is known issue for deepface library in google colab. I hope they will fix it soon, mean while please install it in your pc as I did it in video. That will solve our problem. Thanks stay blessed
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 4 жыл бұрын
In addition, I am preparing tutorial for building your own deep learning model rather than using deepface, I will upload it in a week or so. Kindly stay tuned. Thanks
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
@sohelahammadk5101
@sohelahammadk5101 2 жыл бұрын
Hey how to get fer2013 where is it
@tusharbedse9523
@tusharbedse9523 3 жыл бұрын
When I am running predictions variable then my python is getting closed and kernel is dying. Any suggestions please?
@simonecodenotti6892
@simonecodenotti6892 3 жыл бұрын
You could move to Iceland
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 жыл бұрын
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 kzbin.info/www/bejne/r3-aopl4nct6p9U 2) Matlab based implementation kzbin.info/www/bejne/jprQmHuahseDe8U 3) Tensorflow based implementation kzbin.info/www/bejne/l6fZanqHaMdph8k
Object Detection using OpenCV | Python | Tutorial for beginners 2020
29:29
DeepLearning_by_PhDScholar
Рет қаралды 248 М.
Open Source Face Analysis with Python
15:07
Rob Mulla
Рет қаралды 55 М.
Face Recognition with Real Time Database | 2 Hour Course | Computer Vision
2:20:18
Murtaza's Workshop - Robotics and AI
Рет қаралды 629 М.
MIT Introduction to Deep Learning | 6.S191
1:09:58
Alexander Amini
Рет қаралды 745 М.
Real-time Drowsiness Detection Tutorial | Transfer Learning | TensorFlow | Python | OpenCV
1:06:29
Live Face Recognition in Python
16:16
NeuralNine
Рет қаралды 179 М.
OpenCV Course - Full Tutorial with Python
3:41:42
freeCodeCamp.org
Рет қаралды 3,9 МЛН
Code with me using Python and AI to build a face detection app
10:55