A Lightweight YOLO-Based Architecture for Apple Detection on Embedded Systems
Open Access
- 13 April 2025
- journal article
- research article
- Published by MDPI AG in Agriculture
- Vol. 15 (8) , 838
Abstract
Apples are among the most important agricultural products worldwide. Ensuring apple quality with minimal effort is crucial for both large-scale and local producers. In Mexico, the manual detection of damaged apples has led to inconsistencies in product quality, a problem that can be addressed by integrating vision systems with machine learning algorithms. The YOLO (You Only Look Once) neural network has significantly improved fruit detection through image processing and has automated several related tasks. However, training and deploying YOLO models typically requires substantial computational resources, making it essential to develop lightweight and cost-effective detection systems, especially for edge computing systems. This paper presents a mechatronic system designed to detect apple varieties and potential damage in apples (Malus domestica) within the visible spectrum. The cultivated apple varieties considered were Gala, Golden, Granny Smith, and Red Delicious. Our contribution lies in developing a lightweight neural network architecture optimized specifically for embedded systems. The proposed architecture was compared against YOLOv3-Tiny, YOLOv4-Tiny, and YOLOv5-s. Our optimized model achieved a high accuracy and sensitivity (94–99%) and was successfully implemented on a Jetson Xavier NX board, where it reached a processing speed of 37 FPS.Keywords
Funding Information
- SIP Innovation project (20242883)
This publication has 34 references indexed in Scilit:
- Rating pome fruit quality traits using deep learning and image processingPlant Direct, 2024
- Computer vision in smart agriculture and precision farming: Techniques and applicationsArtificial Intelligence in Agriculture, 2024
- A lightweight improved YOLOv5s model and its deployment for detecting pitaya fruits in daytime and nighttime light-supplement environmentsComputers and Electronics in Agriculture, 2024
- Transforming unmanned pineapple picking with spatio-temporal convolutional neural networksComputers and Electronics in Agriculture, 2023
- CitrusYOLO: A Algorithm for Citrus Detection under Orchard Environment Based on YOLOv4Multimedia Tools and Applications, 2022
- Automated apple defect detection using state-of-the-art object detection techniquesSN Applied Sciences, 2019
- Apple detection during different growth stages in orchards using the improved YOLO-V3 modelComputers and Electronics in Agriculture, 2019
- Fruit category classification via an eight-layer convolutional neural network with parametric rectified linear unit and dropout techniqueMultimedia Tools and Applications, 2018
- Surface Gloss Evaluation of Apples Based on Computer Vision and Support Vector Machine MethodFood Analytical Methods, 2017
- Design of an automatic apple sorting system using machine visionComputers and Electronics in Agriculture, 2016