MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    "phyton capture.py" error

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 5 Posters 5.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mochmanM Offline
      mochman Module Developer
      last edited by

      Did you try running sudo raspi-config and enabling the camera?

      1 Reply Last reply Reply Quote 0
      • piedanielP Offline
        piedaniel
        last edited by

        Hi, tranks for help in my problem. Yes, the Camara is enable on the raspi-config.

        I’m using an USB camara, was detected by the Raspberry and take pictures if I use “fswebcam image.jpg” command.

        Another problem is if use images that have to compilate the face-detection-trainer, it generate the negative of pics but not generate the xml file. What could be happens?

        Regards,
        DP

        1 Reply Last reply Reply Quote 0
        • KirAsh4K Offline
          KirAsh4 Moderator
          last edited by

          You said you’re using a USB camera, but that error tells me it’s wanting to access an rpi camera, one that gets connected to the on board camera port, not USB. You’re going to have to figure out how to change the code to use a USB camera instead.

          A Life? Cool! Where can I download one of those from?

          1 Reply Last reply Reply Quote 0
          • S Offline
            s1081314
            last edited by

            I have the same problem! Does someone have the solution for this problem?
            I also use an USB camera on my raspberry pi, and get the same error!

            W 1 Reply Last reply Reply Quote 0
            • W Offline
              wellwhythefnot @s1081314
              last edited by

              @s1081314

              I had the same problem. Couldn’t capture using USB webcam. Read somewhere that it does not work with USB webcam. So i got around this by taking pics (fswebcam) and selecting option 2 and giving the path to where the images were saved. That worked without any issue.

              Read the post below…
              https://support.magicmirror.builders/topic/210/facial-recognition-customize-your-mirror-for-every-user/33

              Cheers!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy