A deep learning based fine-grained classification algorithm for grading of visual impairment in cataract patients