International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 185 - Number 31 |
Year of Publication: 2023 |
Authors: Yayan Heryanto, Fauziah |
10.5120/ijca2023923070 |
Yayan Heryanto, Fauziah . Performance Analysis of Image Prediction using Keras and Gradio: A Comparative Study. International Journal of Computer Applications. 185, 31 ( Aug 2023), 19-24. DOI=10.5120/ijca2023923070
This research titled "Performance Analysis of Image Prediction using Keras and Gradio: A Comparative Study" aims to analyze and compare the performance of image prediction using two specific frameworks, Keras and Gradio. The study evaluates the effectiveness and efficiency of both frameworks in accurately predicting images. Testing is conducted by training and evaluating deep learning models using a dataset of images collected from 10 different animal species, with each species having 5 sample images, resulting in a total of 50 animal images tested. The research also compares various architectures and optimization techniques to enhance the predictive capabilities of the models. Performance metrics considered in the study include accuracy and training time. The results show that using Gradio for image prediction yields faster processing times compared to Keras. The average processing time using Gradio is 1.2 seconds, while with Keras, it is 3.36 seconds. Furthermore, Gradio achieves a higher accuracy rate, with 360 out of 500 (72%) correct answers, whereas Keras only reaches 345 out of 500 (69%) correct answers. These findings demonstrate that Gradio performs better in terms of accuracy and processing efficiency compared to Keras in the task of image prediction for similar animal categories. The results of this research can provide valuable insights for researchers and practitioners in selecting the most suitable framework for image prediction projects involving similar animal species.