Detecting diabetic retinopathy in eye images