Paper
28 July 2023 FPGA handwritten digit recognition system based on LSTM algorithm
Yifeng Zhu, Yangkun Li, Jikang Hu
Author Affiliations +
Proceedings Volume 12716, Third International Conference on Digital Signal and Computer Communications (DSCC 2023); 127160W (2023) https://doi.org/10.1117/12.2685632
Event: Third International Conference on Digital Signal and Computer Communications (DSCC 2023), 2023, Xi'an, China
Abstract
Intelligent applications such as digital recognition have problems in the process of training data and model inference, such as idle resources, low efficiency, high power consumption, etc. This paper mainly solves the problem by optimizing the LSTM model. The solution of the optimization model mainly includes the improvement of the matrix vector multiplication of the LSTM model and the improvement of the pruning algorithm. The improvement of the matrix vector multiplication of the LSTM model can reduce the calculation amount of the operation unit, Improve the recognition speed of the digital recognition system. The improvement of the pruning algorithm can reduce the resource consumption of the model parameters in storage, and can recognize more pictures and improve the recognition rate. The results of LSTM network implementation through training show that the speed of the system is about 250 times that of digital recognition using only the microcontroller core, and about 7.5 times that of general CPU.
© (2023) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Yifeng Zhu, Yangkun Li, and Jikang Hu "FPGA handwritten digit recognition system based on LSTM algorithm", Proc. SPIE 12716, Third International Conference on Digital Signal and Computer Communications (DSCC 2023), 127160W (28 July 2023); https://doi.org/10.1117/12.2685632
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Matrices

Education and training

Field programmable gate arrays

Data modeling

Detection and tracking algorithms

Digital signal processing

Mathematical optimization

Back to Top