Face Recognition Door Lock Using OpenCV on Raspberry Pi

Поділитися
Вставка
  • Опубліковано 2 сер 2024
  • Face recognition door lock system is capable of making decisions based on facial recognition technology. The system uses a webcam and a Raspberry Pi. It is capable of performing facial recognition on its own such as face detection, features extraction, and face recognition using OpenCV libraries.
    Watch this video to create your own Face Lock System Using Rasberry Pi.
    ⌨️Software :
    1️⃣ Thonny (Python3)
    💻Tutorial:
    tutorial.cytron.io/2020/11/26...
    🔧Hardware :
    1️⃣ Raspberry Pi 4 Model B
    [2GB] my.cytron.io/p-raspberry-pi-4...
    [4GB] my.cytron.io/p-raspberry-pi-4...
    [8GB] my.cytron.io/p-raspberry-pi-4...
    2️⃣ 16GB Micro SD Card my.cytron.io/p-16gb-micro-sd-...
    3️⃣ Official RPi 15W (5V/3A) PSU USB C UK Plug my.cytron.io/c-raspberry-pi/c...
    4️⃣ 12VDC Solenoid Door Lock: my.cytron.io/p-12vdc-solenoid...
    5️⃣ 3x18650 Battery Holder: my.cytron.io/p-3x18650-batter...
    6️⃣ 3.7V 2000mAh Li-Ion Battery: my.cytron.io/p-3.7v-2000mah-l...
    7️⃣ 1CH Active H/L 5V OptoCoupler Relay Module: my.cytron.io/p-1ch-active-h-l...
    8️⃣ CH-2 Quick Wiring Terminal Press Type: my.cytron.io/p-ch-2-quick-wir...
    9️⃣ Maker pHAT: my.cytron.io/p-maker-phat-sim...
    🔟 Jumper Wires
    #imageprocessing #OpenCV #RaspberryPi #facelock
    🧕👩‍🎓👨‍🎓
    If you are a student, register here:
    www.cytron.io/student-benefit...
    👨🏻‍🏫👩🏻‍🏫
    If you are a teacher, register here:
    www.cytron.io/cytron-for-cikg...
    Suad Anwar,
    Cytron Technologies.
  • Наука та технологія

