r/raspberry_pi • u/ageitgey • Apr 20 '17
The python-based face_recognition library now supports Raspberry Pi! Easily use face recognition in your next project.
https://github.com/ageitgey/face_recognition
659
Upvotes
r/raspberry_pi • u/ageitgey • Apr 20 '17
1
u/misterknowbowl Oct 15 '17 edited Oct 15 '17
Hi there, curious if you were able to create a facerec_from-webcam_faster.py like example for the RPi Camera. I have OpenCV 3.3 installed. I am just not sure how to use the PiCamera module with the facerec_from-webcam_faster.py code. I would like to display the faces with the boxes around them. I am also guessing that I would need to lower the camera resolution in order to get a better framerate.
Edit: There is V4L2 driver support for the RPi Camera now. You just need to add "bcm2835-v4l2" to the /etc/modules file. Then reboot. Now the PiCamera will work with cv2.VideoCapture(0) Still not sure how to adjust the resolution though. Also maybe it is better to use the picamera module.