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

MMM-Facial-Recognition-Tools & PiCam

  • Hi,

    I got a probleme with when i use my pi cam

    Traceback (most recent call last):
      File "", line 41, in 
      File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/", line 40, in capture
        camera = config.get_camera(preview)
      File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/", line 101, in get_camera
        return webcam.OpenCVCapture(device_id=0)
      File "/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools/lib/", line 29, in __init__
    TypeError: Required argument 'device' (pos 1) not found

    When i use a logitech usb cam no problem.

    With the picam connected i try this and it works

    raspistill -o image.jpg

    Some ideas how to resolve this ?

  • Did you ever figure out what the solution was? I’m just now starting this and am running into the same issue.

  • sudo pip install picamera

Log in to reply