Combining Object Detection with Geometry-Aware Clustering to Distinguish Overlapping Plants in UAV Imagery
Organizations: Department of Mathematics, Rowan University · Department of Geography, Planning, and Sustainability, Rowan University · Department of Computer Science, Rowan University
Abstract
Reliable plant-level information from unmanned aerial vehicle (UAV) imagery is important for automated crop monitoring. However, in dense crop canopies, adjacent plants frequently overlap and are detected as a single object, reducing the reliability of plant-level measurements. This study presents a geometry-aware post-detection framework for resolving overlapping plant instances using standard RGB UAV imagery. The framework combines object detection with geometric clustering of plant components. Leaves or branches detected within each bush-level region are represented using two complementary geometric features: component centroids and radial intersection points (RIPs) derived from detected plant structures. K-means and Gaussian mixture models determine whether a detected region contains a single plant or two overlapping plants. Density filtering suppresses spurious radial intersections, and a post-pipeline ensemble combines spatial and directional geometric information. The framework was evaluated using UAV imagery of eggplant and tomato crops under field conditions. Centroid-based clustering achieved an F1-score of 0.89 for eggplant, while the combined centroid-RIP approach achieved the best tomato performance, with an accuracy of 0.80, precision of 1.00, and F1-score of 0.75 using K-means. Density filtering substantially improved RIP-based clustering for tomato. The proposed approach provides a lightweight, modular engineering solution that can be integrated with existing RGB UAV monitoring pipelines without additional depth sensors, pixel-level segmentation, three-dimensional reconstruction, or retraining of the primary bush detector. The results demonstrate that geometric reasoning applied to existing detector outputs can complement deep-learning-based object detection and improve plant-level interpretation in dense agricultural canopies.
Figures & tables
| Vegetable | Number of Images | Number of Bush Annotations |
|---|---|---|
| Eggplant | 10 | 111 |
| Tomato | 20 | 138 |
| Vegetable | Number of Images | Number of Annotations |
|---|---|---|
| Eggplant | 14 | 5336 (leaf) |
| Tomato | 10 | 457 (branch) |
| Crop | Class | Tuning set | Validation set |
|---|---|---|---|
| Eggplant | 1-in-1 | 30 | 10 |
| 2-in-1 | 30 | 10 | |
| Tomato | 1-in-1 | 15 | 10 |
| 2-in-1 | 15 | 10 |
| Vegetable | Precision | Recall | mAP50 |
|---|---|---|---|
| Eggplant | 0.93728 | 0.93411 | 0.96104 |
| Tomato | 0.92753 | 0.8125 | 0.85404 |
| Vegetable | Precision | Recall | mAP50 |
|---|---|---|---|
| Eggplant (Leaf) | 0.91406 | 0.60297 | 0.72498 |
| Tomato (Branch) | 0.69936 | 0.75 | 0.73945 |
| Metric | K-means | GMM |
|---|---|---|
| Accuracy | 0.90000 | 0.90000 |
| Precision (2-in-1) | 1.00000 | 1.00000 |
| Recall (2-in-1) | 0.80000 | 0.80000 |
| F1-score (2-in-1) | 0.88889 | 0.88889 |
| Metric | K-means | GMM |
|---|---|---|
| Accuracy | 0.75000 | 0.75000 |
| Precision (2-in-1) | 1.00000 | 1.00000 |
| Recall (2-in-1) | 0.50000 | 0.50000 |
| F1-score (2-in-1) | 0.66667 | 0.66667 |
| Metric | K-means | GMM |
|---|---|---|
| Accuracy | 0.80000 | 0.75000 |
| Precision (2-in-1) | 0.87500 | 0.85714 |
| Recall (2-in-1) | 0.70000 | 0.60000 |
| F1-score (2-in-1) | 0.77778 | 0.70588 |
| Metric | K-means | GMM |
|---|---|---|
| Accuracy | 0.70000 | 0.65000 |
| Precision (2-in-1) | 0.66667 | 0.66667 |
| Recall (2-in-1) | 0.80000 | 0.60000 |
| F1-score (2-in-1) | 0.72727 | 0.63158 |
| Metric | K-means | GMM |
|---|---|---|
| Accuracy | 0.55000 | 0.55000 |
| Precision (2-in-1) | 0.66667 | 1.00000 |
| Recall (2-in-1) | 0.20000 | 0.10000 |
| F1-score (2-in-1) | 0.30769 | 0.18182 |
| Metric | K-means | GMM |
|---|---|---|
| Accuracy | 0.70000 | 0.35000 |
| Precision (2-in-1) | 0.70000 | 0.38462 |
| Recall (2-in-1) | 0.70000 | 0.50000 |
| F1-score (2-in-1) | 0.70000 | 0.43478 |
| Crop | Grid | K-means F1 | GMM F1 |
|---|---|---|---|
| 25 25 | 0.78 | 0.70 | |
| Eggplant | 30 30 | 0.72 | 0.57 |
| 35 35 | 0.70 | 0.625 | |
| 20 20 | 0.625 | 0.67 | |
| Tomato | 25 25 | 0.78 | 0.57 |
| 30 30 | 0.70 | 0.43 |
| Metric | K-means | GMM |
|---|---|---|
| Accuracy | 0.80000 | 0.80000 |
| Precision (2-in-1) | 0.80000 | 0.80000 |
| Recall (2-in-1) | 0.80000 | 0.80000 |
| F1-score (2-in-1) | 0.80000 | 0.80000 |
| Metric | K-means | GMM |
|---|---|---|
| Accuracy | 0.80000 | 0.40000 |
| Precision (2-in-1) | 1.00000 | 0.40000 |
| Recall (2-in-1) | 0.60000 | 0.40000 |
| F1-score (2-in-1) | 0.75000 | 0.40000 |
UAV Remote Sensing
Unmanned aerial vehicle (UAV) remote sensing uses drone-borne imagery and sensors to map, measure, and monitor Earth's surface.
See all 72 papers