摘要
甲烷传感器材质存在光反射,显示面板上有附着物,造成甲烷传感器自动检定系统采集的传感器数值图像质量较差,对字符识别困难。而现有的基于机器学习的仪表字符识别方法识别率较低、算法运行速度较慢。针对上述问题,提出了一种基于改进卷积神经网络(CNN)-支持向量机(SVM)的甲烷传感器数显识别方法。通过图像增强、数值区域图像提取、图像分割、小数点定位等4个步骤对甲烷传感器数值图像进行预处理,并将处理后的数字图像作为自定义数据集。针对CNN-SVM模型运行时间较长的问题,使用PCA算法对CNN全连接层提取的图像特征进行降维处理,用最主要数据特征代替原始数据作为SVM分类器的样本进行分类识别。在自建数据集上的验证结果表明,与传统CNN模型和CNN-SVM模型相比,改进CNN-SVM模型的准确率更高,运行时间更短。在经典MNIST数据集上的验证结果表明,综合考虑精度和实时性要求,改进CNN-SVM模型的综合性能优于CRNN,SSD,YOLOv3,Faster R-CNN等模型。采用微型高清USB摄像头采集甲烷传感器数值图像,将训练好的改进CNN-SVM模型移植到树莓派中进行图像处理和识别,结果表明,基于改进CNN-SVM的甲烷传感器数显识别方法的识别成功率为99%,与仿真分析结果一致。
The methane sensor material has light reflection,and there are attachments on the display panel,which causes the poor quality of the sensor numerical image collected by the automatic verification system of methane sensor,and the difficulty of character recognition.However,the existing instrument character recognition methods based on machine learning have low recognition rate and slow algorithm running speed.In order to solve the above problems,a digital recognition method of methane sensor based on improved convolutional neural network(CNN)and support vector machine(SVM)is proposed.The numerical image of methane sensor is preprocessed by four steps,including image enhancement,numerical region image extraction,image segmentation and decimal point positioning.And the processed digital images are taken as a custom data set.In order to solve the problem of long running time of the CNN-SVM model,PCA algorithm is used to reduce the dimension of the image characteristics extracted from the CNN fully connected layer,and the most important data characteristics are used to replace the original data as the samples of the SVM classifier for classification and recognition.The verification results on the custom dataset show that the improved CNN-SVM model has higher accuracy and shorter running time than the traditional CNN model and CNN-SVM model.The verification results on the classical MNIST dataset show that considering the precision and real-time requirements,the improved CNN-SVM model has better comprehensive performance than CRNN,SSD,YOLOv3 and Faster R-CNN.A micro high-definition USB camera is used to collect the numerical images of methane sensor.The trained improved CNN-SVM model is transplanted to raspberry pi for image processing and recognition.The results show that the recognition success rate of methane sensor digital recognition method based on improved CNN-SVM is 99%,which is consistent with the simulation analysis results.
作者
唐守锋
史经灿
周楠
赵仁慈
仝光明
黄洁
TANG Shoufeng;SHI Jingcan;ZHOU Nan;ZHAO Renci;TONG Guangming;HUANG Jie(School of Information and Control Engineering, China University of Mining and Technology, Xuzhou 221116, China)
出处
《工矿自动化》
北大核心
2022年第1期53-57,共5页
Journal Of Mine Automation
基金
国家重点研发计划项目(2017YFF0205500)。
关键词
甲烷传感器
数值图像
数显识别
卷积神经网络
支持向量机
主成分分析
methane sensor
numerical image
digital recognition
convolutional neural network
support vector machine
principal component analysis