1. A method comprising the steps of: setting a first frame rate; setting a capture integration period to a first integration period; capturing a set of frames under an illumination source with a first frequency; and, determining said first frequency of said illumination.