Glaucoma and diabetic retinopathy affect the eye and if untreated, leads to permanent vision loss. The software developed is such that, it detects the lesions in the eye using fundus images and helps to identify glaucoma and diabetic retinopathy in an automatic manner. It can be used in tertiary hospitals for mass screening and can be extended using telemedicine .