I followed a guide on youtube to set up my raspberry pi. I'm trying to use python for facial recognition but the camera is not working.

I did

vcgencmd get_camera

in the terminal but the result was

supported=0 detected=0

Does anyone have any idea why supported shows 0?

New contributor
suinuj is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • maybe the camera is not supported ... or it is not connected ... or it is defective ... or etc. etc.
    – jsotola
    2 days ago
  • supported=0 means you haven't enabled camera at all - note: you hopefully are running buster, not bullseye
    – Bravo
    2 days ago
  1. Check first if the camera is supported

2. Try a powered USB hub to plug in the camera / maybe it isnt getting enough power

Then you can install this tool to test out the camerasudo apt-get install luvcview

Your Answer

suinuj is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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