How would I go about using face recognition with a USB camera, NOT the Pi Camera Board? A link to a tutorial would be fine. I know it was possible with OpenCV, but is it still, and how?


Can I get it to just detect my face (only my face, no one else's) and when it does execute some code?


1 Answer 1


It is sure possible to use a USB camera on RasPi. Try getting a good resolution camera. you can find some useful information in this link.

Regarding detecting only your own face. You can use one of many image processing techniques. I recommend using Haar cascade classifier as it is the easiest and you can easily understand it.

In your case you have to train your own detector. Here is a tutorial where you will find out how to train your own Haar classifier.

Hope I helped.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.