Gender Detection using CNN, Python, Keras, OpenCV | Detect gender & faces on real-time video streams
HTML-код
- Опубликовано: 10 сен 2024
- 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/bal...
Matplotlib: • Matplotlib Tutorial Pa...
LinkedIn: LinkedIn: / balaji2512
Stay tuned for more such videos and subscribe to the channel
#python #GenderDetection #keras #tensorflow #opencv
THANK YOU! For not just grabbing an already available model and call it a "tutorial"
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.
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
sir could u please specify the requirements that needed to be installed in a seperate file as if u did in the last video
Great work respect from Pakistan🤗🤗
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.
My webcam sometimes Not responding how can i solve the problem. but the cam working good.the recognition is strucked sometimes. please help
Thank you soo much Balaji, one of the best explanations even gotten to see!!!!
Please keep uploading these type of vedios ,,,, We always support you ,,,,,
Sir in this project requirement.txt file not there please give me
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
will this CNN using python, openCV, and Keras will work offline also?
Sir supr sir....Super Explanation with Coding...But,Where you do this Coding?
While detecting it says man for everyone...Can anyone help me with that
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
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
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!!
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
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
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
what are the requirements to run this code , can anyone explain please
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
How to run all these files. Please please explain
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.😄
bro does these work on vs code
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
wonderful video and surely it solved my problem
I have taken another dataset to run the model.. but the graph plot is not showing....i hve stuck in this problem.
hello @Balaji srinivasan hope you are doing could you please tell why are you using sublime text instead of jupyter notebook
Amazinflg bro ur work helped my assignment 🙂🙂
Can u help me?
bro can you helo me
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
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 ?
Hello,
I can't seem to download the file. I'm really in need of it for my project.
About the plot, seems like they are not working anymore. Can you check it out please?
Does not work on Ubuntu as there are lots of errors (detecting wrong faces and genders) while detecting faces via webcam
I am stuck with this error. Please Help. ImportError: No module named '_pywrap_tensorflow'
can we use jupiter notebook?
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
I don't have webcam so can i identify gender using photos. How to do it?
in which software we have to do this ??
Great work!! How to identify gender from group of person in an image
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....................
FailedPreconditionError: gender_detection.model is not a directory showing like this error
Please let me know we can do this ML using drag and drop using Azure work flow pipe line module
In this we using supervised learning or unsupervised learning ????
Can I apply this to another webcam source, i.e. XPath from a website?
i want this project bro can u explain i tried to implement but it is not working
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 ???
what libraries have to install init
sir which function in cvlib should be used in hand gesture recognition
Don't get the correct output.
When i checked it it can say female.
Why
same here
Hello, any solution
hello bro, i need some help can we add age code in that and how pls tell
hello my friend how can i download the man and woman folder ? can you help me
Can you make a gui for this ,I appreciate if you do this
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
are you use data augmentatio?
for pre processing?
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
what CNN architecture are you used Sir? Thank you
i have an error like no module named tensorlow.keras
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
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
how can we implement the same for helmet detection
ModuleNotFoundError: No module named 'tensorflow.keras' plz provide solution.ffffffffffffffffffff
Thank you for this amazing tuto.
Can I use the same method to detect if someone is minor or adult ?
Please sir can i get the dataset you use for this project?
Awesome tutorials
sir can we use Resnet 50 using transfer learning anyone plz suggest
Which IDE is this
how to calculate performance metrices like precission recall accuracy..etc
good explanation bro ....
bro mass broo
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.
Sir Do you have video on Chest-X-Ray-Images-Pneumonia-Prediction?
is this able to recognise transgender
Which tool is used here and how
Can u tell me your gpu specifications?
Sir i am getting model is not defined
Iam getting error iam using pycharm
nice video, thanks
Sir, could you make gender classification by walk movement ?
Is there any database in this project
Brother make video on number plate detection and text extraction
Hi Balaji, Can you please make videos on NLP
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.
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
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 anyone help me with the project
Can u do a video on modules in keras like layers
bro can t import tensorflow what will i do?
Use python version 3.6 to install the tensorflow
Btw great work
can u post videos on ml algorithms and also on opencv?
Bro explain in detail for better understanding
how to save the model in .model format
Issue comes from Tenserflow... model.fit_genrator method is deprecated please use model.fit
bro plot is not getting saved
Sir can u make it for detecting Transgender too...
Can u make a discord servers for us so we can talk and ask our queries please
why don't you get a better camera?
i got out of sample error too high
Bro can u make video on segmentaion using unet
Sure.