L-15 Face Recognition Using LBPH Face Recognizer

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 64

  • @CodeWithAarohi
    @CodeWithAarohi  3 роки тому +2

    Join My Channel for Additional Benefits : Click on JOIN Button and choose the Membership Plan on the basis of benefits or Perks which I am offering to Members.

  • @karangoyal9177
    @karangoyal9177 4 роки тому

    you are the best....!!

  • @soravsingla6574
    @soravsingla6574 4 роки тому

    Excellent video, got lot of help. Thanks

  • @soravsingla8782
    @soravsingla8782 4 роки тому

    Very well explained

  • @ammitgangawane3505
    @ammitgangawane3505 4 роки тому +4

    Best Video, great explanation, but can we use similar code while having higher accuracy using higher libraries like dlib, face recognition, sklearn, etc ??
    Can you please make a video on this ??

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому +2

      Nemesis 15 thanks... and yes we can improve accuracy by adding functionality. And will try to make a video on it soon

    • @ammitgangawane3505
      @ammitgangawane3505 4 роки тому +1

      @@CodeWithAarohi Thank you very much

  • @anithag3882
    @anithag3882 4 роки тому +4

    How can we calculate the accuracy for this recognizer?

  • @awantichavan8353
    @awantichavan8353 4 роки тому +1

    A very well explained video but can you make a video for higher accuracy with the higher libraries for recognizing the unknown person as "unidentified"...plz do help!!!!!

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому +1

      Awanti Chavan sure... will make that soon

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому +1

      Hi, Send me your email id, I will mail you the code where unknown person would be identified as unknown

    • @awantichavan8353
      @awantichavan8353 4 роки тому

      @@CodeWithAarohi chavanawanti@gmail.com

    • @awantichavan8353
      @awantichavan8353 4 роки тому

      @@CodeWithAarohi thanks a lot!!!!!!!

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому

      Hi, I have uploaded the code on github. You can check this link: github.com/AarohiSingla/Face-Recognizer-Using-LBPH-Recognizer/blob/master/recognizer_by_name.py
      Just change your recognizer.py file with this code. And when you will open this code - replace the name list with the names which are present in your dataset. This is the list : names = ['None','Aarohi','Piford','Sorav'] where Aarohi, Piford and Sorav are name of the people of my dataset and None is for unidentified person.
      Hope this will solve your query.

  • @jeremyjohns9615
    @jeremyjohns9615 2 роки тому

    Thank you for your video. It is really helpful, but when I run the code, it's showing up on the first page where it asks to enter ID, Name and Take Photos. After taking photos it is NOT saving the photos in the folder. Can you please help me with how to solve this issue?
    Note: I have created /dataset folder, and added some photos. But I believe the photos are different size

  • @sivacharan3157
    @sivacharan3157 3 роки тому

    @Code With Aarohi I tried to execute the code in train_model.py file, but am getting few errors like :-
    1. TclError: no display name and no $DISPLAY environment variable
    and later I tried adding the below code as well to fix the above error
    if os.environ.get('DISPLAY','') == '':
    print('no display found. Using :0.0')
    os.environ.__setitem__('DISPLAY', ':0.0')
    then I got the below error :-
    TclError: couldn't connect to display ":0.0"
    Can you please suggest the correct fix for this error ?

  • @fatimabegum8298
    @fatimabegum8298 Рік тому

    Which technology we can use to develop the front end

    • @CodeWithAarohi
      @CodeWithAarohi  Рік тому +3

      For web app- you can use django or flask framework but if you want to make desktop then you can use desktop app frameworks like tkinter

    • @fatimabegum8298
      @fatimabegum8298 Рік тому

      @@CodeWithAarohi thank you mam

    • @bay-bicerdover
      @bay-bicerdover Рік тому

      @CodeWithAarohi @fatimabegum8298 Tried streamlit already?

  • @nguyenvu6371
    @nguyenvu6371 4 роки тому

    Will you make a video about tracking algorithm? I use Yolo to detect person and collect RoI, then RoI is sent to Face detector and recognizer. But the problem is the person doesn't always show their front face to the camera so I need tracking algorithm to track that person

  • @maulanamuflih5258
    @maulanamuflih5258 4 роки тому

    Hello can i use this code to eigenfaces recognizer?

  • @kiranshah9253
    @kiranshah9253 3 роки тому

    Hello Aarohi!
    Can LBPH gives the histogram on single object?

  • @jananiselvam3332
    @jananiselvam3332 3 роки тому

    How to calculate the accuracy mam

  • @summaiyajabeen6535
    @summaiyajabeen6535 4 роки тому

    Best Video but i want to show the name of the person instead of the Id what i have to do

    • @summaiyajabeen6535
      @summaiyajabeen6535 4 роки тому

      what changes i have to do in the code for showing the name of the person instead of Id 1,2,3

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому

      @@summaiyajabeen6535 Go through the code and where ever I have mentioned ID replace it with a name. Because in this code, I have used 2 variables - one for storing name and other variable for storing ID. Replace the ID variable with the name in the code files.

    • @summaiyajabeen6535
      @summaiyajabeen6535 4 роки тому

      @@CodeWithAarohi Id = int(os.path.split(imagePath)[-1].split(".")[0]) Because of this function it shows Id in recognition process what changes i have to do as per guidence if i change the Id variable with the name it gives me an error that name is not define

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому

      @@summaiyajabeen6535 Hi, Send me your email id. I will send you working code of displaying name over there

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому +1

      Hi, Replace your recognizer.py file with this file github.com/AarohiSingla/Face-Recognizer-Using-LBPH-Recognizer/blob/master/recognizer_by_name.py
      Just change your recognizer.py file with this code. And when you will open this code - replace the name list with the names which are present in your dataset. This is the list : names = ['None','Aarohi','Piford','Sorav'] where Aarohi, Piford and Sorav are name of the people of my dataset and None is for unidentified person.

  • @Ruhgtfo
    @Ruhgtfo 4 роки тому

    So basically every time added a new person the model will have to retrain again every time ?
    Lol i tried put obama face beside me it still getting the same label as my face wonder how hehe

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому +1

      while training your model there should be only 1 image under 1 label and name then only your algorithm will give you correct answer.

  • @eagleeyesgaming5233
    @eagleeyesgaming5233 2 роки тому

    can you give us model and dataset folder

  • @saikumarbolamwar93
    @saikumarbolamwar93 3 роки тому

    Mam how to display name instead of ID, please rply ASAP

  • @oannhan2507
    @oannhan2507 4 роки тому

    I don't see the model file in your source code

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому

      Create model folder. And when you will execute train_model.py file. Model file will get created under the model folder

    • @oannhan2507
      @oannhan2507 4 роки тому

      @@CodeWithAarohi Thanks

  • @sudheeshgarikipati8261
    @sudheeshgarikipati8261 2 роки тому +1

    Madam i want code

  • @CodeWithAarohi
    @CodeWithAarohi  4 роки тому

    github.com/AarohiSingla/Face-Recognizer-Using-LBPH-Recognizer/tree/master

  • @syedtalha6610
    @syedtalha6610 4 роки тому

    as salam all kom mam need email aderss

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому +1

      aarohi@piford.com

    • @syedtalha6610
      @syedtalha6610 4 роки тому

      @@CodeWithAarohi thanks

    • @myvoiceforjesus1921
      @myvoiceforjesus1921 4 роки тому

      @@CodeWithAarohi mam good morning our project is implementation of iot based attendance management system based on face recognition using raspberry pi....mam as we have less time we need ur help in doing this project.... the opencv is not installing on raspberry pi can u please help us mam

    • @CodeWithAarohi
      @CodeWithAarohi  4 роки тому

      @@myvoiceforjesus1921 Hi, Please send me the screenshot of that error

  • @eagleeyesgaming5233
    @eagleeyesgaming5233 2 роки тому

    can you give us model and dataset folder