Corneal nerves and dendritic cells are increasingly being visualised to serve as clinical parameters in the diagnosis of ocular surface diseases using intravital confocal microscopy. In this review, different methods of image analysis are presented. The use of deep learning algorithms, which enable automated pattern recognition, is explained in detail using our own developments and compared with other established methods.