User can pass in threshold to analyzeEyes