A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiers

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 measu...

Full description

Saved in:
Bibliographic Details
Main Authors: Jirayut Hansot, Wongsakorn Wongsaroj, Thaksin Sangsuwan, Natee Thong-un
Format: Article
Language:English
Published: Elsevier 2025-03-01
Series:Smart Agricultural Technology
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2772375525000024
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850041600957218816
author Jirayut Hansot
Wongsakorn Wongsaroj
Thaksin Sangsuwan
Natee Thong-un
author_facet Jirayut Hansot
Wongsakorn Wongsaroj
Thaksin Sangsuwan
Natee Thong-un
author_sort Jirayut Hansot
collection DOAJ
description 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.
format Article
id doaj-art-69f1eca8a77e4c4f89163b802371cbcd
institution DOAJ
issn 2772-3755
language English
publishDate 2025-03-01
publisher Elsevier
record_format Article
series Smart Agricultural Technology
spelling doaj-art-69f1eca8a77e4c4f89163b802371cbcd2025-08-20T02:55:45ZengElsevierSmart Agricultural Technology2772-37552025-03-011010076810.1016/j.atech.2025.100768A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiersJirayut Hansot0Wongsakorn Wongsaroj1Thaksin Sangsuwan2Natee Thong-un3Department of Instrumentation and Electronics Engineering, King Mongkut's University of Technology North Bangkok, Bangkok, 10800, ThailandDepartment of Instrumentation and Electronics Engineering, King Mongkut's University of Technology North Bangkok, Bangkok, 10800, Thailand; Center of Excellence on Instrumentation Technology and Automation (CEITA), King Mongkut's University of Technology North Bangkok Prachinburi Campus, Prachinburi, 25230, ThailandDepartment of Instrumentation and Electronics Engineering, King Mongkut's University of Technology North Bangkok, Bangkok, 10800, Thailand; Center of Excellence on Instrumentation Technology and Automation (CEITA), King Mongkut's University of Technology North Bangkok Prachinburi Campus, Prachinburi, 25230, ThailandDepartment of Instrumentation and Electronics Engineering, King Mongkut's University of Technology North Bangkok, Bangkok, 10800, Thailand; Center of Excellence on Instrumentation Technology and Automation (CEITA), King Mongkut's University of Technology North Bangkok Prachinburi Campus, Prachinburi, 25230, Thailand; Corresponding author.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.http://www.sciencedirect.com/science/article/pii/S2772375525000024Egg freshness detectionMachine learning
spellingShingle Jirayut Hansot
Wongsakorn Wongsaroj
Thaksin Sangsuwan
Natee Thong-un
A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiers
Smart Agricultural Technology
Egg freshness detection
Machine learning
title A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiers
title_full A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiers
title_fullStr A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiers
title_full_unstemmed A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiers
title_short A low-cost autonomous portable poultry egg freshness machine using majority voting-based ensemble machine learning classifiers
title_sort low cost autonomous portable poultry egg freshness machine using majority voting based ensemble machine learning classifiers
topic Egg freshness detection
Machine learning
url http://www.sciencedirect.com/science/article/pii/S2772375525000024
work_keys_str_mv AT jirayuthansot alowcostautonomousportablepoultryeggfreshnessmachineusingmajorityvotingbasedensemblemachinelearningclassifiers
AT wongsakornwongsaroj alowcostautonomousportablepoultryeggfreshnessmachineusingmajorityvotingbasedensemblemachinelearningclassifiers
AT thaksinsangsuwan alowcostautonomousportablepoultryeggfreshnessmachineusingmajorityvotingbasedensemblemachinelearningclassifiers
AT nateethongun alowcostautonomousportablepoultryeggfreshnessmachineusingmajorityvotingbasedensemblemachinelearningclassifiers
AT jirayuthansot lowcostautonomousportablepoultryeggfreshnessmachineusingmajorityvotingbasedensemblemachinelearningclassifiers
AT wongsakornwongsaroj lowcostautonomousportablepoultryeggfreshnessmachineusingmajorityvotingbasedensemblemachinelearningclassifiers
AT thaksinsangsuwan lowcostautonomousportablepoultryeggfreshnessmachineusingmajorityvotingbasedensemblemachinelearningclassifiers
AT nateethongun lowcostautonomousportablepoultryeggfreshnessmachineusingmajorityvotingbasedensemblemachinelearningclassifiers