Noncontact heart rate measurement via period detection methods of periodic signals