Mengshuai Guo , Huifang Ma , Xin Lv , Dan Wang , Li Fu , Ping He , Desheng Mei , Hong Chen , Fang Wei
{"title":"Lightweight deep learning model for embedded systems efficiently predicts oil and protein content in rapeseed","authors":"Mengshuai Guo , Huifang Ma , Xin Lv , Dan Wang , Li Fu , Ping He , Desheng Mei , Hong Chen , Fang Wei","doi":"10.1016/j.foodchem.2025.143557","DOIUrl":null,"url":null,"abstract":"<div><div>Conventional methods for determining protein and oil content in rapeseed are often time-consuming, labor-intensive, and costly. In this study, a mobile application was developed using an optimized deep learning method for low-cost, non-destructive and real-time prediction of protein and oil content in rapeseed by inputting rapeseed images. Among the tested models, FasterNet-L showed the optimal performance, with predicted coefficients of determination (R<sub>p</sub><sup>2</sup>) of 0.9366 for oil content and 0.8828 for protein content. The mean square error of prediction (RMSEP) was 0.6982 and 0.6498, and the residual predictive deviation (RPD) was 3.88 and 2.92 for oil and protein content, respectively. Furthermore, three pruning methods were employed, and neural pruning via growth regularization proved to be the most effective, with a 13.18 % improvement in prediction speed and a 15.79 % reduction in model size. Finally, this method can be expanded and applied to other oilseed crops for rapid quality identification and detection.</div></div>","PeriodicalId":318,"journal":{"name":"Food Chemistry","volume":"477 ","pages":"Article 143557"},"PeriodicalIF":9.8000,"publicationDate":"2025-02-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Chemistry","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0308814625008088","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CHEMISTRY, APPLIED","Score":null,"Total":0}
引用次数: 0
Abstract
Conventional methods for determining protein and oil content in rapeseed are often time-consuming, labor-intensive, and costly. In this study, a mobile application was developed using an optimized deep learning method for low-cost, non-destructive and real-time prediction of protein and oil content in rapeseed by inputting rapeseed images. Among the tested models, FasterNet-L showed the optimal performance, with predicted coefficients of determination (Rp2) of 0.9366 for oil content and 0.8828 for protein content. The mean square error of prediction (RMSEP) was 0.6982 and 0.6498, and the residual predictive deviation (RPD) was 3.88 and 2.92 for oil and protein content, respectively. Furthermore, three pruning methods were employed, and neural pruning via growth regularization proved to be the most effective, with a 13.18 % improvement in prediction speed and a 15.79 % reduction in model size. Finally, this method can be expanded and applied to other oilseed crops for rapid quality identification and detection.
期刊介绍:
Food Chemistry publishes original research papers dealing with the advancement of the chemistry and biochemistry of foods or the analytical methods/ approach used. All papers should focus on the novelty of the research carried out.