MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. hANNEsLUL
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-Face-Reco-DNN - All new Face Recognition

      @gaudouy
      Thank you, seems like that worked.

      But now I am getting following error when I’m trying to run “encode.py”

      Python 3.7.3 (/usr/bin/python3)
      >>> %Run encode.py
      Traceback (most recent call last):
        File "/home/pi/MagicMirror/modules/MMM-Face-Reco-DNN/tools/encode.py", line 5, in <module>
          from imutils import paths
      ModuleNotFoundError: No module named 'imutils'
      >>> 
      

      But when I’m installing “imutils” using “pip install imutils” I am getting no error, but following message:

      Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
      Requirement already satisfied: imutils in ./.local/lib/python2.7/site-packages (0.5.3)
      

      Any Idea how to fix that?

      And to your best camera question for this module, I’m using the PiCamera Module v.2, but I can’t tell you how good its working, since the Face-Reco is not working yet…

      posted in Utilities
      H
      hANNEsLUL
    • RE: MMM-Face-Reco-DNN - All new Face Recognition

      Hi,

      when im trying to install the face_recogtnition I’m getting this error code:

      Does anybody know how to fix this/what is causing this?
      Sorry if it’s obvious, im a super noob with this kind of stuff

      Cheers

      pi@raspberrypi:~ $ pip install face_recognition
      Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
      Collecting face_recognition
        Using cached https://files.pythonhosted.org/packages/1e/95/f6c9330f54ab07bfa032bf3715c12455a381083125d8880c43cbe76bb3d0/face_recognition-1.3.0-py2.py3-none-any.whl
      Requirement already satisfied: dlib>=19.7 in ./.local/lib/python2.7/site-packages (from face_recognition) (19.19.0)
      Collecting face-recognition-models>=0.3.0 (from face_recognition)
        Downloading https://www.piwheels.org/simple/face-recognition-models/face_recognition_models-0.3.0-py2.py3-none-any.whl (100.6MB)
          99% |████████████████████████████████| 100.6MB 1.7MB/s eta 0:00:01
      Exception:
      Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
          status = self.run(options, args)
        File "/usr/lib/python2.7/dist-packages/pip/_internal/commands/install.py", line 338, in run
          resolver.resolve(requirement_set)
        File "/usr/lib/python2.7/dist-packages/pip/_internal/resolve.py", line 102, in resolve
          self._resolve_one(requirement_set, req)
        File "/usr/lib/python2.7/dist-packages/pip/_internal/resolve.py", line 256, in _resolve_one
          abstract_dist = self._get_abstract_dist_for(req_to_install)
        File "/usr/lib/python2.7/dist-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for
          self.require_hashes
        File "/usr/lib/python2.7/dist-packages/pip/_internal/operations/prepare.py", line 283, in prepare_linked_requirement
          progress_bar=self.progress_bar
        File "/usr/lib/python2.7/dist-packages/pip/_internal/download.py", line 836, in unpack_url
          progress_bar=progress_bar
        File "/usr/lib/python2.7/dist-packages/pip/_internal/download.py", line 673, in unpack_http_url
          progress_bar)
        File "/usr/lib/python2.7/dist-packages/pip/_internal/download.py", line 897, in _download_http_url
          _download_url(resp, link, content_file, hashes, progress_bar)
        File "/usr/lib/python2.7/dist-packages/pip/_internal/download.py", line 617, in _download_url
          hashes.check_against_chunks(downloaded_chunks)
        File "/usr/lib/python2.7/dist-packages/pip/_internal/utils/hashes.py", line 48, in check_against_chunks
          for chunk in chunks:
        File "/usr/lib/python2.7/dist-packages/pip/_internal/download.py", line 585, in written_chunks
          for chunk in chunks:
        File "/usr/lib/python2.7/dist-packages/pip/_internal/utils/ui.py", line 159, in iter
          for x in it:
        File "/usr/lib/python2.7/dist-packages/pip/_internal/download.py", line 574, in resp_read
          decode_content=False):
        File "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py", line 494, in stream
          data = self.read(amt=amt, decode_content=decode_content)
        File "/usr/share/python-wheels/urllib3-1.24.1-py2.py3-none-any.whl/urllib3/response.py", line 442, in read
          data = self._fp.read(amt)
        File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 63, in read
          self._close()
        File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 50, in _close
          self.__callback(self.__buf.getvalue())
        File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", line 275, in cache_response
          self.serializer.dumps(request, response, body=body),
        File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", line 87, in dumps
          ).encode("utf8"),
      MemoryError
      posted in Utilities
      H
      hANNEsLUL
    • RE: MMM-HLTV

      Hi man,
      I can’t seem to get your module to work.
      It is getting displayed, but it says thath there are no matches found.
      Any idea how to fix it? Installed it like you explained.

      posted in Fun & Games
      H
      hANNEsLUL
    • 1 / 1