• Dominique a publié une note il y a 7 ans et 10 mois

    This Face tracking and yolo process in the same time. Two camera, one for tracking, one for yolo.

    • What is YOLO and what does it do? Your face tracking is very good.

      • With yolo, you can do this: http://myrobotlab.org/content/yolo-dnn-support-now-opencv

        For face tracking, i use tracking service from MRL

        oeilG = Runtime.create(« oeilG », « OpenCV »)
        oeilG.setFrameGrabberType(« org.myrobotlab.opencv.SarxosFrameGrabber »)
        oeilG = Runtime.start(« oeilG », « OpenCV »)
        oeilG.setCameraIndex(0)
        tracking = Runtime.createAndStart(« tracking », « Tracking »)

        pid = tracking.getPID()
        pid.setPID(« x », 5.0, 5.0, 0.1)
        pid.setPID(« y », 5.0, 5.0, 0.1)

        # optional filter settings
        opencv = tracking.getOpenCV()

        # connect to the Arduino ( 0 = camera index )
        tracking.connect(oeilG, head.rotHead, head.neck)
        opencv.broadcastState()
        sleep(1)

        tracking.faceDetect()

    • That’s cool, def need to check out the code for this thanks for sharing