College of Mechanical and Electronic Engineering, Shandong Agricultural University, Tai'an 271018, China.
College of Information Science and Engineering, Shandong Agricultural University, Tai'an 271018, China.
Sensors (Basel). 2021 Nov 25;21(23):7842. doi: 10.3390/s21237842.
Since the mature green tomatoes have color similar to branches and leaves, some are shaded by branches and leaves, and overlapped by other tomatoes, the accurate detection and location of these tomatoes is rather difficult. This paper proposes to use the Mask R-CNN algorithm for the detection and segmentation of mature green tomatoes. A mobile robot is designed to collect images round-the-clock and with different conditions in the whole greenhouse, thus, to make sure the captured dataset are not only objects with the interest of users. After the training process, RestNet50-FPN is selected as the backbone network. Then, the feature map is trained through the region proposal network to generate the region of interest (ROI), and the ROIAlign bilinear interpolation is used to calculate the target region, such that the corresponding region in the feature map is pooled to a fixed size based on the position coordinates of the preselection box. Finally, the detection and segmentation of mature green tomatoes is realized by the parallel actions of ROI target categories, bounding box regression and mask. When the Intersection over Union is equal to 0.5, the performance of the trained model is the best. The experimental results show that the F1-Score of bounding box and mask region all achieve 92.0%. The image acquisition processes are fully unobservable, without any user preselection, which are a highly heterogenic mix, the selected Mask R-CNN algorithm could also accurately detect mature green tomatoes. The performance of this proposed model in a real greenhouse harvesting environment is also evaluated, thus facilitating the direct application in a tomato harvesting robot.
由于成熟的绿番茄颜色与树枝和树叶相似,有些被树枝和树叶遮挡,与其他番茄重叠,因此准确检测和定位这些番茄相当困难。本文提出使用 Mask R-CNN 算法对成熟绿番茄进行检测和分割。设计了一个移动机器人来全天候采集整个温室中不同条件下的图像,以确保捕获的数据集不仅是用户感兴趣的对象。在训练过程中,选择 RestNet50-FPN 作为骨干网络。然后,通过区域提议网络对特征图进行训练,生成感兴趣区域(ROI),并使用 ROIAlign 双线性插值计算目标区域,以便根据预选框的位置坐标,将特征图中的相应区域池化到固定大小。最后,通过 ROI 目标类别、边界框回归和掩模的并行操作实现成熟绿番茄的检测和分割。当交并比等于 0.5 时,训练模型的性能最佳。实验结果表明,边界框和掩模区域的 F1-Score 均达到 92.0%。图像采集过程完全不可见,无需用户预选,是高度异质的混合,所选的 Mask R-CNN 算法也能准确检测成熟绿番茄。还评估了该模型在实际温室收获环境中的性能,从而便于在番茄收获机器人中直接应用。