Face Recognition Based Smart Attendance System With Web Apps Using Machine Learning.

Sdílet
Vložit
  • čas přidán 6. 04. 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

Komentáře • 192

  • @knowledgedoctor3849
    @knowledgedoctor3849  Před rokem +36

    I give best effort in this project, i hope most of the students will follow it.
    Happy Coding🔥

  • @sabeekbinsayeed
    @sabeekbinsayeed Před rokem +3

    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.

  • @Ta3allamOnline
    @Ta3allamOnline Před rokem +1

    very smart :) keep it up mate

  • @runy6429
    @runy6429 Před 8 měsíci +1

    ur a life saverrr

  • @stargoonmiracleousworld1251
    @stargoonmiracleousworld1251 Před 2 měsíci

    Thank you bhaiya 🙏🎉

  • @uminhtetoo
    @uminhtetoo Před rokem

    Thank you so much for sharing your knowledge, Sir.

  • @circulartext
    @circulartext Před 6 měsíci

    thanks for lesson

  • @harkulash8559
    @harkulash8559 Před rokem +1

    Thanks for this amazing information 😁ℹ️

  • @user-go9rg4vv7j
    @user-go9rg4vv7j Před 6 měsíci

    Excellent video, could add a time-in / time-out and status late / on-time function?

  • @rajaazeidan7930
    @rajaazeidan7930 Před 3 měsíci +1

    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

  • @kunalkumaraiml2365
    @kunalkumaraiml2365 Před 11 měsíci +1

    my frame is not static for a while, what should i do ??

  • @jeanpating8447
    @jeanpating8447 Před 8 měsíci +2

    It does recognize multiple faces, it doesnt however print all of them, can u tell me how to fix it?

  • @SonHuynh-fj4eb
    @SonHuynh-fj4eb Před 9 měsíci

    i hope that you will do about fingerprint~

  • @TheWalkthroughistYT
    @TheWalkthroughistYT Před 11 měsíci +1

    thank you so much man do you have like a document or something related to this project

  • @ashworld53
    @ashworld53 Před 8 měsíci +2

    I got an error when I added another person's face and I can take attendance using my face

  • @claudiomunozaraya4080
    @claudiomunozaraya4080 Před rokem +1

    @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!

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem +1

      Thanks For Commenting, I need to see the error then i can give you the perfect solution.

  • @pankajjoshi8292
    @pankajjoshi8292 Před 9 měsíci +1

    how to detect many moving objects at the same time. thanku for video

  • @sdsameer836
    @sdsameer836 Před 26 dny

    in this project can we add calendar in web page to check the previous day data

  • @semicolon1198
    @semicolon1198 Před 10 měsíci +1

    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 🔥

  • @aaditi8870
    @aaditi8870 Před 4 měsíci

    how do you train this model on a large dataset, where did you even take the data in this whole project?

  • @user-zl9pz2nc2g
    @user-zl9pz2nc2g Před 8 měsíci

    should i download visual studio for this project?

  • @user-mdB88BS
    @user-mdB88BS Před rokem +1

    You deserve money😄

  • @aashichakrawarti8594
    @aashichakrawarti8594 Před 7 měsíci +1

    what is written in .xml file ??

  • @syedmumer2348
    @syedmumer2348 Před 5 měsíci

    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!!

    • @vijaykrishnan7797
      @vijaykrishnan7797 Před 3 měsíci

      did you get anything ? I am trying to implement using cnn , reply if u find something , thanks

  • @dun3007
    @dun3007 Před 7 měsíci

    can i ask what machine learning algorithm you use in this project?

  • @manishsingh5547
    @manishsingh5547 Před 10 dny

    i did everything properly but its not detecting properly
    it shows the same persons name whos data was added recently

  • @PriyaChoudhary-mw4mx
    @PriyaChoudhary-mw4mx Před 7 měsíci

    Hlo sir error in first line cv2 is no module named please help me

  • @TheWalkthroughistYT
    @TheWalkthroughistYT Před 11 měsíci

    Can we add more than one student not at the same time but multiple students

  • @ShripatiVijayaraghavan
    @ShripatiVijayaraghavan Před rokem +5

    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

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem +3

      It's Just One Simple & Straight Forward System, For Advance System We Need to make it Using Deep Learning Algorithm.

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem +8

      New Videos is Coming Up Soon🔥
      With Resolve 2 Problem That's You Mentioned.

  • @sayantanmitra5641
    @sayantanmitra5641 Před dnem

    The video was very helpful but there is a error in test file on my computer knn.fit has a error can you plese resolve that?

  • @Mr.barisailla
    @Mr.barisailla Před 9 měsíci

    Sir. My pickle file not created. What can i do

  • @almenshandy
    @almenshandy Před 2 měsíci

    Is it possible to do this with flask or django?

  • @knowledgedoctor3849
    @knowledgedoctor3849  Před rokem

    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.

    • @_studydiaries
      @_studydiaries Před 3 měsíci

      I'm not able to solve my problem. Please help me. It's really urgent.

  • @user-tg6jn7ej6r
    @user-tg6jn7ej6r Před 8 měsíci +4

    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'

  • @namanjain1684
    @namanjain1684 Před 5 měsíci

    Bro can you share resources from where you learn all these things. I want deep understanding

  • @escmatrix.
    @escmatrix. Před 5 měsíci +2

    My code is running but , he is only detecting name of chandu

  • @cosmicfactz
    @cosmicfactz Před 10 dny

    How to add more than one person please explain anyone

  • @shahhussain56
    @shahhussain56 Před 3 měsíci

    Does it detect face from photo?

  • @chiragsingh6389
    @chiragsingh6389 Před 2 měsíci

    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

  • @ProgrammingwithGautam
    @ProgrammingwithGautam Před 7 měsíci

    How can I remove the name if any other person comes in front of the camera

  • @sethuraman9884
    @sethuraman9884 Před rokem +1

    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

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem +1

      THIS already in realtime. If you wanna to make it MORE clearify you can USE Raspberry

  • @Praveen_2K
    @Praveen_2K Před rokem +1

    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 !

    • @AprHello
      @AprHello Před 5 měsíci

      Same here
      If u find the solution please help

  • @reenagawde2044
    @reenagawde2044 Před 4 měsíci +3

    ValueError: Found input variables with inconsistent numbers of samples: [100, 500] please resolve this

  • @escmatrix.
    @escmatrix. Před 5 měsíci

    I have save my face but when i run it give chando there
    How to set this

  • @reenagawde2044
    @reenagawde2044 Před 4 měsíci +1

    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

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před 4 měsíci +1

      Check the code again.... Hopeso there should be data error while taking photo🌻

    • @reenagawde2044
      @reenagawde2044 Před 3 měsíci

      It's working thankyou so much@@knowledgedoctor3849

  • @deepthiacharya9991
    @deepthiacharya9991 Před 4 měsíci

    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 ?

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před 4 měsíci +1

      Dlib is old one try new techniques. Even dlib is support only at python 3.6

    • @deepthiacharya9991
      @deepthiacharya9991 Před 4 měsíci

      @@knowledgedoctor3849 can you suggest some new techniques?

  • @EntertainmentHub0045
    @EntertainmentHub0045 Před 2 měsíci

    i dont know why my video window is so laggy maybe due to system specification plz answer

  • @tejavathpraveen2145
    @tejavathpraveen2145 Před 9 měsíci

    sir is it mark the attendence by photo or only detecting liveness plz kindly rspond am doing this project

  • @anjaliraj3353
    @anjaliraj3353 Před 2 měsíci +2

    how you create the xml file inside the data folder please reply

  • @lilisa.s
    @lilisa.s Před měsícem

    I got error for detecting my face , the cam is not on

  • @siddheshasati5093
    @siddheshasati5093 Před 2 měsíci

    Help me I got stucked in the error " Found input variables with inconsistent numbers of samples: [100, 700] "

  • @darrellardhanihidayat555

    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🙏🙏

  • @InduDevi-zo9gs
    @InduDevi-zo9gs Před 11 měsíci

    Sir please help me. I'm run this code comes are many errors 😭😭😭

  • @lilisa.s
    @lilisa.s Před měsícem

    How to creat xml file ,, that is whwre am stuck

  • @user-jn7tc9zz9t
    @user-jn7tc9zz9t Před 2 měsíci

    crime face detection with goverment database like new technology of china and japan in python make the tutorial please

  • @SujithM7
    @SujithM7 Před rokem

    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.

    • @SujithM7
      @SujithM7 Před rokem

      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

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem

      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

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem

      Accuracy is ok at all.
      Yes It Can Detect 5 People Faces too Try this Out.

    • @SujithM7
      @SujithM7 Před rokem

      Thank You SIr u r the best

  • @nepaltech9227
    @nepaltech9227 Před rokem

    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??

    • @nileshpansare2027
      @nileshpansare2027 Před 8 měsíci +1

      I am also getting the same error If you have fixed it please share how

  • @403errorcodetamil3
    @403errorcodetamil3 Před rokem +1

    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.

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem

      Unfortunately, Few Libary are Platform Specific. I Hope It's not Possible to Convert it to APK.

  • @lilisa.s
    @lilisa.s Před měsícem +1

    It showing can't open xml in read mode

  • @cartoons-network368
    @cartoons-network368 Před měsícem

    bro i took 2 peoples data but I didn't got correctly.reply me fast bro

  • @Amazondealsin-rq7do
    @Amazondealsin-rq7do Před 7 měsíci +1

    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.

  • @user-to6et2el5o
    @user-to6et2el5o Před 9 měsíci

    can u pls send me the code or put it in description . i need it plsssssss

  • @prajvalbachute4569
    @prajvalbachute4569 Před 6 měsíci

    Where is the cascade classifier

  • @usmanmughal5703
    @usmanmughal5703 Před rokem

    Is there need of any hardware or not?

  • @syna7028
    @syna7028 Před 4 měsíci +1

    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

  • @lilisa.s
    @lilisa.s Před měsícem

    Am getting value error

  • @AnubhavelivatoNiyaado
    @AnubhavelivatoNiyaado Před 4 měsíci

    Aap ne kon konse data set use kiye hai

  • @learner6262
    @learner6262 Před rokem +1

    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??

  • @user-ul5bt5zb5p
    @user-ul5bt5zb5p Před rokem

    Bro how can I make this fire effect when type code in vs code

  • @unpluggedworld316
    @unpluggedworld316 Před 3 měsíci

    hello bro can you help me to setup environment

  • @DineshM-vp5lh
    @DineshM-vp5lh Před 3 měsíci

    you have one mistake u should change file name as face_data.pkl in file name

  • @tunatek4941
    @tunatek4941 Před rokem

    ValueError: Found input variables with inconsistent numbers of samples: [200, 400]

  • @Talhabahi23
    @Talhabahi23 Před 5 měsíci

    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

  • @VishaliniR-uo1qy
    @VishaliniR-uo1qy Před 7 měsíci

    May I know the application name that you used to implement the code..

  • @smitaupadhyay7941
    @smitaupadhyay7941 Před rokem

    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

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem

      Yes Check the Last of the video here are some changes on the pickle file.. Rather check the code

    • @AprHello
      @AprHello Před 5 měsíci

      Where shall I make changes?

  • @aachalmahajan3911
    @aachalmahajan3911 Před 3 měsíci

    Bhai iska database kaise connect Kiya hai?

  • @chatterboxvlogs3333
    @chatterboxvlogs3333 Před 4 měsíci

    bro video error

  • @sainachattopadhyay9932

    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

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem

      Hopefully, It's About Sample Number For Face, Check That if you append the array value into the wrong list..

    • @learner6262
      @learner6262 Před rokem

      Is your project working?

    • @mr.contentless5027
      @mr.contentless5027 Před 8 měsíci

      @@knowledgedoctor3849 Hey !!! I am also getting the sample error kindly provide any solution

    • @shivammanitripathi4226
      @shivammanitripathi4226 Před 3 měsíci

      no
      @@learner6262

  • @ankitjoshi6390
    @ankitjoshi6390 Před rokem

    how to add onther person face

  • @harshithabn8657
    @harshithabn8657 Před 7 měsíci

    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

    • @harshithabn8657
      @harshithabn8657 Před 7 měsíci

      Sir I clear that above error but test.py file is not running what can I do

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před 7 měsíci

      Install python correctly & install scikit-learn

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před 7 měsíci

      New Project Also Coming in this Topic Cz Many of them getting confused in some section coming up soon with bass boost.

    • @harshithabn8657
      @harshithabn8657 Před 7 měsíci

      K sir 😊

    • @_studydiaries
      @_studydiaries Před 3 měsíci

      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?

  • @afn8370
    @afn8370 Před 3 měsíci

    bro , don't take this in a wrong manner.
    your videos are absolutely great. but your accent is kinda artificial. pls speak normally

  • @shivamm6741
    @shivamm6741 Před rokem

    Mine is not working pls help

  • @tousifzamanYT
    @tousifzamanYT Před 9 měsíci

    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. ⚠⚠

  • @jillanisofttech2977
    @jillanisofttech2977 Před rokem

    Is this Anti Spoofing Face recognition Based Smart Attendance System?

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem

      Anti Spoofing Means?

    • @sethuraman9884
      @sethuraman9884 Před rokem

      ​@@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

    • @jillanisofttech2977
      @jillanisofttech2977 Před rokem

      @@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.

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před rokem

      Cool Let's Make this one Too🔥
      Unfortunately It's Not Work in This Case.

    • @jillanisofttech2977
      @jillanisofttech2977 Před rokem

      @@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.

  • @jackdsouza4860
    @jackdsouza4860 Před rokem

    You have not provided the password of your git repository pls provide that also❤.

  • @knowledgedoctor3849
    @knowledgedoctor3849  Před měsícem

    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..🌻

  • @peterparker7146
    @peterparker7146 Před rokem

    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

  • @lalit-singh-bisht
    @lalit-singh-bisht Před 4 měsíci

    bhai tera accent he smjh nhi aarha

    • @knowledgedoctor3849
      @knowledgedoctor3849  Před 4 měsíci

      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..

    • @lalit-singh-bisht
      @lalit-singh-bisht Před 4 měsíci

      @@knowledgedoctor3849 galti toh meri hai mujhe Tera accent smjh nhi aaya...iss angle se bhi soch sakta hai tu bro🥲😊

  • @rameshprajapat4871
    @rameshprajapat4871 Před 3 měsíci

    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

  • @sethuraman9884
    @sethuraman9884 Před rokem

    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??

  • @AutumnBreak
    @AutumnBreak Před 10 měsíci

    LABELS=pickle.load(f)
    EOFError: Ran out of input
    35:58
    I got error here , now what to do ?

    • @_studydiaries
      @_studydiaries Před 3 měsíci

      Hey! Can you tell me if you have solved this problem? Please let me know.

  • @user-wo6mu7dl9r
    @user-wo6mu7dl9r Před 10 měsíci

    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!!

  • @aditya17z
    @aditya17z Před 2 měsíci

    bro can i contact you today??