IndoHerb: Indonesia Medicinal Plants Recognition using Transfer Learning and Deep Learning

Muhammad Salman Ikrar Musyaffa,Novanto Yudistira,Muhammad Arif Rahman,Jati Batoro
2024-06-09
Abstract:The rich diversity of herbal plants in Indonesia holds immense potential as alternative resources for traditional healing and ethnobotanical practices. However, the dwindling recognition of herbal plants due to modernization poses a significant challenge in preserving this valuable heritage. The accurate identification of these plants is crucial for the continuity of traditional practices and the utilization of their nutritional benefits. Nevertheless, the manual identification of herbal plants remains a time-consuming task, demanding expert knowledge and meticulous examination of plant characteristics. In response, the application of computer vision emerges as a promising solution to facilitate the efficient identification of herbal plants. This research addresses the task of classifying Indonesian herbal plants through the implementation of transfer learning of Convolutional Neural Networks (CNN). To support our study, we curated an extensive dataset of herbal plant images from Indonesia with careful manual selection. Subsequently, we conducted rigorous data preprocessing, and classification utilizing transfer learning methodologies with five distinct models: ResNet, DenseNet, VGG, ConvNeXt, and Swin Transformer. Our comprehensive analysis revealed that ConvNeXt achieved the highest accuracy, standing at an impressive 92.5%. Additionally, we conducted testing using a scratch model, resulting in an accuracy of 53.9%. The experimental setup featured essential hyperparameters, including the ExponentialLR scheduler with a gamma value of 0.9, a learning rate of 0.001, the Cross-Entropy Loss function, the Adam optimizer, and a training epoch count of 50. This study's outcomes offer valuable insights and practical implications for the automated identification of Indonesian medicinal plants.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the challenges in identifying Indonesian medicinal plants. Specifically, with the acceleration of the modernization process, people's knowledge of traditional herbal plants is gradually decreasing, which poses a significant challenge to the protection of this precious cultural heritage. Accurately identifying these medicinal plants is crucial for the continuation of traditional practices and the utilization of their nutritional value. However, manual identification of medicinal plants is a time - consuming process that requires expertise and a meticulous examination of plant characteristics. To address this challenge, the paper proposes a computer vision method based on transfer learning (Transfer Learning) and convolutional neural networks (CNN) to achieve efficient identification of Indonesian medicinal plants. Through this method, the identification time can be greatly shortened and the accuracy can be improved, thereby helping to protect and inherit traditional herbal knowledge and promoting the agricultural cultivation and utilization of these resources. ### Main problem summary: 1. **Reduction of traditional herbal knowledge due to modernization**: With the progress of society and technology, the use of traditional herbal medicine is gradually decreasing, threatening the value of these plants as alternative therapies. 2. **Limitations of manual identification**: Manual identification of medicinal plants requires a great deal of time and expertise and is prone to errors. 3. **Need for accuracy and efficiency**: A more efficient and accurate method for identifying medicinal plants is required to support the development of traditional medicine and modern agriculture. ### Solutions: - **Transfer learning and convolutional neural networks**: Utilize pre - trained deep - learning models (such as ResNet, DenseNet, VGG, ConvNeXt, and Swin Transformer) for transfer learning to improve classification accuracy. - **Create a specialized dataset**: Construct an image dataset (IndoHerb) containing 10,000 images covering 100 categories of Indonesian medicinal plants, which are independently collected and verified through the Google Images search engine. - **Experimental evaluation**: Different models are evaluated through a strict experimental setup, including the use of hyper - parameters such as the ExponentialLR, Adam optimizer, and cross - entropy loss function. ### Experimental results: - **ConvNeXt model performs best**: Among all the tested models, ConvNeXt achieved the highest test accuracy of 92.5%, significantly outperforming other models. - **Models trained from scratch perform poorly**: The model trained from scratch only achieved an accuracy of 53.9%, indicating the advantages of pre - trained models in feature extraction and classification tasks. Through these efforts, this research not only improves the accuracy and efficiency of medicinal plant identification but also provides valuable resources and references for future related research.