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

Поділитися
Вставка
  • Опубліковано 12 лип 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

КОМЕНТАРІ • 664

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

    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!

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

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

  • @user-cx7rt6bd1m
    @user-cx7rt6bd1m 6 місяців тому +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.

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

    Great jobs. Thanks Sir ^^

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

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

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

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

    Amazing, it is too good bro. thankyou

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

    Thank you so much brother. It is very helpful

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

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

  • @TechnicalDrMusic
    @TechnicalDrMusic 3 місяці тому +7

    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.

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

    Thank you sir👋

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

    Great tutorial!

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

    thank you so much 😀

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

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

    Thank you very much

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

    Excellent !

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

    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.

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

    amazing!!!

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

    brilliant ! i want it

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

    Thanks Murtaza

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

    Very usefull video

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

    Thank you from Thailand.

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

    absolutely perfect good lucky

  • @Innohub893
    @Innohub893 8 місяців тому +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

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

    thankyou sir

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

    Thanks a lot sir ❤❤

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

    Nice video 🙏

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

    Awesome project

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

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

  • @achhyobnakarmi6361
    @achhyobnakarmi6361 День тому

    Thank you soo much sir for this awesome project!!!!

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

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

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

    Thank you so 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

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

    Thank you so much sir

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

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

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

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

    thank you

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

    thanks vro

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

    Great
    thank you very much
    make more great videos please

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

    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 5 місяців тому

      are YOU FIND IT,
      ??

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

      Did you find it?

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

      @@deepthiacharya9991 i create my self images

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

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

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

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

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

    Love you guru g ❤️

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

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

  • @maxramondossantossousa6156
    @maxramondossantossousa6156 12 днів тому

    Thank you very much my friend I love you

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

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

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

      did you find it?

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

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

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

    I love your videos

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

    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:)

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

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

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

      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 4 місяці тому

      same
      @@meriemnourghozzi8611

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

      Go for python 10

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

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

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

    Good video 100%working😊

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

      Where we can get that all background photos ?

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

    Thank you. very useful for me. It is important.

    • @DivyanshuJoshi-tp7hf
      @DivyanshuJoshi-tp7hf 2 місяці тому

      Can you please help me face the error while doing the encoder generator part that please install face recognition model before using face recognition please help me

    • @_vijay-xw7rl
      @_vijay-xw7rl Місяць тому

      @@DivyanshuJoshi-tp7hf same error here

    • @DivyanshuJoshi-tp7hf
      @DivyanshuJoshi-tp7hf Місяць тому

      @@_vijay-xw7rl brother install one more library ‘systemtool’

    • @DivyanshuJoshi-tp7hf
      @DivyanshuJoshi-tp7hf Місяць тому

      @@_vijay-xw7rlgo install one more library from python interpreter’systemtools’

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

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

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

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

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

    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!

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

    Next part please ❤❤

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

    The most underrated channel on UA-cam!

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

    Which algorithm have u used in this sir?

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

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

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

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

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

    • @ashutoshchapagain9257
      @ashutoshchapagain9257 15 днів тому

      hello prakash nirmalkar, please help me with source code; mine not working properly

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

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

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

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

    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.

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

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

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

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

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

    Hey Murtaza I completed this project successfully under your guidance , I would like to bring this project to web app but it’s a bit costly for me in India, thanks for this amazing project

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

      Can you please help me out🙂.?

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

      @@akashks286 i would be happy to what are you stuck on?

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

      @@yashv1001 can you provide your number?

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

      Hi Yash I want to start this project so I want to talk to you so if you provide me your contact no or instagram id or fb I am very great full to you..

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

      @Yash V

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

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

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

    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 5 місяців тому

      I am facing to install the packages.

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

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

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

    which algo and model you had been used in this?

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

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

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

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

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

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

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

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

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

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

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

    mr Murtaza.. is it can work on mobile?

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

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

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

    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

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

    Bhai I am a student and really impressed with your work and going to do this project as school assignment . And I also visited your website and it was fabulous.
    Thank You

  • @pavithrad5862
    @pavithrad5862 11 місяців тому +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?

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

    Hi may I know what technique are u using?

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

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

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

    What applications you use in coding this? i am new here, what applications should i download and install first before doing this code?

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

      His using pycharm and other applications his show in his video

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

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

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

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

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

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

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

  • @nohaabdulkaderbayazid7198
    @nohaabdulkaderbayazid7198 Рік тому +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 Рік тому +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 :)

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

    Có ai có thể cho tôi biết dự án này sử dụng thuật toán nào để nhận dạng khuôn mặt từ nhau không?

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

    hey ! great work sir
    can you please explain that if i can do the same with cattle and cows? I want to recognise and id each cow and treat them properly

    • @neeraj.kumar.1
      @neeraj.kumar.1 Рік тому

      Lol 😂 seriously

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

      ​@@neeraj.kumar.1 laugh at me all you want, but I am still trying after 3 month and will try more until i reach my goal

    • @neeraj.kumar.1
      @neeraj.kumar.1 Рік тому

      @@atriarian
      Okay bro good luck.
      What are the things you have tried till now ?

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

    Assalam O Alaekum sir, Can you give the resources (Graphics)

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

    wow brilliat video pls how do i create my report in an excel sheet

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

    please tell me how you calculated the points for inserting the webcam?

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

      Open your bakcground image on any editor. Point your cursor on the space desired and it will let you know at where pixels (X,Y) is positioned. Then, you just need to update those values onto the argument.

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

    Please make using algorithm

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

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

    Hi, one question. Would It work on raspi?

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

    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