Prediction of black soldier fly larval sex and morphological traits using computer vision and deep learning

IF 6.3 Q1 AGRICULTURAL ENGINEERING
Sarah Nawoya , Quentin Geissmann , Henrik Karstoft , Kim Bjerge , Roseline Akol , Andrew Katumba , Cosmas Mwikirize , Grum Gebreyesus
{"title":"Prediction of black soldier fly larval sex and morphological traits using computer vision and deep learning","authors":"Sarah Nawoya ,&nbsp;Quentin Geissmann ,&nbsp;Henrik Karstoft ,&nbsp;Kim Bjerge ,&nbsp;Roseline Akol ,&nbsp;Andrew Katumba ,&nbsp;Cosmas Mwikirize ,&nbsp;Grum Gebreyesus","doi":"10.1016/j.atech.2025.100953","DOIUrl":null,"url":null,"abstract":"<div><div>The growing interest in insect farming as a sustainable protein alternative has given rise to the commercial production of key species like the Black Soldier Fly (BSF), primarily for use in livestock, fish, and pet nutrition. Despite the heightened interest in BSF production, there is a need for increased efficiency, particularly in the context of large-scale measurement of various traits for selective breeding as well as management optimization. The unique insect production systems, coupled with the challenges posed by their small size, fragility, and metamorphic life cycle underscores the necessity for innovative approaches to streamline production.</div><div>This study explores the potential of computer vision (CV) in predicting the larval sex and morphological traits of BSF, offering a non-invasive, rapid, and automated method for trait measurement. The study explores algorithms utilizing You-Only-Look-Once (YOLOv8) in detection and segmentation, ResNet for feature extraction and classification, and regression analysis mechanisms. We assess the ability of our models to predict larval weight from images through morphometric weight prediction and CNN-regression approaches.</div><div>A notable contribution of this study is the pioneering effort to classify BSF larval sex using CV and deep learning (DL). In the analysis of larval weight prediction, a coefficient determination (R<sup>2</sup>) of up to 0.80 between measured and predicted weight was achieved using the morphometric weight prediction approach, along with an R<sup>2</sup> of 0.71 through the CNN-regression approach. Additionally, the sex prediction module demonstrated an F1 score of 0.75 and a prediction accuracy of 74 %. These results underscore the feasibility of leveraging CV techniques for predicting the sex and body traits of BSF larvae, representing a significant advancement toward the automation of selective breeding in the context of insect farming.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"11 ","pages":"Article 100953"},"PeriodicalIF":6.3000,"publicationDate":"2025-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2772375525001868","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

The growing interest in insect farming as a sustainable protein alternative has given rise to the commercial production of key species like the Black Soldier Fly (BSF), primarily for use in livestock, fish, and pet nutrition. Despite the heightened interest in BSF production, there is a need for increased efficiency, particularly in the context of large-scale measurement of various traits for selective breeding as well as management optimization. The unique insect production systems, coupled with the challenges posed by their small size, fragility, and metamorphic life cycle underscores the necessity for innovative approaches to streamline production.
This study explores the potential of computer vision (CV) in predicting the larval sex and morphological traits of BSF, offering a non-invasive, rapid, and automated method for trait measurement. The study explores algorithms utilizing You-Only-Look-Once (YOLOv8) in detection and segmentation, ResNet for feature extraction and classification, and regression analysis mechanisms. We assess the ability of our models to predict larval weight from images through morphometric weight prediction and CNN-regression approaches.
A notable contribution of this study is the pioneering effort to classify BSF larval sex using CV and deep learning (DL). In the analysis of larval weight prediction, a coefficient determination (R2) of up to 0.80 between measured and predicted weight was achieved using the morphometric weight prediction approach, along with an R2 of 0.71 through the CNN-regression approach. Additionally, the sex prediction module demonstrated an F1 score of 0.75 and a prediction accuracy of 74 %. These results underscore the feasibility of leveraging CV techniques for predicting the sex and body traits of BSF larvae, representing a significant advancement toward the automation of selective breeding in the context of insect farming.
利用计算机视觉和深度学习预测黑兵蝇幼虫性别和形态特征
作为一种可持续的蛋白质替代品,人们对昆虫养殖的兴趣日益浓厚,这导致了黑兵蝇(BSF)等关键物种的商业化生产,主要用于牲畜、鱼类和宠物营养。尽管人们对BSF生产的兴趣日益浓厚,但仍需要提高效率,特别是在为选择性育种和管理优化而大规模测量各种性状的背景下。独特的昆虫生产系统,再加上它们体积小、脆弱和生命周期多变所带来的挑战,强调了创新方法来简化生产的必要性。本研究探讨了计算机视觉(CV)在预测BSF幼虫性别和形态特征方面的潜力,为BSF提供了一种无创、快速、自动化的性状测量方法。该研究探索了利用You-Only-Look-Once (YOLOv8)进行检测和分割的算法,利用ResNet进行特征提取和分类的算法,以及回归分析机制。我们通过形态计量体重预测和cnn回归方法来评估我们的模型从图像中预测幼虫体重的能力。本研究的一个显著贡献是开创性地使用CV和深度学习(DL)对BSF幼虫的性别进行分类。在幼虫体重预测分析中,形态计量体重预测方法的实测体重与预测体重之间的R2为0.80,cnn -回归方法的R2为0.71。此外,性别预测模块显示F1得分为0.75,预测准确率为74%。这些结果强调了利用CV技术预测BSF幼虫性别和身体性状的可行性,代表了昆虫养殖中自动化选择育种的重大进展。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
4.20
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信