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

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

Пікірлер: 651

  • @murtazasworkshop
    @murtazasworkshop Жыл бұрын

    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

    Жыл бұрын

    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 Жыл бұрын

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

  • @gregormurray314
    @gregormurray314 Жыл бұрын

    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.

  • @eelcsics
    @eelcsics Жыл бұрын

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

  • @mikel2976
    @mikel2976 Жыл бұрын

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

  • @hdmovieclips7477

    @hdmovieclips7477

    Жыл бұрын

    Bro please help me 😭

  • @CloudchaserA
    @CloudchaserA Жыл бұрын

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

  • @Jamal_EH
    @Jamal_EH Жыл бұрын

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

  • @rohanhazra3840

    @rohanhazra3840

    6 ай бұрын

    pycharm @@adityarudrajaykar

  • @user-cx7rt6bd1m
    @user-cx7rt6bd1m5 ай бұрын

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

  • @TechnicalDrMusic
    @TechnicalDrMusic2 ай бұрын

    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.

  • @uminhtetoo
    @uminhtetoo Жыл бұрын

    Thank you so much for sharing your knowledge, Sir.

  • @project_YOUTUBE-
    @project_YOUTUBE-10 ай бұрын

    Thank you so much brother. It is very helpful

  • @yesdone4993
    @yesdone4993 Жыл бұрын

    Amazing, it is too good bro. thankyou

  • @ThaoMeoTV
    @ThaoMeoTV Жыл бұрын

    Great jobs. Thanks Sir ^^

  • @user-sy6mn2ke2c
    @user-sy6mn2ke2c3 ай бұрын

    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.

  • @codenissi
    @codenissi5 ай бұрын

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

  • @Innohub893
    @Innohub8937 ай бұрын

    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

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

  • @eyadaiman1559
    @eyadaiman1559 Жыл бұрын

    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

    2 ай бұрын

    Did you find it?

  • @sdbar1098

    @sdbar1098

    2 ай бұрын

    @@deepthiacharya9991 i create my self images

  • @paskalpaskalev7043
    @paskalpaskalev7043 Жыл бұрын

    Great tutorial!

  • @bashiruibrahim8443
    @bashiruibrahim8443 Жыл бұрын

    Thank you sir👋

  • @kuen555
    @kuen5559 ай бұрын

    thank you so much 😀

  • @YoutuberNTD
    @YoutuberNTD5 ай бұрын

    Thank you very much

  • @nadetdevfullstack7041
    @nadetdevfullstack70415 ай бұрын

    Excellent !

  • @ChauhanAbhinav
    @ChauhanAbhinav3 ай бұрын

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

  • @mendjevanelle9549
    @mendjevanelle954911 ай бұрын

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

  • @arifqasim7777
    @arifqasim7777 Жыл бұрын

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

  • @anndroid8734
    @anndroid87347 ай бұрын

    brilliant ! i want it

  • @artisticsoul2328
    @artisticsoul2328 Жыл бұрын

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

  • @palavirajgude5717
    @palavirajgude57178 ай бұрын

    amazing!!!

  • @joshuanketsiah3155
    @joshuanketsiah3155 Жыл бұрын

    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

    Ай бұрын

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

  • @ps5games821
    @ps5games821 Жыл бұрын

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

  • @user-go9rg4vv7j
    @user-go9rg4vv7j5 ай бұрын

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

  • @fakhrikharrat
    @fakhrikharrat5 ай бұрын

    Thanks Murtaza

  • @amjustice48
    @amjustice489 ай бұрын

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

  • @AaronMendoza-ku6jb
    @AaronMendoza-ku6jbАй бұрын

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

  • @socrative9810
    @socrative98105 ай бұрын

    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!

  • @tahirjaved619
    @tahirjaved619 Жыл бұрын

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

  • @skripandthes

    @skripandthes

    Жыл бұрын

    its Pycharm

  • @sahilnoormohd

    @sahilnoormohd

    Жыл бұрын

    Pycharm

  • @AaronMendoza-ku6jb
    @AaronMendoza-ku6jbАй бұрын

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

  • @funnycats9738
    @funnycats973811 ай бұрын

    Very usefull video

  • @gauravbanerjee2898
    @gauravbanerjee28985 ай бұрын

    Thanks a lot sir ❤❤

  • @dharyajasuja11
    @dharyajasuja11 Жыл бұрын

    Nice video 🙏

  • @saikou_absolute
    @saikou_absolute10 ай бұрын

    absolutely perfect good lucky

  • @roqshasana9102
    @roqshasana9102 Жыл бұрын

    Awesome project

  • @shravanthj1447
    @shravanthj1447 Жыл бұрын

    thanks vro

  • @BRCSRohithB
    @BRCSRohithB Жыл бұрын

    Which algorithm have u used in this sir?

  • @lavterryofficial6135
    @lavterryofficial6135 Жыл бұрын

    thankyou sir

  • @JetWoon
    @JetWoon Жыл бұрын

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

  • @yas-ny7rv
    @yas-ny7rv10 ай бұрын

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

  • @prakharsingh5822
    @prakharsingh5822 Жыл бұрын

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

  • @user-wp5cg8nc5s
    @user-wp5cg8nc5s7 ай бұрын

    Thank you from Thailand.

  • @Misafiradministrator

    @Misafiradministrator

    7 ай бұрын

    from Turkey

  • @AniketTheProgrammer
    @AniketTheProgrammer5 ай бұрын

    Thank you so much sir

  • @cissemy
    @cissemy Жыл бұрын

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

  • @cissemy

    @cissemy

    Жыл бұрын

    Or Javascript.

  • @SidTheGreat420

    @SidTheGreat420

    Жыл бұрын

    that depends on the opencv library in c# and JS

  • @spare4337
    @spare43373 ай бұрын

    Thank you so much

  • @YThaeZy
    @YThaeZy5 ай бұрын

    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?

  • @festivalstatus7174
    @festivalstatus71745 ай бұрын

    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
    @nethcagula22086 ай бұрын

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

  • @emadmorgan1693
    @emadmorgan169310 ай бұрын

    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

  • @codewithsk65
    @codewithsk65 Жыл бұрын

    Love you guru g ❤️

  • @uditvadlagatta746
    @uditvadlagatta7468 ай бұрын

    which algo and model you had been used in this?

  • @voonting8387
    @voonting8387 Жыл бұрын

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

  • @aleyaseenr
    @aleyaseenr Жыл бұрын

    mr Murtaza.. is it can work on mobile?

  • @syedadilfazal6588
    @syedadilfazal6588 Жыл бұрын

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

  • @veerporwal
    @veerporwal3 ай бұрын

    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 ай бұрын

    Go for python 10

  • @ps5games821
    @ps5games821 Жыл бұрын

    Great thank you very much make more great videos please

  • @murtazasworkshop

    @murtazasworkshop

    Жыл бұрын

    Thank you, I will

  • @mitrachandran5999
    @mitrachandran5999 Жыл бұрын

    Hi may I know what technique are u using?

  • @pranavh8583
    @pranavh85832 ай бұрын

    thank you

  • @ZenHulk
    @ZenHulk Жыл бұрын

    Can Ai make a mechanical move... For example i have a 6 foot fully functioning not walking yet robot, i would like to add AI probably through a Jetson Nano. Can Ai recognize an image of a person or dog and tell a servo what to do? I'm a mechanical engineer, and since the code they taught in my high school in 1984 was Basic or Dos, I'm behind on coding, learning slowly, watch lots of videos.

  • @3ia10_nevanr.6
    @3ia10_nevanr.69 ай бұрын

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

  • @dre_purba
    @dre_purba Жыл бұрын

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

  • @vedprakashnirmalkar6497
    @vedprakashnirmalkar649712 күн бұрын

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

  • @vyacheslavorlovsky506
    @vyacheslavorlovsky506 Жыл бұрын

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

  • @pavithrad5862
    @pavithrad586210 ай бұрын

    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?

  • @vinnykun3440
    @vinnykun3440 Жыл бұрын

    Hi, one question. Would It work on raspi?

  • @chandanvatsa4195
    @chandanvatsa4195Ай бұрын

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

  • @thebearguym
    @thebearguym Жыл бұрын

    Seriously need a Linux version of visual studio asap. I know there are other open source alternatives but integration is tiresome. Anyhow, getting back on windows to get this cool project done.

  • @fuseinabiekpe6899
    @fuseinabiekpe6899 Жыл бұрын

    Please can you make the quality of the video available

  • @winchesterphan7348
    @winchesterphan73488 ай бұрын

    Video not so smooth, have some lag so can you make video how to real-time video with multi model or stream video ?

  • @unors2731
    @unors2731 Жыл бұрын

    I love your videos

  • @anon3181
    @anon3181 Жыл бұрын

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

  • @nohaabdulkaderbayazid7198
    @nohaabdulkaderbayazid719811 ай бұрын

    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

    11 ай бұрын

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

  • @minhtihd5418
    @minhtihd54188 ай бұрын

    The most underrated channel on KZread!

  • @user-lg7fp6jh7r
    @user-lg7fp6jh7r Жыл бұрын

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

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

  • @LowieCuyvers
    @LowieCuyvers11 ай бұрын

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

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

  • @syedtaha4341
    @syedtaha4341 Жыл бұрын

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

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

  • @MRmidnightify
    @MRmidnightify10 ай бұрын

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

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

  • @MuminovIkrom
    @MuminovIkromАй бұрын

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

  • @DivyanshuJoshi-tp7hf

    @DivyanshuJoshi-tp7hf

    Ай бұрын

    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’

  • @arifoz1241
    @arifoz12412 ай бұрын

    thank you for this video but I have a question. how will it be if I want to convert this project to a web app? Is it enough to create a service script?

  • @yashv1001
    @yashv1001 Жыл бұрын

    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

    Жыл бұрын

    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

    Жыл бұрын

    @Yash V

  • @hissy_dev
    @hissy_dev Жыл бұрын

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

  • @wilsonscientifique4270
    @wilsonscientifique42708 ай бұрын

    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

  • @amadouroufai2337
    @amadouroufai23372 ай бұрын

    Very good tutorial as always. Is it possible to do this project on a raspeberry pi 3?

  • @heisenbergstayouttamyterri1508
    @heisenbergstayouttamyterri1508 Жыл бұрын

    Dude, can you suggest me some opencv projects for awsome portfolio and problem solving? BTW, ❤️ your works!

  • @murtazasworkshop

    @murtazasworkshop

    Жыл бұрын

    Top CV projects video coming soon.

  • @hdmovieclips7477

    @hdmovieclips7477

    Жыл бұрын

    ​@@murtazasworkshopsir which editor you are using 😢

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

  • @Parimal_Adini
    @Parimal_Adini7 ай бұрын

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

  • @souravkumar7650
    @souravkumar7650 Жыл бұрын

    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

  • @trures1166
    @trures1166 Жыл бұрын

    I have a face scanner project similar to yours, but I use raspberry pi to scan the face or how to link a firebase to raspberry pi for scan face 🙏🏽 I want to know how to do it thank.

  • @ranger2655

    @ranger2655

    Жыл бұрын

    does this project file worked for you in raspberry pi?