College of Information Science and Engineering, Henan University of Technology, Zhengzhou 450001, China.
Key Laboratory of Grain Information Processing and Control, Henan University of Technology, Ministry of Education, Zhengzhou 450001, China.
Sensors (Basel). 2023 Mar 23;23(7):3379. doi: 10.3390/s23073379.
The grade of wheat quality depends on the proportion of unsound kernels. Therefore, the rapid detection of unsound wheat kernels is important for wheat rating and evaluation. However, in practice, unsound kernels are hand-picked, which makes the process time-consuming and inefficient. Meanwhile, methods based on traditional image processing cannot divide adherent particles well. To solve the above problems, this paper proposed an unsound wheat kernel recognition algorithm based on an improved mask RCNN. First, we changed the feature pyramid network (FPN) to a bottom-up pyramid network to strengthen the low-level information. Then, an attention mechanism (AM) module was added between the feature extraction network and the pyramid network to improve the detection accuracy for small targets. Finally, the regional proposal network (RPN) was optimized to improve the prediction performance. Experiments showed that the improved mask RCNN algorithm could identify the unsound kernels more quickly and accurately while handling adhesion problems well. The precision and recall were 86% and 91%, respectively, and the inference time on the test set with about 200 targets for each image was 7.83 s. Additionally, we compared the improved model with other existing segmentation models, and experiments showed that our model achieved higher accuracy and performance than the other models, laying the foundation for wheat grading.
小麦的品质等级取决于不完善粒的比例。因此,快速检测不完善粒对小麦的定级和评价非常重要。然而,在实际操作中,不完善粒是人工挑选的,这使得过程耗时且效率低下。同时,基于传统图像处理的方法无法很好地分离粘连颗粒。为了解决上述问题,本文提出了一种基于改进的掩模 RCNN 的不完善粒小麦识别算法。首先,我们将特征金字塔网络(FPN)改为自下而上的金字塔网络,以增强低层次信息。然后,在特征提取网络和金字塔网络之间添加了一个注意力机制(AM)模块,以提高小目标的检测精度。最后,优化了区域提议网络(RPN),以提高预测性能。实验表明,改进的掩模 RCNN 算法能够更快、更准确地识别不完善粒,同时很好地处理粘连问题。在每张图像约有 200 个目标的测试集上,精度和召回率分别达到 86%和 91%,推理时间为 7.83s。此外,我们将改进后的模型与其他现有的分割模型进行了比较,实验表明,我们的模型比其他模型具有更高的准确性和性能,为小麦分级奠定了基础。