Ginger (Zingiber offivinale), turmeric (curcuma longa), and galangal (Alpinia galanga) plants are the result of Indonesia's wealth which has high economic and health value. This type of plant has high economic and health value, so its accurate identification is very important in the agricultural and pharmaceutical fields. By combining image classification methods, PCA, KNN, this research aims to develop a system that can identify ginger, turmeric, and galangal automatically and accurately. It is hoped that this system can not only provide a solution for efficient plant identification, but can also contribute to the management of natural resources and the development of herbal plant-based products in Indonesia. Data collected by taking pictures and then processed using MATLAB. This research aims to identify ginger, turmeric and galangal plants using euclidean distance and extract shape and texture characteristics. Shape feature extraction using RGB, HVS, and Area. This research implements the PCA and K-Nearest Neighbor methods in classifying data. Meanwhile, the KNN method is applied by measuring the closest distance between the test data and the training data. In this research there are labels and attributes, labels taken from the level of fruit maturity and attributes obtained from the results of image feature extraction. These attributes are R(red), G(green), B(blue), H(hue), S(saturation), V(value), Area. The accuracy results obtained from the classification of ginger, turmeric and galangal plants using the KNN method were 80% with a K=3 value obtained from 8 test data with accurate classification, and 20% from 2 test data with inaccurate classification.
                        
                        
                        
                        
                            
                                Copyrights © 2025