ML has revolutionized animal and plant sciences the world over [
6–
8,
10–
17]. In the field of ML, DL is emerging as a better platform for analyzing image-based detection of traits of commercial, agronomical, and pathological importance [
6–
8,
10–
17]. The CNN algorithms have been successfully used in animal behavioral studies, for instance, shark territorial behavior [
20], prairie dog behavior mimicked by the algorithm [
21], and the foraging behavior of dwarf mongooses [
22]. More interestingly, gazelle optimization algorithm could predict the behavior of gazelle feeding in the safe, i.e., exploration state, and evading away from predators, i.e., exploitation situations [
23]. The natural eruption pattern of geysers could be predicted with the geyser-inspired algorithm, which could predict the eruption pattern of geysers along with exploration and exploitation of search spaces [
24]. Among several algorithms of DL, the CNN represents a precisely designed algorithm for image processing and recognition tasks. The CNN-based DL platforms are widely used for the detection of several disease-related markers in plants and human diseases [
6–
8,
10–
17]. The DL framework BRBFNN (a bacterial foraging-optimization-radial basis function neural network) is successfully used for identifying and classifying plant leaf diseases [
25]. The region growing algorithm (RGA) was used to perform feature extraction. Bacterial foraging optimization (BFO) and radial-based function neural network (RBFNN) consisting of hidden, input, and output layers were applied for framework training. The framework had a better average specificity of 0.8558 compared to K-means (0.7914) and genetic algorithm (0.8139) [
26]. The N status of wheat leaves grown in the field conditions has been successfully predicted using a genetic algorithm and neural network fusion [
26]. The framework was able to achieve accuracy rates ranging from 2.73 to 16.56 for different combinations of image corrections for different levels of mean absolute percentage error [
26]. Nutrient deficiencies in black gram, specifically under N, K, iron, magnesium, and calcium, have been identified [
27]. The analysis used 2 separate datasets: a training dataset and a test dataset, each containing 30 images of both healthy (control) and nutrient-deficient leaves. The color-based detection of nutrient deficiency was a difficult challenge, and the method developed could partially achieve a successful interpretation of the image with 90% accuracy [
28]. The detection of plant diseases through the CNN application is a daunting task. Two pretrained models of CNN, namely, Visual Geometry Group (VGG16) and VGG19, could successfully detect the diseased leaves of maize plants from the healthy ones [
29]. These models used the orthogonal learning particle swarm optimization algorithm coupled to a rate of exponential decay learning compared to traditional manual trial and error methods. The proposed model achieved 98.2% accuracy compared to Xception (96.5%) and Inception-v3 (96.6%) for the same maize leaf dataset [
29]. Application of VGG16 and InceptionV3 for rice diseases and pests using CNN has been successfully carried out [
30]. Rice 1426 image dataset with 9 classes, namely, Hispa, Sheath Blight, Bacterial Leaf Blight, Neck Blast, False Smut, Brown Plant Hopper, Stemborer, Sheath Rot, and Brown Spot, was used for the framework. The proposed CNN, i.e., simple CNN, was able to achieve 94.33% mean validation accuracy compared to other CNN architectures [
30]. Previously, crop defective ranking was used for measuring the defective pixel density of leaf images, which differ under nutrient-deficient conditions. The method was able to use leaf images to detect the deficiency symptoms of nitrogen, phosphorous, and potassium in paddy leaves with a reasonable average accuracy of 90% [
31]. The application of CNN for species-level identification in plants needs more accuracy. Compared to other CNN models, DL-CRoP was able to attain a satisfactory accuracy level in the species-level identification of up to 90.45% using the leaf image dataset of 3 different species (tomato, maize, and Vigna) (Tables
1 and
2). Similarly, the application of stem images for the precision identification of crop species is limited. The proposed DL-CRoP has been able to achieve the highest value, i.e., 1 for recall, precision, and F1 score (Tables
1 and
2). Compared to other algorithms like SVM, KNN, AdaBoost, naïve Bayes, and random forest, DL-CRoP had a higher level of accuracy in stem-based species detection at 80–20, 70–30, and 60–40 splits (Table
2). Nutrient-deficient conditions in the leaf of black gram subjected to control, calcium, iron, magnesium, nitrogen, potassium, and phosphorus deficiencies have been studied using ML. The CNN model called ResNet50 was able to achieve an overall good level of precision (68.01%), recall (64.39%), and F measure (66.15%) for the image dataset used. For instance, the precision (%), recall (%), and F measures were 57.40%, 74.40%, and 64.80% for calcium, 83.76%, 70.10%, and 76.32% for iron, 65.88%, 60.54%, and 63.09% for potassium, 78.76%, 61.82%, and 69.26% for magnesium, 73.68%, 34.56%, and 47.05% for nitrogen, and 70.20%, 73.93%, and 72.01% for phosphorus
[32]. Detection of calcium and potassium deficiency in tomato fruits can be estimated with InceptionResNetV2-based CNN. The CNN architecture could detect calcium and potassium deficiency in tomato fruits with 92.5% and 87.5% test accuracy [
33]. Early detection of nutrient deficiency in maize leaves is a matter of agricultural importance for a farmer. It will give ample time for farmers to overcome the deficiency of a specific nutrient through fertilizer application. In this context, DL-CRoP was able to detect nitrogen deficiency in maize leaves with 93% accuracy, a much higher accuracy achieved compared to other established CNN modules (Tables
1 and
2). Root-based image datasets are lesser explored for CNN-based prediction of plant health status. Our DL-CRoP used the maize root image datasets of plants grown under normal and nitrogen-deficient conditions, and the algorithm was able to detect the nitrogen deficiency in maize roots at an accuracy level of 68.54%, much higher compared to SVM, KNN, AdaBoost, random forest, and naïve Bayes (Table
2). From the current study, DL-CRoP precision and accuracy are highly satisfactory compared to CNN algorithms in use [
34–
36]. The DL-CRoP performance on different case studies showed superior performance than other algorithms tested. The results showed the capability of DL-CRoP to classify efficiently the class type from different plants or the same plant under different conditions. Furthermore, the simple outplay and the algorithm used for case studies A to D also indicate the robustness of DL-CRoP in predicting the species-level identification using stem and leaf images and nutrient deficiency conditions with the highest level of precision and accuracy (Figs.
1 to
5). This model can be utilized to create a real-time, embedded image-based system for detecting abiotic stresses in crops along with the onset and severity of stress levels. It allows for the timely triggering of rescue actuators through mobile-friendly applications, enabling farmers to respond promptly from remote locations. DL-CRoP with its robustness in terms of precision and accuracy has relevance in practical agriculture. For instance, leaf nitrogen deficiency symptoms can be easily detected using the DL-CRoP platform. The early diagnosis of nitrogen deficiency in the leaf of a plant is of vital significance in timely addressing the issue of nutrient deficiency using appropriate fertilizer treatment. Furthermore, MHA use has improved the diagnosis ability of DL-CRoP in a scenario when leaf images may show a mosaic pattern of nitrogen deficiency compared to a more localized symptom (Fig. 6). In the future, DL-CRoP can be integrated into existing farming practices as an Android app where a leaf image will be analyzed for its nutrient health status. DL-CRoP is trained on the nitrogen deficiency symptoms of maize leaf and the concept can be extended to other nutrient deficiency conditions in other crops as well. For instance, the DL-CRoP platform can be further used for the identification of different species using leaf and stem image datasets. In particular, the application of DL-CRoP in diagnosing the nitrogen deficiency in maize leaf can be extended to cash crops such as tomato, lettuce, and other horticultural crops. Similarly, DL-CRoP can also be trained on other macronutrient (phosphorus, potassium, and magnesium) and micronutrient (zinc and copper) deficiency symptoms.