Visual dataset of shrimp for support in classification and comparative studies using convolutional neural networks (CNNs)

Authors

DOI:

https://doi.org/10.14295/bjs.v5i5.870

Keywords:

food computing, image, seafood, convolutional neural networks

Abstract

This study presents a dataset for the construction of a neural network from images of refrigerated shrimp. The images were collected at different times, during which the shrimp went from capture to the final degradation stages. After collection, the images were organized chronologically and subjected to a selection process. The Python program was applied for lighting and blur corrections, preparing the data for the modeling phase. The neural network was developed in the Keras program, with diversified learning methods to form a model capable of evaluating shrimp quality in different periods. Therefore, this study resulted in a dataset that is essential for training the CNN, and as the image quality and the processing methodology adopted were crucial to identify the defects and colorimetric modifications of the shrimp, offering an accuracy above 95%, it can therefore be considered a suitable and innovative tool for quality control in the shrimp farming industry.

References

Abdallah, S., Elmessery, W. M., Shams, M., Al-Sattary, N., Abohany, A., & Thabet, M. (2023). Deep learning model based on ResNet-50 for beef quality classification. Information Sciences Letters, 12(1), 289-297. https://doi.org/10.18576/isl/120124 DOI: https://doi.org/10.18576/isl/120124

Ahmad, I., Jafri, M. A. F., Mohamid Salih, N., Abdul Kahar, N. H., Md Noor, D., Putri, H., & Hikmaturokhman, A. (2025). Automatic counting of shrimp larvae using artificial intelligence. Journal of Advanced Research Design, 133(1), 33-43. https://www.akademiabaru.com/submit/index.php/ard/article/view/6298

Aung, T., Vanichviriyakit, R., Chayantrakom, K., Amornsamankul, S., & Huabsomboon, P. (2025). CNN-based identification of pathogens of concern in shrimp. Animals, 15(21), 3194. https://doi.org/10.3390/ani15213194 DOI: https://doi.org/10.3390/ani15213194

Bhatti, U. A., Ming-Quan, Z., Qing-Song, H., Ali, S., Hussain, A., Yuhuan, Y., Yu, Z., Yuan, L., & Nawaz, S. A. (2021). Advanced color edge detection using Clifford algebra in satellite images. IEEE Photonics Journal, 13(2), 1-20. https://doi.org/10.1109/JPHOT.2021.3059703 DOI: https://doi.org/10.1109/JPHOT.2021.3059703

Büyükarıkan, B. (2024). ConvColor DL: Concatenated convolutional and handcrafted color features fusion for beef quality identification. Food Chemistry, 460, 140795. https://doi.org/10.1016/j.foodchem.2024.140795 DOI: https://doi.org/10.1016/j.foodchem.2024.140795

Chhikara, P. (2022). Understanding morphological image processing and its operations. Towards Data Science. https://towardsdatascience.com/understanding-morphological-image-processing-and-its-operations-7bcf1ed11756

Genç, İ. Y., Gürfidan, R., & Açikgözoğlu, E. (2025). Quality determination of frozen-thawed shrimp using machine learning algorithms powered by explainable artificial intelligence. Food Analytical Methods, 18(6), 935-945. https://doi.org/10.1007/s12161-025-02768-0 DOI: https://doi.org/10.1007/s12161-025-02768-0

Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep learning. MIT Press. https://www.deeplearningbook.org

Isfran, D., Chacon, W. D. C., Alves, M. J. D. S., Monteiro, A. R., & Ayala Valencia, G. (2023). Active films and coatings based on propolis extract and chitosan: physicochemical characterization and potential application in refrigerated shrimps (Litopenaeus vannamei). Starch‐Stärke, 75(11-12), 2200263. https://doi.org/10.1002/star.202200263 DOI: https://doi.org/10.1002/star.202200263

Jasim, W. A. N., & Mohammed, R. J. (2021). A survey on segmentation techniques for image processing. Iraqi Journal for Electrical & Electronic Engineering, 17(2). https://doi.org/10.37917/ijeee.17.2.10 DOI: https://doi.org/10.37917/ijeee.17.2.10