КОМЕНТАРІ • 78

  • @m4rkbello
    @m4rkbello 3 роки тому +4

    Thankyou I want to modified this for my thesis maam very informative and well explained!

  • @adonis9555
    @adonis9555 3 роки тому +4

    visually explained very well

  • @UpdownRoad
    @UpdownRoad 3 роки тому +1

    Nice video! it really worked!

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

    That's awesome , but i have some questions
    1-Can we add a virtual unlock button in the interface or whatever as a second way to unlock ?
    2-Can we use 1 or 2 servo motors instead of that lock - i'd use 'em to power manual deadbolt lock-
    3-Can we make use of the open Cv liveness detection

  • @amirhosseinarabkhaesy9695
    @amirhosseinarabkhaesy9695 3 роки тому +3

    Hi , at first i have to say thanks because of this nice tourtial you made 👌👌👌
    I have a question about this project , is this project will open the lock after it saw any faces or there is specific faces that it can recognize?
    Because i need to make a code that Rasberry pie can recognize my face between other faces , like what our phones are doing with face unlock feather 👌
    Can you help me with that?🙏

  • @MINITECH7
    @MINITECH7 3 роки тому +1

    Superb mam...🔥🔥

  • @johannesallgaier5722
    @johannesallgaier5722 3 роки тому +1

    Great work! Thanks for sharing!

  • @patricia.s913
    @patricia.s913 3 роки тому +1

    hi , im currently doing a project on face recognition smart home system, may i know how i can insert switching on and off of an led after the door is unlock for few second. btw im from malaysia too. how can i purchase the maker phat? i cant find any on shopping platform. And one more question is, how do i connect the solenoid if im not using the battery as my input ?

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

    too good swad

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

    may I know what network element is implement in this project... if it have and what it is?

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

    what kind of data base used in this project and what kind of frame work used in this project

  • @cookieskush
    @cookieskush 2 роки тому +2

    For anyone wondering the purple Maker pHAT is optional and also if you have problems with your lock not opening check what GPIO itis plugged into is the same in the code

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

      What is the purpose of the maker phat? Thank you!

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

    hi
    Is there an option to get a pulse without register my face; i mean i need to auto unlock for any face without registeration

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

    can you please send me the link on how the get the data set for face recognition?

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

    Hello, can we use the Rasp Pi Zero 2W on this example?

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

    thanks you information's

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

    What algorithm is used in face recognition?

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

    Can we done this project with using raspberry pi 3+?

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

    I want to increase fps. Its not usable at present.
    Using raspi 3b

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

    can you give us a schematic diagram and block diagram?

  • @arvindcuber4401
    @arvindcuber4401 3 роки тому +1

    Mantap

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

    soalan, kalau saye ganti webcam tu dengan raspberry pi camera boleh?

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

    Can I use ESP32 instead of Raspberry Pi? Please answer

  • @saad.maikaho
    @saad.maikaho 3 роки тому

    Nice video keep it up

    • @saad.maikaho
      @saad.maikaho 3 роки тому

      I can't find the maker pHAT, place what can I use to represent it

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

      Hi, Maker pHAT is an optional. You can do the project without using it. I'm using it because it is easier to connect to the 5V, GND, and GPIO 17 pin(the pin has label) compared to Raspberry Pi.

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

    waalaikumsalam is there a way you can do this with your phone with arduino

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

    Assalamualaikum im gonna question for maker phat for what pls answe

  • @syahidanarrizaldysidik4226
    @syahidanarrizaldysidik4226 3 роки тому +3

    good tutorial, but I have a little problem. Why is the camera response to the raspberry so laggy?

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

      Hi. You may email to support@cytron.io for further technical assistance. Thanks :)

    • @aloparz5559
      @aloparz5559 3 роки тому +1

      Because camera has delay, if you need less, you can buy one specially for raspberry ;)

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

    hi can i connect my face recognition python only with this without using raspbery pi 400 keyboard as tutorial u do?

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

      Hi. You can email to us at support@cytron.io for further technical assistance. Thank you

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

    Why my relay unlock the door, and when it req me, the relay it closes.
    Ple help me

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

    Can i see the source from opencv

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

    Mashallah got beautiful face ❤

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

    Dear i need code of that project in Python can u please share code . I shall be very thank full to you.

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

    Allahuma bareek!

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

    please clear the error "face_recognition has no attribute face_location"

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

    How did get this code

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

    Where to get the code?

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

    where the battery cable will plug?

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

      Hi. You can email to us at support@cytron.io for further technical assistance. Thank you

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

    My webcam is very laggy. Can someone help me fix this

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

    I have problem with syntaxerror which is in "if doorUnlock == True and time.time() - prevTime > 5:" please help me

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

      rewrite the code, it have problem with minus...rewrite it

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

    can i get document of code

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

    Hi, can i use raspberry pi 3 model B to do this?

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

      Hi, the performance maybe drop compared to Pi 4. Thanks. 😄

  • @ammarruslan6894
    @ammarruslan6894 3 роки тому +1

    can i upgrade this project by adding alexa so that we can control using voice command?

    • @cytrontech
      @cytrontech  3 роки тому +1

      We never tried this before, but you can try to upgrade this project so that we can control it using a voice command.

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

      @@cytrontech can i use raprberyy cam to replace the usb webcam? will the coding be the same?

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

    are you using male to female jumper wires?

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

      I'm using both female-male and male-male jumper wires :)

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

    Ma'am can u help me.,?

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

    What method is this design called?

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

      Hi. We are using the HOG (Histogram of Oriented Gradients) detection method.

  • @kasimbasaragi8898
    @kasimbasaragi8898 3 роки тому +1

    Hi
    I am facing problem with syntaxerror which is in "if doorUnlock == True and time.time() - prevTime > 5:" please help me

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

      Hi. You may drop an email to support@ctron.io so we can help assist you further. Thanks :)

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

      @@cytrontech hallo I have the same problem please help me

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

    why my solenoid doorlock didnt work out

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

      Hi. You can email to support@ctron.io so our technical team can help assist you. Thanks :)

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

    Can we use electricity not battery?

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

      Hi. The products use in this tutorial is suitable with dc current.

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

    Maam Im not able to find maker pHat is there anything else which can be used

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

      Brother I'm Nikhil and I'm also making the same project. Will you guide me a little bit?

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

      Hi, Maker pHAT is an optional. You can do the project without using it. I'm using it because it is easier to connect to the 5V, GND, and GPIO 17 pin(the pin has label) compared to Raspberry Pi.

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

    For the jumper wire are we using male to male or what?

    • @cytrontech
      @cytrontech  3 роки тому +1

      Hi. I'm using male-to-male on the quick wiring terminal press type and male-to-female on the maker pHAT. Thanks :)

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

      @@cytrontech may I know what is pHat? I couldn’t search information about this. Is it build by cytrontech?

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

      @@applemangoo2325 Yes, its a product from cytron. You may read details about maker pHAT under the link provided in description.

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

    Kak, boleh minta codingan nya kak?

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

    Great please send code link

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

      Please refer to this link for code: tutorial.cytron.io/2020/11/26/face-recognition-door-lock-system-using-opencv-on-raspberry-pi/

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

    Ve aleyküm selam

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

    Hello can i have your email so that I can ask you some question. Its really important.