Abstract

Meat is one of the food ingredients needed by humans. The price of pork is cheaper than beef, which has led to the practice of mixing beef with pork for the purpose of making big profits. In plain view, the difference between beef and pork is not striking, so it is difficult for ordinary people to distinguish between them. In terms of color, pork is paler than beef. In terms of texture, beef is stiffer and tougher than pork. In terms of fiber, beef is clearer than pork, so we need a system that can identify the two types of meat. This study uses the Convolutional Neural Network (CNN) algorithm with the ResNet-50 architecture with 3 types of optimizers such as Stochastic Gradient Descent (SGD), Adam, and RMSprop. The dataset used for training first goes through 2 stages of preprocessing, namely cropping and resizing. The results of the study show that the SGD optimizer can outperform the Adam and RMSprop optimizers with 97.83% accuracy, 97% precision, 97% recall, and 97% f1 score with batch size 32, learning rate 0.01, and epoch 50.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

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.