Raspberry Pi Camera Face Detection Using OpenCV Python3

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 มิ.ย. 2020
  • 🎬In this video, we shared a step by step on how to detect a face on an image captured by Raspberry Pi Camera using OpenCV and Python 3 on Raspberry Pi.
    💻Tutorial:
    tutorial.cytron.io/2020/06/12...
    🔧Hardware :
    1️⃣ Raspberry Pi 4 Model B
    [2GB RAM] my.cytron.io/c-raspberry-pi/c...
    [4GB RAM] my.cytron.io/c-raspberry-pi/c...
    [8GB RAM] my.cytron.io/c-raspberry-pi/c...
    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️⃣ Raspberry Pi Camera
    [5MP] my.cytron.io/p-5mp-camera-boa...
    [8MP] my.cytron.io/p-raspberry-pi-8...
    5️⃣ Bracket Holder for Raspberry Pi Camera Module: my.cytron.io/p-bracket-holder...
    🧕👩‍🎓👨‍🎓
    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...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 58

  • @steelbolls3226
    @steelbolls3226 2 ปีที่แล้ว

    Thank you very much!

  • @hiran07
    @hiran07 4 ปีที่แล้ว +6

    Information is presented very nicely and precisely. Kudos.

  • @salinaadhikari6654
    @salinaadhikari6654 3 ปีที่แล้ว +2

    Hey, Thank you so much for the video. It was really helpful. Now, what codes do I need to add for my raspberry pi to recognize my face and display my name on it?

  • @neilausten9404
    @neilausten9404 3 ปีที่แล้ว

    HI If the program just detects faces , does it have any practical use. I can see there would be a use if you could detect and recognise.

  • @tiratsusu8288
    @tiratsusu8288 3 ปีที่แล้ว

    Thanks you very good

  • @ssgoh4968
    @ssgoh4968 3 ปีที่แล้ว

    Good effort.

  • @cloudmalayaz7923
    @cloudmalayaz7923 11 หลายเดือนก่อน

    Hello.thanks for the video. 5mp camera is sufficient to do image recognition?

  • @electronicexpert8941
    @electronicexpert8941 4 ปีที่แล้ว +1

    Nice

  • @hawawawe4214
    @hawawawe4214 3 ปีที่แล้ว

    hi. thankyou for the tutorial. may i know, how to detect the face mask detection?

  • @VicariousxD
    @VicariousxD 4 ปีที่แล้ว +4

    A very well put together video. Thanks for the effort. What model of raspberry pi(RAM?) were you using?

    • @cytrontech
      @cytrontech  4 ปีที่แล้ว +2

      We are using Raspberry Pi 4 Model B. In this video we are using 8GB RAM version, but actually the OpenCV works well even on 1GB RAM board.

    • @cppp9499
      @cppp9499 3 ปีที่แล้ว

      @@cytrontech thanks

  • @programming_hut
    @programming_hut 3 ปีที่แล้ว +1

    how will be the performance for realtime video

  • @syahirafiq7246
    @syahirafiq7246 3 ปีที่แล้ว

    Hello, can i know if it can detect the pest or insect at greenhouse using this program? I am student engineering and doing the project for iot monitoring system.please help me

  • @Labib_1453
    @Labib_1453 3 ปีที่แล้ว

    could it recognize people in a room with range to 5m?

  • @abduallahazizi1731
    @abduallahazizi1731 3 ปีที่แล้ว +1

    can i use an usb web camera instead of the raspberry cam

  • @vinsmokearifka
    @vinsmokearifka 2 ปีที่แล้ว

    thank you..
    how to get face detection on long range? let's say 5-7 meter?

  • @nurfarzana9914
    @nurfarzana9914 3 ปีที่แล้ว

    what is i’m using webcamera? do i need to import webcamera like import picamera?

  • @younesshmd9852
    @younesshmd9852 2 ปีที่แล้ว

    Hello thanks for your video
    You know how I can use my laptop camera to do facial recognition with raspberry pi ?

  • @rizaalmuttaqin4432
    @rizaalmuttaqin4432 4 ปีที่แล้ว +1

    Is it ok to use usb webcam?

  • @TRENDSTONE
    @TRENDSTONE 3 ปีที่แล้ว

    can i use my webcam instead of pi cam ? plz reply thank you

  • @KarthikMSDBCAG
    @KarthikMSDBCAG 2 ปีที่แล้ว

    Can i get code changes for using webcam instead of pi camera

  • @vishnupriyajs8642
    @vishnupriyajs8642 3 ปีที่แล้ว +1

    Thanku for the video. But I am getting an error as" error:(-125: Assertion failed) !empty() in function 'detectMultiScale' " while running the code. What should I do next?

    • @vishnupriyajs8642
      @vishnupriyajs8642 3 ปีที่แล้ว

      @daniel moody The path of the XML file should be mentioned in the code according to where it is being saved.

  • @codmbattleground9915
    @codmbattleground9915 2 ปีที่แล้ว

    Can i do it using the raspberry pi 3 b+ ?

  • @sinan.100
    @sinan.100 3 ปีที่แล้ว

    Is the same with python 3.8 ?

  • @sivagurumudaliar1246
    @sivagurumudaliar1246 3 ปีที่แล้ว

    Open CV installation stopped t 99%. How do I do it correctly?

  • @terryterry1655
    @terryterry1655 2 ปีที่แล้ว

    If ssh raspberry to laptop.. How to use laptop camera as part of the project?

  • @oomdamai4251
    @oomdamai4251 3 ปีที่แล้ว

    Please help how about using a usb cam

  • @sithummethmika1676
    @sithummethmika1676 3 ปีที่แล้ว

    I love you🥰😍

  • @maulanawahyudi7127
    @maulanawahyudi7127 2 ปีที่แล้ว

    Can i detect face / human body with thermal camera with MLX90640 ? :(

  • @emikosuzuki4328
    @emikosuzuki4328 3 ปีที่แล้ว +1

    Where is Open CV installation video?....plz help it stopped at 99%😭

  • @ollyonearth
    @ollyonearth 4 ปีที่แล้ว +2

    Salam Alaekum and thanks for sharing my sister. Please, is there a way save set of faces like my family member such that the facial detection send alert when an unknown face is detected?

    • @cppp9499
      @cppp9499 3 ปีที่แล้ว

      thats different code dude.its fae recognition..this is detectio

  • @divyasandra3952
    @divyasandra3952 3 ปีที่แล้ว

    Where do we get sample code

  • @techgirl6156
    @techgirl6156 3 ปีที่แล้ว

    Does it workable on raspberry pi 3b+?????????please answer me

  • @sinan.100
    @sinan.100 3 ปีที่แล้ว

    Do you need to install visual studio to run python codes ?

    • @sebriutama9000
      @sebriutama9000 2 ปีที่แล้ว

      Same ask

    • @sebriutama9000
      @sebriutama9000 2 ปีที่แล้ว

      So are u know for visual studio can run phython code?

  • @qiangli4022
    @qiangli4022 3 ปีที่แล้ว

    What frame rate can you get from the pi 4?

    • @cytrontech
      @cytrontech  3 ปีที่แล้ว

      By default the frame rate is 25fps, but you can also set the frame rate.

  • @hopi9927
    @hopi9927 2 ปีที่แล้ว

    How can i install opencv python easily on raspberry pi 3+

  • @mikecheng6959
    @mikecheng6959 3 ปีที่แล้ว +1

    mine says found 0 faces???

  • @gassboy211
    @gassboy211 3 ปีที่แล้ว +2

    So cute

  • @muhammadsobirin4191
    @muhammadsobirin4191 3 ปีที่แล้ว

    Traceback (most recent call last):
    File "/home/pi/Face Recognition/face_detection.py", line 29, in
    faces = face_cascade.detectMultiScale(gray, 1.1, 5)
    cv2.error: OpenCV(4.5.0-dev) /home/pi/opencv/modules/objdetect/src/cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'detectMultiScale'

    • @muhdsobirin2522
      @muhdsobirin2522 3 ปีที่แล้ว

      I did same exact things u did and the results was error, why? I do on my raspberry pi 3b+

    • @cytrontech
      @cytrontech  3 ปีที่แล้ว

      Hi, I think your Raspberry Pi couldn't find the cassadedetect.cpp file. Please make sure that the file location is as same the given location.

  • @sebriutama9000
    @sebriutama9000 2 ปีที่แล้ว

    Can i get the source?

  • @teddysannan3784
    @teddysannan3784 3 ปีที่แล้ว

    Can this work with a Raspberry Pi 3 B?

  • @aksohel4491
    @aksohel4491 3 ปีที่แล้ว

    Can I have the coding please

  • @dimasari5696
    @dimasari5696 3 ปีที่แล้ว +1

    Assalamualaikum

  • @gursimransingh2439
    @gursimransingh2439 3 ปีที่แล้ว

    walekum aslam

  • @SumanSingh-xz3lb
    @SumanSingh-xz3lb 3 ปีที่แล้ว

    Send github I'd of this code

  • @Harshvardhan-jt5ie
    @Harshvardhan-jt5ie 2 ปีที่แล้ว

    ImportError: numpy.core.multiarray failed to import please help i get this erroe

  • @selimhossain3169
    @selimhossain3169 2 ปีที่แล้ว

    Can I get your email..?