MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. mc_landin
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 15
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by mc_landin

    • MMM-AssistantMk2: error on authentication test

      I cannot seem to get th MMM-AssistantMk2 module to work. I’m stuck at “In your SBC, you can run auth-tool for authentification. (not via SSH)”

      I tried npm rebuild without success.

      The error I get is

      Error: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/node-v59-linux-arm-glibc/grpc_node.node)
          at Object.Module._extensions..node (internal/modules/cjs/loader.js:683:18)
          at Module.load (internal/modules/cjs/loader.js:566:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
          at Function.Module._load (internal/modules/cjs/loader.js:498:3)
          at Module.require (internal/modules/cjs/loader.js:598:17)
          at require (internal/modules/cjs/helpers.js:11:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:32:13)
          at Module._compile (internal/modules/cjs/loader.js:654:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
          at Module.load (internal/modules/cjs/loader.js:566:32)
      
      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial Recognition - customize your mirror for every user!

      I am struggling to get modules using a name class to work. Still waiting for an answer as well

      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial Recognition - customize your mirror for every user!

      Anyone able to help me out with this? 🙂

      https://forum.magicmirror.builders/topic/4206/facial-recognition-no-users

      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial recognition: no users

      Forgot to add the errors:

      0|mm       |     model.load(config.get("trainingFile"))
      0|mm       | cv2.error: /build/opencv-ISmtkH/opencv-2.4.9.1+dfsg/modules/contrib/src/facerec.cpp:325: error: (-2) File can't be opened for writing! in function load
      0|mm       | 
      0|mm       | 
      0|mm       |     at PythonShell.parseError (/home/pi/MagicMirror/modules/node_modules/python-shell/index.js:190:17)
      0|mm       |     at terminateIfNeeded (/home/pi/MagicMirror/modules/node_modules/python-shell/index.js:98:28)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/modules/node_modules/python-shell/index.js:88:9)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       |   executable: 'python',
      0|mm       |   options: null,
      0|mm       |   script: 'modules/MMM-Facial-Recognition/facerecognition/facerecognition.py',
      0|mm       |   args: [ '{"recognitionAlgorithm":1,"lbphThreshold":80,"fisherThreshold":250,"eigenThreshold":3000,"useUSBCam":false,"trainingFile":"modules/MMM-Facial-Recognition/Training.xml","interval":2,"logoutDelay":15,"users":["Sander"],"defaultClass":"default","everyoneClass":"everyone","welcomeMessage":true}' ],
      0|mm       |   exitCode: 1 }
      
      
      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial recognition: no users

      Here is my code:

      {
        module: "MMM-Facial-Recognition",
        config: {
         recognitionAlgorithm:1,
         lbphTreshold: 80,
         useUSBCam: false,
         trainingfile: 'modules/MMM-Facial-Recognition/Training.xml',
         interval: 2,
         logoutDelay: 15,
         users: ['Sander'],
         defaultclass: "default",
         everyoneClass: "everyone",
         welcomeMessage: true
        }
      }
      

      PM2 logs mm specifies there is an issue, but doesn’t state what

      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial recognition: no users

      I am now a little further. It recognises me when I use the test tool, and when I am actually running the mirror, modules containing the class of my name are hidden. However, they do not actually become visible even when I am in front of the mirror?

      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial recognition: no users

      Anyone, please?

      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial Recognition - customize your mirror for every user!

      I can’t seem to get the module to work properly. I made pictures and generated a training.xml file. When I test said file it does identify me.

      However, I can’t find a user array in the training file to add to the config.xml. When I add the only user present it still doesn’t work

      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial recognition: no users

      @j.e.f.f said in Facial recognition: no users:

      your

      Hi @j-e-f-f, thanks for the comment. my training model output does not seem to indicate any users?

      posted in Troubleshooting
      M
      mc_landin
    • RE: Facial recognition: no users

      No-one able to help me out? 🙂

      posted in Troubleshooting
      M
      mc_landin
    • 1
    • 2
    • 1 / 2