made API more flexible with respect to eyelid detection technique/results