Face Recognition with Real Time Database | 2 Hour Course | Computer Vision

Поділитися
Вставка
  • Опубліковано 9 чер 2024
  • Keep exploring at brilliant.org/Murtaza/. Get started for free, and hurry-the first 200 people get 20% off an annual premium subscription.
    🚀🚀 My Urdu/Hindi AI UA-cam Channel 🚀🚀
    / @murtazahassan01
    Win a 3080 Ti by Registering using the link below and attending one of the conference sessions. (20 to 23 March 2023)
    nvda.ws/3HnZEPM
    Download Code and Files:
    www.computervision.zone/cours...
    Kickstarter 30% OFF on Retail Price:
    bit.ly/3XEAcM5
    Premium Courses:
    ✔️ Computer Vision Game Development Course:
    bit.ly/3ttLZ2s
    ✔️ Computer Vision with Arduino Course:
    bit.ly/3wzLB4m
    ✔️ Advanced Drone Programming Course:
    bit.ly/3qs3v5g
    ✔️ Learn to Build Computer Vision Mobile Apps:
    bit.ly/3uioY1J
    ✔️ Jetson Nano Premium Course:
    bit.ly/3L8uIlF
    ⚙️⚙️⚙️--My Gear - ⚙️⚙️⚙️
    👉 Complete Gear 💈: www.computervision.zone/tech-...
    👉 My PC Specs 🖥️: www.computervision.zone/tech-...
    👉 My Video Shooting Gear📽️ : www.computervision.zone/tech-...
    👉 My Laptops 💻: www.computervision.zone/tech-...
    👉 Educational Products🧑‍🎓: www.computervision.zone/tech-...
    👉 UA-cam Starter Kit 🔴: www.computervision.zone/tech-...
    Follow Me:
    TikTok: bit.ly/3Vo76OQ
    Facebook Group: bit.ly/3irDcb7
    Discord: bit.ly/3JvyxAM
    Facebook Page: bit.ly/3IvpU7W
    Instagram: bit.ly/3NdGME3
    Website: bit.ly/3ICFTS0
    GitHub: bit.ly/3woU6PS
    #ComputerVision
    #OpenCV
    #cvzone
    00:00 Introduction
    04:24 Overview
    09:21 Setup
    16:26 Webcam
    18:14 Graphics
    26:53 Kickstarter
    32:39 Encoding Generator
    45:18 Face Recognition
    01:06:15 Database Setup
    01:12:16 Add Data to the Database
    01:24:57 Upload Images to Database
    01:31:44 Get User Data
    01:58:20 Update Attendance
    02:05:10 Check if already Marked
    02:15:34 Loading
    This video was sponsored by Brilliant

