Machine vision has been recently utilized for quality control of food and agricultural products, which was traditionally done by manual inspection. The present study was an attempt for automatic defect detection and s...Machine vision has been recently utilized for quality control of food and agricultural products, which was traditionally done by manual inspection. The present study was an attempt for automatic defect detection and sorting of some single-color fruits such as banana and plum. Fruit images were captured using a color digital camera with capturing direction of zero degree and under illuminant D65. It was observed that growing decay and time-aging made surface color changes in bruised parts of the object. 3D RGB and HSV color vectors as well as a single channel like H (hue), S (saturation), V (value) and grey scale images were applied for color quantization of the object. Results showed that there was a distinct threshold in the histogram of the S channel of images which can be applied to separate the object from its background. Moreover, the color change via the defect and time-aging is correctly distinguishable in the hue channel image. The effect of illumination, gloss and shadow of 3D image processing is less noticeable for hue data in comparison to saturation and value. The value of H channel was quantized to five groups based on the difference between each pixel value and the H value of a healthy object. The percentage of different degree of defects can be computed and used for grading the fruits.展开更多
嵌入式设备中部署深度学习检测模型往往面临算力不足的问题,而感兴趣区域(ROI)提取可作为一种高效的性能优化手段。文章提出一种基于HSV(Hue,Saturation,Value)色彩空间模型的ROI提取的方法,将检测目标的像素信息转化到HSV色彩空间,在色...嵌入式设备中部署深度学习检测模型往往面临算力不足的问题,而感兴趣区域(ROI)提取可作为一种高效的性能优化手段。文章提出一种基于HSV(Hue,Saturation,Value)色彩空间模型的ROI提取的方法,将检测目标的像素信息转化到HSV色彩空间,在色相-饱和度(H-S)平面引入DBSCAN(Density-Based Spatial Clustering of Applications with Noise)聚类算法,精确定位目标的主色彩像素在H-S平面上的分布位置,同时过滤杂乱色彩,然后通过Quickhull(快壳)凸包算法,从散点数据中拟合出主色彩的精确分布范围。根据获取的主色彩范围对像素进行遍历,可以根据色彩信息有效地提取ROI。实验结果表明,经过该方法优化后的Faster R-CNN(Faster Regions with Convolutional Neural Networks)算法,较原模型减少了57.08%的平均推理耗时,同时精确率提升了0.9百分点。这对于嵌入式设备中进行实时目标检测具有重要的现实意义。展开更多
文摘Machine vision has been recently utilized for quality control of food and agricultural products, which was traditionally done by manual inspection. The present study was an attempt for automatic defect detection and sorting of some single-color fruits such as banana and plum. Fruit images were captured using a color digital camera with capturing direction of zero degree and under illuminant D65. It was observed that growing decay and time-aging made surface color changes in bruised parts of the object. 3D RGB and HSV color vectors as well as a single channel like H (hue), S (saturation), V (value) and grey scale images were applied for color quantization of the object. Results showed that there was a distinct threshold in the histogram of the S channel of images which can be applied to separate the object from its background. Moreover, the color change via the defect and time-aging is correctly distinguishable in the hue channel image. The effect of illumination, gloss and shadow of 3D image processing is less noticeable for hue data in comparison to saturation and value. The value of H channel was quantized to five groups based on the difference between each pixel value and the H value of a healthy object. The percentage of different degree of defects can be computed and used for grading the fruits.
文摘嵌入式设备中部署深度学习检测模型往往面临算力不足的问题,而感兴趣区域(ROI)提取可作为一种高效的性能优化手段。文章提出一种基于HSV(Hue,Saturation,Value)色彩空间模型的ROI提取的方法,将检测目标的像素信息转化到HSV色彩空间,在色相-饱和度(H-S)平面引入DBSCAN(Density-Based Spatial Clustering of Applications with Noise)聚类算法,精确定位目标的主色彩像素在H-S平面上的分布位置,同时过滤杂乱色彩,然后通过Quickhull(快壳)凸包算法,从散点数据中拟合出主色彩的精确分布范围。根据获取的主色彩范围对像素进行遍历,可以根据色彩信息有效地提取ROI。实验结果表明,经过该方法优化后的Faster R-CNN(Faster Regions with Convolutional Neural Networks)算法,较原模型减少了57.08%的平均推理耗时,同时精确率提升了0.9百分点。这对于嵌入式设备中进行实时目标检测具有重要的现实意义。