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.

    MMM-Face-Reco-DNN doesn't work

    Scheduled Pinned Locked Moved Solved Troubleshooting
    mmm-face-reco-dnnconfig.jsopencv
    16 Posts 3 Posters 4.5k 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.
    • A Offline
      Antagonist @sdetweil
      last edited by

      @sdetweil I have Python version 3.7.3.
      And I have OpenCV 4.1.1 installed:

      (cv) pi@raspberrypi:~ $ python
      Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
      [GCC 8.2.0] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import cv2
      >>> cv2.__version__
      '4.1.1'
      
      

      Thanks for your help!

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Antagonist
        last edited by

        @Antagonist but it doesn’t work in module, which means the path is not set properly

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Antagonist @sdetweil
          last edited by

          @sdetweil Ok but where can I adjust the path to link it properly with opencv? And thank you, you have been a great help so far!

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Antagonist
            last edited by

            @Antagonist I don’t know, read this

            https://pypi.org/project/opencv-python/

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Antagonist @sdetweil
              last edited by

              @sdetweil unfortunately there is nothing which would help.
              Has anybody else an idea?

              1 Reply Last reply Reply Quote 0
              • B Offline
                Blauenfeldt
                last edited by

                You need to go into your virtual environment, and link cv2 and python 3 together there (can’t remember which way it is), just like you did outside the environment.

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  Antagonist @Blauenfeldt
                  last edited by

                  @Blauenfeldt I already did this:
                  0_1572193085958_link.PNG

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Antagonist
                    last edited by

                    Everything works. I’m just stupid as hell and didn’t add the classes to the other modules.

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    • 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