Diabetic retinopathy (DR) is a widespread problem for diabetic patient and it has been a main reason for blindness in the active population. Several difficulties faced by diabetic patients because of DR can be eliminated by properly maintaining the blood glucose and by timely treatment. As the DR comes with different stages and varying difficulties, it is hard to DR and also it is time consuming. In this paper, we develop an automated segmentation based classification model for DR. Initially, the Contrast limited adaptive histogram equalization (CLAHE) is used for segmenting the images. Later, residual network (ResNet) is employed for classifying the images into different grades of DR. For experimental analysis, the dataset is derived from Kaggle website which is open source platform that attempts to build DR detection model. The highest classifier performance is attained by the presented model with the maximum accuracy of 83.78, sensitivity of 67.20 and specificity of 89.36 over compared models