Abstract
Old-vine vineyards often contain dozens of grapevine varieties intermingled and irregularly distributed, making plant-level varietal identification slow and expensive when based on ampelography or molecular approaches. This paper proposes a field-oriented computer-vision pipeline for Vitis vinifera variety identification using images with a natural background from the historic “Vinha Maria Teresa” parcel (Quinta do Crasto, Portugal). A single-class YOLO11 detector is trained to localize the vine leaf and generate standardized crops, and a YOLO11 classifier is then fine-tuned on leaf regions of interest (ROIs) for eight selected varieties in the Douro UNESCO region. We annotated 2015 vineyard images for classification and supplemented detection training with 2648 additional leaf images; detectors (YOLO11n/s/m) were benchmarked under four augmentation regimes and evaluated on a fixed 48-image subset, including runtime on CPU and GPU. The best detector reached mAP@50–95 of 0.918 on the benchmark, while YOLO11n achieved ∼27 FPS on CPU for fast cropping. On a 303-image test set, the best classifier (YOLO11s with mixed augmentations) achieved 94.06% Top-1 accuracy, 93.92% macro-F1, and 100% Top-5 accuracy with remaining errors concentrated among morphologically similar varieties. To assess deployment-oriented performance, classifiers trained under three input settings (manual crops, detector-generated crops, and full images) were evaluated on a held-out 48-image benchmark subset; removing the detection step reduced Top-1 accuracy from 75.00% to 68.75%, while the gap between manual and automatic crops was only 2.44 pp on successfully detected images with detection failures (14.6%) representing the primary operational bottleneck. Repeated retraining of the best manual-crop YOLO11s configuration across multiple random seeds showed stable performance with low variability in Top-1 accuracy and macro-F1. Under identical training conditions, ResNet50 and EfficientNet-B0 provided competitive baselines, but YOLO11s remained the strongest overall model on the held-out field benchmark. These results indicate that lightweight leaf detection plus crop-based classification can support scalable varietal identification in old vineyards under realistic acquisition conditions.
1. Introduction
The Douro Demarcated Region (DDR), established in 1756 as the first institutionally regulated wine region in the world [1], is today the largest wine-growing region in Portugal, covering 43,898 hectares (25.63% of the national vineyard area) [2,3]. Its unique combination of rugged terrain, Mediterranean climate, and centuries of traditional viticulture has produced one of the most genetically diverse grapevine populations in the world with over 115 authorized varieties in the region alone [4,5].
Within this landscape, old-vine vineyards (Vinhas Velhas) hold a particularly important place. These parcels, formally defined since 2020 by the Douro and Porto Wine Institute as vineyards with an average vine age above 40 years and at least four intermingled varieties [6], are associated with distinctive wine profiles and significant economic value [7]. Their defining characteristic, however, is also their main operational challenge: dozens of grapevine varieties are irregularly distributed within the same parcel, often without any record of which variety occupies which plant [8,9]. The “Vinha Maria Teresa” (VMT) parcel at Quinta do Crasto (Vila Real, Portugal) is a representative example: over 110 years old, it contains more than 40 varieties distributed across approximately 32,000 plants and produces one of Portugal’s most acclaimed red wines [10].
Plant-level varietal identification in such settings is a foundational requirement for vineyard management, traceability, authenticity, and the preservation of regional genetic resources [11]. Traditional ampelography, the visual inspection of leaf morphology by trained experts [12], is the standard method, but it is subjective, physically demanding in steep Douro terrain, sensitive to environmental variability, and increasingly constrained by the scarcity of qualified practitioners [13,14,15,16]. Molecular analysis offers higher objectivity [17,18], but its cost and throughput make plant-level screening of entire old-vine parcels impractical [19]. At VMT, both methods have been used for over a decade without achieving complete coverage.
Recent advances in deep learning have opened a new avenue for grapevine variety identification based on leaf images. As reviewed by Carneiro et al. [14], who systematically analyzed 37 studies published between 2018 and 2024, most existing approaches apply transfer learning and the fine tuning of standard convolutional neural network (CNN) or transformer architectures, achieving high reported accuracies. However, the same review highlights a critical limitation: the majority of these studies rely on images acquired in controlled environments or from detached leaves placed against uniform backgrounds, which may have limited applicability under real field conditions [14]. Among the few studies that used images acquired directly in the field [20,21,22,23], classification is typically applied directly to full images without a dedicated localization stage to isolate the dominant leaf. Pereira et al. [20], the closest study in terms of acquisition conditions to this paper, reported 77.30% accuracy on six varieties using natural-background field images and an AlexNet-based classifier without any preprocessing step to standardize the leaf region. The problem of unrelated background information in field images (soil, sky, trunks, and secondary leaves) is widely acknowledged as a source of classification errors [14,20], yet the contribution of a dedicated detection stage to end-to-end accuracy has not been empirically quantified in the literature: no prior study directly compares full-image, manual-crop, and detector-crop classification under identical conditions on independent field data. Furthermore, the few works that incorporated object detection before classification, such as Sarosa et al. [24], who applied Faster R-CNN to leaf localization, or Peng et al. [25], who integrated leaf and fruit detection into a single YOLOv7-based model, did not isolate or quantify the contribution of the detection step to the overall pipeline performance. Beyond background standardization, deployment constraints such as inference latency on resource-constrained devices are rarely reported in existing studies [14], limiting the practical transferability of published results to field tools. Finally, the specific context of old mixed-variety vineyards (where dozens of varieties coexist in the same parcel without ordered arrangement, as is common in the Douro region [8,9]) has not been directly addressed in the computer vision literature. In such settings, traditional ampelography is expert-dependent and affected by environmental variability [15], while molecular analysis is accurate but prohibitively costly for plant-level screening at scale [17].
To address these gaps, this paper proposes an end-to-end field-oriented pipeline for grapevine variety identification in an old vineyard, combining dominant-leaf detection with crop-based variety classification. The rationale is that in natural images, much of the variability that harms classification arises from background clutter, framing differences, and the presence of multiple leaves [20]. By introducing a lightweight detection stage that reliably localizes the dominant leaf and produces consistent crops, the downstream classifier receives a more standardized input while preserving realistic acquisition conditions. The detection stage is formulated as a single-class problem and implemented using YOLO11 detectors [26] of different model sizes, enabling a systematic analysis of the trade-off between detection quality and computational efficiency, which is an important requirement for practical deployment on resource-constrained devices such as smartphones or CPU-only platforms. Crucially, unlike prior work, this paper explicitly evaluates the contribution of the detection step by comparing three input settings: full images, manual crops, and detector-generated crops, on an independent field benchmark, providing the first empirical quantification of how each pipeline stage affects end-to-end classification accuracy under realistic deployment conditions.
There are five main contributions of this paper:
- Quantification of the detection step’s contribution under natural field conditions. We provide a direct empirical comparison of full-image, manual-crop, and detector-crop classification on independent field data, showing that removing the detection step reduces Top-1 accuracy from 75.00% to 68.75%, and that error propagation from detector to classifier is limited to 2.44 pp on successfully detected samples.
- Deployment-oriented benchmarking of YOLO11 detector variants. Unlike most grapevine classification studies that optimize for accuracy alone [14], we systematically evaluate the efficiency–quality trade-off across detector sizes and augmentation regimes, reporting CPU inference latency alongside standard detection metrics to guide model selection for resource-constrained field deployment.
- Classification under realistic old-vineyard conditions. Existing datasets predominantly use controlled backgrounds or detached leaves [14]. We construct and evaluate a classifier trained and tested on natural-background images of leaves photographed in situ in an old mixed-variety vineyard, achieving 94.06% Top-1 accuracy and 93.92% macro-F1 on the in-distribution test set with 100% Top-5 accuracy.
- Evidence of strong pipeline performance under realistic conditions. The leaf detector reaches mAP@50–95 ≈ 0.918 on the fixed benchmark subset, while YOLO11n achieves ∼27 FPS on CPU for fast deployment-oriented cropping. The end-to-end evaluation on independent field data confirms that the detection preprocessing step is necessary and that detector-generated crops approach the performance of manual crops when detection succeeds.
- Comparison with standard CNN baselines. We benchmark YOLO11 classification against ResNet50 and EfficientNet-B0 trained under the same split, augmentation regime, and training configurations, showing that the proposed YOLO-based classifier is competitive with established image-classification backbones.
Overall, these results support the feasibility of lightweight detection-based preprocessing as an effective and empirically justified step toward scalable varietal identification in old Douro vineyards, reducing dependence on expert-only workflows and opening a pathway toward real-world tools for vineyard management.
2. Materials and Methods
The experimental design, detailed in the subsections below, comprises four components: variety and data selection (Section 2.1, Section 2.2 and Section 2.3), leaf detection model development and benchmarking (Section 2.4), variety classification model development (Section 2.5), and end-to-end pipeline evaluation (Section 2.6). All training configurations and hyperparameters are reported in full to support reproducibility.
The overall study design was guided by the CRISP-DM (Cross-Industry Standard Process for Data Mining) methodology, which is a widely used process model structured into six iterative phases: Business Understanding, Data Understanding, Data Preparation, Modeling, Evaluation, and Deployment [27]. In this paper, Business Understanding corresponded to defining the project objective of supporting plant-level grapevine variety identification in an old mixed-variety vineyard under realistic field conditions. Data Understanding involved the collection and exploration of the available vineyard image data. Data Preparation comprised annotation, dataset organization, crop generation, and split construction for detection and classification. Modeling included the training and comparison of the selected deep learning architectures. Evaluation covered validation, test-set assessment, repeated-seed analysis, baseline comparison, and end-to-end benchmarking. Finally, Deployment was considered from a practical perspective through deployment-oriented performance analysis, including inference speed and the discussion of integration into a future field workflow.
Following the workflow in Figure 1, this paper starts with the definition of the target set of grapevine varieties to be studied, which is guided by the representativeness of leaf morphological characteristics and practical availability in the vineyard. Next, we perform on-field data collection under realistic acquisition conditions. The collected images are then manually annotated to produce reliable ground truth, including (i) bounding boxes for the leaf in the image (single-class “Leaf” detection) and (ii) the corresponding variety identification, ensuring the dataset can support both localization and identification tasks.
Figure 1.
Methodology flowchart.
The annotated data are then used in two stages. First, a leaf detector is trained to localize the dominant leaf in the image and enable automatic crop generation. Second, grapevine variety classification is studied under three training input settings: manual leaf crops derived from ground-truth annotations, full images without cropping, and automatic crops generated by the selected detector. Manual crops are first used to identify the best-performing classification configuration, which is then transferred to the other two input settings. Finally, all three classifiers are evaluated on an independent benchmark set not used in training, under four reporting scenarios that account for detector successes and failures in order to assess deployment-oriented performance under realistic field conditions.
2.1. Varieties Selection
The primary distinguishing feature of a vine variety is its mature leaf, which reaches this stage around June/July. That is what the Deep Learning model will evaluate to output its conclusions.
As we can see from these two examples in Figure 2, leaves can be quite distinct visually.
Figure 2.
Two morphologically different vine leaves. (a) Variety 1 Leaf; (b) Variety 6 Leaf.
However, given the dozens of varieties present in the vineyard, not all leaves differ this much. For an initial approach, and as the focus of this paper, eight varieties were selected. This selection was made in a way that the leaf varieties can represent a wide range of their morphological characteristics and the best possible availability in the vineyard.
The chosen varieties are outlined in Table 1.
Table 1.
Selected varieties and their morphological characteristics.
2.2. Data Collection
For the data collection, it is important that the leaf images resemble as closely as possible the real-world conditions in which the system can be used. Therefore, the plan was to capture images of mature leaves directly on the vine, without detaching them, in order to preserve the natural background.
Before the collection, ‘Quinta do Crasto’ provided some data (images) of VMT varieties. From that data, it was possible to make use of some of the images.
The new data were captured during the 2025 Summer. The images were acquired using a Canon EOS 2000D with a 18–55 mm lens (Canon, Guimarães, Portugal) and a smartphone (Xiaomi 14T Pro) using the default camera application in automatic mode, with default settings.
At the end, bringing together the old and new data, the number of images for each variety is given in Table 2.
Table 2.
Quantity of images per variety.
These images will be used to train the models, especially the classification model, since it only includes the specific varieties from VMT that are being studied.
For the detection model, we are not limited to this set of 2015 images because the goal is simply to detect a vine leaf. Therefore, additional and more diverse data can be beneficial. To that end, we supplemented the original collection with extra images from both internal and external sources, including leaves photographed against plain backgrounds, smartphone images captured under different conditions, and two publicly available online datasets (Figure 3).
Figure 3.
Two datasets available online. (a) Maxim Vlah dataset [28], (b) Murat Koklu dataset [29].
The Maxim Vlah dataset contains images of leaves from 11 grapevine varieties captured in natural conditions using a smartphone [28]. The Murat Koklu dataset contains images of leaves from 6 grapevine varieties, which were used in a classification study based on a MobileNetV2 CNN model carried out by the author [29]. After that, a total of 2648 additional images helped with training the detection model.
Additionally, we reserved 48 images (6 per variety) beforehand so we can calculate metrics and evaluate the models’ performance outside the training datasets.
In summary, we have 3 datasets for this study:
- Dataset 1 → 2015 images of leaves with natural backgrounds;
- Dataset 2 → 2648 images of leaves with several different backgrounds and from external public datasets;
- Dataset 3 → 48 images of leaves with natural background for testing purposes. These images will not be used in any model training.
Data collection was conducted across multiple sessions between June and early August 2025, covering different times of day and different areas of the parcel in each session. For each variety, images were acquired from multiple individual plants (estimated at several dozen plants per variety across the full collection) by traversing the vineyard using variety location lists provided by the estate. For each plant visited, between one and approximately five images were captured depending on leaf availability and quality, targeting different leaves on the plant rather than repeatedly photographing the same leaf. In the rare cases where the same leaf was photographed more than once, images were acquired from different angles. This acquisition protocol introduces natural variability, reflecting the heterogeneous conditions expected in field deployment.
The train/validation/test split was randomly performed to preserve class proportions. Because plant identity was not systematically recorded during acquisition, it cannot be guaranteed that all images of a given plant are confined to a single split. However, several factors limit the practical impact of this: images were acquired from many distinct plants per variety across multiple sessions and days, the number of images per plant was small, and the natural variability introduced by different acquisition conditions reduces the degree to which images of the same plant are more similar to each other than to images of other plants of the same variety. Nevertheless, a plant-stratified split (in which all images of a given individual are assigned to the same partition) would provide a stricter independence guarantee and is recommended for future work.
2.3. Data Annotation
Data annotation is an essential step in a deep learning system. This information is what enables the algorithm to learn and train the best possible model. Therefore, careful annotation is beneficial for the remainder of this paper.
The bounding box annotation of all datasets was performed using Roboflow [30] and placed as close as possible to the leaf being analyzed while ensuring that no part of the leaf was ever cut off (Figure 4).
Figure 4.
Example of an annotation made with roboflow.
2.4. Leaf Detection Model and Crop Generation
Images captured in vineyards frequently contain complex backgrounds (soil, sky, trunks), partial occlusions, and sometimes multiple visible leaves. Since the goal of this paper is grapevine variety recognition, we introduce a dedicated leaf detection step to automatically localize the dominant leaf and generate standardized crops. This preprocessing stage may reduce background influence and normalizes framing before classification.
In addition, because detection is used mainly for cropping, we design a small study to characterize the trade-off between efficiency (inference speed/model size) and quality (standard detection metrics) across multiple YOLO model variants and dataset conditions.
Leaf Detection is formulated as a single-class object detection problem with the class Leaf. Given an input image, the detector outputs one or more bounding boxes with confidence scores. The crop-generation module then selects the dominant object and extracts a region of interest (ROI) for the downstream classifier.
Annotated images (Dataset 1 + Dataset 2) were exported once (single dataset version) in YOLO format (images/, labels/, data.yaml), using a 70/20/10 train/validation/test. No synthetic augmentations were applied at export time. All transformations, when used, were introduced directly in the training code.
To study the efficiency vs. quality trade-off, we trained three YOLO11 model sizes for each dataset augmentation condition:
- YOLO11n (nano)—smallest and fastest;
- YOLO11s (small)—intermediate size/speed;
- YOLO11m (medium)—higher capacity, typically slower.
Larger variants were not considered because the intended usage is lightweight, fast cropping.
All models were initialized from COCO pre-trained weights and trained in Google Colab using NVIDIA L4 GPU with a fixed configuration across runs (except model size and augmentation condition): imgsz = 640, batch size 16, 150 epochs, AdamW optimizer, and lr0 = 0.002. Training outputs and checkpoints (best.pt, last.pt) were saved for reproducibility.
As presented in Table 3, four augmentation conditions were evaluated: No augmentations, Photometric augmentations, Geometric/composition augmentations, and Mixed augmentations (photometric and geometric/composition combined). Augmentations are implemented by explicitly setting Ultralytics augmentation hyperparameters. Photometric augmentations were chosen to simulate natural variability in field illumination, including changes in sunlight angle and cloud cover across acquisition sessions. Geometric augmentations were chosen to improve robustness to variation in leaf orientation and camera distance in the field. Full rotation (degrees = 180) was included because leaves may be photographed in any orientation depending on the plant’s position on the slope. We intentionally set translation to zero (translate = 0) to discourage learning detections on partial leaves, since the detector is intended to support the cropping of complete dominant leaves.
Table 3.
Training-time augmentation conditions. Parameters not listed are disabled (set to 0).
At inference time, the detector may occasionally predict multiple leaf boxes, although most images are captured with a single leaf in view. We detect the dominant leaf and crop the ROI to the corresponding bounding box. The resulting crop is then used as input to the variety classification stage.
To compare detectors under identical conditions and measure runtime, we evaluate all models on the fixed benchmark subset with 48 images. We report standard detection metrics (mAP@50–95, mAP@50, precision, recall) and runtime breakdown (pre-process/inference/post-process), from which an approximate FPS is computed. All detection metrics reported in this paper are computed automatically by the Ultralytics validation routine except for the FPS. We compute it ourselves from the reported inference time:
where is the inference latency in ms/image. Optionally, an end-to-end estimate can be obtained using :
2.5. Variety Classification Model
2.5.1. Classification Dataset Construction
For classification, we used Dataset 1. To better study the classification process, the bounding-box annotations made on Roboflow were used to obtain leaf ROIs for each sample (manual crops derived from the annotated boxes), and these crops were used to train the classification model. If we used crops made by the leaf detection model we trained beforehand, we could send to the classification training bad information that could worsen the results. The resulting classification dataset was organized in a folder-per-class structure compatible with Ultralytics classification training.
No synthetic augmentations were generated at Roboflow export time; all augmentations (when enabled) were applied during training to preserve a single, reproducible dataset version.
2.5.2. Train/Validation/Test Split
Because Ultralytics classification expects a directory-based dataset (train/, val/, test/), we created the splits programmatically using a stratified protocol to preserve class proportions. First, 15% of the images were reserved for the test split set. From the remaining 85%, 20% were allocated to validation and 80% to training. This corresponds to approximately 68% training, 17% validation, and 15% test overall.
2.5.3. Models and Experimental Design
Same as with the detection model, we evaluated three Ultralytics YOLO11 classification model sizes:
- YOLO11n-cls (nano)—smallest and fastest;
- YOLO11s-cls (small)—intermediate size/speed;
- YOLO11m-cls (medium)—higher capacity, typically slower.
Each model was initialized from its corresponding ImageNet-pretrained classification checkpoint and fine-tuned on the grapevine Dataset 1 in Google Colab using NVIDIA L4 GPU. The study follows a design: three model sizes under two augmentation conditions (No Augmentations and Mixed Augmentations), which are described below.
2.5.4. Training Configuration
All classification runs used the same base configuration: imgsz = 640, batch size 16, 110 epochs, and a fixed seed (seed = 420). Training outputs and checkpoints were saved for reproducibility, and the best-performing checkpoint according to the validation objective was selected for final testing.
No Augmentation
All photometric and geometric transformations were disabled (HSV jitter, flips, and geometric transforms set to zero). Composition-style augmentations such as mosaic, mixup, and copy-paste were explicitly disabled to avoid unintended image compositions in the classification setting.
Photometric + Geometric
Augmentations were enabled to improve robustness to field variability. Photometric augmentation used HSV jitter (hsv_h = 0.2, hsv_s = 0.5, hsv_v = 0.5). Geometric augmentation included random rotation (degrees = 180), scaling (scale = 0.5), shear (shear = 5.0), and mild perspective distortion (perspective = 0.003), plus horizontal flipping (fliplr = 0.5). Translation was kept disabled (translate = 0) to discourage learning from artificially shifted/partially framed leaves, which is consistent with the goal of recognizing complete dominant leaves. In addition, we enabled auto_augment = randaugment and random erasing (erasing = 0.2). Mosaic/mixup/copy-paste remained disabled (Table 4).
Table 4.
Classification-time augmentation condition. Parameters not listed are disabled (set to 0).
2.5.5. Evaluation Metrics
Final performance was reported on the test subset. We computed the following:
- Top-1, Top-3, and Top-5 accuracy;
- Macro-averaged precision, recall, and F1-score;
- Weighted precision, recall, and F1-score (weighted by class support);
- A confusion matrix with classes ordered according to the model label mapping.
Top-1 accuracy measures the overall classification correctness, while Top-3 and Top-5 accuracy characterize near-miss errors, which is relevant in a human-in-the-loop scenario where the correct variety appearing among the top candidates has practical value. Macro-F1 was selected as the primary summary metric because class sizes are unequal and macro-averaging weights all varieties equally, avoiding bias toward the more represented classes.
To assess ranking quality and class-wise separability, we also computed precision–recall (PR) curves and average precision (AP) per class using the full predicted probability vectors. Additionally, we report micro-averaged PR/AP as a global summary.
2.5.6. Baseline Comparison and Uncertainty Analysis
The best-performing classification configuration was retrained across multiple random seeds. Mean performance, standard deviation, minimum/maximum values, and 95% confidence intervals were computed from the resulting test metrics.
Also, to position the YOLO-based classifier against standard image-classification architectures, ResNet50 [31] and EfficientNet-B0 [32] were trained on the same dataset split with the same input resolution, training epochs, and mixed augmentation regime. This comparison was intended as a matched baseline rather than an exhaustive cross-architecture study.
2.6. End-to-End Evaluation
To evaluate the full end-to-end pipeline and assess the contribution of the detection step, we used Dataset 3 (Section 2.2).
First, we prepared three versions of Dataset 1 as training inputs: uncropped images, manual crops derived from ground-truth annotations (the same folder used in the classification study), and automatic crops generated by the best-performing detection model. The same three versions were prepared for Dataset 3.
Next, using the best-performing classification configuration identified in the previous experiments (YOLO11s, Mixed aug.), two additional classifiers were trained on the no-crop and detector-crop versions of Dataset 1. This produced three classifiers for comparison: full-image, manual-crop, and detector-crop.
These three classifiers were evaluated on Dataset 3. Because the detector may fail to produce a detection for some images, two complementary accounting conventions are used to report detector-crop results: (i) a detected subset evaluation restricted to the images for which the detector produced a valid detection, which isolates classifier quality given successful detection; and (ii) a full pipeline evaluation in which non-detected images are counted as incorrect predictions, reflecting actual operational accuracy. To enable a direct crop-type comparison on equal footing, the manual-crop classifier is also evaluated on the same detected subset, yielding four reported scenarios in total.
Additionally, ResNet50 and EfficientNet-B0 were evaluated on Dataset 3 under the manual-crop scenario, using the same best-performing classification configuration (Mixed aug., identical split and epochs).
3. Results
3.1. Leaf Detection Performance
3.1.1. Best Detection Checkpoints
For each training run, Ultralytics saves best.pt as the checkpoint, achieving the highest validation mAP@50–95. Table 5 reports the corresponding metrics at the selected epoch for all model sizes and augmentation condition.
Table 5.
Leaf detection performance on the validation split for the best checkpoint (best.pt) of each training run (selected by maximum mAP@50–95).
Overall, all configurations achieve near-saturated mAP@50, indicating reliable localization at the Intersection over Union (IoU) threshold most relevant for cropping. In contrast, the stricter mAP@50–95 differentiates augmentation conditions: No augmentation and Photometric augmentation yield the highest validation values, while Geometric augmentation and Mixed augmentation reduce mAP@50–95 despite preserving high mAP@50.
3.1.2. Benchmark Subset: Quality and Runtime
All trained detectors were evaluated on the fixed benchmark subset (48 images) using identical evaluation settings on both CPU and GPU. Table 6 reports detection metrics and the measured inference latency (), along with the derived throughput (FPS), which was computed as described in Section 2 (Equations (1) and (2)).
Table 6.
Benchmark subset results (48 images) on Intel Xeon 2.20 GHz CPU and Nvidia L4 GPU. FPS is computed from inference latency: .
The benchmark confirms the validation trends. The best overall localization quality is achieved by YOLO11s (No aug.) (mAP@50–95 = 0.918), while YOLO11n provides the best CPU throughput (e.g., YOLO11n (Phot. aug.): ms ⇒ 26.9 FPS). On CPU, the medium model (YOLO11m) is consistently slower (∼260–268 ms/image, ∼3.7–3.8 FPS) without improving benchmark accuracy, supporting the use of nano/small variants when the detector is deployed as a fast cropping module.
3.1.3. Practical Conclusions for Crop Generation
From these results, the following conclusions can be drawn:
- Cropping reliability: All regimes achieve high mAP@50, showing that the models can reliably find the leaf and produce suitable crops.
- High-IoU quality: Strong geometric/composition augmentations reduce mAP@50–95 on both validation and benchmark, suggesting less precise box fitting at stricter IoU thresholds.
- Efficiency vs. quality: YOLO11s (No aug.) maximizes quality, while YOLO11n (No aug.) offers substantially higher throughput on CPU with only a moderate reduction in mAP@50–95.
3.2. Variety Classification Performance
3.2.1. Best Classification Checkpoints
Ultralytics saves best.pt as the checkpoint with the highest validation fitness, which is defined for classification as the mean of Top-1 and Top-5 accuracy. Table 7 reports the corresponding epoch and validation metrics for each configuration.
Table 7.
Variety classification performance on the validation split for the best checkpoint (best.pt) of each training run.
Across model sizes, the mixed augmentation scenario improves validation Acc@1 relative to no augmentation scenario, indicating that controlled perturbations remain beneficial in the classification.
3.2.2. Test Split Set: Accuracy and Ranking Quality
All best.pt checkpoints were evaluated on the test split (303 images). Table 8 summarizes Top-1/Top-3/Top-5 accuracy, macro and weighted F1-score, and macro average precision (macro AP; mean AP over one-vs-rest PR curves computed from class probabilities).
Table 8.
Test split results (303 images). ResNet50 and EfficientNet-B0 are included as baseline comparisons and trained under identical conditions (Mixed aug., same split).
Effect of Augmentations
Mixed augmentation scenarios consistently improves test performance across all model sizes with Top-1 gains of approximately +2.6 to +3.3 percentage points and macro-F1 gains of approximately +2.6 to +3.5 percentage points compared to the no augmentation scenario. Top-3 accuracy is near-saturated (98–99%), and Top-5 reaches 100% for all Mixed aug. models, indicating that most residual errors are near-misses among visually similar varieties.
Stability Across Random Seeds
To verify that the reported results are not an artifact of a particularly favorable random initialization, the best-performing configuration (YOLO11s, Mixed aug., manual crops) was retrained under nine additional random seeds (7, 10, 23, 50, 123, 239, 300, 366, and 600), yielding ten independent runs in total. The Top-1 accuracy ranged from 93.07% to 96.04% (mean %) and macro-F1 from 92.89% to 95.87% (mean %) with 95% confidence intervals of and , respectively. The low standard deviation ( pp) confirms that the reported performance is stable with respect to random initialization.
3.2.3. Per-Class Performance and Error Patterns (Best Model)
The best overall trade-off is achieved by YOLO11s (Mixed aug.), which matches the highest Top-1 accuracy (94.06%) while achieving the highest macro-F1 (93.92%). Table 9 reports per-class precision/recall/F1 for this configuration.
Table 9.
Per-class test metrics for the best classification configuration (YOLO11s, Mixed aug.).
The confusion matrix (Figure 5) indicates that the strongest off-diagonal confusions are limited to a few pairs, notably Variety 6 → Variety 7 (3 cases), Variety 8 → Variety 7 (2 cases), Variety 4 → Variety 5 (2 cases), and Variety 2 → Variety 8 (2 cases).
Figure 5.
Confusion matrix on the test split set for the best classification configuration (YOLO11s, Mixed aug.).
3.2.4. Practical Conclusions for the Full Pipeline
From the classification results, the following conclusions can be drawn:
- Augmentations remain beneficial after cropping: Even with ROI standardization, Mixed aug. improves Top-1, macro-F1, weighted-F1, and macro AP across all model sizes.
- Model size trade-off is mild: YOLO11n and YOLO11s achieve the strongest performance; YOLO11s (Mixed aug.) provides the best macro-F1 while matching the highest Top-1 accuracy.
- Most errors are near-misses: The high Top-3/Top-5 accuracy suggests that residual mistakes typically involve a small subset of similar varieties, which is useful for decision support or human-in-the-loop scenarios.
3.3. End-to-End Pipeline Evaluation
3.3.1. Training Under Different Input Settings
Table 10 compares the test split performance of three YOLO11s (Mixed aug.) classifiers trained on different input types: manual crops derived from ground-truth annotations (Roboflow), automatic crops generated by the best-performing detector (YOLO11s, No aug.), and full images without any cropping.
Table 10.
Test split performance of YOLO11s (Mixed aug.) classifiers trained under three input settings.
All three configurations converge to similar test split performance (∼94%) with differences below 1 percentage point in both Top-1 accuracy and macro-F1. This near-equivalence is expected: the test split originates from the same distribution as the training data (Dataset 1). As shown in the following section, this equivalence does not hold when the models are evaluated on fully independent field data.
3.3.2. Evaluation on the Independent Benchmark (Dataset 3)
To assess deployment-oriented performance, all three classifiers were evaluated on Dataset 3 (48 images, 6 per variety), which was not used in any training run. For the detector-crop scenario, the YOLO11s (No aug.) detector failed to produce a valid detection for 7 of 48 images (14.6%), which was distributed across Variety 2 (2 images), Variety 3 (2 images), and Variety 4 (3 images). These failures are reported under two accounting conventions. In the detected subset evaluation (41 images), non-detected images are excluded and metrics are computed only over successfully detected samples; this isolates the quality of the detector-to-classifier handoff. In the full pipeline evaluation (48 images), each non-detected image is counted as an incorrect prediction, reflecting the actual operational accuracy of the complete pipeline. To enable a fair crop-type comparison on the same image subset, a fourth scenario is also included: the manual-crop classifier evaluated only on the 41 images for which the detector produced a valid detection (Manual crop, detected subset) (Table 11).
Table 11.
End-to-end evaluation on Dataset 3.
Several observations follow from these results. First, the full-image classifier drops sharply from ∼94% (in-distribution) to 68.75% on Dataset 3, confirming that background clutter and variable framing strongly degrade performance under realistic field conditions and that a dedicated detection step is necessary. Second, manual cropping raises Top-1 accuracy to 75.00% (+6.25 pp), demonstrating that input standardization alone provides a consistent benefit. Third, on the detected subset, automatic crops reach 78.05% versus 80.49% for manual crops (a gap of 2.44 pp), indicating that error propagation from the detection stage is limited when detection succeeds. Finally, the 14.6% detection failure rate reduces full-pipeline accuracy to 66.67%, identifying detection robustness as the primary operational bottleneck.
The baseline comparison corroborates these findings: ResNet50 (70.83%) and EfficientNet-B0 (66.67%), trained under identical conditions, both underperform YOLO11s (75.00%) on Dataset 3, while all three architectures exhibit a similar drop from in-distribution performance (∼92–94%). This confirms that the distribution gap is the dominant challenge independent of the classifier architecture and that the YOLO11-based classifier is competitive with standard CNN baselines.
4. Discussion
This paper addressed a practical problem in old-vine vineyards, identifying grapevine varieties at the plant level when many varieties are mixed and irregularly distributed. In these contexts, traditional ampelography is expert-dependent and can be affected by environment and development stage, while molecular analysis is accurate but costly and time consuming for large-scale use. Our results show that a lightweight vision pipeline based on dominant-leaf detection followed by leaf-crop classification can be a strong alternative for decision support in the field, using natural-background images similar to real acquisition conditions.
4.1. Leaf Detection: What the Results Mean for Cropping
Across all detector variants, mAP@50 is consistently high on both validation and the fixed benchmark subset. This is important because for cropping, the main requirement is to place a box that reliably contains the full leaf rather than achieving extremely tight localization at very strict IoU thresholds. In other words, the detector appears robust enough to support automated ROI extraction even in complex vineyard scenes.
A consistent trend across all model sizes is that strong geometric and composition augmentations reduce mAP@50–95 while keeping mAP@50 high. This dissociation is informative and warrants careful interpretation. mAP@50 measures whether a predicted box overlaps sufficiently with the ground-truth box at a single, relatively permissive IoU threshold (0.50), and this is the metric most directly relevant to the cropping objective: a box that contains the full leaf with reasonable margin is sufficient for generating a usable ROI even if it is not tightly fitted. mAP@50–95, in contrast, averages performance across IoU thresholds from 0.50 to 0.95, penalizing boxes that are correctly positioned but imprecise in their boundaries. The drop in mAP@50–95 under geometric augmentation therefore indicates that the models still localize the leaf reliably but produce boxes that are less tightly fitted to its contour.
A plausible mechanism for this effect relates to how aggressive geometric transformations alter the relationship between the leaf and its annotated bounding box during training. Transformations such as large rotations (up to 180 degrees), perspective distortion, and mosaic composition can produce training samples where the original tight box annotation no longer fits the transformed leaf precisely or where the leaf occupies a substantially different fraction of the image than in typical field acquisition. Under these conditions, the model may learn to predict boxes that are systematically looser or that prioritize recall at the expense of tight localization, since looser boxes are more consistently rewarded across the augmented training distribution. This is consistent with the design choice of disabling translation (translate = 0) in all regimes: by preventing the leaf from being shifted to partial visibility, we constrained one axis of geometric variability, but the remaining transformations were sufficient to introduce the observed loosening effect.
Importantly, this trade-off is acceptable for the intended use case. Since the detector serves as a reprocessing module for cropping rather than as a final decision system, the relevant criterion is mAP@50, which remains near-saturated across all regimes. The reduction in mAP@50–95 does not meaningfully degrade the quality of the generated crops, as confirmed by the classification results: models trained on detector-generated crops achieve performance within 2.44 pp of those trained on manually annotated crops on the end-to-end benchmark. These findings support using simpler augmentation regimes (no augmentation or mild photometric augmentation) for the detector when the primary objective is reliable and precise crop generation, reserving stronger geometric augmentation for scenarios where detection robustness to extreme viewpoints is prioritized over tight localization.
From an efficiency perspective, the benchmark confirms that YOLO11n and YOLO11s provide the best deployment-oriented trade-off. On CPU, YOLO11m is much slower without improving accuracy on the benchmark subset, which strengthens the case for nano/small models when detection is used as a pre-processing module rather than a final decision system.
4.2. Variety Classification: Accuracy, Near-Misses, and Why Augmentations Still Help
On the test split set, the best classification configurations reach 94.06% Top-1 accuracy and 93.92% macro-F1 with Top-5 accuracy reaching 100%. This pattern is useful in practice: even when the top prediction is wrong, the correct variety is often among the top few candidates, which fits well with a human-in-the-loop workflow.
Mixed augmentations improve test performance across all model sizes, even though the input is already standardized with crops. This indicates that cropping reduces background variation but does not remove other sources of variability that matter in the field, such as illumination changes, viewpoint differences, leaf pose, and partial occlusions. Controlled photometric and geometric perturbations likely help the classifier learn more stable cues from leaf morphology, which is aligned with prior observations that natural acquisition variability can strongly affect leaf-based recognition.
The confusion matrix shows that remaining errors are concentrated in a small set of confusing pairs. This is expected in old vineyards, where varieties can be morphologically similar and leaf appearance can overlap due to intra-varietal variability, phenology, and environmental effects. Importantly, the error structure suggests that performance improvements may come less from scaling the model and more from (i) more diverse training data for these specific pairs and (ii) features or protocols that better capture subtle differences (e.g., consistent leaf maturity stage, controlled viewpoints, or additional plant organs when available).
In addition to the point estimates reported on the test split, the repeated-seed analysis indicates that the performance of the best configuration is stable and not attributable to a particularly favorable random initialization. Across ten runs, both Top-1 accuracy and macro-F1 varied by approximately one percentage point.
A more critical point concerns scalability beyond the eight varieties studied here. The proposed pipeline is expected to scale asymmetrically across its two stages. The detection module should remain comparatively stable, since it solves a single-class localization problem (“leaf”) independently of the number of grapevine varieties considered. The classification stage, however, is expected to become progressively more difficult as the class space expands. Our current results already suggest this mechanism: residual errors are concentrated in a small number of recurrent class pairs, indicating that performance degradation under a larger class space is likely to arise through increased inter-class confusion rather than through a uniform drop across all classes. In practical terms, this means that extending the system to several dozen varieties will likely require not only more classes but also a proportional increase in per-class training data, broader coverage of intra-varietal variability, and explicit attention to low-separability class pairs.
4.3. Methodological Choices and Comparison with Existing Practice
A key practical point is that we trained the classifier on manual crops derived from ground-truth boxes. This isolates the classification problem and avoids mixing two sources of error (detection + classification). It also provides a clearer estimate of classifier potential when crops are accurate.
The end-to-end evaluation on Dataset 3 confirms that this design choice is justified: on the 41 images where the detector succeeded, the gap between manual and automatic crops is only 2.44 pp (80.49% vs. 78.05% Top-1 accuracy), indicating that error propagation from the detection stage is limited. However, the 14.6% detection failure rate reduces the full-pipeline accuracy to 66.67%, which is below the manual-crop baseline of 75.00%. This identifies detection robustness on difficult field images, rather than classification quality, as the primary bottleneck for deployment. Notably, the full-image classifier, which performs at ∼94% on the in-distribution test split, drops to 68.75% on Dataset 3, confirming that the detection preprocessing step is necessary for maintaining classification quality under realistic conditions.
The baseline comparison further clarifies the source of the observed gains. ResNet50 and EfficientNet-B0 produced competitive results on the manual crop setting but did not outperform YOLO11s on the held-out field benchmark. This suggests that the main contribution of this paper is not simply the selection of a YOLO-based classifier but rather the overall field-oriented pipeline design, particularly the standardization of the leaf ROI and the explicit evaluation of crop generation under realistic acquisition conditions.
Compared with expert-only workflows, the proposed approach offers a scalable route to plant-level screening in difficult vineyards. It can reduce the number of vines that require expert inspection or molecular testing rather than attempting to replace these methods entirely. In practice, this kind of system can be used to flag uncertain cases and support traceability and management decisions. [17]
4.4. Limitations
Several limitations should be considered when interpreting the results:
- Scope of varieties and location. This paper targets eight varieties from a single old vineyard parcel with anonymized variety names for confidentiality. Generalization to other vineyards, regions, and a larger set of varieties remains to be validated.
- Device variability. Although images were captured under realistic conditions, the collection is still limited in devices. Performance may be different across different cameras.
- Benchmark size for detection. The fixed benchmark subset contains 48 images. While it enables conducting comparisons across detectors, a larger benchmark would reduce uncertainty in small differences between test scenarios.
- Plant-level split independence. The train/val/test split was performed at the image level without explicit tracking of plant identity, as the number of individual plants photographed per variety was not systematically recorded during acquisition. Although data were collected from many distinct plants across multiple sessions and days (which limits within-plant correlation), a strict plant-stratified split cannot be retrospectively guaranteed. Future data collection campaigns should record plant identity to enable plant-level holdout evaluation, which would provide a stronger independence guarantee and a more conservative estimate of generalization performance.
- Independence of the end-to-end benchmark. The 48-image Dataset 3, used for end-to-end evaluation, was drawn from the same acquisition campaign as Dataset 1 and separated by random stratified sampling rather than by a distinct collection session. Consequently, some plants may be represented in both the training data and the end-to-end benchmark, which could lead to a slight overestimation of deployment performance. A fully independent benchmark (collected in a separate campaign, ideally at a different time of season) would provide a more rigorous assessment of pipeline generalisation.
- Scalability to additional varieties. The classifier was trained on eight varieties selected for morphological representativeness and field availability out of more than forty present in the VMT parcel. As the number of classes increases, fine-grained classification tasks typically become more challenging, particularly when additional varieties share morphological characteristics with those already in the model. The main expected consequence of extending the model to a larger varietal space is not a uniform drop across all classes but rather a progressive increase in confusions among morphologically similar varieties.
4.5. Future Work
The results open several directions for future research:
- Detection robustness. The end-to-end evaluation identified a 14.6% detection failure rate on independent field images as the primary operational bottleneck. Future work should investigate failure cases systematically (particularly for Variety 2, Variety 3, and Variety 4, which accounted for all non-detections) and explore strategies such as confidence-based fallback classifiers or detector fine-tuning on hard negatives to reduce this rate.
- More varieties and broader data. Extending the dataset to more varieties and additional vineyards, and testing cross-vineyard generalization (train in one site, test in another), would increase the generalizability of the results.
- Mobile deployment. Measuring end-to-end latency and energy on smartphones and CPU-only devices, and optimizing the detector/classifier pair accordingly, are other avenues to explore.
Overall, the findings support the main working hypothesis of this paper: a lightweight leaf detection stage can standardize inputs and enable accurate variety classification on natural-background images, providing a practical step toward scalable varietal identification in old-vine vineyards where traditional methods are difficult to apply at full scale.
Author Contributions
Conceptualization, N.F., F.P., D.A. and S.S.; methodology, N.F.; software, N.F. and F.P.; validation, F.P. and S.S.; formal analysis, N.F.; investigation, N.F., F.P., A.V. and D.A.; resources, F.P., A.V., D.A., M.R. and S.S.; data curation, N.F. and D.A.; writing—original draft preparation, N.F.; writing—review and editing, M.R., F.P. and S.S.; visualization, N.F.; supervision, F.P., A.V., M.R. and S.S.; project administration, S.S. and F.P.; funding acquisition, S.S. and F.P. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the project Vinum Analytics by UTAD through Altice Labs (PI 2023) reference number RS0355. The APC was funded by University of Trás-os-Montes and Alto Douro.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Restrictions apply to the availability of the data. Data were obtained from Quinta do Crasto vineyards and are available from the authors with the permission of Quinta do Crasto.
Acknowledgments
During the preparation of this paper, the authors used ChatGPT 5.2 for the purposes of code generation alongside Ultralytics documentation and for text correction of this manuscript. Special thanks to those responsible for the Douro farm who were always available and in particular to Diana Augusto, Justino Soares and Tomás Roquette for all the cooperation. The authors have reviewed and edited the output and take full responsibility for the content of this paper.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this paper:
| Acc@k | Top-k accuracy (e.g., Acc@1, Acc@3, Acc@5) |
| AP | Average Precision |
| CPU | Central Processing Unit |
| DDR | Douro Demarcated Region |
| FPS | Frames Per Second |
| GVA | Gross Value Added |
| GPU | Graphics Processing Unit |
| IGP | Protected Geographical Indication |
| IoU | Intersection over Union |
| IVDP | Instituto dos Vinhos do Douro e do Porto (Douro and Porto Wine Institute) |
| IVV | Instituto da Vinha e do Vinho (Portuguese Vine and Wine Institute) |
| mAP | mean Average Precision |
| mAP@50 | mAP at IoU threshold of 0.50 |
| mAP@50–95 | mAP averaged over IoU thresholds from 0.50 to 0.95 (step 0.05) |
| NIR | Near-Infrared |
| OIV | International Organization of Vine and Wine |
| PDO | Protected Designation of Origin |
| PR | Precision–Recall |
| ROI | Region of Interest |
| SNP | Single Nucleotide Polymorphism |
| SSR | Simple Sequence Repeat |
| YOLO | You Only Look Once |
References
- Douro/Porto. Available online: https://www.ivv.gov.pt/np4/77/ (accessed on 16 February 2026).
- Instituto da Vinha e do Vinho, I. P. Vinhos e Aguardentes de Portugal 2024: Anuário; Instituto da Vinha e do Vinho, I. P.: Lisboa, Portugal, 2024; ISBN 978-972-8023-42-3. [Google Scholar]
- Voss, R. Centuries of Tradition Have Shaped Portugal’s Douro Valley, 2025’s International Wine Region of the Year. Wine Enthusiast. 16 October 2025. Available online: https://www.wineenthusiast.com/culture/industry-news/wine-star-awards/international-wine-region-2025/ (accessed on 27 February 2026).
- Sousa, B.; Araújo, S.d.S.; Sales, H.; Pontes, R.; Nunes, J. Douro Vineyards: A Perspective for the Valorization and Conservation of Grapevine Genetic Resources. Agronomy 2024, 14, 245. [Google Scholar] [CrossRef] [Scilit]
- Characteristics of the Region. Available online: https://www.ivdp.pt/en/viticulture/region/characteristics-of-the-region/ (accessed on 2 October 2025).
- Instituto dos Vinhos do Douro e do Porto, I. P. Circular n. º 11/2020: Criação da Menção “Vinhas Velhas”, Para Utilização na Rotulagem dos Vinhos DOP Porto, DOP Douro e IGP Duriense. Available online: https://www.ivdp.pt/pt/agentes-economicos/circulares/ (accessed on 7 October 2025).
- Old vines in the Douro: The Heritage, the Commitment. Available online: https://www.oldvines.org/blog/old-vines-douro (accessed on 29 September 2025).
- Augusto, D.; Ibáñez, J.; Pinto-Sintra, A.L.; Falco, V.; Leal, F.; Martínez-Zapater, J.M.; Oliveira, A.A.; Castro, I. Grapevine Diversity and Genetic Relationships in Northeast Portugal Old Vineyards. Plants 2021, 10, 2755. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Barrias, S.; Pereira, L.; Rocha, S.; Alves de Sousa, T.; Ibáñez, J.; Martins-Lopes, P. Identification of Portuguese traditional grapevines using molecular marker-based strategies. Sci. Hortic. 2023, 311, 111826. [Google Scholar] [CrossRef] [Scilit]
- Quinta do Crasto Vinha Maria Teresa. Available online: https://www.quintadocrasto.wine/en/products/quinta-crasto-vinha-maria-teresa/ (accessed on 11 January 2026).
- Adão, T.; Shahrabadi, S.; Mendes, J.; Bastardo, R.; Magalhães, L.; Morais, R.; Peres, E. Advancing digital ampelography: Automated classification of grapevine varieties. Comput. Electron. Agric. 2025, 229, 109675. [Google Scholar] [CrossRef] [Scilit]
- Chitwood, D.H.; Ranjan, A.; Martinez, C.C.; Headland, L.R.; Thiem, T.; Kumar, R.; Covington, M.F.; Hatcher, T.; Naylor, D.T.; Zimmerman, S.; et al. A modern ampelography: A genetic basis for leaf shape and venation patterning in grape. Plant Physiol. 2014, 164, 259–272. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- This, P.; Jung, A.; Boccacci, P.; Borrego, J.; Botta, R.; Costantini, L.; Crespan, M.; Dangl, G.S.; Eisenheld, C.; Ferreira-Monteiro, F.; et al. Development of a standard set of microsatellite reference alleles for identification of grape cultivars. Theor. Appl. Genet. 2004, 109, 1448–1458. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Carneiro, G.A.; Cunha, A.; Aubry, T.J.; Sousa, J. Advancing Grapevine Variety Identification: A Systematic Review of Deep Learning and Machine Learning Approaches. AgriEngineering 2024, 6, 4851–4888. [Google Scholar] [CrossRef] [Scilit]
- Laucou, V.; Lacombe, T.; Dechesne, F.; Siret, R.; Bruno, J.-P.; Dessup, M.; Dessup, T.; Ortigosa, P.; Parra, P.; Roux, C.; et al. High throughput analysis of grape genetic diversity as a tool for germplasm collection management. Theor. Appl. Genet. 2011, 122, 1233–1245. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Diago, M.P.; Fernandes, A.M.; Millan, B.; Tardaguila, J.; Melo-Pinto, P. Identification of grapevine varieties using leaf spectroscopy and partial least squares. Comput. Electron. Agric. 2013, 99, 7–13. [Google Scholar] [CrossRef] [Scilit]
- Milišić, K.; Sivčev, B.; Štajner, N.; Jakše, J.; Matijašević, S.; Nikolić, D.; Popović, T.; Ranković-Vasić, Z. Ampelographic and molecular characterisation of grapevine varieties in the gene bank of the experimental vineyard ‘Radmilovac’–Serbia. OENO One 2021, 55, 129–144. [Google Scholar] [CrossRef] [Scilit]
- Barrias, S.; Ibáñez, J.; Martins-Lopes, P. High resolution melting analysis of microsatellite markers applied to grapevine varietal fingerprinting throughout the wine production chain. Food Control 2024, 160, 110368. [Google Scholar] [CrossRef] [Scilit]
- Fernandes, A.; Utkin, A.; Eiras-Dias, J.; Silvestre, J.; Cunha, J.; Melo-Pinto, P. Assessment of grapevine variety discrimination using stem hyperspectral data and AdaBoost of random weight neural networks. Appl. Soft Comput. 2018, 72, 140–155. [Google Scholar] [CrossRef] [Scilit]
- Pereira, C.S.; Morais, R.; Reis, M.J.C.S. Deep learning techniques for grape plant species identification in natural images. Sensors 2019, 19, 4850. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Carneiro, G.; Pádua, L.; Sousa, J.J.; Peres, E.; Morais, R.; Cunha, A. Grapevine Variety Identification Through Grapevine Leaf Images Acquired in Natural Environment. In Proceedings of the 2021 IEEE International Geoscience and Remote Sensing Symposium (IGARSS); IEEE: Piscataway, NJ, USA, 2021; pp. 7055–7058. [Google Scholar]
- Carneiro, G.S.; Ferreira, A.; Morais, R.; Sousa, J.J.; Cunha, A. Analyzing the Fine Tuning’s impact in Grapevine Classification. Procedia Comput. Sci. 2022, 196, 364–370. [Google Scholar] [CrossRef] [Scilit]
- Carneiro, G.; Neto, A.; Teixeira, A.; Cunha, A.; Sousa, J. Evaluating Data Augmentation for Grapevine Varieties Identification. In Proceedings of the IGARSS 2023—2023 IEEE International Geoscience and Remote Sensing Symposium; IEEE: Piscataway, NJ, USA, 2023; pp. 3566–3569. [Google Scholar]
- Sarosa, M.; Maŕifah, P.N.; Kusumawardani, M.; Al Riza, D.F. Vitis Vinera L. Leaf Detection using Faster R-CNN. BIO Web Conf. 2024, 117, 01021. [Google Scholar] [CrossRef] [Scilit]
- Peng, J.; Ouyang, C.; Peng, H.; Hu, W.; Wang, Y.; Jiang, P. MultiFuseYOLO: Redefining Wine Grape Variety Recognition through Multisource Information Fusion. Sensors 2024, 24, 2953. [Google Scholar] [CrossRef] [Scilit]
- Ultralytics. Ultralytics YOLO11. Ultralytics YOLO Docs. Available online: https://docs.ultralytics.com/models/yolo11/ (accessed on 25 February 2026).
- Chapman, P. CRISP-DM 1.0: Step-by-Step Data Mining Guide. Available online: https://api.semanticscholar.org/CorpusID:59777418 (accessed on 11 April 2026).
- Vlah, M. Grapevine Leaves. Available online: https://www.kaggle.com/ds/1248678 (accessed on 26 February 2025).
- Koklu, M.; Unlersen, M.F.; Ozkan, I.A.; Aslan, M.F.; Sabanci, K. A CNN-SVM study based on selected deep features for grapevine leaves classification. Measurement 2022, 188, 110425. [Google Scholar] [CrossRef] [Scilit]
- Roboflow, Inc. Available online: https://roboflow.com/about (accessed on 25 February 2026).
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2016; pp. 770–778. [Google Scholar]
- Tan, M.; Le, Q.V. EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. Proc. Mach. Learn. Res. 2019, 97, 6105–6114. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.












