MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. piedaniel
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 13
    • Groups 0

    Posts

    Recent Best Controversial
    • OpenCV problem

      Hi everyone,

      I trying to install python3 and OpenCV3.1.0 in MacOs.

      When I just finish the installation and put help(os) I get install all the modules (include face module), but a few seconds after this modules disappear and I can’t use the face module to complete train.py . Someone know what could happen? I reinstall everything many times but doesn’t work. At the end I post 2 images of the modules at the installation, and few seconds after.

      I use this web to know how to install: http://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7-on-osx/

      Img_all_modules
      img_problem_module
      Regards,

      posted in Development
      piedanielP
      piedaniel
    • RE: "phyton capture.py" error

      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

      posted in Troubleshooting
      piedanielP
      piedaniel
    • "phyton capture.py" error

      When I try to run “phyton capture.py” I have the next error:

      pi@raspberrypi:~/MagicMirror/modules/MMM-Facial-Recognition-Tools-master/facetrainer $ python capture.py
      What do you want to do?
      [1] Capture training images from webcam
      [2] Convert ‘*.jpg’ pictures from other cameras to training images
      –> 1

      Enter the name of the person you want to capture or convert images for.
      –> c
      Images will be placed in ./training_data/c


      Starting process…

      Capturing positive training images.
      Type c (and press enter) to capture an image.
      Press Ctrl-C to quit.
      c
      Capturing image…
      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)
      Traceback (most recent call last):
      File “capture.py”, line 35, in
      capture.capture()
      File “/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools-master/facetrainer/lib/capture.py”, line 55, in capture
      image = camera.read()
      File “/home/pi/MagicMirror/modules/MMM-Facial-Recognition-Tools-master/facetrainer/lib/picam.py”, line 23, in read
      with picamera.PiCamera() as camera:
      File “/usr/lib/python2.7/dist-packages/picamera/camera.py”, line 488, in init
      self.STEREO_MODES[stereo_mode], stereo_decimate)
      File “/usr/lib/python2.7/dist-packages/picamera/camera.py”, line 526, in _init_camera
      "Camera is not enabled. Try running ‘sudo raspi-config’ "
      picamera.exc.PiCameraError: Camera is not enabled. Try running ‘sudo raspi-config’ and ensure that the camera has been enabled.

      But when I use the comand “fswebcam image.jpg” i can use without problem. Someone know what is happend?

      posted in Troubleshooting
      piedanielP
      piedaniel
    • 1 / 1