MyRobotLab test with LKOpticalTrack/FaceDetection Filter, Arduino and Pan/tilt

Опубликовано: 08 Сентябрь 2026
на канале: Saymon Oliveira
654
5

@SheepSet
Thks to @GroG and @Alessandruino for helping me in the questions.
More information, visit http://myrobotlab.org/

This is the script I used to work, past in Python service:

port = "COM3"
xServoPin = 7
yServoPin = 6

tracker = Runtime.createAndStart("tracker", "Tracking")

set specifics on each Servo
servoX = tracker.getX()
servoX.setPin(xServoPin)
servoX.setMinMax(30, 150)

servoY = tracker.getY()
servoY.setPin(yServoPin)
servoY.setMinMax(48, 180)

optional filter settings
opencv = tracker.getOpenCV()

setting camera index to 1 default is 0
opencv.setCameraIndex(1)

connect to the Arduino
tracker.connect(port)

lkpoint - click in video stream with
mouse and it should track
tracker.startLKTracking()


Like the video if you enjoyed. Thanks for the support :]
Subscribe For More -

Curta o vídeo se você gostou. Obrigado pela atenção! =)
Se inscreva para mais -

__________MORE INFO______________

Saymon Oliveira
Email: [email protected]
Facebook:   / saymowan  

Sayoan Cristian
Email :[email protected]
Facebook :  / sayoan