SparkFun will be closed Monday 7/4 for the holiday. All orders placed after 2pm MT on Friday 7/1 will be shipped out next week.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
November 5, 2011
Tutorial - Face Tracking with a Pan/Tilt Servo Bracket
about 5 years ago
Got this working yesterday, a really cool project.
Only two problems though, I hope somebody here can help me with those:
- The reaction of the servos is quite slow (as I think some other people also mentioned, so maybe that’s just the way it is)
- The servos seem to overshoot the midpoint. Thus, if the servo moves the camera to the right, it overshoots it’s mark, then corrects to the left, then to the right etc. I’ve tried making the “midscreenwindow” larger, but that doesn’t help. I’ve also tried changing “int stepSize = 1;” to “float stepSize = 0.5;”, but when I do that the servos will only turn in one direction (down and left)
I don’t see this happening in the accompanying videos, so I hope this can be solved.
No public wish lists :(
Forgot your password?
No account? Register one!