Junior, A. B. A., & da Silva, W. G. (2023). Aprendizado de máquina aplicado à avaliação da qualidade de frutos. Academic Journal on Computing, Engineering and Applied Mathematics, 4(2), 83-86. https://doi.org/10.20873/uft.2675-3588.2023.v4n2.p83-86 DOI: https://doi.org/10.20873/uft.2675-3588.2023.v4n2.p83-86

Kimbuathong, N., Leelaphiwat, P., & Harnkarnsujarit, N. (2020). Inhibition of melanosis and microbial growth in Pacific white shrimp (Litopenaeus vannamei) using high CO₂ modified atmosphere packaging. Food Chemistry, 312, 126114. https://doi.org/10.1016/j.foodchem.2019.126114 DOI: https://doi.org/10.1016/j.foodchem.2019.126114

Kumar, L. R., Tata, R. K., Mahesh, T. R., & Ali, E. M. (2025). An optimized domain-specific shrimp detection architecture integrating conditional GAN and weighted ensemble learning. Scientific Reports, 15(1), 22549. https://doi.org/10.1038/s41598-025-06758-4 DOI: https://doi.org/10.1038/s41598-025-06758-4

Lacerda, L. D., Ward, R. D., Godoy, M. D. P., de Andrade Meireles, A. J., Borges, R., & Ferreira, A. C. (2021). 20-years cumulative impact from shrimp farming on mangroves of Northeast Brazil. Frontiers in Forests and Global Change, 4, 653096. https://doi.org/10.3389/ffgc.2021.653096 DOI: https://doi.org/10.3389/ffgc.2021.653096

Napoli, G., Polimeni, A., Micari, S., Andaloro, L., & Antonucci, V. (2020). Optimal allocation of electric vehicle charging stations in a highway network: Part 1. Methodology and test application. Journal of Energy Storage, 27, 101102. https://doi.org/10.1016/j.est.2019.101102 DOI: https://doi.org/10.1016/j.est.2019.101102

Neczypor, M. R., Villa Real, J., & Bocamino Doro, R. (2021). Avaliação da qualidade da imagem através da análise da relação sinal-ruído e contraste-ruído em um sistema de mamografia digital. Revista Brasileira de Física Médica, 15, 622. https://doi.org/10.29384/rbfm.2021.v15.19849001622 DOI: https://doi.org/10.29384/rbfm.2021.v15.19849001622

Nie, T., Wang, X., Liu, H., Li, M., Nong, S., Yuan, H., Zhao, Y., & Huang, L. (2022). Enhancement and noise suppression of single low-light grayscale images. Remote Sensing, 14(14), 3398. https://doi.org/10.3390/rs14143398 DOI: https://doi.org/10.3390/rs14143398

Otsu, N. (1979). A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics, 9(1), 62-66. https://doi.org/10.1109/TSMC.1979.4310076 DOI: https://doi.org/10.1109/TSMC.1979.4310076

OpenCV Foundation. (2024). OpenCV [Image processing library]. https://opencv.org/

Pillow Team. (2024). Pillow [Image processing library]. https://pillow.readthedocs.io/en/stable/

Ranjan, R., Patel, V. M., & Chellappa, R. (2017). Hyperface: A deep multi-task learning framework for face detection, landmark localization, pose estimation, and gender recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(1), 121-135. https://doi.org/10.1109/TPAMI.2017.2781233 DOI: https://doi.org/10.1109/TPAMI.2017.2781233

Sagiraju, B., Casanova, N., Chun, L. I. C., Lohia, M., & Yoshiyasu, T. (2023). Meat freshness prediction. arXiv preprint arXiv:2305.00986. https://doi.org/10.48550/arXiv.2305.00986

Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., & Chen, L. C. (2018). MobileNetV2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 4510-4520. https://doi.org/10.48550/arXiv.1801.04381 DOI: https://doi.org/10.1109/CVPR.2018.00474

