Pests and viral plant diseases have proliferated in agriculture. Rats spread plant diseases. Hard to detect viral infections or insect infestations that impair plant growth and yield. It decreases crop size, quality, and marketability, incurring major economic losses. Strong, disease-resistant crops are needed for agriculture. Bacterial, fungal, and insect/pest diseases destroy 70% and 15% of crops. Above 85% of disease severity destroys crops. Early detection systems track pests and diseases. High-definition equipment is costly for rural farmers. Correct diagnosis permits quick infection severity and type assessment and control. In precision agriculture, neural networks and image processing eliminate human error. Sustainable agriculture and organic agricultural cultivation must start early. The proposed system classifies diseases and pests for plant safety. A healthy, fast-growing plantation is our goal. Early detection of viral diseases and insect infestations boosts crop productivity. Plant disease diagnostics focuses on leaves and buds. Stem and insect infections are covered. The suggested method classifies plant health and disease automatically. Peanut leaves develop Bacterial Blight from contagious illnesses like Cercospora Leaf Peanut. Boll Weevils, European Corn Borers, and Fall Army Worms attack cotton. The conditions are categorised. Image accuracy depends on lighting, resolution, location, and backdrop complexity. Various low-resolution pictures are enriched to better classification. Complex leaf intensity variations cause the system to misdiagnose illness or insect infestation. To avoid misclassification, the system segments the sample image using various methods to find lesions. Multilevel Segmentation (MS) improves Deep neural network feature extraction using approximate outlines. This method protects important pixels, eliminates unneeded pixels, and amplifies the lesion to control segmentation and reduce insufficient and excessive segmentation.