Comparative performance analysis of convolutional neural network and support vector machine for automatic object recognition based on computer vision
Keywords:
computer vision, Convolutional Neural Network, Support Vector Machine, Object Recognition, CIFAR-10Abstract
Object recognition is one of the fundamental applications of computer vision and plays an important role in various intelligent systems. This study aims to implement and compare the performance of Convolutional Neural Network (CNN) and Support Vector Machine (SVM) for automatic object recognition using the CIFAR-10 and ImageNet (subset) datasets. The novelty of this study lies in providing a comprehensive comparative evaluation of CNN and SVM across datasets with different levels of image complexity while simultaneously analyzing classification performance and computational efficiency using multiple evaluation metrics. The CNN model was implemented using the PyTorch framework with the Adam optimizer, whereas the SVM model employed the Radial Basis Function (RBF) kernel. Performance was evaluated using accuracy, precision, recall, F1-score, confusion matrix, and computational time. Experimental results show that CNN consistently outperformed SVM on both datasets. On CIFAR-10, CNN achieved an accuracy of 91.8%, compared with 83.6% for SVM. On the ImageNet subset, CNN obtained an accuracy of 79.6%, whereas SVM achieved 65.4%. CNN also demonstrated higher precision, recall, and F1-score, indicating superior feature extraction and generalization capabilities for complex image classification tasks. In contrast, SVM required lower computational resources and shorter training time, making it suitable for resource-constrained environments. These findings demonstrate that CNN is the preferred approach for high-accuracy object recognition, while SVM remains a practical alternative when computational efficiency is prioritized. The results provide practical guidelines for selecting appropriate classification methods based on dataset complexity and available computational resources.
References
[1] L. Bamatraf, R. Akbar, Z. Rahman, B. Afifah, and N. Nurkholis, “Developing a Supply Chain Management Application for Laying Hens with Integrated Egg Quality Detection Based on Computer Vision (Case Study of a Laying Hen MSME),” Indones. J. Innov. Stud., vol. 27, no. 1, Dec. 2025, doi: https://doi.org/10.21070/ijins.v27i1.1873.
[2] D. Putrie Lestari et al., Results of Applied Research on Computer Vision, Artificial Intelligence, and Embedded Systems. 2017.
[3] Oriza Sativa, "Comparison Of The Classification Performance Of Support Vector Machine (SVM)," 2023.
[4] N. K. Negoro, E. Utami, and A. Yaqin, "Classification Of Detection Of Mask Use Using The Convolutional Neural Network Method," JIPI (Journal of Ilm. Researcher. and Informed Learning., vol. 8, no. 2, pp. 664–674, May 2023, doi: https://doi.org/10.29100/jipi.v8i2.3748.
[5] K. R. Widyana, R. Regasari, and M. Putri, "Implementation of MobileNetV2 and Support Vector Machine (SVM) for Tangerine Fruit Automatic Sorting System Based on Raspberry Pi 4B Based on Quality Level," 2026. [Online]. Available: http://j-ptiik.ub.ac.id
[6] A. Peryanto, A. Yudhana, and R. Umar, "Image Classification Using Convolutional Neural Network and K Fold Cross Validation," 2020. [Online]. Available: http://jurnal.polibatam.ac.id/index.php/JAIC
[7] T. Liu, A. Abd-Elrahman, J. Morton, and V. L. Wilhelm, “Comparing fully convolutional networks, random forest, support vector machine, and patch-based deep convolutional neural networks for object-based wetland mapping using images from small unmanned aircraft system,” GIScience Remote Sens., vol. 55, no. 2, pp. 243–264, 2018, doi: https://doi.org/10.1080/15481603.2018.1426091.
[8] A. S. Ritonga and I. Muhandhis, "Analysis and Implementation of Viola-Jones and CNN Methods on Real-Time Sleepiness Detection Systems," J. Ilm. IT CIDA Disem. Technology. Inf., vol. 10, no. 2, 2024.
[9] I. Fatahna, P. Desi Kusuma Sari, N. Kamilah, R. Wulanningrum, and W. Cahyo Utomo, "Implementation of Computer Vision on the Quality of Milk Bananas Using the YOLOv8n Method Based on WebApps," 2025. [Online]. Available: https://jurnal.polsri.ac.id/index.php/jupiter/article/view/8633/3151
[10] I. Fatahna, D. P. Pamungkas, and D. W. Widodo, "Hybrid Optimization Yolov9c-Vgg16 For Local Orange Classification In Automatic Sorting System In The Agricultural Industry," Rabit J. Teknol. and Sist. Inf. Univrab, vol. 10, no. 2, pp. 217–227, Jul. 2025, doi: https://doi.org/10.36341/rabit.v10i2.6024.
[11] B. Intan, A. Taqwa Martadinata, and A. Qodir, "Ensemble Fusion-Stacking Model for Deep Feature-Based Salak Variety Classification," Bull. Inf. Technol., vol. 7, no. 1, pp. 68–74, 2026, doi: https://doi.org/10.47065/bit.v5i2.2625.
[12] C. Sothe et al., “Comparative performance of convolutional neural network, weighted and conventional support vector machine and random forest for classifying tree species using hyperspectral and photogrammetric data,” GIScience Remote Sens., vol. 57, no. 3, pp. 369–394, 2020, doi: https://doi.org/10.1080/15481603.2020.1712102.
[13] A. Raisha Agma, "Application of Computer Vision for Object Detection and Facial Recognition," 2025. [Online]. Available: http://pustakajurnal.web.id/index.php/jkti
[14] G. A. W. Satia, E. Firmansyah, and A. Umami, "Design of a disease identification system in oil palm leaves (Elaeis guineensis Jacq.) with the Deep Learning Convolutional Neural Networks algorithm," J. Ilm. Pertan., vol. 19, no. 1, pp. 1–10, Mar. 2022, doi: https://doi.org/10.31849/jip.v19i1.9556.
[15] A. Sentas et al., “Performance evaluation of support vector machine and convolutional neural network algorithms in real-time vehicle type classification,” Lect. Notes Data Eng. Commun. Technol., vol. 17, pp. 934–943, 2018, doi: https://doi.org/10.1007/978-3-319-75928-9_86.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Machine Intelligence for Societal Advancement

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