КОМЕНТАРІ • 650

  • @murtazasworkshop
    @murtazasworkshop  Рік тому +21

    Keep exploring at brilliant.org/Murtaza/. Get started for free, and hurry-the first 200 people get 20% off an annual premium subscription.

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

      AWESOME

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

      Please your tutorial are good but it is best if you can attend to your subscribers issues, many are getting error on this code

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

      Hello!
      What python version are you using at the moment?
      I have problems with installing some lib at 3.11 so I'm just wondered what is the optimal these days

    • @new-ef9kl
      @new-ef9kl Рік тому +1

      line 90, in
      array = np.frombuffer(blob.download_as_string(), np.uint8)
      AttributeError: 'NoneType' object has no attribute 'download_as_string'
      How to get out of this!

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

      what are you using to code this? It looks like Android Studio but it isn't?

  • @NubianQueenVibe
    @NubianQueenVibe Рік тому +12

    This is awesome! Gonna learn this so I can teach this to my students at Middle Schools in NYC!

  • @TechnicalDrMusic
    @TechnicalDrMusic 2 місяці тому +6

    00:00 Create real-time face attendance system linked to a database
    06:43 Creating a face recognition system
    19:34 Add webcam image overlay on background
    26:13 The world's first computer vision web development course is here.
    38:31 Generate encodings for all images and save them in a pickle file
    45:27 Extracting encodings of new faces for face recognition
    59:31 Created face recognition and bounding box around face.
    1:06:22 Set up Firebase real-time database and storage for attendance project
    1:18:56 Real-time attendance tracking using Python script
    1:25:23 Upload images to storage bucket and database
    1:39:34 Retrieve and display student information from database
    1:46:41 Automatically center text in images.
    2:01:05 A program updates attendance after 30 seconds; counter determines when to reset attendance data
    2:07:59 Automatically update attendance time and mode
    Crafted by Merlin AI.

  • @mikel2976
    @mikel2976 Рік тому +14

    I will use this to help me on a school project, I really hope it's helpfull, thanks a lot for this video!

  • @CloudchaserA
    @CloudchaserA Рік тому +1

    Que gran proyecto, muchas gracias por tus enseñanzas :)

  • @eelcsics
    @eelcsics Рік тому +2

    @murtazasworkshop - Love all your video courses! Great teacher!!! Your youtube channel, one of the best I found!

  • @gregormurray314
    @gregormurray314 Рік тому +4

    Thanks for your great content, it really helped me take my first steps in computer vision. I am wondering about the web dev course. do you teach using opencv in javascript, or is the opencv stuff done serverside. I am keen to learn opencv using javascript, i am good at javascript but struggle to understand using cv.Mat instead of numpy. some instruction from yourself would really help.

  • @user-cx7rt6bd1m
    @user-cx7rt6bd1m 5 місяців тому +1

    you have a great teaching style. Thank you for the effort to make these videos

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

    Thank you so much for sharing your knowledge, Sir.

  • @Jamal_EH
    @Jamal_EH Рік тому +28

    Assalam alayoum Murtaza,
    thank you so much for your teaching work and videos 👍🏽.
    Jazakallahou khayran🙏🏽

  • @project_YOUTUBE-
    @project_YOUTUBE- 10 місяців тому

    Thank you so much brother. It is very helpful

  • @ThaoMeoTV
    @ThaoMeoTV Рік тому +1

    Great jobs. Thanks Sir ^^

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

    Amazing, it is too good bro. thankyou

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

    Great tutorial!

  • @bashiruibrahim8443
    @bashiruibrahim8443 Рік тому +1

    Thank you sir👋

  • @kuen555
    @kuen555 9 місяців тому

    thank you so much 😀

  • @nadetdevfullstack7041
    @nadetdevfullstack7041 5 місяців тому

    Excellent !

  • @YoutuberNTD
    @YoutuberNTD 5 місяців тому

    Thank you very much

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

    Thank you for posting Sir i have a question object detection that controls arduino and relay and train as custom using yolov5 ? Thank you for answering in advance

  • @palavirajgude5717
    @palavirajgude5717 8 місяців тому

    amazing!!!

  • @user-sy6mn2ke2c
    @user-sy6mn2ke2c 2 місяці тому

    Thank you so much Dear Murthaza. I have watched the video and I have Learned much. It was so helpful. I want that you will have nice and successful life.

  • @anndroid8734
    @anndroid8734 6 місяців тому

    brilliant ! i want it

  • @codenissi
    @codenissi 5 місяців тому

    Amazing video, could you implement a TimeIn-TimeOut and Late status in the log reports?

  • @fakhrikharrat
    @fakhrikharrat 5 місяців тому

    Thanks Murtaza

  • @funnycats9738
    @funnycats9738 11 місяців тому

    Very usefull video

  • @ps5games821
    @ps5games821 Рік тому +4

    Please tell me what method of face recognition is used in the library that is used in the video for recognition?

  • @saikou_absolute
    @saikou_absolute 10 місяців тому

    absolutely perfect good lucky

  • @gauravbanerjee2898
    @gauravbanerjee2898 5 місяців тому

    Thanks a lot sir ❤❤

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

    Nice video 🙏

  • @ChauhanAbhinav
    @ChauhanAbhinav 3 місяці тому

    Thank you brother for this amazing content , it helped me a lot.

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

    Awesome project

  • @unboxing598
    @unboxing598 7 місяців тому +2

    hi bro thank u for building this amazing project with such great explaination . can u try to combine both the face recognition attendance system as well as the anti spoofing system by you two months before . hope you will make a more advanced system with real time face recognition with anti spoofing system aslo with real time database . thanks bro once AGAIN

  • @vedprakashnirmalkar6497
    @vedprakashnirmalkar6497 5 днів тому

    Thank you so much sir
    It's working
    Love from India🇮🇳❤

  • @AniketTheProgrammer
    @AniketTheProgrammer 4 місяці тому

    Thank you so much sir

  • @eyadaiman1559
    @eyadaiman1559 Рік тому +8

    Thank you very much Mr Murtaza please keep generating this great content❤
    one question pls, how do u specify the locations in the background and modes?

    • @sdbar1098
      @sdbar1098 4 місяці тому

      are YOU FIND IT,
      ??

    • @deepthiacharya9991
      @deepthiacharya9991 2 місяці тому

      Did you find it?

    • @sdbar1098
      @sdbar1098 2 місяці тому

      @@deepthiacharya9991 i create my self images

  • @AaronMendoza-ku6jb
    @AaronMendoza-ku6jb Місяць тому

    very cool unlimited beverage from the tumbler. good work pal. love from guarma

  • @spare4337
    @spare4337 2 місяці тому

    Thank you so much

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

    thankyou sir

  • @artisticsoul2328
    @artisticsoul2328 Рік тому +2

    Can you please tell me which algorithms you used to train images

  • @socrative9810
    @socrative9810 5 місяців тому

    Hello! Great tutorial. May I ask where did you get the EncodeFile.p from? And if it's custom made, what is the language used for it? I would like to know details about said file. Thank you!

  • @user-wp5cg8nc5s
    @user-wp5cg8nc5s 7 місяців тому

    Thank you from Thailand.

  • @arifqasim7777
    @arifqasim7777 Рік тому +1

    Thanks a lot for making a helpful project for us sir can you make this project but in c++ language. once again thanku so much keep teaching us..

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

    thanks vro

  • @souravkumar7650
    @souravkumar7650 Рік тому +1

    i m not finding the image which you are used in attendence system background and an all active etc could you please share the image

  • @AaronMendoza-ku6jb
    @AaronMendoza-ku6jb Місяць тому

    very cool unlimited beverage from tumbler, keep the good work pal. love from guarma

  • @joshuanketsiah3155
    @joshuanketsiah3155 11 місяців тому +2

    Hello Sir. Brilliant work done there. I was wondering if i could get the images in the resources folder

    • @sdbar1098
      @sdbar1098 4 місяці тому

      did you find it?

    • @souhaildahmeni9961
      @souhaildahmeni9961 Місяць тому

      @@sdbar1098 got the same problem, they are not available i think or we should pay in order to get the code repository ....

  • @profscie
    @profscie Рік тому +1

    how do i make the graphics beside using your design....coz i cant get access to the graphics file?

  • @pranavh8583
    @pranavh8583 2 місяці тому

    thank you

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

    hey there. Is there any library in java that implements face_recognizer for python?

  • @mendjevanelle9549
    @mendjevanelle9549 10 місяців тому

    Thankyou very much sir.Please can I have robotics and intelligence artificial books?

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

    why at min 56:28 you pass imgS and faceCurFrame to face_encodings() instead only passed one in encoding file?

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

    Hi @Murtaza I'm getting an attribute error says, Weak references has no attribute child. how can i fix this ?

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

    Love you guru g ❤️

  • @nethcagula2208
    @nethcagula2208 6 місяців тому

    How to specify locations in the background and modes?? I really need for my final defense

  • @BRCSRohithB
    @BRCSRohithB Рік тому +2

    Which algorithm have u used in this sir?

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

    Hello i want to ask, its this capable capture face using camera more 30fps ?

  • @yas-ny7rv
    @yas-ny7rv 10 місяців тому

    Thanks for charing, Can we get the template that you used I. That project

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

    i want to ask when create a new project what should we choose python application ??

  • @user-lg7fp6jh7r
    @user-lg7fp6jh7r Рік тому

    Hie. Which software do I need to install. and how can design my interface

  • @ps5games821
    @ps5games821 Рік тому +1

    Great
    thank you very much
    make more great videos please

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

    All the things is done perfectly but is this enough for one image for encoding to detect the face i think it will not work perfectly in real time faces not for the model but because of less datat of a person in encoding in my opinion.

  • @minhtihd5418
    @minhtihd5418 8 місяців тому +2

    The most underrated channel on UA-cam!

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

    I love your videos

  • @tahirjaved619
    @tahirjaved619 Рік тому +1

    @Murtaza's Workshop - Robotics and AI Asslam.o.Alikum!!
    1st of all thank you for providing us a great project. Secendly please tell me which software did you use for this project??
    visual studio code or Just Visual studio?? Waiting for your reply Sir.

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

    can you make a tutorial for registration face recoginition attendance, how to crop the image become 216X216 after upload image, thank you

  • @amjustice48
    @amjustice48 9 місяців тому

    For the facial recognition system you build, can we work out trainings for the application. Something like using cnn to train the images ?

  • @user-hc4we4kb4j
    @user-hc4we4kb4j Рік тому

    hello I have i5 and 8 gb ram and inlt hd 520 graphic card is it good to start learning open cv

  • @chandanvatsa4195
    @chandanvatsa4195 Місяць тому +2

    can anyone provide any resources where I can get the background PNG and the modes that are being used in the projects....help will be highly appreciated:)

  • @user-go9rg4vv7j
    @user-go9rg4vv7j 5 місяців тому

    Amazing video, could you add a time-in time-out and have an status with "late" or "on-time"?

  • @MgMg-ch6dp
    @MgMg-ch6dp Рік тому +2

    Dear sir, I have some error to download source code and fille how can i do it.

  • @aldrago
    @aldrago 5 місяців тому

    Next part please ❤❤

  • @pavithrad5862
    @pavithrad5862 10 місяців тому +1

    This is okay sir but the attendance is basically marked by the teachers who is present on that particular day right and also this theme also that then why it detects the unreal being like a pictures ? Is this the backlog right?

  • @festivalstatus7174
    @festivalstatus7174 5 місяців тому

    hello sir this video is excellent .
    in Add Data To the Database video section create secrete file but how to create that file in my laptop that not create give any other path to create that file.

  • @uditvadlagatta746
    @uditvadlagatta746 7 місяців тому

    which algo and model you had been used in this?

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

    Hi may I know what technique are u using?

  • @ekene7652
    @ekene7652 Рік тому +1

    sir how did you check the starting and endpoint of the image at 20:06 , i tried to do similar with my own dimension's but it wont work i kept the 162 and 55 as i don't know how you came about them.
    imgBackground[162:162+339,55:55+346] = img is what i did but it wont work. what do i do?

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

    Excellent job.
    Is it possible to do the same in c# ?

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

      Or Javascript.

    • @SidTheGreat420
      @SidTheGreat420 Рік тому +2

      that depends on the opencv library in c# and JS

  • @BalajiBasanolla-jj6em
    @BalajiBasanolla-jj6em 6 місяців тому

    dlib and face-recognition and other some packages are not installing in my current pycharm project folder i am using python version 3.11.3

  • @buddygeneral1954
    @buddygeneral1954 11 місяців тому

    @Murtazasworkshop please i have some difficulty I've completedn everything but when an unknown user comes close to the camera it all takes attendance and add it to the latest user in the system. please can you help with a code that can by-pass that failure?

  • @MRmidnightify
    @MRmidnightify 10 місяців тому

    how to caculate for mat to crop the image, Thank you sir!

  • @user-uk5li6ev9y
    @user-uk5li6ev9y 10 місяців тому

    hii sir, where to find the resources that you are using as in the video.

  • @wanderingsoul1833
    @wanderingsoul1833 2 місяці тому +1

    sir the main program after face recognition code is showing an error
    "ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part."

  • @YThaeZy
    @YThaeZy 5 місяців тому

    Hi, I really appreciate the efforts you put in to make this amazing project and guide us through it. Thank you so much.
    I'm facing a problem at the printing user data on the screen part, everything seems to be fine and I'm getting the output from the database in the run terminal but it isn't showing up on the screen.
    I would really appreciate help from anyone who might know how to fix this.

    • @mujahidalisabir7689
      @mujahidalisabir7689 4 місяці тому

      I am facing to install the packages.

    • @syna7028
      @syna7028 3 місяці тому

      @@mujahidalisabir7689 are you able to install dlib and face-recognition?

  • @veerporwal
    @veerporwal 3 місяці тому +1

    Thanks for making this video I learned a lot while working on this project!

    • @meriemnourghozzi8611
      @meriemnourghozzi8611 3 місяці тому

      please i have one difficulty in the part of integration the package of face recognition in my project i have 3.12 python version please if you can help me send me a comment as soon as possible

    • @amritasinha757
      @amritasinha757 3 місяці тому

      same
      @@meriemnourghozzi8611

    • @dani9609
      @dani9609 3 місяці тому +1

      Go for python 10

  • @3ia10_nevanr.6
    @3ia10_nevanr.6 9 місяців тому

    Excuse me sir, is this Haar Cascade algorithm that you used in the video?

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

    Which technology is needed for this project means what primary skill is required to made this project

  • @Parimal_Adini
    @Parimal_Adini 7 місяців тому

    ThankYou so much for such a great content sir. LoveYou sir

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

    Can we embed this code in a device? What kind of portable computer I need to buy?

  • @profscie
    @profscie Рік тому +2

    ok. but how do i download the graphics files?

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

    How to see database in excel format directly not seeing each time in firebase. Is it possible ?

  • @nohaabdulkaderbayazid7198
    @nohaabdulkaderbayazid7198 11 місяців тому +1

    thank you very very much, that's a great job and you've sure took care of almost every thing! Jazakallahou khayran^^
    I have a question though if you could replay it it will be great!
    I was trying to do exactly what you were saying but I had a problem in the minute 55, you said there is 3 values because we have 3 images we've encoded before, but whatever I do it just give me 1 value and still doesn't recognize any of the pics!

    • @INZADEff
      @INZADEff 10 місяців тому +1

      Hey, make sure the line encodeList.append(encode) is within the for loop like this:
      for img in imagesList:
      img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
      encode = face_recognition.face_encodings(img)[0]
      encodeList.append(encode)
      return encodeList
      If it is placed outside the for loop, it will only execute once after the loop finishes. To fix this, you need to indent that line so that its inside the loop.
      Hope this helps :)

  • @emadmorgan1693
    @emadmorgan1693 10 місяців тому

    Thank you.
    how to use this code with ip camera
    I try your previous code for ip camera but the video is very very slow
    Can you do a video abut this idea
    Many thanks in advance

  • @LowieCuyvers
    @LowieCuyvers 11 місяців тому

    which program are you using because I think I have a different one?

  • @aleyaseenr
    @aleyaseenr Рік тому +1

    mr Murtaza.. is it can work on mobile?

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

    Please can you make the quality of the video available

  • @wilsonscientifique4270
    @wilsonscientifique4270 8 місяців тому

    thank you for the work you do. I just have one concern I would like to know where to find the background and images present in the Resource folder. I await your response thank you

  • @manupathepuram
    @manupathepuram 8 місяців тому +1

    Sir i am getting assertion failed error in case of webcam what should i do to get out of this problem please help me sir🙏

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

    The question is why should we download Visual Studio at the very beginning? Seems it was not used.

  • @user-vf3sv6rn4f
    @user-vf3sv6rn4f 6 місяців тому

    I have this error
    Traceback (most recent call last):
    File "C:\Users\aaa\PycharmProjects\pythonProject1\main.py", line 57, in
    encodeCurFrame = face_recognition.face_encodings(imgS, faceCurFrame)
    can someone help me ?

  • @ayeshaijaz989
    @ayeshaijaz989 10 місяців тому

    Aoa sir we are doing this project but the dlib library is unable to install plz tell wat should i do?