Journal of Artificial Intelligence and Metaheuristics JAIM 2833-5597 10.54216/JAIM https://www.americaspg.com/journals/show/1916 2022 2022 A Smart Solution for Sustainable Cotton Farming: A Machine Learning Approach for Visual Recognition of Leaf Diseases Department of Chemistry and Biochemistry, University of Arkansas, Fayetteville, AR 72701, USA Ehsan khodadadi School of Computer Science, University of Petroleum and Energy Studies, Dehradun, 248001, India Sunil Kumar Faculty of Artiļ¬cial Intelligence, Delta University for Science and Technology, Mansoura 11152, Egypt Marwa M. Eid Cotton leaf diseases pose significant threats to sustainable farming practices, leading to yield losses and economic burdens for cotton growers worldwide. In this paper, we propose a smart solution for efficient and accurate detection of cotton leaf diseases using machine learning techniques. Our approach leverages a convolutional neural network (CNN) architecture specifically designed for visual recognition of leaf diseases. To train and optimize the CNN model, we employ a genetic algorithm that enhances the learning process and improves classification performance. The proposed model is trained and evaluated on a comprehensive dataset containing six classes of cotton leaf diseases, namely Aphids, Army worm, Bacterial Blight, Powdery Mildew, Target spot, and healthy leaves. Experimental results demonstrate the effectiveness of our proposed method, achieving an overall accuracy of 97% on the test set. Comparative analyses with existing studies and methodologies reveal the superior performance of our approach, showcasing its potential for practical implementation in the field of cotton leaf disease detection. The outcomes of this study have significant implications for farmers, agronomists, and agricultural organizations, enabling them to make informed decisions and take timely actions to protect their crops and enhance productivity. 2023 2023 38 47 10.54216/JAIM.030204 https://www.americaspg.com/articleinfo/28/show/1916