FLARManager: control jitter with activityThreshold
ericsoco | 2010/09/23 | 7:36 pmAfter learning today about a very clever trick by Deepanjan Das, I decided to implement it in FLARManager.
The trick, in short:
only send the camera source to FLARToolkit while there is noticeable motion.
The result:
less jitter when the marker is held still in front of the camera.
To implement in FLARManager:
Download the latest from svn, particularly FLARManager.as, FLARConfigLoader.as, and FLARCameraSource.as. the changes will automatically take effect.
To tweak the value, set activityThreshold within the <flarSourceSettings> element in flarConfig.xml. Set higher to further reduce jitter in stationary markers, and set lower to allow more freedom of motion with stationary markers.
Enjoy!





