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

    Posts

    Recent Best Controversial
    • What foil to use on glass and/or acrylic

      I have been looking around on this site, but I can’t seem to find what kind foil would be good to use.
      Can those who have tried foil, describe what their experience is, and what kind of foil they used eg. what transparency it is, vendor, and name of the foil.

      posted in General Discussion foil mirror film film
      B
      Blauenfeldt
    • What mirror and screen to use?

      I have tried some mirrors, with an LCD monitor, but have come to only get too dim screen with the Pilkington chrome spy 6 mm, or I end ud seeing too much background light from the monitor (A monitor the school gave me for the projekt, which uses glass tubes as bagground light).
      Do i have to use an OLED or what else combination do i need for it be good at a reasonable price?

      posted in Hardware
      B
      Blauenfeldt
    • RE: help,i broke the mirror

      Someone got it working on this post:
      https://forum.magicmirror.builders/topic/11554/magicmirror-won-t-start-after-installing-module/6
      hope this helps

      posted in Troubleshooting
      B
      Blauenfeldt
    • A module that can check in and check out people

      Don’t know if this is the right place, or it exist.

      So at the school i have been going to have to check in the students when they arrive, and out when they leave (I guess that’s normal somewhere), but the students has to do it themself on a paper, and then the teacher has to put it into the computer. I have talked to the teachers about making it automated. They approve much.

      So i have been using MMM-Face-Reco-DNN, and was wondering if it would be possible to that and some sort of button or ultrasonic sensor? The idea is that when a Student is in front of the mirror, and is face recognized, then the student push a button or has a hand in front of the ultrasonic sensor, then the mirror will Check the person in with a timestamp of day and time. Check out the second time the student does it (automatically checked out at midnight). The module will collect the data every week, and then send it to a teachers pc or mail (prefered in a format like excel"
      Something like this:

          Name: "Alex Jensen"
          Check-in Monday: "08:10"
          Check-out Monday: "15:15"
          Check-in Tuesday: "08:07"
          Check-out Tuesday: "15:14"
      
          Name: "Niels Madsen"
          Check-in Monday: "08:01"
          Check-out Monday: "15:14"
          Check-in Tuesday: "08:05"
          Check-out Tuesday: "15:16"
      
      

      Will that be possible to do?

      posted in Requests
      B
      Blauenfeldt
    • RE: MMM-Face-Reco-DNN

      It works like a charm now. Thank you very much.

      posted in Troubleshooting
      B
      Blauenfeldt
    • RE: MMM-Face-Reco-DNN doesn't work

      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.

      posted in Troubleshooting
      B
      Blauenfeldt
    • RE: MMM-Face-Reco-DNN doesn't work

      In between it all it says, that cv2 is not found. Your cv2 is probably not linked to your python 3.

      posted in Troubleshooting
      B
      Blauenfeldt
    • RE: MMM-Face-Reco-DNN

      @sdetweil Thank you. I will try that.

      posted in Troubleshooting
      B
      Blauenfeldt
    • RE: MMM-Face-Reco-DNN

      I’ve updated it. yes, the line before classes ends with a comma.

      posted in Troubleshooting
      B
      Blauenfeldt
    • RE: MMM-Face-Reco-DNN

      My bad. That is what i have done. I will edit my problem so it is more detailed.

      posted in Troubleshooting
      B
      Blauenfeldt
    • MMM-Face-Reco-DNN

      When i use classes like below

      classes: 'name'
      

      i get an error for the next line in the config.js
      If I write it with a comma like this:

      Classes: 'name',
      

      Then it and the whole module: "MMM-Face-Reco-DNN"will get ignored, and all my modules will be shown, even if nobody is in front of the camera.
      Here is a log:

      0|MagicMirror  | Loading config ...
      0|MagicMirror  | WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:65
      0|MagicMirror  | 			classes: 'name'
      0|MagicMirror  | 			^^^^^^^
      0|MagicMirror  | SyntaxError: Unexpected identifier
      0|MagicMirror  |     at new Script (vm.js:74:7)
      0|MagicMirror  |     at createScript (vm.js:246:10)
      0|MagicMirror  |     at Object.runInThisContext (vm.js:298:10)
      0|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:678:28)
      0|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      0|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:620:32)
      0|MagicMirror  |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
      0|MagicMirror  |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
      0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:658:17)
      0|MagicMirror  |     at require (internal/modules/cjs/helpers.js:20:18)
      0|MagicMirror  | Loading module helpers ...
      
      

      Here is line 65 in my config file:

      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "hidden",
      				locationID: "hidden",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				appid: "hidden"
      			}
      			classes: 'name'
      		},
      

      If I move classes up below position like this:

      {
      			module: "currentweather",
      			position: "top_right",
      			classes: 'name'
      			config: {
      				location: "hidden",
      				locationID: "hidden",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				appid: "hidden"
      			}
      

      Then the result will be like this:

      0|MagicMirror  | WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:60
      0|MagicMirror  | 			config: {
      0|MagicMirror  | 			^^^^^^
      0|MagicMirror  | SyntaxError: Unexpected identifier
      0|MagicMirror  |     at new Script (vm.js:74:7)
      0|MagicMirror  |     at createScript (vm.js:246:10)
      0|MagicMirror  |     at Object.runInThisContext (vm.js:298:10)
      0|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:678:28)
      0|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      0|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:620:32)
      0|MagicMirror  |     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
      0|MagicMirror  |     at Function.Module._load (internal/modules/cjs/loader.js:551:3)
      0|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:658:17)
      0|MagicMirror  |     at require (internal/modules/cjs/helpers.js:20:18)
      
      posted in Troubleshooting
      B
      Blauenfeldt
    • RE: MMM-Face-Reco-DNN - All new Face Recognition

      I get this too, when my PI can’t connect to the camera. I know that, because if i use
      Raspistill -o s.jpg
      I will get an error there too. A reboot seems to fix it though. I don’t know what makes it happen, but i suspect the cable.

      posted in Utilities
      B
      Blauenfeldt
    • Face recognition help

      So i have tried some different facial recognition, and found the one, that works best for my needs - MMM-Face-Reco-DNN
      It’s works fine, they all do, but i was wondering, if it was possible to make the mirror show modules all the time, and the change them, according to who is in from?
      Basically have the clock and weather showing all the time, and then when I walk in front of it, it would start showing my calendar, newsfeed and other stuff, and when i walk away, it will only show clock and weather again.

      Is that possible?

      Best regards
      Blauenfeldt

      posted in Troubleshooting
      B
      Blauenfeldt
    • 1 / 1