The present invention envisages a system for diagnosing a skin-ailment, the system comprising a processor a memory for storing a pre-defined set of rules to generate system processing commands by the processor at least one image capturing unit configured to capture at least one image of sample of ailed skin an uploading module in data communication with the at least one image capturing unit, the uploading module configured to receive the captured images from the image capturing module a scanning module in data communication with the uploading module and configured to receive the images from the uploading module, the scanning module in data communication with the memory and is further configured to compare the received images with the plurality of images pre-stored in the memory during the training phase of the system and a report generation module configured to generate a report based on the feedback from the scanning module.