A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-Face-Reco-DNN
-
@Parvez install docker. google is your friend
-
@sdetweil thank you so much … you always help me.
can i use https://forum.magicmirror.builders/topic/10488/mm-server-mode-in-docker-on-raspberry -this link.
-
@Parvez i don’t understand what you are doing…
docker for the facereco runner… why?
and that links makes MM in docker… but why?
-
-
@Parvez but I don’t know WHY you need to install docker for this module ??? makes no sense
-
@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
-
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 said in MMM-Face-Reco-DNN:
object has no attribute