A deep learning based approach for the detection of diseases in pepper and potato leaves