Face Tracking Issue: Oscillations around face until it settles in

Опубликовано: 06 Март 2026
на канале: xmaninma
125
2

Attempting to get the eyeballs to track faces again. I've gotten this to work before, but with truly horrible code (global variables, etc.) I've written much better code now (and much shorter, less than 1/3 the original ugly code I write last year) but I'm having an issue with the servo positions oscillating around the face image center as you'll see in the video. It eventually settles in on the face center and stabilizes, but it can take several seconds (like 20+) before that happens. Some sort of hysteresis or something. Looking for pointers.

I hope everybody's staying healthy & safe. Thanks for watching, subscribe if you like these occasional videos of my robotic host development. Topics include computer vision, natural language processing, Raspberry Pis, Linux, Python Coding, and many related fields.