Santamaria Miranda, A., Acevedo Mosqueda, M. A., Gomez-Coronel, S. L., Acevedo Mosqueda, M. E., & Apun Molina, J. P. (2025). A case study on pigmentation of marine species in captivity and a possible application of AI to marine biomedical research. In: E. Moya-Albor, H. Ponce, J. Brieva, S. L. Gomez-Coronel, & D. R. Torres (Eds.), Machine Learning Methods in Biomedical Field: Computer-Aided Diagnostics, Healthcare and Biology Applications, 389-413 p. Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-96328-5_16 DOI: https://doi.org/10.1007/978-3-031-96328-5_16

Shao, J., Wang, L., Wang, X., & Ma, J. (2021). Enhancing microbial management and shelf life of shrimp (Penaeus vannamei) by using nanoparticles of metallic oxides as an alternate active packaging tool to synthetic chemicals. Food Packaging and Shelf Life, 28, 100652. https://doi.org/10.1016/j.fpsl.2021.100652 DOI: https://doi.org/10.1016/j.fpsl.2021.100652

Silva, J. C., Lira, A. M. M., Sá, D. M. A. T., Silva, R. V., & Farias, M. D. P. (2023). Avaliação colorimétrica de alimentos: construção de um protótipo com tecnologia de impressão 3D. Recima21 Revista Científica Multidisciplinar, 4(5), 453147-453147. https://doi.org/10.47820/recima21.v4i5.3147 DOI: https://doi.org/10.47820/recima21.v4i5.3147

Thanikkal, J. G., Dubey, A. K., & Thomas, M. T. (2018). Advanced plant leaf classification through image enhancement and Canny edge detection. In: 2018 7th International Conference on Reliability, Infocom Technologies and Optimization (ICRITO), 1-5 p. IEEE. https://doi.org/10.1109/ICRITO.2018.8748587 DOI: https://doi.org/10.1109/ICRITO.2018.8748587

Yang, H. Y., Chou, H. H., Hung, L. J., Huang, J. Y., Tien, N. Y., Wang, H. C., & Hsieh, S. Y. (2025). Machine learning approach for predicting ovarian maturation in Penaeus monodon. Smart Agricultural Technology, 101597. https://doi.org/10.1016/j.atech.2025.101597 DOI: https://doi.org/10.1016/j.atech.2025.101597

Zaki Dizaji, H., Javadikia, H., Azizi, S., & Naderloo, L. (2019). Combining image processing technique and three artificial intelligence methods to recognize the freshness of freshwater shrimp. Journal of Food and Bioprocess Engineering, 2(2), 155-162. https://doi.org/10.1080/10942912.2015.1118386 DOI: https://doi.org/10.1080/10942912.2015.1118386

Zhang, N., & Alipour, A. (2020). Multi-scale robustness model for highway networks under flood events. Transportation Research Part D: Transport and Environment, 83, 102281. https://doi.org/10.1016/j.trd.2020.102281 DOI: https://doi.org/10.1016/j.trd.2020.102281

Zhang, Y., Li, F., Yao, Y., He, J., Tang, J., & Jiao, Y. (2021). Effects of freeze-thaw cycles of Pacific white shrimp (Litopenaeus vannamei) subjected to radio frequency tempering on melanosis and quality. Innovative Food Science & Emerging Technologies, 74, 102860. https://doi.org/10.1016/j.ifset.2021.102860 DOI: https://doi.org/10.1016/j.ifset.2021.102860

Zhao, Z., Wang, R., Liu, M., Bai, L., & Sun, Y. (2024). Application of machine vision in food computing: A review. Food Chemistry, 141238. https://doi.org/10.1016/j.foodchem.2024.141238 DOI: https://doi.org/10.1016/j.foodchem.2024.141238

Downloads

Published

2026-04-30

How to Cite

Frota, R. P., Andrade, F. J. E. T., Moraes, G. M. D. de, Moreira, R. A. F., César, L. T., & Farias, M. D. P. (2026). Visual dataset of shrimp for support in classification and comparative studies using convolutional neural networks (CNNs). Brazilian Journal of Science, 5(5), 13–37. https://doi.org/10.14295/bjs.v5i5.870

Issue

Section

Agrarian and Biological Sciences