Aiming to determine the inaccurate image segmentation of strawberries with varying maturity levels due to fruit adhesion and stacking, this study proposed a strawberry image segmentation method based on the improved DeepLabV3+ model. The technique introduced the attention mechanism into the backbone network and the atrous spatial pyramid pooling module of the DeepLabV3+ network, adjusted the weights of feature channels in the neural network propagation process through the attention mechanism to enhance the feature information of strawberry images, reduced the interference of environmental factors, and improved the accuracy of strawberry image segmentation. The experimental results showed that the proposed method can accurately segment images of strawberries with different maturities; the mean pixel accuracy and mean intersection over union of the model were 90.9% and 83.05%, respectively, and the frames per second (FPS) was 7.67. The method can effectively reduce the influence of environmental factors on strawberry image segmentation and provide an effective approach for accurate operation of strawberry picking robots.
Raycasting is the most commonly used target selection technique in virtual reality. However, the accurate selection of small and remote objects remains challenging. Inspired by the 2D fan cursor method, we present FanRay: a selection technique applying a fan mechanism to ray-casting to select the nearest target within a fan-shaped activation area, which is defined by the movement velocity and orientation of the controller. We first introduce the selection principle and display styles of FanRay. We then design an experiment to identify the appropriate fan angle range and evaluate the performance of FanRay with Raycasting, the most commonly used selection technology. The results show that FanRay performs better than Raycasting, with shorter selection times, smaller movement angles, and a better user experience.
To address challenges such as severe occlusion caused by the dense growth of blueberry fruits in natural environments, complex backgrounds, and the limited computational resources of agricultural edge devices, this study proposes BR-DETR-Prune, a lightweight object detection model oriented towards edge computing environments. Based on the RT-DETR architecture, the model introduces a PConv-based FasterNet as the backbone network, which effectively reduces memory access latency and floating-point operation costs. Furthermore, it utilizes a “Gather-and-Distribute” (GD) mechanism to reconstruct the feature fusion neck. Through the unified aggregation and multi-branch distribution of global information, it significantly enhances the model’s feature extraction capability for dense and overlapping targets. An AIFI-RepBN encoder is designed, integrating re-parameterization technology into the attention module to further reduce computational redundancy. For lightweight processing, a random channel pruning strategy based on the “Lottery Ticket Hypothesis” is adopted to perform structural compression and fine-tuning on the model, achieving a significant reduction in the number of parameters while inversely improving accuracy. The experimental results demonstrate that BR-DETR-Prune achieves an mAP@0.5 of 97.1% on a self-built blueberry dataset, with only 15.52 M parameters and a computational load reduced to 34.0 GFLOPs. Its comprehensive performance is superior to mainstream models such as YOLOv8, YOLO11, and the original RT-DETR. Particularly, deployment testing on the NVIDIA Jetson Orin Nano Super embedded edge computing platform reveals that the model achieves a real-time inference speed of 20.5 FPS under FP16 precision, exhibiting smooth detection frames and strong robustness against occlusion. This study provides an effective optimization solution for the deployment of high-precision Transformer architectures on low-computational-power devices, offering an efficient and reliable visual perception approach for automated blueberry harvesting and yield estimation.