{"title":"A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiers","authors":"Jirayut Hansot , Wongsakorn Wongsaroj , Thaksin Sangsuwan , Natee Thong-un","doi":"10.1016/j.atech.2025.100768","DOIUrl":null,"url":null,"abstract":"<div><div>One of the most precise and quick ways for classifying and judging the freshness of agricultural items based on density assessment is water displacement. The use of this approach in agricultural inspections of items like eggs that absorb water, which might be invasive and affect the results of measurements, is currently not recommended. Here, we present a novel automatic machine for low cost, simple and real—time monitoring of the sizing and freshness assessment of eggs based on height and width measurement of yolk using machine learning and a weight sensor. This is the first proposal that divides egg freshness into intervals through height and width measurements. For the purpose of determining the egg's weight, the weighing system was created using a loadcell as the weight sensor. The height and width of the yolk were pictured by two cameras to classify egg freshness. The proposed machine learning model is an ensemble machine learning algorithm, which integrates predictions obtained from several individual classifiers like Random Forest, Decision Trees, Support Vector Machine, Naïve Bayes, <em>k</em>-Nearest Neighbors and Logical Regression to make a final prediction. The proposed Hard voting model improved accuracy and robustness of final prediction compared to a Soft voting classifier. The proposed model obtained an accuracy of 100 % when compared with the typical Yolk index method. This study presents that egg freshness can be determined through yolk dimension without using water to test for water displacement which has future potential as a measuring machine for the poultry industry.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"10 ","pages":"Article 100768"},"PeriodicalIF":6.3000,"publicationDate":"2025-01-06","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/S2772375525000024","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
One of the most precise and quick ways for classifying and judging the freshness of agricultural items based on density assessment is water displacement. The use of this approach in agricultural inspections of items like eggs that absorb water, which might be invasive and affect the results of measurements, is currently not recommended. Here, we present a novel automatic machine for low cost, simple and real—time monitoring of the sizing and freshness assessment of eggs based on height and width measurement of yolk using machine learning and a weight sensor. This is the first proposal that divides egg freshness into intervals through height and width measurements. For the purpose of determining the egg's weight, the weighing system was created using a loadcell as the weight sensor. The height and width of the yolk were pictured by two cameras to classify egg freshness. The proposed machine learning model is an ensemble machine learning algorithm, which integrates predictions obtained from several individual classifiers like Random Forest, Decision Trees, Support Vector Machine, Naïve Bayes, k-Nearest Neighbors and Logical Regression to make a final prediction. The proposed Hard voting model improved accuracy and robustness of final prediction compared to a Soft voting classifier. The proposed model obtained an accuracy of 100 % when compared with the typical Yolk index method. This study presents that egg freshness can be determined through yolk dimension without using water to test for water displacement which has future potential as a measuring machine for the poultry industry.