Crop Disease Classification using Support Vector Machines with Green Chromatic Coordinate (GCC) and Attention based feature extraction for IoT based Smart Agricultural Applications

Shashwat Jha,Vishvaditya Luhach,Gauri Shanker Gupta,Beependra Singh
2023-11-06
Abstract:Crops hold paramount significance as they serve as the primary provider of energy, nutrition, and medicinal benefits for the human population. Plant diseases, however, can negatively affect leaves during agricultural cultivation, resulting in significant losses in crop output and economic value. Therefore, it is crucial for farmers to identify crop diseases. However, this method frequently necessitates hard work, a lot of planning, and in-depth familiarity with plant pathogens. Given these numerous obstacles, it is essential to provide solutions that can easily interface with mobile and IoT devices so that our farmers can guarantee the best possible crop development. Various machine learning (ML) as well as deep learning (DL) algorithms have been created & studied for the identification of plant disease detection, yielding substantial and promising results. This article presents a novel classification method that builds on prior work by utilising attention-based feature extraction, RGB channel-based chromatic analysis, Support Vector Machines (SVM) for improved performance, and the ability to integrate with mobile applications and IoT devices after quantization of information. Several disease classification algorithms were compared with the suggested model, and it was discovered that, in terms of accuracy, Vision Transformer-based feature extraction and additional Green Chromatic Coordinate feature with SVM classification achieved an accuracy of (GCCViT-SVM) - 99.69%, whereas after quantization for IoT device integration achieved an accuracy of - 97.41% while almost reducing 4x in size. Our findings have profound implications because they have the potential to transform how farmers identify crop illnesses with precise and fast information, thereby preserving agricultural output and ensuring food security.
Image and Video Processing,Machine Learning
What problem does this paper attempt to address?
### Problems the Paper Aims to Solve This paper aims to address several key issues in crop disease identification: 1. **Importance of Crop Disease Identification**: Crops are crucial for providing energy, nutrition, and medicine to humans. However, plant diseases can affect crop growth, leading to significant reductions in yield and economic value. Therefore, timely and accurate identification of crop diseases is essential for farmers. 2. **Limitations of Existing Methods**: Traditional crop disease identification methods often require extensive labor, planning, and in-depth knowledge of plant pathogens. These methods are often prone to human error and are difficult to scale over large agricultural areas. Additionally, while existing machine learning and deep learning methods have achieved some success, they often suffer from insufficient classification performance or excessive memory usage in real-time applications. 3. **Application of IoT and Mobile Devices**: To make these technologies easily accessible to farmers, the solution needs to be easily integrated with mobile devices and IoT devices. This requires the model to not only have high accuracy but also low memory usage and efficient operational capabilities. ### Solution To this end, the paper proposes a novel classification method based on Vision Transformer (ViT), Green Chromatic Coordinate (GCC), and Support Vector Machine (SVM). Specifically: - **Feature Extraction**: Utilize the Vision Transformer with attention mechanisms to extract image features, including positional information. - **Feature Enhancement**: Enhance features by calculating the Green Chromatic Coordinate (GCC) of the RGB channels. - **Classification**: Use Support Vector Machine (SVM) for the final classification task. - **Model Optimization**: Optimize the model through post-training quantization techniques to enable efficient operation on mobile and IoT devices. ### Main Contributions 1. **Proposed a hybrid method combining Vision Transformer and SVM** for crop disease classification. 2. **Introduced Green Chromatic Coordinate (GCC) based on RGB channels as a feature**, enhancing the model's classification performance. 3. **Implemented post-training quantization**, converting the model into an application suitable for mobile and IoT devices. ### Experimental Results Experimental results show that the proposed GCCViT-SVM model outperforms existing traditional transfer learning models like VGG-16 and InceptionV3 in terms of accuracy and performance. Specifically: - **Accuracy**: The GCCViT-SVM model achieved an accuracy of 99.69% in its unquantized form, and maintained 97.41% accuracy after quantization, with the model size reduced by approximately 4 times. - **Classification Performance**: The GCCViT-SVM model excelled in multiple metrics such as precision, recall, and F1 score. - **Category Performance**: Out of 39 categories, more than 15 categories achieved perfect scores in all three metrics. ### Conclusion The proposed GCCViT-SVM model not only surpasses existing methods in terms of accuracy but also excels in model size and operational efficiency, providing farmers with an efficient and accurate tool for crop disease identification, thereby helping to increase agricultural yield and ensure food safety.