Gender Detection using CNN, Python, Keras, OpenCV | Detect gender & faces on real-time video streams
Vložit
- čas přidán 18. 07. 2020
- In this Python programming video, we will learn how to build a Gender Detector using Keras, Tensorflow, and OpenCV. We will also see how to apply this on a Live Video Camera.
Face region is cropped by applying face detection using cvlib package on the images.
This is a very beginner friendly project and try to use Anaconda Terminal to install the dependencies and running the model. Feel free to play around with the code, change the parameters and come up with better accuracy. Let me know the changes in the comment section.
GitHub: github.com/balajisrinivas/Gen...
Matplotlib: • Matplotlib Tutorial Pa...
LinkedIn: LinkedIn: / balaji2512
Stay tuned for more such videos and subscribe to the channel
#python #GenderDetection #keras #tensorflow #opencv
The code is so clean and precised. Praise to you for explaining it in such easy way. If possible please make some video on image segmentation (medical use), thanks.
THANK YOU! For not just grabbing an already available model and call it a "tutorial"
Thank you soo much Balaji, one of the best explanations even gotten to see!!!!
Thank you so much it really really helped me in my project. You have such a great work. Keep posting and spreading knowledge thank you sir
Please keep uploading these type of vedios ,,,, We always support you ,,,,,
thank you sir for such video, this video is so clean and easily understandable, and sir please post this kind of video in the future so that we can understand any concept from the root.
wonderful video and surely it solved my problem
Really good bro!! I watched the whole video without skipping,it was very good.
I have a doubt ,how do you determine no. Of conv2d layers & its size for your model?
And about batch normalization you said it depends on the model you're working.so,what all scenario should i consider using batch norm?
Would really appreciate if you could help me with this!!
Thankyou
Great work respect from Pakistan🤗🤗
Awesome tutorials
I have subscrived to your channel wonderful explanation.................................to all topics...... please upload more video in deep learning image classification object detection in image and video behaviour detection..................Good Video Sir....................
This code worked with zero changes in 3 minutes up and running (even on windows). How often does that happen :) Great work thank you for sharing.
can you tell me how to download the dataset
Please make a video on how to get started with machine learning ?
I mean everything weather it could be time how to master, time taken, how to learn, mathematics requirements, where to learn, required skills to start.
We hope you will make a video
sir could u please specify the requirements that needed to be installed in a seperate file as if u did in the last video
Thanks for the video.
How do you know which steps to take to make code work? Do you read documentation on the libraries or some other way?
Im trying to build something on my own i just dont know which steps to take.
I understand we load the data but how do you learn what to do with the data afterwards
good explanation bro ....
nice video, thanks
Sir supr sir....Super Explanation with Coding...But,Where you do this Coding?
Great work!! How to identify gender from group of person in an image
Amazinflg bro ur work helped my assignment 🙂🙂
Can u help me?
bro can you helo me
hello @Balaji srinivasan hope you are doing could you please tell why are you using sublime text instead of jupyter notebook
Btw great work
Thanks for the good work man.
How can I take my dataset/ images from a webcam and directly save them to the database according to the stipulated number of images in my code that I want to save
the video is so helpful but the problem though is that video is 3 years old, there should be an updated needed with keras 3.3. Thanks in advance.😄
hello i was trying training program i downloaded every thing from gethub link i deleted the model in the downloaded folder and wanted to train it again as the training completes the model is being saved as a folder can you help me how to make it as an normal model file
Please let me know we can do this ML using drag and drop using Azure work flow pipe line module
Nice one...Very interesting
Thank you 😊
@@BalajiSrinivasan25 That was a great video, Could you please leave a link to the paper which you referred to for the architecture used. It would be of great help thanks.
Amazing bro.. 💯% accurate code
bhai yaar mere to work hi nhi kar raha help kar de plz
I got some error bro please. Send your mail id
I have a code that reads the photo or video and determines if a mask is wearing or not. The question is how to calculate the quality
Sir in this project requirement.txt file not there please give me
Hi everyone, i tried like video but I have an error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 14: invalid continuation byte" when I load_model('gender_detection.model'). How can I solve an error ??. Thank you!!
Thank you for this amazing tuto.
Can I use the same method to detect if someone is minor or adult ?
sir which function in cvlib should be used in hand gesture recognition
are you use data augmentatio?
for pre processing?
While detecting it says man for everyone...Can anyone help me with that
Plz help!!!!!!!!!! i am getting this warning
W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_100.dll'; dlerror: cudart64_100.dll not found
Brother make video on number plate detection and text extraction
should the image type also be same i.e it must be jpg only or can be any thing like jpg,png,jpeg and all ?
Hi Balaji, Can you please make videos on NLP
Please,,,,,,, make a vedio on ,,, how to do similar thing with other thing ,,,,,,,like,,,,,,machine/device detection,,, programming
I love your vedios,,,,,,,,,,,,,,,,,,,,thanks a lot
Hello,
I can't seem to download the file. I'm really in need of it for my project.
I have taken another dataset to run the model.. but the graph plot is not showing....i hve stuck in this problem.
DLL load failed while importing _pywrap_tf2: A dynamic link library (DLL) initialization routine failed. this error occurs sir while compling the code but i installed all the libraries correctly
I am stuck with this error. Please Help. ImportError: No module named '_pywrap_tensorflow'
how to calculate performance metrices like precission recall accuracy..etc
Hello sir i really appreciate you, for the simplifying a project. Can you can take a minute out of your busy schedule and review my code.
Can I apply this to another webcam source, i.e. XPath from a website?
My webcam sometimes Not responding how can i solve the problem. but the cam working good.the recognition is strucked sometimes. please help
In this we using supervised learning or unsupervised learning ????
sir can we use Resnet 50 using transfer learning anyone plz suggest
how can we implement the same for helmet detection
I am a. Newbie just learning python wanna ask although funny could we with the help of ML and AI can make application To read Doctors hand writing infact any vernacular writing style and able to print in. Normal font ???
Can u do a video on modules in keras like layers
what CNN architecture are you used Sir? Thank you
Sir, could you make gender classification by walk movement ?
sir i am getting this error , With n_samples=0, test_size=0.2 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
Am also getting same error bro
.model file format is not working ,how to save the model in .model extension, but i tried with keras .h5 format for saving model
issue comes from Tensorflow... model.fit_genarator method is deprected... please use model.fit
Who else got this video in recommendation and liked it without even watching the first 1 minute.
can u help with this problem
from tensorflow.keras.preprocessing.image import ImageDataGenerator
ModuleNotFoundError: No module named 'tensorflow'
@@ashugoyal8207 all you need to do is pip install tensorflow in your cmd or powershell
@@ashugoyal8207 all you need to do is pip install tensorflow in your cmd or powershell ...after that you need to import in your ide and use it
I don't have webcam so can i identify gender using photos. How to do it?
FailedPreconditionError: gender_detection.model is not a directory showing like this error
Sir Do you have video on Chest-X-Ray-Images-Pneumonia-Prediction?
Can you make a gui for this ,I appreciate if you do this
i have an error like no module named tensorlow.keras
hello bro, i need some help can we add age code in that and how pls tell
can u post videos on ml algorithms and also on opencv?
About the plot, seems like they are not working anymore. Can you check it out please?
Hello brother... can you tell about cvlib. I was trying to run it in jupyter notebook.. all gone well but while implementing it gives that no module named cvlib. I tried to do everything but the error remained same. Can you please tell?
Even I got the same prblm bro do u have any solutions to that
@@nithishgowdam6486 Actually I was working on jupyter notebook in Anaconda. So as and when I run that there was a notification to install this library. I installed them and now it's working
Also I set up a different environment tensorflow for my project
Does not work on Ubuntu as there are lots of errors (detecting wrong faces and genders) while detecting faces via webcam
Can u tell me your gpu specifications?
what are the requirements to run this code , can anyone explain please
ModuleNotFoundError: No module named 'tensorflow.keras' plz provide solution.ffffffffffffffffffff
i have error when i used this code i don't know why ?
ValueError: With n_samples=0, test_size=0.2 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
in my case I needed to change the way I access my data from my drive
Which tool is used here and how
hello my friend how can i download the man and woman folder ? can you help me
what libraries have to install init
Please sir can i get the dataset you use for this project?
Hey Mr Balaji could you make a video only training a simple objec detection in other words only detectin one object. I'm very new in the shields of the object detections and i can understand a little plese could you make a video like this but only for detect one object
sorry I was trying to said that I'm very new in the field of object detection. My english is so bad jaja Please help me
can we use jupiter notebook?
bro does these work on vs code
in which software we have to do this ??
Sir i am getting model is not defined
Can u make a discord servers for us so we can talk and ask our queries please
can anyone help me with the project
Is there any database in this project
Bro can u make video on segmentaion using unet
Sure.
Don't get the correct output.
When i checked it it can say female.
Why
same here
Hello, any solution
bro can t import tensorflow what will i do?
Use python version 3.6 to install the tensorflow
Bro explain in detail for better understanding
Which IDE is this
how to save the model in .model format
Issue comes from Tenserflow... model.fit_genrator method is deprecated please use model.fit
Iam getting error iam using pycharm
i got out of sample error too high
Sir can u make it for detecting Transgender too...
bro plot is not getting saved
is this able to recognise transgender
Can I have code
هههه
why don't you get a better camera?
only detecting male classes
Dont you have a girl to present that. So sad. same here. LOL