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

    Posts

    Recent Best Controversial
    • RE: Facial Recognition - customize your mirror for every user!

      Hi, I seem to be having an issue when trying to implement the face recognition tester. When I run the tester on the file I am getting an error, I cannot seem to resolve it.

      This is what displays in terminal:

      Loading training data...
      
      ALGORITHM: LBPH
      
      Training data loaded!
      
      Picam selected...
      
      Traceback (most recent call last):
      
      File "facerecognition.py", line 61, in 
      
      label, confidence = model.predict(crop)
      
      TypeError: 'int' object is not iterable
      

      My picamera stays active but I can see that it has stopped on my face in the background, Do you have any idea how to resolve this issue, as I am at a loss here.

      posted in Troubleshooting
      B
      b00002561
    • 1 / 1