Artificial intelligence recognizes deteriorating photoreceptors