IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v14y2024i4p599-d1373218.html
   My bibliography  Save this article

Sorting of Mountage Cocoons Based on MobileSAM and Target Detection

Author

Listed:
  • Mochen Liu

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China)

  • Mingshi Cui

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China)

  • Wei Wei

    (Sericulture Technology Promotion Station of Guangxi Zhuang Autonomous Region, Nanning 530000, China
    Guangxi Key Laboratory of Silkworm Genetic Improvement and Efficient Breeding, Nanning 530000, China)

  • Xiaoli Xu

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China)

  • Chongkai Sun

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China)

  • Fade Li

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China
    Shandong Engineering Research Center of Intelligent Agricultural Equipment, Tai’an 271018, China)

  • Zhanhua Song

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China
    Shandong Engineering Research Center of Intelligent Agricultural Equipment, Tai’an 271018, China)

  • Yao Lu

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China
    Shandong Key Laboratory of Horticultural Machinery and Equipment, Tai’an 271018, China)

  • Ji Zhang

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China
    Shandong Key Laboratory of Horticultural Machinery and Equipment, Tai’an 271018, China)

  • Fuyang Tian

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China
    Shandong Engineering Research Center of Intelligent Agricultural Equipment, Tai’an 271018, China)

  • Guizheng Zhang

    (Sericulture Technology Promotion Station of Guangxi Zhuang Autonomous Region, Nanning 530000, China
    Guangxi Key Laboratory of Silkworm Genetic Improvement and Efficient Breeding, Nanning 530000, China)

  • Yinfa Yan

    (College of Mechanical and Electrical Engineering, Shandong Agriculture University, Tai’an 271018, China
    Shandong Key Laboratory of Horticultural Machinery and Equipment, Tai’an 271018, China)

Abstract

The classification of silkworm cocoons is essential prior to silk reeling and serves as a key step in improving the quality of raw silk. At present, cocoon classification mainly relies on manual sorting, which is labor-intensive and inefficient. In this paper, a cocoon detection algorithm S-YOLOv8_c based on the cooperation of MobileSAM and YOLOv8 for the mountage cocoons was proposed. The MobileSAM with a designed area thresholding algorithm was used for the semantic segmentation of mountage cocoon images, which could mitigate the effect of complex backgrounds and maximize the discriminability of cocoon features. Subsequently, the BiFPN was added to the neck of YOLOv8 to improve the multiscale feature fusion capability. The loss function was replaced with the WIoU, and a dynamic non-monotonic focusing mechanism was introduced to improve the generalization ability. In addition, the GAM was incorporated into the head to focus on detailed cocoon information. Finally, the S-YOLOv8_c achieved a good detection accuracy on the test set, with a mAP of 95.8%. Furthermore, to experimentally validate the sorting ability, we deployed the proposed model onto the self-developed Cartesian coordinate automatic cocoon harvester, which indicated that it would effectively meet the requirements of accurate and efficient cocoon sorting.

Suggested Citation

  • Mochen Liu & Mingshi Cui & Wei Wei & Xiaoli Xu & Chongkai Sun & Fade Li & Zhanhua Song & Yao Lu & Ji Zhang & Fuyang Tian & Guizheng Zhang & Yinfa Yan, 2024. "Sorting of Mountage Cocoons Based on MobileSAM and Target Detection," Agriculture, MDPI, vol. 14(4), pages 1-22, April.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:4:p:599-:d:1373218
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/14/4/599/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/14/4/599/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:14:y:2024:i:4:p:599-:d:1373218. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.