TinyML Olive Fruit Variety Classification by Means of Convolutional Neural Networks on IoT Edge Devices

Author:

Hayajneh Ali M.1ORCID,Batayneh Sahel2,Alzoubi Eyad2,Alwedyan Motasem3

Affiliation:

1. Department of Electrical Engineering, Faculty of Engineering, The Hashemite University, P.O. Box 330127, Zarqa 13133, Jordan

2. National Agricultural Research Center, P.O. Box 639, Amman 19381, Jordan

3. Computer Science Department, Jordan University of Science and Technology, P.O. Box 3030, Irbid 22110, Jordan

Abstract

Machine learning (ML) within the edge internet of things (IoT) is instrumental in making significant shifts in various industrial domains, including smart farming. To increase the efficiency of farming operations and ensure ML accessibility for both small and large-scale farming, the need for a low-cost ML-enabled framework is more pressing. In this paper, we present an end-to-end solution that utilizes tiny ML (TinyML) for the low-cost adoption of ML in classification tasks with a focus on the post-harvest process of olive fruits. We performed dataset collection to build a dataset that consists of several varieties of olive fruits, with the aim of automating the classification and sorting of these fruits. We employed simple image segmentation techniques by means of morphological segmentation to create a dataset that consists of more than 16,500 individually labeled fruits. Then, a convolutional neural network (CNN) was trained on this dataset to classify the quality and category of the fruits, thereby enhancing the efficiency of the olive post-harvesting process. The goal of this study is to show the feasibility of compressing ML models into low-cost edge devices with computationally constrained settings for tasks like olive fruit classification. The trained CNN was efficiently compressed to fit into a low-cost edge controller, maintaining a small model size suitable for edge computing. The performance of this CNN model on the edge device, focusing on metrics like inference time and memory requirements, demonstrated its feasibility with an accuracy of classification of more than 97.0% and minimal edge inference delays ranging from 6 to 55 inferences per second. In summary, the results of this study present a framework that is feasible and efficient for compressing CNN models on edge devices, which can be utilized and expanded in many agricultural applications and also show the practical insights for implementing the used CNN architectures into edge IoT devices and show the trade-offs for employing them using TinyML.

Funder

Royal Academy, UK through the Distinguished International Associates

Publisher

MDPI AG

Subject

Engineering (miscellaneous),Horticulture,Food Science,Agronomy and Crop Science

Reference49 articles.

1. Expert Market Research (2023, September 24). Global Olive Market Size, Share, Growth, Forecast. Available online: https://www.expertmarketresearch.com/reports/olive-market.

2. International Olive Council (2023, September 24). The World of Olive Oil, Available online: https://www.internationaloliveoil.org/the-world-of-olive-oil/.

3. Market study and marketing strategy for olive and olive oil sector in the southern arid part of Jordan;Dhehibi;J. Agric. Sci. Technol.,2019

4. Toward resilient agriculture value chains: Challenges and opportunities;Dong;Prod. Oper. Manag.,2021

5. Industry 4.0 and Industry 5.0—Inception, conception and perception;Xu;J. Manuf. Syst.,2021

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3