This research aims to identify the level of ripeness of kepok bananas based on the color of their skin using the K-Nearest Neighbor (K-NN) method. Bananas are an important commodity in Indonesia, and various ripeness levels need to be identified. The current process of identifying banana ripeness is still done manually, which requires a lot of labor and tends to be subjective. The K-NN method is used to classify bananas based on their skin color. This research involves the collection of banana images with three ripeness levels (raw, ripe, and overripe) and the extraction of RGB color features from these images. Three distance methods, namely Euclidean, Minkowski, and Manhattan, are also employed to compare accuracy results. The evaluation results of this research show that the accuracy value for the Euclidean distance method is 84%, the Minkowski distance method is 82%, and the Manhattan distance method is 80%. Thus, the findings indicate that the K-NN method and the Euclidean distance method provide good results in identifying the ripeness level of bananas. By implementing the K-NN algorithm, this research attempts to address the weaknesses of the time-consuming and subjective manual identification process, with the hope of providing a more accurate and efficient solution for the banana industry. The results of this research can be used to automate the identification process of banana ripeness levels and improve efficiency in banana sorting. It is expected that this research can provide practical benefits to the community and serve as a basis for further research in this field.
Read full abstract