Real Time Age And Gender Recognition Using Pre-Trained Caffe models lPython Opencv|KNOWLEDGE DOCTOR|
HTML-код
- Опубликовано: 10 сен 2024
- Real Time Age And Gender Classification Using Python & Opencv.
Drive Link: drive.google.c...
Blob From Image: www.pyimagesea...
Blog Link: knowledgedocto...
I'm on Instagram as @knowledge_doctor.
Follow Me On Instagram :
www.instagram....
Like My Facebook Page:
/ knowledge-doctor-progr...
Background Music Credit
(prod. RflowBeatz) :
Music Link: • [ Love Beats ] NO COPY...
This is the best video I had ever seen on face gender recognition system. I works perfect . Thanks a lot 💡💡
Thanks bro🥰🥰
Bro have U followed this video from scratch then ending up perfectly working or U already had little knowledge on it ? Coz I am understanding and typing and it may or may not work
bro I need help
brother
i need some help by this code
Unfortunately I deleted folder from drive and link will not active for few days, Yeah now drive is active and having all of those file feel free to watch and enjoy.. Do your code by own all of the model file you will get at drive link🌻
Not all files are there please tell me
you just gained a subscriber sir, hats off to you
Thank you so much for this video bro
Welcome Share Please..
Please keep full project with abstract of age and gender detection with python
Bro this video is very helpful for me tq bro
You are welcome
And by the way your tutorial is so helpful
can you help me with this question --
Create a feature to detect the number of females as well as males in a meeting room along with their age.
if the person wear a white shirt we should make their age as 23 irrespective of their age and gender as well if they wear black shirt
we should predict that person as child irrespective of their age and gender and this feature should not work if we have less than 2 people in the meeting
how to fix this brother
(Can't open "opencv_face_detector_uint8.pb")
thanks
Thanks you so much for the video..
Share please
bro the file name is age_net.caffemodel , i couldnt able to run that file on visual studio code what can i do bro
Good job buddy 👍
Thanks bro..
I am having issues with the code and it is giving this error
in
25 while True:
26 ret,frame=video.read()
---> 27 frame,bboxs=faceBox(faceNet,frame)
28 for bbox in bboxs:
29 face=frame[bbox[1]:bbox[3], bbox[0]:bbox[2]]
in faceBox(faceNet, frame)
4
5 def faceBox(faceNet,frame):
----> 6 frameHeight=frame.shape[0]
7 frameWidth=frame.shape[1]
8 blob=cv2.dnn.blobFromImage(frame, 1.0, (300,300), [104,117,123])
AttributeError: 'NoneType' object has no attribute 'shape'
Please check your camera It's opening or not.
If you use external camera set 1 inside VideoCapture(1)
Thank you for the help
genderPred=genderNet.forward()
getting error on these line cv2 error please help
Two error aa rahe hain
1) frame, bboxs = faceBox (faceNet, frame)
2)FrameHeight = frame.shape[0]
Attribute error: 'noneType' obeject has no attribute shape
????????????????plz help
Same error
Please check you video file path or web cam number
any solution?
I also got same error
@@AleReyesYT Replace "4.MP4" with a "0" in video=cv2.VideoCapture(0)
brother i have a doubt- in the scale of 1 to 10 how hard is this project for a rookie in python.
i'd like to know whether it's doable in 1 month ? if you reply this could really great help to me.
which algorithm you are using?
Bro opencv_face_detector_unit8.pb ...is not opening in vscode..what should i do?any solution plz....
It's not open just need to call it at program
Amazing job, thank you.
There is no document. Txt wt to do
ageNet cv2.dnn.readNet (ageModel, ageProto)
error: OpenCV(4.8.0) D:\a\opencv-python\opencv- python\opencv\modules\dnn\src\caffe\caffe_io.cpp 1126: error: (-2: Unspecified error) FAILED: fs.is_open(). Can't open "age_deploy.prototxt" in function 'cv:: dnn:: ReadProtoFromTextFile'
Getting this error bro what should I do now
Traceback (most recent call last):
File "c:\Users\Rn\Desktop\Age _ Gender Recongniition\main.py", line 50, in
frame,bboxs=faceBox(faceNet,frame)
File "c:\Users\Rn\Desktop\Age _ Gender Recongniition\main.py", line 6, in faceBox
frameHeight=frame.shape[0]
AttributeError: 'NoneType' object has no attribute 'shape'
what can i do now ?
retype the whole code in another file and then execute it.
Ok
Use sagar patil technic
No idea then
No idea then
Brother age net caffemodel and gender net caffemodel files are showing as unspecified how can I solve this error 🙏 plz reply
how can we train the pre trained model ?
u cant because they are already trained
Caffemodel is not opening in vs code.. what can i do please rply sir
Assuming someone's gender in these times? Damn... you like to live on edge.
I couldnt find anything on the drive link
i have a question
what algorithm is used in this system ?
It works thanks a lot it's very helpful 🤜
Thanks, Keep Your Support
No module named 'cv2' error its hsowing , how to correct it .
Thanks Brother
It's helpful btw is there have any dataset?
NameError: name 'bbox' is not defined. Did you mean: 'bboxs'? this error occurs. kindly reply
replace bbox with bboxs
from where i can get the model files, there is nothing in your google drive
Brother drive link is accessible??
can u send detailed report on this
i am getting an error in frame in def function
document files where ???
Does this fall under machine learning or deep learning?
Bro its shiwing module cv2 not found
How can i overcome this issue
Pls, help me bro pls
pip install opencv-python
Why the caffemodel is not visible in vs??
bro i want this project the problem is i cannot able to run it im confused pls help me
Thank you bro
Hi this question is a bit late but i REALLY wanted to ask what CNN architecture has been used in Caffe model, it's kinda urgent
It's Cafe Architecture For Better Knowledge You Can read their Research paper
why i have error like that :
(Traceback (most recent call last):
File "c:\Users\ACER\Downloads\Age & Gender Recongniition-20230726T134521Z-001\Age _ Gender Recongniition\main.py", line 50, in
frame,bboxs=faceBox(faceNet,frame)
File "c:\Users\ACER\Downloads\Age & Gender Recongniition-20230726T134521Z-001\Age _ Gender Recongniition\main.py", line 6, in faceBox
frameHeight=frame.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape')
use "video=cv2.VideoCapture(0)" this command instead of using "4.mp4" use "0" in it, it'll work (fram @sharvariwalde8116
bor can u say like how we can count how many persons are there in frame
how does it long to complete this project?
Hii can u please upload the code separately
Which python version is used
sir the vidio is amazing but can i have the link of datasets and other paths that you use in it for my mini project for my collage
please🙏
Bro my looping is running coontinuesly how to stop it
press q if It's written in code otherwise press ESC
sir is m model train or data kon sa lia h y bta dy
Which method you followed?
Good man
Can we do the samw thing in pycharm comm edition
Yeah you can..
what's the accuracy of face, age ,gender detector?
Can it work with still images
None type object has no attribute shape error has occurred how to solve this
Change the video path make it 0 Cz You Copied the code.
Nice project bro
Bro I didn't getting Output 😭 plz bro suggest me to run the code
Amazing bro💖💖
Thanks bro.
Can somebody explain to how to use this on MacBook
I’m stuck
model kon sa use kra h
how can we deploy it using fastApi
There was a problem in predicting the age like, my age is 20 and it showing b/w 25-32
can any one help me please...its Urgent
any Solution You find it? Regarding this Problem?
Bro drive link is not opening
Ok Bro
how can we add this in tkinter window?
What's the accuracy of the model?
You are superb bro..
Lots of Love for your channel ❤❤❤...
Are u on Linkedin??
Yes I am available
@@knowledgedoctor3849 tell your linkedin username
How did you calculate your 34:38?
thanks
Bro could you please upload the py file? Be easier to learn from actual file than follow the video to code. Great job!!
I have some problems. Please, help me.
it code has not working
Check the video again.
I think You Do Any Mistake
Where I can download full Coding brother😢
Koi mujhe bata sakta hai isme database ki jarurat haii kyaa
Which cnn architecture used in this project? Name plz
Ok it's caffe architecture(convolutional Architecture for fast feature embedding)
can we use google colab?
what MODEL_MEAN_VALUES mean?
File "s:\PTAC project\PTAC-2\main.py", line 49, in
frame,bboxs=faceBox(faceNet,frame)
^^^^^^^^^^^^^^^^^^^^^^
File "s:\PTAC project\PTAC-2\main.py", line 20, in faceBox
return frame, bboxs
^^^^^
NameError: name 'bboxs' is not defined. Did you mean: 'bbox'?
kindly tell bro
How to convert it into app
It give me an attribute error,at shape
Matrix pe 6 index pe kiska value lega tumra toh 5th index tak hi hai
Send the code and pre trained caffe models bro...
how to unzip these files
hello bro. I want to ask, on the age list can it be changed?
Yes You Can
@@knowledgedoctor3849 does it use datasets? if so, what dataset did you use?
Amazing project but can please tell me accuracy of this project and how to calculate it please very urgent
data set ki csv file kah h
AttributeError: 'NoneType' object has no attribute 'shape'
Bro how to create those age_net.caffemodel and gender_net.caffemodel
did you find a solution?
bro output window isnt getting closed.HELPP
press q from keyboard
Thankss
Plz post if u have abstract of this project
Activate the drive link please
Yeah now you can Access 🌻
are you using CNN in this project
No Cafe Model.
bro didnt get output
Caffe model file links send fast
Bro How can I Make This in Mac OS
Yes You Can Run This File In Mac Also. If any error you get please show me the error.
@@knowledgedoctor3849 Okay.
Do you have documentation
See this video.
Hello bro can u send me the project documentation ...?
Better You Watch The Video, Actually I Don't Write Any Blog for this Project
Error "video" is not defined
Pass 0 inside VideoCapture
@@knowledgedoctor3849 bro without padding we do run this?
Cv::dnn::dnn4 anonymous namespace TFImporter ::populateNet yh error aa rha h can anyone help
Use Latest Version of Opencv
@@knowledgedoctor3849 latest version hi h dobara install kia tha abhi