[Beta] Test pour passage en stable

Chez moi j’ai bien les log d’action, j’ai peut etre debugé et je m’en souvient plus

J’ai poussé une mise a jours de ma version actuel

  • Chargement des snap importé (a verifier pour la prise de vue avec la camera)
  • Debug de la prise de vue (a confirmé chez moi pas de soucis, or que je n’ai pas visage sur la camera donc snap refusé)

Peux tu mettre a jours et confirmé la resolution de ses points

Dès que je trouve une bonne âme pour se faire tirer le portrait, je teste

Mise à jour faite, je viens de tester , pas de changement :

TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:23.416][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:23.429][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:23.430][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:23][DEBUG] : Detection Unknown
[2020-05-06 15:43:23.437][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:23.456][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:23.458][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:23][DEBUG] : Detection Unknown
[2020-05-06 15:43:23.469][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:23.562][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:23.710][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:23.723][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:23.731][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:23][DEBUG] : Detection Unknown
[2020-05-06 15:43:23.739][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:23.861][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:23.878][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:24.182][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:24.185][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:24.314][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:24.315][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:24.317][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:24.321][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
[2020-05-06 15:43:24][DEBUG] : Detection Unknown
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
[2020-05-06 15:43:24.335][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:24.339][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:24.345][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:24.348][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:24.349][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:24][DEBUG] : Detection Unknown
[2020-05-06 15:43:24][DEBUG] : Detection Unknown
[2020-05-06 15:43:24.358][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:24.359][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:24.465][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:24.652][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:24.654][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:24.781][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:24.783][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:24][DEBUG] : Detection Unknown
[2020-05-06 15:43:24.798][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:24.799][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:24.806][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:24.814][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:24][DEBUG] : Detection Victor
[2020-05-06 15:43:24.825][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:24.896][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:24.970][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:24.979][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:24.986][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:24][DEBUG] : Detection Victor
[2020-05-06 15:43:24.993][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:25.081][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:25.170][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:25.232][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:25.233][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:25.238][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:25.240][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:25][DEBUG] : Detection Victor
[2020-05-06 15:43:25.251][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:25.257][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:25.267][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:25][DEBUG] : Detection Unknown
[2020-05-06 15:43:25.279][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:25.315][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:25.386][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:25.387][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:25.388][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:25][DEBUG] : Detection Victor
[2020-05-06 15:43:25.396][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:25.479][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:25.554][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:25.568][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:25.574][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:25][DEBUG] : Detection Unknown
[2020-05-06 15:43:25.590][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:25.652][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:25.740][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:25.750][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:25.752][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:25][DEBUG] : Detection Unknown
[2020-05-06 15:43:25.761][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:26.026][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:26.310][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:26.316][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:26.333][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:26][DEBUG] : Detection Unknown
[2020-05-06 15:43:26.338][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:26.497][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:26.703][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:26.972][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:26.988][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:27.001][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:27.002][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:27][DEBUG] : Detection Victor
[2020-05-06 15:43:27.005][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:27.297][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:27.298][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:27.301][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:27.301][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:27.302][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:27.547][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:27.549][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:27][DEBUG] : Detection Unknown
[2020-05-06 15:43:27.554][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:27][DEBUG] : Detection Unknown
[2020-05-06 15:43:27.562][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:27.573][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:27.579][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:27.580][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:27][DEBUG] : Detection Victor
[2020-05-06 15:43:27.590][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:28.172][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:28.517][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:28.897][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:28.897][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:29.289][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:29.291][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:29.292][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:29.295][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 15:43:29][DEBUG] : Detection Victor
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:29.321][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:29.336][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:29.339][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:29.340][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:29.345][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:29][DEBUG] : Detection Victor
[2020-05-06 15:43:29.358][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:29][DEBUG] : Detection Unknown
[2020-05-06 15:43:29.361][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:29.957][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:30.287][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:30.537][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:30.537][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:30.544][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:30.545][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:30.858][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:30.859][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:31.706][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
[2020-05-06 15:43:31.168][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:31.168][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:31.165][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:31.445][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:31.713][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:31.445][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:31.715][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:31.445][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:31][DEBUG] : Detection Unknown
[2020-05-06 15:43:31][DEBUG] : Detection Unknown
[2020-05-06 15:43:31.701][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:31.712][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:31.707][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:31.168][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:32.013][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:32.013][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:32.016][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:32.027][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:32.017][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:32.017][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:32.030][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:32][DEBUG] : Detection Unknown
[2020-05-06 15:43:32][DEBUG] : Detection Unknown
[2020-05-06 15:43:32][DEBUG] : Detection Victor
[2020-05-06 15:43:32.026][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:32.040][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:32.041][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:32.043][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:32][DEBUG] : Detection Unknown
[2020-05-06 15:43:32][DEBUG] : Detection Victor
[2020-05-06 15:43:32.062][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:32.067][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:32.078][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:32.428][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:32.756][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:32.774][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:32.779][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:32][DEBUG] : Detection Victor
[2020-05-06 15:43:32.808][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 15:43:37.060][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:37.357][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:37.647][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:37.912][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:37.920][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:37.920][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:38.212][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:38.213][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:38.525][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:38.217][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
[2020-05-06 15:43:38.523][DEBUG] : [Chemin] 1  visages ont été détecté
[2020-05-06 15:43:38.213][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:38.527][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
Unhandled exception in thread started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
[2020-05-06 15:43:38.529][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 15:43:38.849][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 15:43:38.843][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 15:43:38.851][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
    Snapshot = extract_face(Image,rect)
TypeError: extract_face() missing 1 required positional argument: 'file'
ad started by <function detect_face at 0x7f8f401bc400>
Traceback (most recent call last):
  File "/var/www/html/plugins/facerecognition/resources/FaceDetect.py", line 64, in detect_face
    Snapshot = extract_face(Image,rect)

Arf j’ai fait un mauvais copier collée
Du coup je viens de repoussé une correction

Mes enfants vont te haïr, ça va me couter cher… :sweat_smile:

Lol, c’est pas pressé non plus
Je fait ca rapido au taff donc parfois je vais trop vite

Pas de changement :

[2020-05-06 16:28:41][INFO] : Lancement démon facerecognition : sudo /usr/bin/python3 /var/www/html/plugins/facerecognition/resources/FaceDetect.py --loglevel debug --camera Chemin --device rtspxxx --sensibility 9 --fps 10 --width 100 --height 100 --socketport 8090 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/facerecognition/core/php/jeeFaceRecognition.php --apikey xxx --pid /tmp/jeedom/facerecognition/deamon_Chemin.pid --snapshot /tmp/jeedom/facerecognition/Chemin.jpeg
[2020-05-06 16:28:47.417][INFO] : [Chemin] Start Face Detection Daemon for Jeedom plugin
[2020-05-06 16:28:47.417][INFO] : [Chemin] Log level : debug
[2020-05-06 16:28:47.417][INFO] : [Chemin] Camera : Chemin
[2020-05-06 16:28:47.417][INFO] : [Chemin] Device : rtsp://xxx@xxx/mpeg/media.amp
[2020-05-06 16:28:47.417][INFO] : [Chemin] Demon framerate : 10
[2020-05-06 16:28:47.417][INFO] : [Chemin] Minimal detection : 100 X 100
[2020-05-06 16:28:47.417][INFO] : [Chemin] Demon sensibility : 9
[2020-05-06 16:28:47.417][INFO] : [Chemin] Snapshot : /tmp/jeedom/facerecognition/Chemin.jpeg
[2020-05-06 16:28:47.417][INFO] : [Chemin] PID file : /tmp/jeedom/facerecognition/deamon_Chemin.pid
[2020-05-06 16:28:47.417][INFO] : [Chemin] Apikey : xxx
[2020-05-06 16:28:47.417][INFO] : [Chemin] Callback : http://127.0.0.1:80/plugins/facerecognition/core/php/jeeFaceRecognition.php
[2020-05-06 16:28:47.417][INFO] : [Chemin] Cycle : 0.3
[2020-05-06 16:28:47.417][INFO] : [Chemin] Socket port : 8090
[2020-05-06 16:28:47.417][INFO] : [Chemin] Socket host : 127.0.0.1
[2020-05-06 16:28:47.417][DEBUG] : Writing PID 11911 to /tmp/jeedom/facerecognition/deamon_Chemin.pid
[2020-05-06 16:28:47.418][DEBUG] : Init request module v2.22.0
[2020-05-06 16:28:47.420][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:47.433][DEBUG] : http://127.0.0.1:80 "GET /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:47.434][DEBUG] : Socket interface started
[2020-05-06 16:28:47.445][DEBUG] : LoopNetServer Thread started
[2020-05-06 16:28:47.449][DEBUG] : Listening on: [127.0.0.1:8090]
[2020-05-06 16:28:50.800][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:50.978][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:51.001][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:51.002][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:51][DEBUG] : Detection Victor
[2020-05-06 16:28:51.013][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:51.137][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:51.329][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:51.347][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:51.348][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:51][DEBUG] : Detection Victor
[2020-05-06 16:28:51.368][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:51.569][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:51.570][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:51.598][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:51.599][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:51][DEBUG] : Detection Victor
[2020-05-06 16:28:51.609][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:51.960][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:52.134][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:52.135][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:52.310][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:52.312][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:52][DEBUG] : Detection Victor
[2020-05-06 16:28:52.323][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:52.328][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:52.337][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:52.338][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:52][DEBUG] : Detection Victor
[2020-05-06 16:28:52.349][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:52.461][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:52.676][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:52.689][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:52.690][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:52][DEBUG] : Detection Victor
[2020-05-06 16:28:52.712][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:53.055][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:53.198][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:53.217][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:53.219][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:53][DEBUG] : Detection Victor
[2020-05-06 16:28:53.231][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:57][INFO] : Lancement de l'acquisitioin d'un visage
[2020-05-06 16:28:57.233][DEBUG] : Client connected to [127.0.0.1:56660]
[2020-05-06 16:28:57.233][DEBUG] : Message read from socket: b'{"apikey":"xxx","cmd":"CreateSnapshot","snapshot":"\/var\/www\/html\/plugins\/facerecognition\/core\/ajax\/..\/..\/resources\/dataset\/Victor\/Victor_20200506162857.jpg"}'
[2020-05-06 16:28:57.233][DEBUG] : Client disconnected from [127.0.0.1:56660]
[2020-05-06 16:28:57.295][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:57.524][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-05-06 16:28:57.524][DEBUG] : [Chemin] Received command from jeedom : CreateSnapshot
[2020-05-06 16:28:57.525][DEBUG] : [Chemin] Il n'est pas possible de prendre un visage, il faut qu'il y ai qu'un seul visage de reconnue
[2020-05-06 16:28:57.527][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:57.686][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:28:57.878][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:57.886][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:57.887][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:57.888][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:57][DEBUG] : Detection Victor
[2020-05-06 16:28:57.942][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:28:57.953][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:57.955][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:57.956][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:57.957][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:28:57.961][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:28:57][DEBUG] : Detection Victor
[2020-05-06 16:28:57.971][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:28:57][DEBUG] : Detection Victor
[2020-05-06 16:28:57.985][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:00.037][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:00.205][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
[2020-05-06 16:29:00.216][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 16:29:00.218][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:00][DEBUG] : Detection Unknown
[2020-05-06 16:29:00.240][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:01][INFO] : Lancement de l'apprentissage des visages : sudo /usr/bin/python3 /var/www/html/plugins/facerecognition/resources/faceEncodings.py --loglevel debug --pid /tmp/jeedom/facerecognition/faceEncodings.pid --user Victor --color 000000
[2020-05-06 16:29:11.885][DEBUG] : Client connected to [127.0.0.1:56676]
[2020-05-06 16:29:11.885][DEBUG] : Message read from socket: b'{"apikey":"xxx","cmd":"UpdatePickleData"}'
[2020-05-06 16:29:11.885][DEBUG] : Client disconnected from [127.0.0.1:56676]
[2020-05-06 16:29:11.994][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-05-06 16:29:11.994][DEBUG] : [Chemin] Received command from jeedom : UpdatePickleData
[2020-05-06 16:29:11.994][DEBUG] : [Chemin] Data des visages a \xe9t\xe9 correctement charg\xe9
[2020-05-06 16:29:20][INFO] : Lancement de l'apprentissage des visages : sudo /usr/bin/python3 /var/www/html/plugins/facerecognition/resources/faceEncodings.py --loglevel debug --pid /tmp/jeedom/facerecognition/faceEncodings.pid --user Victor --color 000000
[2020-05-06 16:29:27.683][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:27.884][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:27.893][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:27.895][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:27][DEBUG] : Detection Victor
[2020-05-06 16:29:27][DEBUG] : [Chemin] Aquisition du snapshot
[2020-05-06 16:29:27][DEBUG] : Le dossier /var/www/html/tmp/facerecognition/Chemin/ est a 9Mo
[2020-05-06 16:29:27][DEBUG] : [Reconnaissance ][Victor] Autorisation: 1588775367 > 1588716000 && 1588775367 < 1588800600
[2020-05-06 16:29:27][DEBUG] : [Reconnaissance ][Victor]Exécution de #[Parking][Gate][Ouverture Porte]# ({"files":["\/var\/www\/html\/tmp\/facerecognition\/Chemin\/Chemin_20200506162927.jpg"]})
[2020-05-06 16:29:27.986][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:28.052][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:28.325][DEBUG] : Client connected to [127.0.0.1:56694]
[2020-05-06 16:29:28.325][DEBUG] : Message read from socket: b'{"apikey":"xxx","cmd":"UpdatePickleData"}'
[2020-05-06 16:29:28.325][DEBUG] : Client disconnected from [127.0.0.1:56694]
[2020-05-06 16:29:28.329][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:28.333][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:28.477][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:28.479][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:28][DEBUG] : Detection Victor
[2020-05-06 16:29:28.487][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:28.496][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:28.502][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:28.503][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:28][DEBUG] : Detection Victor
[2020-05-06 16:29:28.517][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:28.608][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:28.785][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-05-06 16:29:28.786][DEBUG] : [Chemin] Received command from jeedom : UpdatePickleData
[2020-05-06 16:29:28.786][DEBUG] : [Chemin] Data des visages a \xe9t\xe9 correctement charg\xe9
[2020-05-06 16:29:28.787][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:28.799][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:28.806][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:28][DEBUG] : Detection Victor
[2020-05-06 16:29:28.812][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:29.646][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:29.824][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:29.928][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:29.955][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:29.965][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:29.966][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:29.967][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:29.968][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:29][DEBUG] : Detection Victor
[2020-05-06 16:29:29.975][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:29][DEBUG] : Detection Victor
[2020-05-06 16:29:29.980][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:30.065][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:30.254][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:30.396][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:30.397][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:30.562][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:30.570][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:30.573][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:30][DEBUG] : Detection Victor
[2020-05-06 16:29:30.582][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:30.590][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:30.592][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:30.593][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:30.594][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:30.595][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:30][DEBUG] : Detection Victor
[2020-05-06 16:29:30.613][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:30][DEBUG] : Detection Victor
[2020-05-06 16:29:30.617][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:30.715][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:30.881][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:30.893][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:30.894][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:30][DEBUG] : Detection Victor
[2020-05-06 16:29:30.901][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0
[2020-05-06 16:29:32.047][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:29:32.238][DEBUG] : [Chemin] color=000000 r=0  g=0  b=0
[2020-05-06 16:29:32.251][DEBUG] : Send to jeedom :  {'Chemin': 'Victor'}
[2020-05-06 16:29:32.253][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:29:32][DEBUG] : Detection Victor
[2020-05-06 16:29:32.266][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1" 200 0

Je comprend pas pourquoi chez toi tu n’a pas les log d’acquisition d’un visiages sur camera
Pour etre sur de ta procédure

  1. Tu choisis l’import par camera
  2. Tu selectionne la camera
  3. Tu attend qu’un visage soit détécté / reconnue par le systeme
  4. Tu clique sur ajouter

C’est ça, faut-il attendre qu’un cadre apparaisse peut-être?

Après si c’est que chez moi c’est pas grave (je récupère les reconnaissance validées dans le panel et les réinclue en import de photos sur l’apprentissage), ce serait plus gênant si ce comportements répétait chez les autres…

Oui il faut le cadre mais dans tous les cas s’il n’y a pas de visage tu doit avoir des log de ce clique sur ajouter

Oui mais ca on ne peux pas l’affirmer et dans tous les cas un defaut inatendue n’est pas la meilleur chose a faire

Oui donc c’est bien ce que je faisais, tu le vois dans les logs Mon fils est bien reconnu et ensuite je clique sur ajouter et ok…il me vient une idée il n’y a pas un nombre maximal de photos de référence? j’ai peut-être raté ce détail…(pour Victor j’ai 5 photos)

Du coup j’ai voulu vérifier sur mon profil (3photos) en rajoutant une photo supplémentaire (en import direct sans passer par la camera) et il ne me la prends pas (après validation) quand je reviens dans l’apprentissage j’ai uniquement mes 3 premières photos) :


[2020-05-06 16:53:55][INFO] : Lancement de l'apprentissage des visages : sudo /usr/bin/python3 /var/www/html/plugins/facerecognition/resources/PictureExtractFace.py --loglevel debug --user Nicolas --sensibility 10 --photo /tmp/phpsgMA58
[2020-05-06 16:54:00][INFO] : Lancement de l'apprentissage des visages : sudo /usr/bin/python3 /var/www/html/plugins/facerecognition/resources/faceEncodings.py --loglevel debug --pid /tmp/jeedom/facerecognition/faceEncodings.pid --user Nicolas --color ff2600
[2020-05-06 16:54:10.018][DEBUG] : Client connected to [127.0.0.1:57802]
[2020-05-06 16:54:10.018][DEBUG] : Message read from socket: b'{"apikey":"xxxx","cmd":"UpdatePickleData"}'
[2020-05-06 16:54:10.018][DEBUG] : Client disconnected from [127.0.0.1:57802]
[2020-05-06 16:54:10.183][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-05-06 16:54:10.183][DEBUG] : [Chemin] Received command from jeedom : UpdatePickleData
[2020-05-06 16:54:10.183][DEBUG] : [Chemin] Data des visages a \xe9t\xe9 correctement charg\xe9
[h264 @ 0x55f66c4ec6c0] error while decoding MB 44 34, bytestream -23
[2020-05-06 16:54:58.322][DEBUG] : [Chemin] 1  visages ont \xe9t\xe9 d\xe9tect\xe9
[2020-05-06 16:54:58.500][DEBUG] : [Chemin] color=FF0000 r=255  g=0  b=0
[2020-05-06 16:54:58.513][DEBUG] : Send to jeedom :  {'Chemin': 'Unknown'}
[2020-05-06 16:54:58.515][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-05-06 16:54:58][DEBUG] : Detection Unknown
[2020-05-06 16:54:58.529][DEBUG] : http://127.0.0.1:80 "POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxxx HTTP/1.1" 200 0

Non y a pas de nombre max de photos
Plus y en a et plus on aura de détails.

En fonction de la sensibilité il est possible qu’un photo soit rejeté.

Dans tes log il n’y a pas les ligne attendue donc le demon ne reçoit jamais l’ordre

Salut,

Pas trop lourd comme plugin pour un RB Pi 3B ?
Je veux bien tester, je suis chaud depuis que je me suis inscrit ici.

A+

Je pense pas, j’ai vue pas mal de projets identiques sur pi, après cela dépend énormément de tes caméra.
Plus le flux est important plus ca consomme de ressource

Bonjour Mika,

Juste un petit retour sur mes quelques jours d’utilisation et sur les points que tu voulais vérifier :

Demon

Juste reparametre si besoin et tester le demarrage du demon

  • Ajout de la taille minimal d’un visage
  • Encodage de l’url de la camera pour transfert au python
  • Analyse en multi-thread

Après plusieurs test sur les paramètres taille et sensibilité je n’ai quasiment plus (voire plus du tout) de fausses détection, bravo pour les évolutions!
Pour info mes paramètres : Taille 110x110, sensibilité 13, framerate 15

Aprentissage

la beta embarque une refonte assez profonde pour essayer d’etre le plus precis possible, bien faire attention

  • Apprentissage uniquement de l’utilisteur actuel
  • Extraction des visages lors de l’import de photo
  • Snapshot de la camera uniquement sur le visage
  • Couleur du cadre personnalisable (deja present sur la stable mais verification des effet de bord)

Hormis le problème cité plus haut sur le snapshot de la camera sur apprentissage, rien à redire c’est parfait! Sur l’import de photo, le plugin détache bien tous les visage, super amélioration.
Couleur du cadre : Pas de soucis rencontré

Condition / Action

Verifier le fonctionnel

  • Ajout d’un parametre sur la camera, afin de selection les conditions actions par camera
  • Ajout du snapshot automatiquement sur des action permetant l’envoie de fichier, a la detection

Pas encore pu tester, dans la todolist :wink:

Panel

  • correction sur la suppression des snapshot

Suppression fonctionnelle pas de soucis

Cadeau Bonux : Je sais pas si c’est lié à la Beta, mais j’ai cette erreur qui remonte de temps en temps :

Merci encore pour ces améliorations, y’a vraiment eu du boulot de fait et pour moi qui teste le plugin depuis un petit moment déjà, on commence à être au top!
Bye

Merci pour le retour visiblement tu as un problème avec le planning je vais regarder ça

Être au top c’est l’objectif
Merci à tous pour vos retours, c’est ce qui permet aussi d’avancer

Bonjour,

Cette erreur javascipt tu l’a lorsque tu es sur la page de configuration a car je ne reproduit pas chez moi

Est ce que le planning s’affiche chez toi?

Bonjour,

L’erreur apparaît aléatoirement dans les messages lorsque je suis sur d’autres plugin (de façon aléatoire et le phénomène ne concerne pas un plugin en particulier) lorsque je fais des modifications quelconques et que je sauvegarde…je suis alors obligé de rafraîchir la page pour poursuivre mes modifications et enregistrer

Oui si tu parle du planning dans la config des profil utilisateur il est visible et paramétrable.