IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v15y2025i8p838-d1633708.html
   My bibliography  Save this article

A Lightweight YOLO-Based Architecture for Apple Detection on Embedded Systems

Author

Listed:
  • Juan Carlos Olguín-Rojas

    (Departamento de Ingeniería Mecánica Agrícola, Universidad Autónoma Chapingo, Carretera México-Texcoco km 38.5., Texcoco de Mora 56230, Mexico)

  • Juan Irving Vasquez

    (Centro de Innovación y Desarrollo Tecnológico en Cómputo (CIDETEC), Instituto Politécnico Nacional (IPN), Juan de Dios Bátiz s/n esq. Miguel Othón de Mendizábal, Col. Nueva Industrial Vallejo, Del. Gustavo A. Madero, Mexico City 07738, Mexico)

  • Gilberto de Jesús López-Canteñs

    (Departamento de Ingeniería Mecánica Agrícola, Universidad Autónoma Chapingo, Carretera México-Texcoco km 38.5., Texcoco de Mora 56230, Mexico)

  • Juan Carlos Herrera-Lozada

    (Centro de Innovación y Desarrollo Tecnológico en Cómputo (CIDETEC), Instituto Politécnico Nacional (IPN), Juan de Dios Bátiz s/n esq. Miguel Othón de Mendizábal, Col. Nueva Industrial Vallejo, Del. Gustavo A. Madero, Mexico City 07738, Mexico)

  • Canek Mota-Delfin

    (Departamento de Ingeniería Mecánica Agrícola, Universidad Autónoma Chapingo, Carretera México-Texcoco km 38.5., Texcoco de Mora 56230, Mexico)

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.

Suggested Citation

  • Juan Carlos Olguín-Rojas & Juan Irving Vasquez & Gilberto de Jesús López-Canteñs & Juan Carlos Herrera-Lozada & Canek Mota-Delfin, 2025. "A Lightweight YOLO-Based Architecture for Apple Detection on Embedded Systems," Agriculture, MDPI, vol. 15(8), pages 1-18, April.
  • Handle: RePEc:gam:jagris:v:15:y:2025:i:8:p:838-:d:1633708
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/15/8/838/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/15/8/838/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:15:y:2025:i:8:p:838-:d:1633708. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.