Salut @mika-nt28,
Je me demande s’il est possible de sélectionner une caméra USB ou un module de caméra raspberry.
Il serait également intéressant d’avoir un avertissement avec les détections de visages inconnus, à mettre en œuvre dans un judas par exemple.
Bonjour je n’est pas testé
Je pense que oui mais a vérifier.
Je te tiens au courant
Salut, je vois que vous avancez dans le plugin, il serait intéressant de mettre en œuvre ces améliorations. vous le voyez possible?
salutations
Bonjour
Je n’ai pas oublié cette requête mais pour le moment je me concentre à fiabiliser ce qui existe.
Certaine de ses requêtes sont à venir.
D’ailleurs se poste à plusieurs demandes / idées qui seraient bien de les séparer dans des postes différents de manière à discuter de chaque sujet indépendamment et de suivre leur évolution
Le plugin doit est compatible avec une camera USB.
Dans le champ url de la camera tu met l’adresse de ta camera USB
Pour la premiere c’est /dev/video0
Peux tu faire ce test et me tenir informé
Je suis entrain d’ajouté un moteur de recherche de camera USB
bonjour, dans mon cas ça ne marche pas.
usage: FaceDetect.py [-h] [--camera CAMERA] [--device DEVICE] [--fps FPS]
[--loglevel LOGLEVEL] [--pidfile PIDFILE]
[--callback CALLBACK] [--apikey APIKEY]
[--socketport SOCKETPORT] [--sockethost SOCKETHOST]
[--cycle CYCLE] [--snapshot SNAPSHOT]
FaceDetect.py: error: argument --fps: expected one argument
[2020-03-30 17:32:45][ERROR] : Impossible de lancer le démon facerecognition, vérifiez la log
Dois-je mettre quelque chose dans le champ du port de connexion?
dans les tests, je l’ai laissé vide.
Tous les champs doivent être complété
Je ne sais pas quel port mettre. si je mets 80 le démon reste en NOK et j’obtiens une erreur:
[2020-03-30 17: 15: 31.718] [ERREUR]: [usb] Erreur fatale: [Errno 98] Adresse déjà utilisée
si j’en mets un autre au hasard le démon revient OK mais je n’ai pas d’image:
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
Oui, visiblement opencv ne parvient pas à ouvrir le flux
Peux tu essayer de donner les droit en ssh
sudo chmod 777 -R /dev/video0
chmod: cannot access '/dev/video0': No such file or directory
Bah c’est que ta camera usb n’est pas reconnue
Normalement il y a une mise a jours du plugin qui permet de chercher le camera usb (bouton vert a coté du champs de l’adresse de la camera)
@david_g_m toujours des probleme avec une camera USB?
Bonjour, l’appareil photo est reconnu mais je ne parviens pas à obtenir une image. Dans les champs nom d’utilisateur et mot de passe, je n’ai rien à mettre et dans le champ port je ne sais pas quel port indiquer. si vous pouvez me guider.
Le port faut en choisir un libre.
Il est vrai que ce n’est pas évident je conseil le 8090
Entrez le port indiqué et si je pouvais accorder des droits ssh à / dev / video0 mais rien ne change, l’image n’apparaît pas
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
[ERROR:0] global /root/opencv/modules/videoio/src/cap.cpp (142) open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.2.0-dev) /root/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): /dev/video0:// in function 'icvExtractPattern'
Je vais faire des recherches sur internet y a peut-être une subtilité
Essaie uniquement avec un 0 dans l’adresse
ni avec 0, je reçois le flux vidéo.
Bonjour, je vois que vous travaillez sur le plugin. Je ne parviens toujours pas à capturer l’image de la caméra USB. avez-vous une idée à ce sujet
merci pour les progrès
Non je n’ai pas avancé sur le sujet
OpenCv est censé lire les flux usb mais je n’ai pas sous la main de quoi faire des test
opencv fonctionne efficacement avec les transmissions usb. Utilisation sur une autre machine pendant un moment sans aucun problème, je pense donc que l’intégration dans le plugin doit être possible. Dommage de ne pas savoir où chercher.
Merci également.