Deep learning (DL) has made significant progress in identifying and classifying plant diseases. The convolutional neural network (CNN) model was utilized to classify diseased and healthy tomato plant leaves for this study. Seven predominant DL models, namely LeNet 5, AlexNet, VGG19, Inception Net V3, ResNet50, DenseNet 121, and Efficient Net BO have been used for tomato leaves disease classification. Deep feature extraction and fine-tuning strategies were utilized to adapt these DL models to the specific task of classification. The obtained features using deep feature extraction were then classified by fully connected layers of the CNNs. The experiments were carried out using the image data acquired from the Indian Agricultural Research Institute, India. The dataset consists of diseased and healthy tomato leaf images with a total count of 155 images. Data augmentation was used to increase the dataset size. Furthermore, three segmentation algorithms were also applied to remove the background and highlight the deep features. In this study, a comparison of the above-mentioned CNNs has been carried out to show the accuracy results achieved on the collected dataset. The evaluation results show that deep feature extraction with image segmentation techniques produced better results (up to 100% classification accuracy) than without segmentation. The outcome of this research will have a substantial impact on tomato disease prediction and early prevention.