#6018
anthony
Moderator

Ce petit script est à lancer seul, c’était juste pour voir si ça fonctionne
Par contre dans ton script complet, tu peux essayer d’ajouter ceci juste après la ligne 21 ( i01 = Runtime.createAndStart(“i01”, “InMoov”) )
En modifiant setCameraIndex()

i01.opencv = Runtime.createAndStart(“i01.opencv”, “OpenCV”)
i01.opencv.setCameraIndex(0)
i01.opencv.removeFilters()
i01.opencv.addFilter(“PyramidDown”)
i01.opencv.addFilter(“Gray”)
i01.opencv.addFilter(“FaceDetect”)
i01.opencv.setDisplayFilter(“FaceDetect”)
i01.opencv.capture()

si c’est ce script la que tu utilise ? https://raw.githubusercontent.com/MyRobotLab/pyrobotlab/master/home/hairygael/InMoov3.full_Version_MRL_above_1.0.1XXX.py