Back to search

Universidade de Coimbro

FPGA-Based Edge Deployment of YOLOv8n for Grapevine Leaf Disease Detection Using Vitis AI

Abstract

dc:description.abstract

The growing use of artificial intelligence has increased demand for edge computing solutions capable of running visual object detection locally. Many Internet of Things devices have limited computing capacity and energy resources and therefore rely on cloud processing, which introduces communication latency and network dependency. Deploying deep-learning models at the edge can reduce these limitations, but requires a balance between accuracy, throughput, latency and energy efficiency. These requirements are particularly relevant to precision agriculture, where inference may need to operate in real time on resource-constrained platforms.This dissertation presents an exploratory study and practical implementation of a YOLOv8n model for grapevine leaf-disease detection on an AMD Versal AI Core VCK190 evaluation board using the Vitis-AI toolchain. The work covers model adaptation, INT8 post-training quantization, deployment on the DPUCVDX8G accelerator and end-to-end pipeline optimization. Model adaptation required replacing the unsupported SiLU activation with ReLU, followed by recovery training and fast finetuning during quantization. The deployed system was evaluated in terms of detection accuracy, sustained throughput, response latency, platform power and energy consumption.The initial 640×640 implementation achieved 11.69 frames/s. Host-side optimization and use of all six hardware batch slots increased throughput to 97.94 frames/s. Retraining and deploying the model at the dataset's native 256×256 resolution further increased throughput to 262.43 frames/s and reduced the mean batch-six response interval from 61.263 to 22.863 ms. On the 1081-image source-grouped validation partition, the final model achieved a board-measured mAP@0.5:0.95 of 0.96649. The paired INT8 quantization penalty was 1.5437 percentage points, with a 95% confidence interval of [1.2243, 1.8706]. The final batch-six configuration used 0.04540 J per image, or 22.028 frames/J, across seventeen monitored board rails. At the stated, non-equivalent measurement boundaries, it recorded 54.1 times the energy efficiency of the evaluated desktop CPU package and 10.0 times that of the evaluated discrete GPU card. Monitored board power was 12.3146 W under load, above the original informal 10 W target.The results show that efficient edge inference depends on the complete hardware–software pipeline rather than accelerator performance alone. In this deployment, host-side optimization and matching the model input resolution to the source images produced the largest improvements, while the reduction in energy per image resulted primarily from increased throughput rather than lower board power. More generally, framework selection must account for operator compatibility, host–device partitioning and runtime integration as well as accelerator arithmetic. However, the dataset contains individual leaves that fill most of each image. The reported accuracy therefore characterizes recognition under controlled conditions and does not establish detection performance in vineyard scenes.

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Bastos, Gonçalo Tavares
Advisor dc:contributor.advisor
  • Lobo, Jorge Nuno de Almeida e Sousa Almada

Subjects

dc:subject × 8

Rights

dc:rights
Statement dc:rights
  • openAccess
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Tid
204413109

Chain of custody

source
Harvested from
Universidade de Coimbro
Base URL
estudogeral.sib.uc.pt/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Bastos, Gonçalo Tavares. FPGA-Based Edge Deployment of YOLOv8n for Grapevine Leaf Disease Detection Using Vitis AI. 2026. https://hdl.handle.net/10316/124337