Patchouli (Nilam leaves) holds significant potential as a high-value natural material, especially in the perfume and essential oil industries. However, the classification and quality analysis of patchouli leaves remain a challenge that requires an automated solution based on technology. This study aims to develop a Convolutional Neural Network (CNN) model capable of automatically classifying the condition of patchouli leaves. The image data of patchouli leaves were processed through several preprocessing stages and divided into training and testing data. The designed CNN model utilizes several convolutional layers, pooling, dropout, and dense layers for the training process. The evaluation results using the confusion matrix showed that the model had a very low error rate, with only 1 misprediction in the training data. For the testing data, the model achieved an accuracy of 85% with a loss value of 0.6191496. The model also demonstrated an accuracy of 98.75% with a loss of 0.443462 on the training data. However, improvements in model generalization are still needed to achieve more consistent performance on new data
Copyrights © 2025