Face Recognition Based Smart Attendance System With Web Apps Using Machine Learning.
HTML-код
- Опубликовано: 6 апр 2023
- Face Recognition Based Smart Attendance System Build By Using Python & Machine Learning,
Here we use KNN Algorithm in Order to build Face Recognition System .
After taking attendance we need to store it in CSV File and we also show the attendance in Streamlit.
Here we Go....
Source Code: github.com/Chando0185/face_re...
I'm on Instagram as @knowledge_doctor.
Follow Me On Instagram :
invitescon...
Like My Facebook Page:
/ knowledge-doctor-progr...
Discuss With Me,
Join Discord Server,
/ discord
I give best effort in this project, i hope most of the students will follow it.
Happy Coding🔥
Amazing Project, brother!
Yes
Can we modify this to detect multiple people
New Video Already Release Few Days Ago See the latest one.
please make a similar project using django
Thanks a lot bhai. Your videos are great. I am also trying to contribute the community. Please keep me in your prayers so that I can make quality videos like you.
Always🔥
ur a life saverrr
Thank you bhaiya 🙏🎉
very smart :) keep it up mate
Thanks🔥
thanks for lesson
Thanks for this amazing information 😁ℹ️
Thanku❣️
Thank you so much for sharing your knowledge, Sir.
You are Welcome ❣️
hello, thank you so much or the video, you are a life saver. I have a question though, I don't have a folder called "data" in my project file
Excellent video, could add a time-in / time-out and status late / on-time function?
thank you so much man do you have like a document or something related to this project
how to detect many moving objects at the same time. thanku for video
@knowledge_doctor thank you very much for sharing this project. I managed to get the model working by capturing new data and displaying the stats in Streamlit. The problem is that I did a test covering the camera lens and then I took the assistance and it still captured and reflected it in Streamlit. Please if you can tell me where the error could be. Greetings from South America!
Thanks For Commenting, I need to see the error then i can give you the perfect solution.
i hope that you will do about fingerprint~
It does recognize multiple faces, it doesnt however print all of them, can u tell me how to fix it?
my frame is not static for a while, what should i do ??
how do you train this model on a large dataset, where did you even take the data in this whole project?
in this project can we add calendar in web page to check the previous day data
hi sir.. thanks for the tutorial, is there any project about employee face recognition attendance system using python, flask (web interface), and mysql? and maybe also using anti-spoofing? i think it will be great 🔥
Great Idea, Let me try this one
Hi, I really liked your project and i am working on something similar. Can you please share some learning resources from where you got it. That will be very helpful for me. Thanks!!
did you get anything ? I am trying to implement using cnn , reply if u find something , thanks
I got an error when I added another person's face and I can take attendance using my face
should i download visual studio for this project?
can i ask what machine learning algorithm you use in this project?
You deserve money😄
Badly Don't Need Money, Wanna to Spread My Knowledge 😊
what is written in .xml file ??
Can we add more than one student not at the same time but multiple students
Hlo sir error in first line cv2 is no module named please help me
Hi. Thanks for the tutorial. I have a few questions.
1) What if there are multiple faces in the given frame?
2) How to handle faces that are unknown to the system?
Thanks for your valuable help
It's Just One Simple & Straight Forward System, For Advance System We Need to make it Using Deep Learning Algorithm.
New Videos is Coming Up Soon🔥
With Resolve 2 Problem That's You Mentioned.
Bro can you share resources from where you learn all these things. I want deep understanding
Is it possible to do this with flask or django?
Sir. My pickle file not created. What can i do
Plz help me plz
After running test.py its showing error in
Knn.fit( FACES ,LABELS)
raise TypeError(
TypeError : singleton array
Plz tell how to resolve it plzz
Bro another one small doubt how can I implement this in real time. Iam planning to implement this for marking attendence in automobile company so can you tell how can I bring this in real time
THIS already in realtime. If you wanna to make it MORE clearify you can USE Raspberry
My code is running but , he is only detecting name of chandu
I wanted to do some other project which is just like this using opencv, dlib.
Is it possible to plot a graph in the web page.... from the data which we saved in csv file ?
Dlib is old one try new techniques. Even dlib is support only at python 3.6
@@knowledgedoctor3849 can you suggest some new techniques?
excuse me sir, can i may i ask for the background wallpaper pls?
im 14 years old so im new in here, well beacuse of your video i can make face recognition in my school
thank you so much sensei🙏🙏
Did you got the solution..
i did everything properly but its not detecting properly
it shows the same persons name whos data was added recently
I have save my face but when i run it give chando there
How to set this
sir is it mark the attendence by photo or only detecting liveness plz kindly rspond am doing this project
Yes possible see you soon❣️
I am facing this error " Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample. ". can you help me !
Same here
If u find the solution please help
error: OpenCV(4.8.1) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
Sent the code
PC camera check working or not
Yaar Isme Database kaise connect Kiya hai..matlb data base ke liye use Kiya hai??
How can I remove the name if any other person comes in front of the camera
ValueError: all the input array dimensions except for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 2475 and the array at index 1 has size 7500 please resolve this
Check the code again.... Hopeso there should be data error while taking photo🌻
It's working thankyou so much@@knowledgedoctor3849
how you create the xml file inside the data folder please reply
I also have same doubt please anyone reply
Got any solution ?
ValueError: all the input array dimensions except for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 150 and
the array at index 1 has size 7500
this error i am getting.. can u help bro??
I am also getting the same error If you have fixed it please share how
ValueError: Found input variables with inconsistent numbers of samples: [100, 500] please resolve this
i have the same error but [100,300] did you find a solution?
Have you resolved this issue?
@@yessinbahri2721 yes
@@_studydiaries yes
i dont know why my video window is so laggy maybe due to system specification plz answer
Does it detect face from photo?
Sir can it detect multiple faces at one time and can we make automatic means whenever the face is detected its should take attendance automatic.
No need to press q ?
And what about accuracy sir what if 5 people are there will it properly detect
And thank you sir and plz reply
Yes You Can Take Attendance Automatically, But I make it manually cz Sometimes Cz of Camera It's Give Wrong Prediction too.
Like when first camera is open or lighting problem but you can.
No problem i will do it also
Accuracy is ok at all.
Yes It Can Detect 5 People Faces too Try this Out.
Thank You SIr u r the best
crime face detection with goverment database like new technology of china and japan in python make the tutorial please
Where is the cascade classifier
sir ,i got this error when i execute the code in Test.PY, error::Found input variables with inconsistent numbers of samples: [200, 600] please give the explination for this error sir.
sir please respond ,i am stuck in this sir please
Is this issue solved?
Sir please help me. I'm run this code comes are many errors 😭😭😭
File "c:\Users\HP\OneDrive - Graphic Era University\Desktop\Attendance System\test.py", line 19, in
knn.fit(FACES, LABELS)
How to fix this error??
??
Is it solved?
bhai ho gya ho to bta de kaise kia
Is there need of any hardware or not?
No
Aap ne kon konse data set use kiye hai
Please muje ans dijye
Bro JarvisAI assistant Android mobile speak to speak, using kivy and kivymd create Android mobile buildozer.spec convert to apk, kindly update the video python code.
Unfortunately, Few Libary are Platform Specific. I Hope It's not Possible to Convert it to APK.
Help me I got stucked in the error " Found input variables with inconsistent numbers of samples: [100, 700] "
Problem Solved !!! Thanx 🚀
@@siddheshasati5093 how did u solved this problem
I got error for detecting my face , the cam is not on
can u pls send me the code or put it in description . i need it plsssssss
It showing can't open xml in read mode
Got any solutions?
raise ValueError(
ValueError: Found input variables with inconsistent numbers of samples: [100, 300]===I am facing this error, how do I resolve it? while running the test.py file
Did you resolved this issue?
hello bro can you help me to setup environment
You did good, but bro you are going too fast jbh u were not pronouncing words properly. and u didnt explain the which plugin we should install there can be someone who is at the beginning level
Okay, I Will Do.
How to add more than one person please explain anyone
If You Guys, Get Any Error May Be It's Coming From List. Cz While Making Videos I Do The Same Mistake, Later on in the testing part i resolve this error..
So My request please watch the video carefully and understand each of the lines then you able to resolve this..
Don't worry New Face Recognition Technique Video Also Coming Up Soon🔥
Stay Tune.
I'm not able to solve my problem. Please help me. It's really urgent.
How to creat xml file ,, that is whwre am stuck
bro i took 2 peoples data but I didn't got correctly.reply me fast bro
ValueError: Found input variables with inconsistent numbers of samples: [200, 500]
This is the error which is being showed at 36:09 of your video. Been stuck at this problem for a very long time kindly help
Hopefully, It's About Sample Number For Face, Check That if you append the array value into the wrong list..
Is your project working?
@@knowledgedoctor3849 Hey !!! I am also getting the sample error kindly provide any solution
no
@@learner6262
Bro how can I make this fire effect when type code in vs code
It's Vs Code Extension
It's Vs Code Extension
you have one mistake u should change file name as face_data.pkl in file name
Yeah
May I know the application name that you used to implement the code..
Vscode
Bhai iska database kaise connect Kiya hai?
First of all Thank you sir .sir i got an error that is in test.py file how we can import the sklearn.neighbors . Please tell me sir the next process is not doing in this project please tell me sir
Sir I clear that above error but test.py file is not running what can I do
Install python correctly & install scikit-learn
New Project Also Coming in this Topic Cz Many of them getting confused in some section coming up soon with bass boost.
K sir 😊
Traceback (most recent call last):
File "c:\Users\anand\OneDrive\Desktop\Face Recognition\test.py", line 10, in
LABELS=pickle.load(f)
^^^^^^^^^^^^^^
EOFError: Ran out of input
Hey! Can you tell me how to solve this error?
bro , don't take this in a wrong manner.
your videos are absolutely great. but your accent is kinda artificial. pls speak normally
Thanks Bro❣️🌻 I Will try to improve it
This project is not functioning correctly; it displays unfamiliar faces as known. And display random names of unknown persons whose names already exist in the collection. ⚠⚠
Am getting value error
ValueError: Found input variables with inconsistent numbers of samples: [200, 400]
You need value is not updated check your code & video again.
@@knowledgedoctor3849 how to update it
raise ValueError(
ValueError: Expected 2D array, got 1D array instead:
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample
i received this error when i trained more than 1 image
Yes Check the Last of the video here are some changes on the pickle file.. Rather check the code
Where shall I make changes?
how to add onther person face
Run the script again
Is this Anti Spoofing Face recognition Based Smart Attendance System?
Anti Spoofing Means?
@@knowledgedoctor3849it means it won't Mark attendance even if you show your photo in mobile other wise if it is not antispoofing you can easily mark attendance by showing your photo on mobile itself even if you are not there so anti spoofing is necessary
@@knowledgedoctor3849 Means if user want to mark attendence with the help of Picture via mobile phone then the your smart attendence system does not mark the attendence and then he print out he is fake or spoof img.
Cool Let's Make this one Too🔥
Unfortunately It's Not Work in This Case.
@@knowledgedoctor3849 Sure please sir make this type of projects not simple projects ok sire. Because in simple projects they are all avilabe on internet with there source code to. So sir please build unique projects they help us.
Mine is not working pls help
Why
@@knowledgedoctor3849 your code also have the error
bro video error
Hi bro how to resolve
ValueError: Found input variables with inconsistent numbers of samples: [200, 400]
i watched video many times but can't able to fix
can u rerun in ur system to validate code is working fine or not may be due to dependencies upgrade
i hv also got same error
Please Check the Code At Github..
I Think You Put The Face Data in Wrong List.
@@knowledgedoctor3849 can u try your code in your local system
Yes Parker
Is this code working??
You have not provided the password of your git repository pls provide that also❤.
I Know, I don't have any strong fanbase that's why i got low view & also one of the underated youtuber, I will fight untill hit 100k Subscriber 🌻 Check My Multiverse of 100+ data science project series..🌻
bhai tera accent he smjh nhi aarha
That's mine voice problem bro, i can't pronounce some word properly.. Bohot Try Kiya Mene Ho Nehi Pa Rehi He, is me mera koi galti todhi he.. God make me like that..
@@knowledgedoctor3849 galti toh meri hai mujhe Tera accent smjh nhi aaya...iss angle se bhi soch sakta hai tu bro🥲😊
sorry to say boss, but this is not a well project because it takes the attendance even hand also? whats the stupid thing? please don't redirect the bigneers to wrong path. its my humble request
Even Hands?
@@knowledgedoctor3849 yes sir
By adding
If conf>50:
Cv2.rectangle()
Cv2.puttext(name_list)
Else:
Cv2.rectangle()
Cv2.puttext(unknown)
Is it possible to say the unknown person as unknown using this code??
Yes Possible Cz It's Give you the Confidence Value.
LABELS=pickle.load(f)
EOFError: Ran out of input
35:58
I got error here , now what to do ?
Hey! Can you tell me if you have solved this problem? Please let me know.
Hello Mr. knowledge,
Thank you for this helpful tutorial, is there anyway i can contact you or message you? I would like to ask for help since i have a project that need a face reocgnition attendance for Events using python, cnn algorithm and csv/mysql? with a recquirement of anti-spoofing? I hope you see this comment thank you!!
Instagram You may🤗
bro can i contact you today??