Thanks! One of the best videos to understand how CNN actually works!
@DataMagicAI9 күн бұрын
Thank you!
@ghanshyamverma7241 Жыл бұрын
It is super-worth to watch every second of the video, Thank You Sir🤗
@DataMagicAI Жыл бұрын
Your welcome!
@shodhanrao14706 ай бұрын
@@DataMagicAI which source is used for compilation of code
@techmech-m3lАй бұрын
iT FUKINNN WORKS!!!
@Syktox6 ай бұрын
Perfect Video! Thanks for showing me, how to create such a nice Emotion-Detecion. :D
@DataMagicAI6 ай бұрын
You're very welcome! Code in the description box!
@blackhouse91975 ай бұрын
thank you so much, I have one question, how to solve the problem of data imbalance ? because there is one class countian around 500 images and other classes more than 5000 images.
@DataMagicAI5 ай бұрын
By over sampling.
@Breeze076 ай бұрын
Thank you so much sir. this video is too good. I just wanted to know that how can we use it on photos?
@DataMagicAI6 ай бұрын
You are most welcome! Thats more simple. Just read image and apply the emotion detection. In video we are doing the same. Video is nothing but set of multiple images/frames. In you context you just have to apply on single image/frame.
@Breeze076 ай бұрын
Really thank you so much for your reply… but how can I do that? Because when I tried to do that, it was giving me error.
@czr3726 ай бұрын
amazing! learnt a lot!
@DataMagicAI6 ай бұрын
Glad it was helpful!
@hrushikeshsawant9997 Жыл бұрын
Thank you sir
@DataMagicAI Жыл бұрын
Welcome
@ven3535 Жыл бұрын
hey there it is indeed a wonderful project and the accuracy you have obtained is great btw my question is that instead of loading the videos how can we use camera for real time detection? Thanks again for explaining the project
@DataMagicAI Жыл бұрын
When you are creating video capture with openCV pass 0 as argument to access your laptops default camera. If you want to access any othe IP based camera then pass full address of that camera. Same program will work fine. It may you get some lag in real time. For that you may need to process least frames per second to avoid it.
@ven3535 Жыл бұрын
@@DataMagicAI I see thank you very much for a quick response
@ven3535 Жыл бұрын
@@DataMagicAI An other query is, Basically I know nothing about this and can you please suggest to me what I should read like what are the prerequisites for this project?
@user-fr7fp7ch1g8 ай бұрын
what values did you get in accuracy and val_accuracy?
@sid17847 ай бұрын
PLEASE HELP WITH THIS ERROR - AttributeError: 'str' object has no attribute 'decode'
@zerihunmelkamu2875 Жыл бұрын
thanks alot
@DataMagicAI Жыл бұрын
Most welcome
@tonghello98892 жыл бұрын
That's good, thank you!
@DataMagicAI2 жыл бұрын
Glad you like it!
@user-ot4wb2oo1v7 ай бұрын
unable to get your github link, if anyone get plz provide or pinned proper link of entire code.
@kennethcosep1378 Жыл бұрын
This a great video! I have a question though: How can I get the probability of each emotion prediction? Like how sure is the model that the face is happy or sad.
@juanestebanochoaecheverri859110 ай бұрын
With Relu function?
@ayamaitham84302 жыл бұрын
i wish that one day i would be able to build something like this
@DataMagicAI2 жыл бұрын
You can build it. Its not rocket science. You can join our ML course and learn skills required to build these kind of system.
@ojocodes2 ай бұрын
Hello Sir, I am building my own facial emotion detection model on google colaboratory but it is taking a very long time (1 epoch took an hour) and after about 3 epochs my runtime stops on its own (because it takes around 3-4 hours). Is there a way I can continue execution from the point where the execution stopped becuase I have been trying for 3 days but the model is not getting trained. Otherwise, what do you suggest I do?
@agnidhrade79872 ай бұрын
use google tpu instead of your computer cpu
@mathswallahsurajmahto363810 ай бұрын
great project would you please tell me waht is percentage of traning and testing of dataset also we want to detect percentage of depression how can we do that
@DataMagicAI10 ай бұрын
80-20
@tuananhvu53982 жыл бұрын
That's great, I don't know where I can get more emotional videos like in the code so there is only one video in your code so I want to find more to try
@DataMagicAI2 жыл бұрын
Check on pexel.com
@tuananhvu53982 жыл бұрын
@@DataMagicAI What do I have to record to get a video like that?
@rahulgoel9682 жыл бұрын
@@DataMagicAI sir isme hum apna front camera ke sath emotion kaise detect ker sakte hai te btaa dijiye
@rayyanamir85602 жыл бұрын
As a data scientist, should the person by heart the entire open cv code or just copy paste??
@DataMagicAI2 жыл бұрын
Data science it very broder field...open cv is just one small area of Computer Vision problems. Copy paste is not enough ,I f you want to be data scientist. Data science is all about getting deep dive into data.
@mehaktanveer94492 жыл бұрын
Kindly make video with CK+ dataset
@shashankijeri7047 Жыл бұрын
Can we perform project in Jupiter notebook to perform in Jupiter notebook we need to upload dataset in Jupiter notebook so huge database how can be uploaded in Jupiter notebook can you suggest techniques to upload.
@DataMagicAI Жыл бұрын
You have to keep dataset on your system. Just provide path of data while loading in Jupyter notebook.
@shamasayed98568 ай бұрын
Sir, can you please help me with how to build my own image dataset. Geotagging, labeling and many concepts has to be looked after. As i am beginner is confused, please help me.
@shraddhapatil798 Жыл бұрын
thank you so much
@DataMagicAI Жыл бұрын
Your welcome!
@srisangeeth4131Ай бұрын
can anyone can list what are the tools used and for what purpose it is used?
@niyamaliyakkal21 күн бұрын
@@srisangeeth4131 did this code work for you?
@elang111010 ай бұрын
hi sir, your code work perfectly but there is some issue if i try to run in .ipynb (i copying your code into ipynb file) error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. how do i fix them ? *find on stack overflow that we should delete the opencv-headless file but i don't know where the file is *i use mini conda (conda install opencv)
@vaishalivaishu1546 ай бұрын
From where you found the code
@BeautyoftheWorld-rt9nw5 ай бұрын
can we use this model for speech emotion recognition?
@BeautyoftheWorld-rt9nw5 ай бұрын
Do you have any videos related to deepfakes and synthetic data
@rahul00007 ай бұрын
if we train the model using gray scale image can we predict rgb images also?
@DataMagicAI7 ай бұрын
Yes, you need to preprocess your image to gray scale before feeding it to model.
@gemuelcornillez43949 ай бұрын
Sir can you help me with this error I get when I prompt to train the system, OSError: [WinError 126] The specified module could not be found
@nakonako960 Жыл бұрын
How to train the model. I have i5, 8gb ram. How much time will it take on muy system??
@DataMagicAI Жыл бұрын
Code is provided in the description box. Can’t tell exactly but It will take at least 3-4 hours on i5.
@jhasaketanprusty8422 Жыл бұрын
from keras.models import Sequential ModuleNotFoundError: No module named 'keras' how to resolve this problem sir ?
@DataMagicAI Жыл бұрын
Keras is not installed. Install it
@finottech8 ай бұрын
when i install keras their is a problem, what is that????????????
@luongpham19724 ай бұрын
Can you give me the .json and .h5 files? Or can I have the sourcecode please? Thank you
@andreig76518 ай бұрын
Hello! Are you using some signal processing or Gabor Filters?
@DataMagicAI8 ай бұрын
Nope!
@andreig76518 ай бұрын
@@DataMagicAI do you have any code using a Gabor Filter? I need it for a school project, and I can't find any resoursces...
@prajnab66932 ай бұрын
Code link is not accessible
@user-hm9bh7wv9h7 ай бұрын
can we predict depression using this project also recognize face and send motivational message to user
@flynneugene26753 ай бұрын
you cant predict depression just by AI. Yet.
@centrxl_perk96489 ай бұрын
Hello are we supposed to train the data even tho the downloaded code already has h5 and json file?
@DataMagicAI9 ай бұрын
You can use directly pertained model too. If you want you can retrain amd create your own model too. It will take 8 hours on CPU and couple of hours on GPU to train it.
@sonuvasan3460Ай бұрын
sir there no code in that link pls send code link
@steve-gt5px9 ай бұрын
sir can i ask you how to use this model on mobile apps and i can use camera on mobile to detect emotion
@DataMagicAI9 ай бұрын
You might need to developer some light version of this model to work on edge devices
@mohammedabdulkareem6147 Жыл бұрын
Hi when i run the project i faced this error (No module named 'tensorflow.compat')??!
@DataMagicAI Жыл бұрын
Seems library conflict issues. Search on internet. I can’t help without knowing the environment details.
@chinthaabhinov46718 ай бұрын
i am getting the same error ,how to resolve it
@vivekchakane34812 жыл бұрын
Im not able to understand tr train step after we download all the libraries the what we have to do to get that 2 files .json and the another one
@DataMagicAI2 жыл бұрын
You need to train model then save the trained model structure in Json file and mode weights in h5 file. So you can use this trained model later.
@darksidebidi2 жыл бұрын
On the second Conv2D why is it a 64 layer size?
@neerajinmas7020 Жыл бұрын
tensorflow:Your input ran out of data; interrupting training. Make sure that your dataset or generator can generate at least `steps_per_epoch * epochs` batches (in this case, 14336 batches). You may need to use the repeat() function when building your dataset. Why am I getting this error ??
@mukhlishassan3144 Жыл бұрын
you probably don't have enough pictures in your dataset to complete the training
@Tan-st5sp Жыл бұрын
Can you tell me what he wrote at the end of line 43 ..... plzzzzzz.... after cv2.LINE_A
@MohdRihan-ep8sy3 ай бұрын
And where is the data folder in the zip file.
@swapnilmanerkar0818 Жыл бұрын
how can i use this trained dataset in for a mobile app?
@Tan-st5sp Жыл бұрын
SAME QUESTION ... Did you find a way ?????? if yeah, then plzzz tell me
@DataMagicAI Жыл бұрын
you can deploy this model as service . and access this service in your mobile app.
@Tan-st5sp Жыл бұрын
@@DataMagicAI ok thanks alot ✨👍
@cyn719 ай бұрын
Hey can you share sample video you used for testing
@DataMagicAI9 ай бұрын
Sorry, I dont have it now. You can search on pexel.com
@KatamgariMalavika28 күн бұрын
TypeError: Could not locate class 'Sequential'. Make sure custom classes are decorated with `@keras.saving.register_keras_serializable()`. PLEASE HELP ME HOW TO RESOLVE THIS.
@LawMedicineTheology Жыл бұрын
Please Commercialize this tool, I want this solution, how to buy it
@DataMagicAI Жыл бұрын
You can contact us on datamagic2020@gmail.com
@LawMedicineTheology Жыл бұрын
@@DataMagicAI Hi, output emotion detection window is playing video with slow speed and no sound, could you please tell me how i can detect emotion with normal speed of playing video and with sound !
@AminaAman-nm8pw Жыл бұрын
Is it possible to fuse with audio recognition model and get final multimodal emotion recognition?
@DataMagicAI Жыл бұрын
Yes
@akshayachunduru19308 ай бұрын
What is the accuracy of this model
@vaishanvishinde52092 жыл бұрын
Sir all the folders and director are placed under the emotion detection folder..??
@DataMagicAI2 жыл бұрын
Download dataset from kaggle and place under data folder inside of your project repository. All files are using relative paths from your project directory only. Go through ReadMe file from GitHub repository for more information.
@user-wp9wq7vm1z7 ай бұрын
How can I run it on my computer? It has been more than 10 days that I have been trying and it has caused me a psychological condition. Note that I downloaded the file from kaggle and called it in Python. Please can someone make a video? It is my graduation research.😢
@canwelaugh46897 ай бұрын
bro i need that link from where u downloaded
@hamzaghraoui1622 Жыл бұрын
hi sir is the preprocessing on the images i mean the operation is enough ????
@DataMagicAI Жыл бұрын
There is always more scope to do preprocessing in different ways. You can try with some other preprocessing and see if you are able to achieve better results.
@jojosage1322 Жыл бұрын
hey, exactly what type of features are being extracted
@DataMagicAI Жыл бұрын
At a high level it tries to find the different lines curves and dots in the image. Neural Network looks at image in term of the each pixel value and what it’s intensity.
@srinathakalai2405 Жыл бұрын
Sir how can I run the camera to detect the live photo and how to run the image to get output
@DataMagicAI Жыл бұрын
In opencv video capture provide the camera full address. If you are using default laptop camera then just pass 0. If you want to apply on image then use opencv imread to load image n then pass it for processing. Check out computer vision with opencv playlist on our channel where we have videos on how to read image/ video or live cameras.
@Tan-st5sp Жыл бұрын
@@DataMagicAI @Data Magic (by Sunny Kusawa) sir I'm a beginner.... Can u plzzzz tell me how you add Data folder (train and test) ???
@YomTech44 Жыл бұрын
Hello sir I have got a problem when I run train....py file said: 2529 if scipy is None: 2530 raise ImportError( 2531 "Image transformations require SciPy. " "Install SciPy." 2532 ) 2534 # Input sanity checks: 2535 # 1. x must 2D image with one or more channels (i.e., a 3D tensor) 2536 # 2. channels must be either first or last dimension
@YomTech44 Жыл бұрын
-> 2529 if scipy is None: 2530 raise ImportError( 2531 "Image transformations require SciPy. " "Install SciPy." 2532 ) 2534 # Input sanity checks: 2535 # 1. x must 2D image with one or more channels (i.e., a 3D tensor) 2536 # 2. channels must be either first or last dimension NameError: name 'scipy' is not defined
@DataMagicAI Жыл бұрын
Is seems younhave not installed all packages correctly. This error show scipynpackage is not installed please install it.
@ihsanadil846 Жыл бұрын
how to get deep and machine learning code for emotion detection, would u help me
@DataMagicAI Жыл бұрын
Go to description box. Code link is provided
@shyamsundard5824 Жыл бұрын
Sir another kind help. I have copied and pasted . h5 file but I am not able to view it. What shall I do sir
@DataMagicAI Жыл бұрын
What do you want to view?
@lessonsIlearned06 Жыл бұрын
@@DataMagicAI sir, a kind help for me too. I cannot copy or carry or import this emotin_model.h5 file to pycharm. how can I handle it.
@shyamsundard5824 Жыл бұрын
Bro I have downloaded the kaggle database. How to add it in my pycharm ide. Please help me bro
@DataMagicAI Жыл бұрын
You just add the full path of your data folder in the code which you written in Pycharm. No special process to add data in Pycharm.
@REHANARAUNAK786Ай бұрын
How to apply code on ck+ dataset??
@takwakhadhraoui5663Ай бұрын
hello where did you found the code plz ? i didint found it on the link in description
@shyamsundard5824 Жыл бұрын
Sir I beg up please help me When I downloaded and paseted the haarcascade frontal_face. xml file in Haarcascade directory, it is showing file size greater than 2.56MB. What shall i do sir. I really need your help. Do I need to the create the xml file and write code snippets or do I need to download and paste it
@shyamsundard5824 Жыл бұрын
Please help me sir. I am in a very critical situation
@DataMagicAI Жыл бұрын
You need to download harcascade xml file
@pasito2872 жыл бұрын
how did make file under file like in data in pycharm please reply
@DataMagicAI2 жыл бұрын
You mean folder under folder?
@rkag58113 жыл бұрын
Kindly post how to annotate the images. Tell about tools
@DataMagicAI3 жыл бұрын
I have shown it in this episode. Please check the same.
@daryllesteroza95429 ай бұрын
Hello!! Do I need to download all the requirements??
@DataMagicAI9 ай бұрын
Yes
@ulucaylube Жыл бұрын
What percentage of the dataset is used for training and testing?
@DataMagicAI Жыл бұрын
80
@z3us522 Жыл бұрын
Accuracy is so low like 17% how to fix this?
@drm8164 Жыл бұрын
Amazing work. Please how can i get the scripts ?
@DataMagicAI Жыл бұрын
Do you mean code?
@drm8164 Жыл бұрын
@@DataMagicAI Yes Boss, possible to have it please?
@drm8164 Жыл бұрын
@@DataMagicAI Boss, please tel me, i have a macbook pro 2.2Ghz processor, 8Go memory, is it risky for my machine to train the model, i m afraid to crush the processor because of high level of hit. Thank you in advance Boss
@amanagarwal2363 Жыл бұрын
My evaluate file is not working ....
@DataMagicAI Жыл бұрын
What error you are getting?
@stockeley74092 жыл бұрын
The cv2.resize() don’t work to me
@DataMagicAI2 жыл бұрын
What's the error. Make sure you are reading the image/video properly and not having empty feed.
@mehaktanveer94492 жыл бұрын
I need this expression changing video to check my model
@DataMagicAI2 жыл бұрын
Plz check on pexel.com
@sayamdeepamishra6806 Жыл бұрын
Do I need a GPU for this code? Because I am getting CUDA GPU errors
@DataMagicAI Жыл бұрын
Its warning ignore...you can run it without GPU
@sayamdeepamishra6806 Жыл бұрын
@@DataMagicAI AttributeError: module 'tensorflow.keras.preprocessing' has no attribute 'image_dataset_from_directory' But I constantly get this error, I tried to run this code on VS code, pycharms, everywhere
@indupriyagutti19663 жыл бұрын
What is the accuracy did you get?
@DataMagicAI3 жыл бұрын
92%
@hemareddymuppidi46972 жыл бұрын
@@DataMagicAI sir may I know which dataset is better for emotion recognition whether it is ck+ dataset or fer 2013 dataset
@leatherpigeon23062 жыл бұрын
@Ratnadeep Mazumder how to fix it
@ramyacs98832 жыл бұрын
Wt are the requirements for system to install pycharm?
@DataMagicAI2 жыл бұрын
Please check on below link all the requirements. www.jetbrains.com/help/pycharm/installation-guide.html#requirements
@ishaanchandak4774 Жыл бұрын
flow form directory showing error
@DataMagicAI Жыл бұрын
Send the error
@vaishalivaishu1546 ай бұрын
Sir I can't able to find the code please help did any one found the code
@DataMagicAI6 ай бұрын
Its in description box.
@ZXACE1294 ай бұрын
@@DataMagicAI Sir, the link cannot be reached
@ayeshakhalid5708 Жыл бұрын
Sir which libraries are import for this code?
@DataMagicAI Жыл бұрын
Plz check in the code all libraries.
@vaishanvishinde52092 жыл бұрын
Can you tell me directory of the folder
@DataMagicAI2 жыл бұрын
Download dataset from kaggle and place under data folder inside of your project repository. All files are using relative paths from your project directory only. Go through ReadMe file from GitHub repository for more information.
@somyasubhashreemohanty1213 Жыл бұрын
Flow chart of this system?
@DataMagicAI Жыл бұрын
Not readily available. You can drop an email at datamagic2020@gmail.com
@WhisperingBooksanimation Жыл бұрын
I have copied the code but I'm getting errors
@DataMagicAI Жыл бұрын
Follow the steps properly, others are able to run it.
@nap176 Жыл бұрын
Can u do me favour Pls provide me the model , just put the model on a drive plszzzz and provide me the link ,pls i need it ,,,pls provide it within this week
@DataMagicAI Жыл бұрын
Download it from here: github.com/datamagic2020/Emotion_detection_with_CNN/tree/main/model
@562prabhassatti22 жыл бұрын
How to train a data set CNN
@DataMagicAI2 жыл бұрын
If you need full support. Drop email at datamagic2020@gmail.com
@civarry Жыл бұрын
it only shows 17% on evaulateemotiodetector
@hamzalaabidi94487 ай бұрын
Same did you know why?
@sorokhaibammilansingh48923 жыл бұрын
Sir how to check accuracy?
@DataMagicAI2 жыл бұрын
share on GitHub, please check.
@chintanambavi69432 жыл бұрын
Can I make it for image only ?
@DataMagicAI2 жыл бұрын
Yes
@chintanambavi69432 жыл бұрын
@@DataMagicAI i have having problem downloading tenserflow and grpcio will this be because of paython 3.9 ??
@562prabhassatti22 жыл бұрын
Mine showing error adam is not defined
@DataMagicAI2 жыл бұрын
Make sure you have addded the import statement for Adam. from keras.optimizers import Adam
@562prabhassatti22 жыл бұрын
@@DataMagicAI tq,s for replying but how to train our data model...like u said 4 hours......like how to do that just by simply running that train code
@hemanthm36363 жыл бұрын
How to add downloaded datasets to pycharm
@DataMagicAI3 жыл бұрын
If you keep dataset inside of your PyCharm project directory then you will be able to see dataset in PyCharm. There is nothing like adding dataset to PyCharm. You can put your dataset in any directory and pass that directory to your python code in PyCharm to load and train dataset.
@muhammadimtiaz70943 жыл бұрын
@@DataMagicAI Sir Kindly Upload a Practical video, how to do this. I tried but couldn't find any results. Thanks!
@LuongTran-su5zw10 ай бұрын
i need source website contain video demo
@DataMagicAI10 ай бұрын
Pexel
@LuongTran-su5zw10 ай бұрын
@@DataMagicAI thank you so much
@Uday-yf4ue6 ай бұрын
Is it possible to deploy this
@DataMagicAI6 ай бұрын
Yes!
@Uday-yf4ue6 ай бұрын
@@DataMagicAI I am trying to deploy this but I get errors
@ajitaagrawal80312 жыл бұрын
It is running an infinite loop
@Ligress Жыл бұрын
Press q
@sanjaysd36512 жыл бұрын
Can u give the flow chart for this sir
@DataMagicAI2 жыл бұрын
I don't have it ready...
@sanjaysd36512 жыл бұрын
@@DataMagicAI how to get the graphical represent can u please tell me sir.
@DataMagicAI2 жыл бұрын
make use of matplotlib library in python to plot the accuracy and loss graphs
@kabberkartuj8924 Жыл бұрын
where is github link?
@DataMagicAI Жыл бұрын
Code link in description box
@Deep_photographer Жыл бұрын
can you please share the github link
@DataMagicAI Жыл бұрын
Code link in the description box
@Deep_photographer Жыл бұрын
@@DataMagicAI sample video not available in code
@zidijutt507411 ай бұрын
where is code
@DataMagicAI11 ай бұрын
Check description box
@akhildevarapalli81022 жыл бұрын
hi bro please tell me the uses of this emotion detection
@DataMagicAI2 жыл бұрын
- diagnosis dipression - check employee stress level - student reactions on classes - live gaming.experience - automobile safety features - patient monitoring system These are few but there could be lot of areas where we can utilise emotion detection to solve the real life problems...
@ajitaagrawal80312 жыл бұрын
Program is being compiled but the output is running infinite times and the kernel is being crashed showing error !ssize.empty()
@DataMagicAI2 жыл бұрын
It takes lots of time to run. What's your processor?
@vanshikarathi2356 Жыл бұрын
ValueError: decay is deprecated in the new Keras optimizer, pleasecheck the docstring for valid arguments, or use the legacy optimizer, e.g., tf.keras.optimizers.legacy.Adam. can someone help me with the error?
@vibhordewangan6304 Жыл бұрын
same error i am also facing please tell me the solution