1. A method for determining detection windows and window positions comprising: for at least one frame in a video of captured biometric data, incrementally moving, by a processor, at least one detection window type over a region of interest to occupy different positions within the region of interest, the region of interest including the captured biometric data; calculating a feature value for each position; creating a vector for each frame included in the at least one frame from the feature values calculated for the respective frame; and processing the vectors using an algorithm to determine information regarding combinations of detection window type, size, and position to be used for calculating eye openness measures during authentication transactions.