Performance and Cost-Benefit Comparison of ResNet-50 and ShrimpNet for Classifying Consumable Giant Freshwater Prawns
DOI:
https://doi.org/10.35314/sr2abf16Keywords:
Giant freshwater prawn, Food quality classification, ResNet-50, ShrimpNet, Cost-benefit analysisAbstract
Giant freshwater prawn (Macrobrachium rosenbergii) is a high-value aquaculture commodity, yet its fitness for consumption is still judged manually from body color, texture, and integrity, which is subjective and requires experience. This study compares a deep general-purpose network, ResNet-50, with a lightweight shrimp-specific network, ShrimpNet, for classifying prawn images as consumable or non-consumable. A new balanced dataset of 7,000 images was acquired at a prawn farm in Karangasem, Bali, using a smartphone, a turntable, and controlled lighting, with labels confirmed by farmers according to the Indonesian National Standard SNI 01-2728.1-2006, and split 60:20:20 into training, validation, and test sets. Each architecture was trained under 27 scenarios combining three optimizers (Adam, RMSprop, SGD), three learning rates, and three dropout rates. Beyond accuracy, precision, recall, and F1-score, all 54 configurations were ranked using a Cost-Benefit Analysis (CBA) that weighs test accuracy against loss values, training time, and model size. ResNet-50 achieved the highest test accuracy (99.93%), whereas ShrimpNet reached 99.71% while training about twice as fast per epoch with a smaller model. The CBA ranked ShrimpNet with SGD, a learning rate of 0.001, and 30% dropout first, a ranking that remained stable for accuracy weights up to 0.99. The selected model was deployed in an Android application.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2026 INOVTEK Polbeng - Seri Informatika

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.









