A ne Invariant Detection of Periodic Motion