Irish researcher develops AI to help prevent sight loss