So, I'm toying around with an augmented reality game. I'm using computer vision to track a particular object, which works reasonably well. I'm trying to animate something that basically follows that object around on screen.
This has proven pretty hard. The tracked location of the object is very jittery. I've tried to smooth it out by setting a threshold under which we don't bother moving the sprite, but this leads to jumpy animation rather than jittery. I want the sprite to follow the tracked object in close to real time, so aggregating movement over a lot of frames to get smooth results isn't a great option for me.
Are there any techniques I could use in this case that might help smooth things out?