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

    Scheduled Pinned Locked Moved Utilities
    9 Posts 2 Posters 1.2k Views 2 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.
    • S Offline
      sdetweil @Parvez
      last edited by

      @Parvez i don’t understand what you are doing…

      docker for the facereco runner… why?

      and that links makes MM in docker… but why?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • ParvezP Offline
        Parvez
        last edited by

        @sdetweil i was install docker on google .
        but when i run

        make
        

        this is the next error .

        Capture.PNG

        Parvez Ahmed

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

          @Parvez but I don’t know WHY you need to install docker for this module ??? makes no sense

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • ParvezP Offline
            Parvez
            last edited by

            @sdetweil when i run

            python3 encode.py -i ../dataset/ -e encodings.pickle -d hog
            

            this command then show this error

            > docker build --build-arg UID=1000 --build-arg GID=1000 -t mmm-face-reco-dnn-dataset-runner .
            > make: docker: Command not found
            > make: *** [Makefile:6: image] Error 127
            

            that’s reason i install docker

            Parvez Ahmed

            1 Reply Last reply Reply Quote 0
            • ParvezP Offline
              Parvez
              last edited by

              Sove any one ?

              [2020-09-14 21:38:46.198] [ERROR]  Whoops! There was an uncaught exception...
              [2020-09-14 21:38:46.199] [ERROR]  PythonShellError: [ WARN:0] global /tmp/pip-install-6juqj78y/opencv-python/opencv/modules/videoio/src/cap_gstreamer.cpp (713) open OpenCV | GStreamer warning: Error opening bin: no element "0"
              [ WARN:0] global /tmp/pip-install-6juqj78y/opencv-python/opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
              Traceback (most recent call last):
                File "modules/MMM-Face-Reco-DNN/tools/facerecognition.py", line 106, in <module>
                  frame = imutils.resize(originalFrame, width=500)
                File "/home/pi/.local/lib/python3.7/site-packages/imutils/convenience.py", line 69, in resize
                  (h, w) = image.shape[:2]
              AttributeError: 'NoneType' object has no attribute 'shape'
              
                  at PythonShell.parseError (/home/pi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:254:21)
                  at terminateIfNeeded (/home/pi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:129:32)
                  at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/python-shell/index.js:121:13)
                  at ChildProcess.emit (events.js:200:13)
                  at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) {
                executable: 'python3',
                options: null,
                script: 'modules/MMM-Face-Reco-DNN/tools/facerecognition.py',
                args: [
                  '--cascade=modules/MMM-Face-Reco-DNN/tools/haarcascade_frontalface_default.xml',
                  '--encodings=modules/MMM-Face-Reco-DNN/tools/encodings.pickle',
                  '--usePiCamera=0',
                  '--source=0',
                  '--rotateCamera=0',
                  '--method=dnn',
                  '--detectionMethod=hog',
                  '--interval=2000',
                  '--output=0',
                  '--extendDataset=False',
                  '--dataset=modules/MMM-Face-Reco-DNN/dataset/',
                  '--tolerance=0.6'
                ],
                exitCode: 1
              }
              
              

              Parvez Ahmed

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

                @Parvez said in MMM-Face-Reco-DNN:

                object has no attribute

                https://github.com/nischi/MMM-Face-Reco-DNN/issues/44

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                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