Abstract
In daily life, beef often serves as a staple food for humans. However, the high and expensive price of beef has prompted traders to adulterate it with pork for the sake of profit. Such adulteration has serious implications in the Islamic religion, where not all types of meat are considered halal (permissible for consumption), such as pork. As a result, consumers often remain unaware that the beef they purchase has been adulterated with pork. At a glance, both types of meat exhibit similar appearance and texture, making them difficult to differentiate. This research aims to classify beef and pork using a deep learning model with the Convolutional Neural Network (CNN) method, combined with data augmentation. The model used is EfficientNet-B6 with variations in the testing scenario. The variations include the ratio of training and testing data, learning rates, and optimizer for EfficientNet-B6. Data augmentation is performed using techniques such as random rotation, shifting, image scaling, vertical and horizontal flipping, and nearest pixel filling. Evaluation results using the confusion matrix show that the model with data augmentation achieves the highest accuracy for the classes of beef, pork, and adulterated samples at 92.00%, while the model without augmentation achieves an accuracy of 91.67%. However, from this experiment, the best scenario to avoid misclassifying pork and adulterated samples as beef can be obtained. This scenario involves a model with data augmentation, a 90:10 data split, SGD optimizer, and a learning rate of 0.01, which achieves the highest precision for the beef class at 96.05%. The research findings demonstrate that the use of data augmentation on images can improve the model's performance, and the model with data augmentation, a 90:10 data split, SGD optimizer, and a learning rate of 0.01 exhibits the best performance in classifying beef images.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.