OpenCV Face Detection with Raspberry Pi – Robotics with Python p.7



Next, we’re going to touch on using OpenCV with the Raspberry Pi’s camera, giving our robot the gift of sight. There are many steps involved to this process, so there’s a lot that is about to be thrown your way. If at any point you’re stuck/lost/whatever, feel free to ask questions on the video and I will try to help where possible. There are a lot of moving parts here. If all else fails, I have hosted my Raspberry Pi image: …

22 Comments

  1. I wish you showed an example on it working on the latest pi. I'm wondering how practical it would be to use for object detection. From what I've read, it's not. Not enough CPU power for it. I don't know about any multi-threading techniques either as I am still new to python and programming as a whole. Still, it would have been cool to see a experienced user show how good he got it working!

  2. Hi, I have been working on openCv on a raspberry pi but using a webcam, My challenge is that though everything works the processing speed is so bad, I need to ask if what makes it slow is because I used a webcam instead of a pi cam or there's something I can do to make it faster….?

  3. Maybe you did mention this later in the video, but I think it would behoove you to bring up the ability to compile OpenCV for the raspberry pi on a fully powerful tower PC by downloading gcc arm toolchain on it. This saved me potentially a few hours.

  4. hello sir. i m trying to install opencv and contrib-opencv. but i could not install it. i have done face ditection in my laptop with opencv. will you plz give me some help to install it on my raspberry pi 3

  5. It shows this error please help:-
    OpenCV Error: Requested object was not found (Could not find the/an object in file storage) in cvLoad, file /home/pi/opencv-3.3.0/modules/core/src/persistence.cpp, line 6819
    Traceback (most recent call last):
    File "TEST1_FD.py", line 22, in <module>
    face_cascade = cv2.CascadeClassifier('/home/pi/faces.xml')
    cv2.error: /home/pi/opencv-3.3.0/modules/core/src/persistence.cpp:6819: error: (-204) Could not find the/an object in file storage in function cvLoad

Leave a Reply

Your email address will not be published.


*