Abstract
In view of the low efficiency of manual input of chemical equations into electronic documents,high computational complexity and difficulty in manual balancing chemical equations,a new method for automatic recognition and automatic input of handwritten chemical equations by residual capsule enhanced network and automatic square matching program by computer was proposed.In order to segment the chemical equation into a single chemical character accurately,the improved projection method and the minimum outer border combination algorithm are used to segment the chemical equation.On the basis of the traditional capsule network,the residual convolution sub network is combined with the enhanced capsule,and two levels of primary capsule are introduced to improve the performance of the network to obtain the diversity characteristics,and then the chemical equation recognition is solved.An improved Gaussian elimination algorithm is used to solve the problem of chemical equation automatic balancing.The experimental results show that the recognition rate of residual capsule enhanced network is 94.97%,which is better than the traditional classical algorithm.The accuracy of the improved Gaussian elimination algorithm is 95.35%,which is 9.46% higher than the traditional Gaussian elimination algorithm.This algorithm has certain application value in automatic recognition and balancing of handwritten chemical equations.
|