MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

usb cam is not recognized but works



  • Hi folks

    I have installed all modules and dependencies for face recognition. but if i want to start this: python facerecognition.py the following error message appears:

    pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-Tools $ python facerecognition.py
    Remember to set the name list environment variable FACE_USERS
    Using default FACE_ALGORITM: 1
    Loading training data…
    mmal: mmal_vc_component_create: failed to create component ‘vc.ril.camera’ (1:ENOMEM)
    mmal: mmal_component_create_core: could not create component ‘vc.ril.camera’ (1)

    But with “fswebcam image.jpg” I can shoot some photos with SSH.

    Any ideas?
    Thanks very much for your help.

    Greetings
    Michael



  • Hi, from my current knowledge the script only works for the picamera, because the picamera module that is imported in the picam.py script is used to capture images.


Log in to reply