Sign in to our website and become an InMoov member. It will allow you to post message, pictures, and share with others InMoov builders. It's just one click away!
Username or Email Address
Password
Remember Me
Dominique posted an update 6 years, 9 months ago
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