Lightweight detector improves urban street-tree crown localization across
In an original research study published in Frontiers in Forests and Global Change, researchers Xinnian Yang, Hongyang Liu, and Xiangfeng Bu report that a lightweight computer-vision detector called BCP-YOLO11n improves urban street-tree crown localization whil
Illustrative imageIn an original research study published in Frontiers in Forests and Global Change, researchers Xinnian Yang, Hongyang Liu, and Xiangfeng Bu report that a lightweight computer-vision detector called BCP-YOLO11n improves urban street-tree crown localization while using 14.34% fewer parameters than its YOLO11n baseline. Evaluated across three independent training runs on a newly built dataset of 2,313 photographs covering eight common street-tree species in China, the model achieved a mean precision of 99.03%, a recall of 99.18%, and a mean average precision at an intersection-over-union threshold of 0.50 (mAP50) of 99.30%. While mAP50 rose by a modest 0.60 percentage points over the 98.70% baseline, larger gains emerged under stricter overlap criteria, with AP75 increasing by 5.00 percentage points to 91.42% and mAP50–95 rising by 2.55 percentage points to 79.86%. These descriptive comparisons reflect performance on a fixed dataset split rather than verified city-wide deployment.
Urban street trees form core components of city green-space systems, improving environmental comfort by filtering air, providing shade, sequestering carbon, and releasing oxygen. As urban landscaping shifts toward digital monitoring and refined management, accurate species identification underpins tree censuses, pest and disease early warnings, and greening planning. Conventional surveys still depend heavily on on-site identification and manual recording by professionals, an approach the authors describe as inefficient, costly, and difficult to keep objective and timely. Although deep-learning detectors based on the You Only Look Once (YOLO) framework have advanced automated tree recognition, urban streets pose three persistent challenges: canopies of different species share similar textures against cluttered backgrounds of buildings, vehicles, and pedestrians; tree scales vary widely with growth stage and camera distance, complicating multi-scale feature fusion; and high-precision models often carry heavy computational demands that raise costs for large-scale surveys.
To evaluate a compact alternative, the researchers built the publicly released RT_dataset from photographs collected between June 16 and July 30, 2025, in Shiyan, Hubei Province, and Yangxian County in Hanzhong, Shaanxi Province, China. Images were captured at camera-to-tree distances of roughly 2 to 5 meters, mainly from upward-looking viewpoints, across eight species: Sophora japonica (343 images), cypress (Juniperus chinensis “Pyramidalis”, 339), camphor tree (Cinnamomum camphora, 323), crape myrtle (Lagerstroemia indica, 305), Magnolia grandiflora (289), glossy privet (Ligustrum lucidum, 243), osmanthus tree (Osmanthus fragrans, 240), and pear tree (Pyrus pyrifolia, 231). Only camphor and osmanthus were sampled in both regions, while the other six came solely from Yangxian. After removing severe blur, exposure or color distortion, partial-branch shots, and targets exceeding 50% occlusion, 2,313 images were resized to 3072 by 4096 pixels, annotated in LabelImg, and split 8:1:1 into 1,850 training, 235 validation, and 228 test images. Manual review kept similar backgrounds within the same subset, though spatial separation was not quantified by distance.
Starting from YOLO11n, BCP-YOLO11n combines three modifications targeting feature extraction, refinement, and multi-scale fusion. First, the baseline backbone is replaced by a lightweight PP-LCNet-based network using depthwise separable convolutions, h-swish activations, and squeeze-and-excitation channel attention. By separating spatial filtering from channel mixing, a 3-by-3 depthwise separable convolution approaches roughly one-ninth the computational cost of a standard convolution as output channels grow. Second, a convolutional block attention module (CBAM) sits immediately before the SPPF block at the end of the backbone. CBAM sequentially applies channel attention—using global average and max pooling through a shared multilayer perceptron—and spatial attention via channel-wise pooling and a 7-by-7 convolution to reweight informative canopy features and their spatial locations. Third, the neck introduces four weighted bidirectional feature pyramid network (BiFPN) fusion nodes arranged as two top-down and two bottom-up passes before C3k2 blocks, using learned normalized scalar weights to fuse backbone features across strides 8, 16, and 32.
All comparative and ablation experiments ran on Ubuntu 22.04 with PyTorch 2.7.0, CUDA 12.8, and an NVIDIA RTX 5090 GPU containing 32 gigabytes of memory. Models processed 640-by-640 pixel inputs in batches of 32 using stochastic gradient descent with an initial learning rate of 0.01, momentum of 0.937, weight decay of 0.0005, deterministic training, a 300-epoch ceiling, and early stopping after 30 epochs without validation-fitness gains. Augmentations—HSV adjustments, translation, scaling, horizontal flipping, and Mosaic—were restricted to the training subset, and every model started from official pretrained weights rather than full random initialization. Across three runs with random seeds 0, 1, and 2 on the same split, BCP-YOLO11n posted the highest mean scores among ten evaluated detectors, outperforming Faster R-CNN, FCOS, RetinaNet, RT-DETR, D-FINE, YOLOv3u, YOLOv5n, YOLOv8n, and YOLO11n. D-FINE led non-YOLO models with 88.90% AP75 and 78.20% mAP50–95, yet trailed BCP-YOLO11n across all five metrics.
Ablation experiments showed how each module shaped performance and resource use. Replacing YOLO11n’s backbone with PP-LCNet alone slightly lowered mean mAP50–95 from 77.31% to 77.05%, but achieved the lowest latency (4.989 milliseconds, or 200.43 frames per second), smallest file size (4.511 megabytes), and lowest peak GPU memory (73.251 mebibytes) among backbone options. MobileNet achieved marginally higher detection scores than PP-LCNet alone, yet expanded file size to 18.343 megabytes and peak memory to 104.046 mebibytes. Among attention modules, CBAM edged out SE and ECA on all five detection metrics while keeping the smallest file size at 5.299 megabytes. In the neck, BiFPN surpassed FPN and PANet in precision, mAP50, AP75, and mAP50–95 with a smaller 5.339-megabyte file size, though with lower recall. All dual-module combinations beat single-module edits on AP75 and mAP50–95, and the complete model achieved the highest detection scores while running faster (8.976 milliseconds) than dual-module variants (10.303 to 12.275 milliseconds), showing runtime costs do not combine additively.
Complexity and inference measurements reveal a nuanced lightweight profile. Although BCP-YOLO11n has more layers than YOLO11n—327 versus 238—it reduces total parameters from 2.58 million to 2.21 million. Model file size drops by 13.3%, from 5.256 megabytes to 4.558 megabytes, and peak GPU memory falls by 7.2%, from 75.803 mebibytes to 70.361 mebibytes. End-to-end latency decreases by approximately 3.5%, from 9.303 ± 1.980 milliseconds to 8.976 ± 0.376 milliseconds, lifting throughput by roughly 3.6% from 107.49 to 111.41 frames per second. Arithmetic workload measured in giga floating-point operations remained nearly unchanged, however, at 6.30 GFLOPs versus 6.32 GFLOPs for YOLO11n. The authors note that these results support lower storage and memory demands with a modest runtime gain rather than a large reduction in computation, favoring BCP-YOLO11n when detection performance is prioritized within a compact model rather than minimum latency alone.
Species-level analyses highlighted a clear gap between recognizing a tree species and delineating its crown boundary. In normalized confusion matrices, YOLO11n recorded correct-class diagonal proportions of 0.79 for camphor, 0.67 for glossy privet, and 0.89 for osmanthus; BCP-YOLO11n raised those proportions to 0.93, 0.94, and 1.00. In class-wise average precision results, BCP-YOLO11n held AP50 at or above 98.75% across all eight species, whereas AP75 and mAP50–95 declined more steeply, indicating that residual errors often involve imprecise bounding boxes around irregular or partly occluded crowns rather than misclassified species. Cypress (Juniperus chinensis “Pyramidalis”) remained the most challenging class under stricter IoU thresholds: BCP-YOLO11n lifted its AP75 by 5.65 percentage points to 85.90% and its AP50–95 by 2.55 percentage points to 72.40%, yet both lagged behind most other species. The authors suggest that elongated, fine-grained, visually repetitive foliage blurs cypress crown edges against surrounding vegetation, matching gradient-based activation heatmaps.
To test generalization without retraining or fine-tuning, the researchers evaluated the three trained weight sets on two external 40-image benchmarks covering all eight species. On 40 Internet-sourced images from Baoding in Hebei Province and Qufu in Shandong Province, BCP-YOLO11n outperformed YOLO11n on every metric, raising precision by 6.2 percentage points to 88.7%, recall by 7.4 points to 86.2%, mAP50 by 5.8 points to 90.4%, AP75 by 8.0 points to 75.8%, and mAP50–95 by 7.9 points to 65.1%. On 40 manually annotated multi-tree street scenes featuring vehicle occlusion and overlapping crowns, BCP-YOLO11n again led YOLO11n—lifting mAP50 from 66.8% to 72.6%, AP75 from 45.0% to 51.7%, and mAP50–95 from 36.9% to 42.6%—but absolute scores dropped sharply from RT_dataset. In one illustrated Sophora japonica scene, BCP-YOLO11n detected two trees where YOLO11n found one, including a vehicle-occluded tree, yet assigned low confidence scores of 0.32 and 0.30 and missed a heavily overlapping third tree.
Several explicit limitations bound how these findings should be interpreted. Because the three training runs shared one fixed split, reported standard deviations capture training randomness rather than sampling uncertainty across new environments or formal statistical significance between models. The RT_dataset reflects only June and July foliage photographed at close range from upward-looking angles with heavily occluded targets excluded, leaving seasonal changes—such as leaf-off states, flowering, fruiting, leaf-color shifts, and pruning—as well as false detections on unlisted species untested. Moreover, the 40-image regional set is too small to prove broad geographic robustness, and all runtime and memory figures were measured solely on an RTX 5090 desktop GPU rather than mobile or embedded edge devices. Moving from this benchmark to operational urban tree inventories will require multi-season and multi-site datasets, botanical validation, confidence-threshold calibration, testing on target deployment hardware, and cross-frame linking to avoid double counting.
Subject of Research: Lightweight deep-learning object detection for urban street-tree species identification and crown localization
Article Title: BCP-YOLO11n: a lightweight target detection algorithm for urban street trees
Article References: Yang, X., Liu, H., & Bu, X. (2026). BCP-YOLO11n: a lightweight target detection algorithm for urban street trees. Frontiers in Forests and Global Change, 9, Article 1915644. https://doi.org/10.3389/ffgc.2026.1915644
Image Credits: AI Generated
DOI: 10.3389/ffgc.2026.1915644
Keywords: BCP-YOLO11n, YOLO11n, urban street trees, object detection, computer vision, deep learning, PP-LCNet, CBAM, BiFPN, crown localization, tree species identification, RT_dataset, lightweight neural networks, urban forestry, multi-scale feature fusion, ablation study, canopy occlusion, inference efficiency
News Source: Blake Davidson. (December 4, 2026). Lightweight detector improves urban street-tree crown localization across eight species. Scienmag.
