基于机器视觉技术的淡水鱼质量分级

    Weight grading of freshwater fish based on computer vision

    • 摘要: 为了便于淡水鱼后续加工,需要对其进行大小分级,而且分级是淡水鱼加工前处理的重要工序之一。该研究收集86条淡水鱼为试验样本,利用机器视觉技术获取淡水鱼样本图像,对样本图像进行灰度化、二值化、轮廓提取等预处理,获取长短轴、投影面积等特征值。通过试验研究,建立有关鱼的头部、腹部和尾部的长度以及质量关系,运用各部分所占总质量的比例对特征值面积进行一定的校正,最后通过回归分析建立鱼体质量的预测模型。试验结果为:鱼体质量与投影面积之间是高度相关,其决定系数R2为0.9878,并对质量预测模型进行验证,验证相对误差均值为3.89%,绝对误差均值为6.81 g。试验结果表明,利用机器视觉技术可以为淡水鱼质量分级方法提供参考。

       

      Abstract: In order to facilitate the subsequent processing, it is necessary to develop a grading system for weight classification of freshwater fish automatically. In this study, 86 freshwater fish were collected as the test samples. With taking the image of each fish by the machine vision, and through the image processes:gray, binary conversion and contour extraction, the axis and the projected area of the crucian were extracted. By experiment, the proportional relations of the length with the weight of the head, the belly and the tail were found out, which were used to correct the projected area. Finally the prediction model was extracted by the regression analysis. The experiments showed that the weight of the fish was highly correlated with the projected area, the R2 was 0.9878; and the forecast model was verified. The mean relative error was 3.89% and the mean absolute error was 6.81 g. Results show that the computer vision can be used to grade the freshwater fish.

       

    /

    返回文章
    返回