SURF is a fast algorithm that recognizes distinct features in a photo or video frame that can be relocated in subsequent frames or images of the same scene, even if the scene has changed in rotation, size, and some perspective and lighting. It is at the heart of PhotoSynth and many other applications, and now an AS3 library implementing SURF can be found here:
