To learn about electronic devices, one must know about the types of electronic components. Capacitors are one of several important electronic components. Capacitors are part of passive components that are able to store energy or electric charge at a temporary time. Capacitors or commonly called capacitors have many types. However, some people do not know about these types of capacitors. Especially for someone or a student who will learn about electronic components. The purpose of this study is to develop a digital image processing system for the classification of transistor types by applying the K-Nearest Neighbor (KNN) and Principal Component Analysis (PCA) methods. PCA serves to reduce and retain most of the relevant information from the original features according to the optimal criteria. Based on the results of feature extraction and data reduction performed by PCA, it is easier for the KNN algorithm to classify. KNN performs a classification based on the data closest to the object being processed. Based on the test results, the developed model is able to produce an average accuracy value of 82.50%. This means that PCA and KNN algorithms can be used in the process of classifying capacitor type images properly
Copyrights © 2022