Read the statement by Michael Teeuw here.
MMM-Face-Reco-DNN
-
@sdetweil Wow excelent advice thank you. I will try that.! I think something else may be going on. As mentioned in my original post, I was able to take several pictures with my camera and on a whim decided to add those to my dataset. When i tried to run the encode program I got a message that the module could not be found, even after running a ls and staring at the engode program it claimed it could not be found. I’m starting to think I may have a corupt install. I am not sure what to do but I might flash another SD card and try a fresh install. Thanks for all your help!
-
@danningson you ARE in the root of the module folder when you did npm run encode, right??
cd ~/MagicMirror/modules/MMM-Face-Reco-DNN
then you can run encode per the instructions
npm run encode
-
Correct. I actuallly tride it from the MMM-Face-Reco-DNN and got the error message. I then went to tool and say the file and ecen tried to run it from there but got the same message.
-
@danningson this could be because of the need for the python virtual environment not being set up
I know he made a bunch of changes recently which require the venv…
-
@sdetweil Hi Sam - first, thank you for your time and expertise. I really do appreciate all the help. looks like you were right. I went back and ran the script again and noticed the environment additions. After running those I was able to run the encode.py program and it added several of the new pics i took. To further my troublshooting i added several classes as unknow. My thought was if the camera is seeing me but not recognizing me at least those moduels would show up and tell me the program was working correctly. Unfortunatly I got no reaction when looking into the camera either known or unknown. the camera is still wotking with the libcamera-still -o test.jpg so I am not sure why the program is failing to pic up anything. Again, thanks for your help
-
@danningson is mm running under that venv?
-
@sdetweil I’m not sure. I typed in env and got back a whole bunch of stuff i don’t understand
-
@danningson usually the terminal window prompt has the active python venv name prepended
(base) here on my system
(base) sam@sams:~/MagicMirror$
-
@sdetweil Ah, this pi is only intended for the mirror so i simply named it mm
mm@raspberrypi:~/MagicMirror $ -
@sdetweil I just ran the install script again and now i get this:
(python-facereco) mm@raspberrypi:~/MagicMirror $