SwinFishNet: A Swin Transformer-based approach for automatic fish species classification using transfer learning

dc.contributor.authorErgün, Ebru
dc.date.accessioned2025-09-18T08:05:56Z
dc.date.issued2025
dc.departmentRTEÜ, Mühendislik ve Mimarlık Fakültesi, Elektrik-Elektronik Mühendisliği Bölümü
dc.description.abstractThe fish market is a crucial industry for both domestic economies and the global seafood trade. Accurate fish species classification (FSC) plays a significant role in ensuring sustainability, improving food safety, and optimizing market efficiency. This study introduces automatic FSC using Swin Transformer (ST) through transfer learning (SwinFishNet), which proposes an innovative approach to FSC by leveraging the ST model, a cutting-edge architecture known for its exceptional performance in computer vision tasks. The ST’s unique ability to capture both local and global features through its hierarchical structure enhances its effectiveness in complex image classification tasks. The model utilizes three distinct datasets: the 12-class BD-Freshwater-Fish dataset, the 10-class SmallFishBD dataset, and the 20-class FishSpecies dataset, focusing on image processing-based classification. Images were preprocessed by resizing to 224 224 pixels, normalizing, and converting to tensor format for compatibility with deep learning models. Transfer learning was applied using the ST, which was fine-tuned on these datasets and optimized with the AdamW algorithm. The model’s performance was evaluated using classification accuracy (CA), F1-score, recall, precision, Matthews correlation coefficient, Cohen’s kappa and confusion matrix metrics. The results yielded promising CAs: 0.9847 for BD-Freshwater-Fish, 0.9964 for SmallFishBD, and 0.9932 for the FishSpecies dataset. These results underscore the potential of the SwinFishNet in automating FSC and demonstrate its significant contributions to improving sustainability, market efficiency, and food safety in the seafood industry. This work offers a novel methodology with broad applications in both commercial and research settings, advancing the role of artificial intelligence in the fish market.
dc.description.sponsorshipRecep Tayyip Erdogbreve;an University Development Foundation 02025002025305
dc.identifier.citationErgün, E. (2025). SwinFishNet: A Swin Transformer-based approach for automatic fish species classification using transfer learning. PLOS One, 20(5), Article e0322711. https://doi.org/10.1371/journal.pone.0322711
dc.identifier.doi10.1371/journal.pone.0322711
dc.identifier.issn1932-6203
dc.identifier.pmid40392913
dc.identifier.scopus2-s2.0-105005500341
dc.identifier.scopusqualityQ1
dc.identifier.startpagee0322711
dc.identifier.urihttps://doi.org/10.1371/journal.pone.0322711
dc.identifier.urihttps://hdl.handle.net/11436/11134
dc.identifier.volume20
dc.identifier.wosWOS:001492085500022
dc.identifier.wosqualityQ2
dc.indekslendigikaynakScopus
dc.indekslendigikaynakPubMed
dc.indekslendigikaynakWeb of Science
dc.institutionauthorErgün, Ebru
dc.language.isoen
dc.publisherPublic Library of Science
dc.relation.ispartofPLoS ONE
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı
dc.rightsinfo:eu-repo/semantics/openAccess
dc.subjectAlgorithms
dc.subjectAnimals
dc.subjectDeep Learning
dc.subjectFishes
dc.subjectImage Processing
dc.subjectComputer-Assisted
dc.subjectSeafood
dc.titleSwinFishNet: A Swin Transformer-based approach for automatic fish species classification using transfer learning
dc.typeArticle

Dosyalar

Orijinal paket

Listeleniyor 1 - 1 / 1
Yükleniyor...
Küçük Resim
İsim:
ergün-2025 (2).pdf
Boyut:
2.62 MB
Biçim:
Adobe Portable Document Format

Lisans paketi

Listeleniyor 1 - 1 / 1
Yükleniyor...
Küçük Resim
İsim:
license.txt
Boyut:
1.17 KB
Biçim:
Item-specific license agreed upon to submission
Açıklama: