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.

    Face Recognition - File can't be opened for writing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 4 Posters 14.3k 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.
    • F Offline
      feuerball
      last edited by

      The XML file is located in the module path mmm-facial-recognition.
      I will answer more precisely when I’m back hat home

      1 Reply Last reply Reply Quote 0
      • F Offline
        feuerball
        last edited by feuerball

        So, my internet is back after a day :D

        I reinstalled the module with deleting & cloning it again.

        The training.xml is located in

        /home/pi/MagicMirror/modules/MMM-Facial-Recognition

        I installed open cv with

        sudo apt-get install libopencv-dev python-opencv

        after this, i went into the folder

        MMM-Facial-Recognition

        and typed

        sudo npm install

        I still get the same error MSG :(

        i also changed the rights on the training.xml to Anyone/Anyone/Anyone

        please help <3

        paviroP 1 Reply Last reply Reply Quote 0
        • paviroP Offline
          paviro Admin @feuerball
          last edited by

          @feuerball try putting it somewhere else and set the trainingFile setting in your config :)

          We're all stories in the end. Just make it a good one, eh?

          – The Doctor

          1 Reply Last reply Reply Quote 1
          • F Offline
            feuerball
            last edited by

            well i rewrote the destination of the file @ the config again and now it works.

            seems like there was an error anywhere :D

            thanks :)

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              pgb168 @feuerball
              last edited by

              @feuerball I didn’t understand what is the config

              I am having the same error

              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