APP下载

一种基于GoogLeNet卷积神经网络的木节缺陷识别方法

2021-08-23高明宇倪海明张博洋陈剑峰戚大伟牟洪波

森林工程 2021年4期

高明宇 倪海明 张博洋 陈剑峰 戚大伟 牟洪波

摘 要:为了能够对木节缺陷进行准确识别,减少木材的浪费,本研究在Pytorch深度学习框架的基础上,提出一种基于GoogLeNet卷积神经网络的木节缺陷识别方法。该方法利用GoogLeNet网络对朽节、干节和死节等7种云杉木节缺陷的RGB图像进行自动提取特征,不需要对图像进行预处理,即可实现分类识别,采用全局平均池化的方法来代替全连接层,减少网络的参量。同时为了防止网络的过拟合,在网络中使用Dropout机制。实验结果表明,利用该卷积神经网络对7种木节缺陷的识别率可以达到95.42%,在木节缺陷图像處理中,GoogLeNet模型能准确有效地识别木节缺陷。

关键词:卷积神经网络;GoogLeNet;木节缺陷图像;缺陷识别

中图分类号:S781.1; TP312    文献标识码:A   文章编号:1006-8023(2021)04-0066-05

A Method for Recognizing Wood Knots Defects Based on GoogLeNet

Convolutional Neural Network

GAO Mingyu, NI Haiming, ZHANG Boyang, CHEN Jianfeng, QI Dawei* , MU Hongbo*

(College of Science, Northeast Forestry University, Harbin 150040, China)

Abstract:In order to recognize the knots accurately and reduce the waste of wood, a method of recognizing the knots based on GoogLeNet convolution neural network based on the deep learning framework of Pytorch was proposed in this paper. This method used GoogLeNet network to extract features automatically from RGB images of seven kinds of spruce knots, such as decayed knots, dry knots and encased knots et al, so that classification and recognition can be realized without image preprocessing. Global average pooling was used to replace the fully connected layer, and the network parameters can be reduced. At the same time, in order to prevent over-fitting, Dropout mechanism was used in the network. The experimental results showed that, the recognition accuracy of seven kinds of knot defects using the convolutional neural network can reach 95.42%, and the GoogLeNet can identify the knots accurately and effectively in the image processing of wood knot defects.

Keywords:Convolutional neural network; GoogLeNet; wood knot defect image; defect recognition

收稿日期:2021-03-12

基金项目:中央高校基本科研业务费专项资金资助项目(2572020BC07);国家自然科学基金项目(31570712)

第一作者简介:高明宇,硕士研究生。研究方向为图像处理与模式识别。E-mail: gmy0523@foxmail.com

*通信作者:戚大伟,博士,教授。研究方向为生物图像信息处理与识别。E-mail: qidw9806@126.com

*并列通信作者:牟洪波,博士,副教授。研究方向为生物图像信息处理与识别。E-mail: mhb-506@163.com

引文格式:高明宇,倪海明,张博洋,等. 一种基于GoogLeNet卷积神经网络的木节缺陷识别方法[J].森林工程,2021,37(4):66-70.

GAO M Y, NI H W, ZHANG B Y, et al. A method for recognizing wood knots defects based on GoogLeNet convolutional neural network [J]. Forest Engineering,2021,37(4):66-70.

0 引言

森林资源作为地球生态的一部分,具有不可替代性[1]。木材缺陷的分类识别对于有效降低森林资源的消耗,提高木材加工业的自动化水平具有潜在的意义。

数字图像处理与人工智能算法相结合是木节缺陷检测与分类的常用方法。……

登录APP查看全文