Open Access iconOpen Access



SVM and KNN Based CNN Architectures for Plant Classification

Sukanta Ghosh1, Amar Singh1, Kavita2,*, N. Z. Jhanjhi3, Mehedi Masud4, Sultan Aljahdali4

1 Lovely Professional University, Jalandhar, 144005, India
2 Department of Computer Science and Engineering, Chandigarh University, Mohali, India
3 School of Computer Science and Engineering, Tailor's University, Subang Jaya, 47500, Malaysia
4 Department of Computer Science, College of Computers and Information Technology, Taif University, Taif, 21944, Saudi Arabia

* Corresponding Author: Kavita. Email: email

Computers, Materials & Continua 2022, 71(3), 4257-4274.


Automatic plant classification through plant leaf is a classical problem in Computer Vision. Plants classification is challenging due to the introduction of new species with a similar pattern and look-a-like. Many efforts are made to automate plant classification using plant leaf, plant flower, bark, or stem. After much effort, it has been proven that leaf is the most reliable source for plant classification. But it is challenging to identify a plant with the help of leaf structure because plant leaf shows similarity in morphological variations, like sizes, textures, shapes, and venation. Therefore, it is required to normalize all plant leaves into the same size to get better performance. Convolutional Neural Networks (CNN) provides a fair amount of accuracy when leaves are classified using this approach. But the performance can be improved by classifying using the traditional approach after applying CNN. In this paper, two approaches, namely CNN + Support Vector Machine (SVM) and CNN + K-Nearest Neighbors (kNN) used on 3 datasets, namely LeafSnap dataset, Flavia Dataset, and MalayaKew Dataset. The datasets are augmented to take care all the possibilities. The assessments and correlations of the predetermined feature extractor models are given. CNN + kNN managed to reach maximum accuracy of 99.5%, 97.4%, and 80.04%, respectively, in the three datasets.


Cite This Article

APA Style
Ghosh, S., Singh, A., Kavita, , Jhanjhi, N.Z., Masud, M. et al. (2022). SVM and KNN based CNN architectures for plant classification. Computers, Materials & Continua, 71(3), 4257-4274.
Vancouver Style
Ghosh S, Singh A, Kavita , Jhanjhi NZ, Masud M, Aljahdali S. SVM and KNN based CNN architectures for plant classification. Comput Mater Contin. 2022;71(3):4257-4274
IEEE Style
S. Ghosh, A. Singh, Kavita, N.Z. Jhanjhi, M. Masud, and S. Aljahdali "SVM and KNN Based CNN Architectures for Plant Classification," Comput. Mater. Contin., vol. 71, no. 3, pp. 4257-4274. 2022.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 2785


  • 1203


  • 0


Share Link