FPGA Implementation of Convolutional Neural Network for Real-Time Handwriting Recognition

Auteurs : Shichen Qiao, Haining Qiu, Lingkai Zhao, Qikun Liu, Eric J. Hoffman

Soumis à arXiv le 23 Jui. 2023
Licence : CC BY 4.0
Résumé scientifique

Machine Learning (ML) has recently been a skyrocketing field in Computer Science. As computer hardware engineers, we are enthusiastic about hardware implementations of popular software ML architectures to optimize their performance, reliability, and resource usage. In this project, we designed a highly-configurable, real-time device for recognizing handwritten letters and digits using an Altera DE1 FPGA Kit. We followed various engineering standards, including IEEE-754 32-bit Floating-Point Standard, Video Graphics Array (VGA) display protocol, Universal Asynchronous Receiver-Transmitter (UART) protocol, and Inter-Integrated Circuit (I2C) protocols to achieve the project goals. These significantly improved our design in compatibility, reusability, and simplicity in verifications. Following these standards, we designed a 32-bit floating-point (FP) instruction set architecture (ISA). We developed a 5-stage RISC processor in System Verilog to manage image processing, matrix multiplications, ML classifications, and user interfaces. Three different ML architectures were implemented and evaluated on our design: Linear Classification (LC), a 784-64-10 fully connected neural network (NN), and a LeNet-like Convolutional Neural Network (CNN) with ReLU activation layers and 36 classes (10 for the digits and 26 for the case-insensitive letters). The training processes were done in Python scripts, and the resulting kernels and weights were stored in hex files and loaded into the FPGA's SRAM units. Convolution, pooling, data management, and various other ML features were guided by firmware in our custom assembly language. This paper documents the high-level design block diagrams, interfaces between each System Verilog module, implementation details of our software and firmware components, and further discussions on potential impacts.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche Même question
    Handwriting recognition system based on FPGA
    Y. Huang, Jianmin Wang, Shu Li · 2019 · Journal of Physics, Conference Series · Pas encore résumé

    Handwriting recognition system based on FPGA reconnaît les chiffres MNIST avec un CNN implanté sur FPGA, comme ce projet de reconnaissance des lettres et chiffres manuscrits.

    Résumé scientifique

    An FPGA-based handwriting recognition system is proposed in this paper, which uses convolutional neural network algorithm to realize the recognition of MNIST digital sets. Hardware design techniques including image cropping, convolution, activation functions, pooling, pipeline processing, and parallel processing of multiple convolution kernels are described. Using the characteristics of parallel computing of hardware circuits, the processing speed of the MNIST digital set detection system is accelerated. The proposed MNIST detection architecture is designed using the Verilog HDL and implemented in the Altera DE2 FPGA development board.

  2. Très proche Autre approche du problème
    Efficient Implementation of a Lightweight AI Classification Model for Handwriting Detection on FPGA
    Mahdi Chavoshi, M. Z. Lighvan, Leili Mohammadkhanli · 2024 · East-West Design & Test Symposium · cité 1 fois · Pas encore résumé

    Efficient Implementation of a Lightweight AI Classification Model for Handwriting Detection on FPGA déploie un réseau quantifié et optimisé sur FPGA pour la reconnaissance manuscrite.

    Résumé scientifique

    Handwriting recognition is a critical technology for applications like digital document processing and real-time transcription. This paper presents the implementation of a handwriting detection neural network on a Field-Programmable Gate Array (FPGA) to achieve high efficiency and low latency. First the neural network is trained using Keras in Python, and then a quantization algorithm is applied on the parameters of the trained model. The obtained lightweight Neural Network model is used to implement the Verilog model that will be used for the classifier deployment on FPGA. Using quantization and parallel processing strategies, the Network is optimized and then the obtained weights are used …

  3. Très proche Autre approche du problème
    Design of handwritten digit recognition system based on FPGA
    Si-Yu Zhu, Hu Huang, Zhihong Hu et al. · 2021 · Other Conferences · cité 1 fois · Pas encore résumé

    Design of handwritten digit recognition system based on FPGA conçoit des blocs convolution et pooling par synthèse de haut niveau pour reconnaître des chiffres sur FPGA.

    Résumé scientifique

    Convolutional neural network(CNN) has achieved great success in various scenes of computer vision tasks. Nowadays, many computer vision applications need to be deployed on embedded devices. However, due to the huge amount of parameters and computation of CNN, many embedded devices are not competent for this requirement. Field programmable gate array(FPGA) has the characteristics of parallel computing and low power consumption, which makes it suitable for the deployment of the CNN model. In this paper, we use the high level synthesis(HLS) tool to design a convolution IP(Intellectual Property) core and a pooling IP core that can adapt to different kernel sizes and step sizes, and then deploy t…

  4. Très proche Même question
    Design and implementation of FPGA-based CNN algorithm for handwritten digit recognition
    Xiao-Ping Xu, Hong-Liang Fan, Fei-Yu Ma et al. · 2026 · International Conference on Cloud Computing, Performance Computing, and Deep Learning · Pas encore résumé

    Design and implementation of FPGA-based CNN algorithm for handwritten digit recognition exécute sur FPGA un CNN entraîné en Python pour classer des chiffres manuscrits.

    Résumé scientifique

    This project implements a CNN-based handwritten digit recognition system on an FPGA development board. A fully-connected neural network is first built and trained on the MNIST dataset using Python, after which the convolutional weights are extracted. A CMOS camera (OV5640, 5 MP) captures 0-to-9 handwritten images that are stored in on-chip ROM. The captured frames are converted to grayscale and binarized to simplify subsequent down-sampling, storage and computation. The core CNN inference is then executed in hardware through configurable convolution engines, and the final classification result is displayed on a VGA monitor (1024 × 720). The design targets a Zynq-7020 FPGA; all hardware modul…

  5. Très proche Même question
    Design and optimization of an on-chip Artificial neural network on FPGA for recognizing handwritten digits
    Rohit R. Kumbhar, P. Radhika, D. Mane · 2023 · 2023 International Conference on Recent Advances in Electrical, Electronics, Ubiquitous Communication, and Computational · cité 3 fois · Pas encore résumé

    Design and optimization of an on-chip Artificial neural network on FPGA for recognizing handwritten digits compare des architectures neuronales FPGA sur MNIST, pour reconnaître des chiffres manuscrits.

    Résumé scientifique

    Today's requirement for massive computation power and the inefficiency of deep learning applications are the significant drawbacks holding back the seamless integration of machine learning and deep learning in embedded systems. This paper aims to implement and optimize the neural network for handwritten digit recognition on low-power efficient FPGA devices. The comparative analysis of artificial neural architectures by varying the number of neurons in each layer is performed. This analysis comprises the accuracy of recognition with respect to the resource utilization of FPGAs. MNIST (Modified National Institute of Standards and Technology database) is used to test the neural network. For thi…

  6. Très proche Autre approche du problème
    FPGA Implementation of CNN for Handwritten Digit Recognition
    Rui Xiao, Jun-Sheng Shi, Chao Zhang · 2020 · 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC) · cité 28 fois · Pas encore résumé

    FPGA Implementation of CNN for Handwritten Digit Recognition crée des modules CNN RTL reconfigurables pour déployer différentes architectures de reconnaissance de chiffres.

    Résumé scientifique

    Convolutional neural networks (CNN) have been used very successfully in the field of handwritten digit recognition. CNN is difficult to deploy on the embedded platform because of its large computation, complex structure and frequent memory access. In this paper, a manual hardware-level design (i.e., RTL) CNN reconfigurable IP core method is proposed to construct the FPGA basic unit of the CNN structure. Reconfigurable convolution, pooling and fully connected modules in the CNN structure are designed. By setting the parameters of the reconfigurable modules and connecting these modules end-to-end, CNNs of different structure sizes can be quickly deployed. In the full connection module, using d…

  7. Très proche Autre approche du problème
    RTL Design of a CNN-Based FPGA Accelerator for Handwritten Digit Recognition
    Vivek Rathi, Vedant Kulkarni, H. Ingle et al. · 2026 · 2026 6th International Conference on Emerging VLSI and Semiconductor Technology for AI and Computing Applications (EVST) · Pas encore résumé

    RTL Design of a CNN-Based FPGA Accelerator for Handwritten Digit Recognition implémente en Verilog un LeNet modifié à virgule fixe pour reconnaître des chiffres manuscrits.

    Résumé scientifique

    Recognition of handwritten digits is necessary for applications such as document processing, banking operations, and mail classification. Even though software CNNs provide a high accuracy rate, their integration into embedded systems is restricted by their energy and computational demands. In this work, the implementation of a hardware accelerator based on a CNN for recognition of handwritten digits is proposed and its RTL-level simulation is performed. The target device is a Xilinx Kintex-7 xc7k325tffg900-2l FPGA. The architecture of a modified LeNet-5 CNN designed in Verilog and using fixedpoint arithmetic is used. After offline training in Python and conversion of the quantized weights an…

  8. Très proche Autre approche du problème
    Handwritten Digit Recognition Using Low Latency Convolutional Neural Network Architecture
    Kalarani K., S. P, Prakadeesh T. V. · 2025 · 2025 International Conference on Computational Innovations and Engineering Sustainability (ICCIES) · Pas encore résumé

    Handwritten Digit Recognition Using Low Latency Convolutional Neural Network Architecture vise une reconnaissance de chiffres manuscrits sur FPGA par un CNN optimisé pour la latence et les ressources.

    Résumé scientifique

    Convolutional Neural Networks (CNNs), a specialized type of feed-forward deep neural network, are widely used for efficient and accurate image recognition, playing a crucial role in various Artificial Intelligence applications. To meet the growing demand for low-power and area-efficient hardware accelerators, Field Programmable Gate Arrays (FPGAs) emerge as an ideal solution due to their high parallel processing capabilities, low power consumption, and remarkable flexibility. This work aims to implement a CNN architecture on an FPGA for handwritten digit recognition, achieving faster computation, low latency, and high accuracy. Techniques such as multi-input processing, zero pruning, maximum…

Les travaux antérieurs sur lesquels il s’appuie

  1. Apparenté Données, outil ou méthode en commun
    EMNIST: an extension of MNIST to handwritten letters
    Gregory Cohen, Saeed Afshar, J. Tapson et al. · 2017 · Computer Vision and Pattern Recognition · cité 840 fois · Pas encore résumé

    EMNIST présente des jeux de données de chiffres et de lettres manuscrits, un corpus adapté aux 36 classes de chiffres et lettres visées ici.

    Résumé scientifique

    The MNIST dataset has become a standard benchmark for learning, classification and computer vision systems. Contributing to its widespread adoption are the understandable and intuitive nature of the task, its relatively small size and storage requirements and the accessibility and ease-of-use of the database itself. The MNIST database was derived from a larger dataset known as the NIST Special Database 19 which contains digits, uppercase and lowercase handwritten letters. This paper introduces a variant of the full NIST dataset, which we have called Extended MNIST (EMNIST), which follows the same conversion paradigm used to create the MNIST dataset. The result is a set of datasets that const…

  2. Apparenté* Données, outil ou méthode en commun
    SystemVerilog. Unified Hardware Design, Specification, and Verification Language
    · cité 404 fois · Pas encore résumé

    SystemVerilog. Unified Hardware Design, Specification, and Verification Language décrit le langage utilisé pour concevoir le processeur et les modules matériels du projet.

  3. Apparenté Même méthode, autre problème
    Dropout in Neural Networks Simulates the Paradoxical Effects of Deep Brain Stimulation on Memory
    S. Tan, R. Du, J. U. Perucho et al. · 2020 · bioRxiv · cité 16 fois · Pas encore résumé

    Dropout in Neural Networks Simulates the Paradoxical Effects of Deep Brain Stimulation on Memory utilise un CNN pour classifier des chiffres et lettres manuscrits, avec dropout pour simuler des effets sur la mémoire.

    Résumé scientifique

    Neuromodulation techniques such as Deep Brain Stimulation (DBS) are a promising treatment for memory-related disorders including anxiety, addiction, and dementia. However, the outcome of these treatments appears to be paradoxical, as the use of these techniques can both disrupt and enhance memory even when applied to the same brain target. In this paper, we hypothesize that disruption and enhancement of memory through neuromodulation can be explained by the dropout of engram nodes. We used a convolutional neural network to classify handwritten digits and letters, applying dropout at different stages to simulate DBS effects on engrams. We showed that dropout applied during training improves t…

  4. Apparenté Article de revue
    A Survey: Time Travel in Deep Learning Space: An Introduction to Deep Learning Models and How Deep Learning Models Evolved from the Initial Ideas
    Haohan Wang, Bhiksha Raj · 2015 · arXiv.org · preprint, non relu par les pairs · cité 36 fois · Pas encore résumé

    A Survey: Time Travel in Deep Learning Space retrace l’évolution des réseaux neuronaux et des CNN, tandis que ce projet présente une réalisation matérielle particulière.

    Résumé scientifique

    This report will show the history of deep learning evolves. It will trace back as far as the initial belief of connectionism modelling of brain, and come back to look at its early stage realization: neural networks. With the background of neural network, we will gradually introduce how convolutional neural network, as a representative of deep discriminative models, is developed from neural networks, together with many practical techniques that can help in optimization of neural networks. On the other hand, we will also trace back to see the evolution history of deep generative models, to see how researchers balance the representation power and computation complexity to reach Restricted Boltz…

  5. Apparenté* Base de cet article Une méthode qu’il utilise
    Gradient-based learning applied to document recognition
    Yann LeCun, L. Bottou, Yoshua Bengio et al. · 1998 · Proceedings of the IEEE · cité 64 138 fois · Pas encore résumé

    Gradient-based learning applied to document recognition est cité comme référence dans un projet qui entraîne des réseaux pour la reconnaissance manuscrite.

Les articles qui le citent

  1. Apparenté Contexte plus large
    A Low-Latency Three-Phase ROI Cropping Architecture for Real-Time Single-Object Localization on FPGA
    In-Ho Gwon, Sang Yoon Park · 2026 · IEEE Access · Pas encore résumé

    A Low-Latency Three-Phase ROI Cropping Architecture for Real-Time Single-Object Localization on FPGA traite du recadrage d’images en temps réel sur FPGA, plutôt que de leur classification manuscrite.

    Résumé scientifique

    For real-time recognition of single objects captured by a camera, numerous studies have explored Field-Programmable Gate Array (FPGA)-based architectures for image cropping and resizing. However, most existing approaches mitigate the high variability of camera inputs by applying static Region of Interest (ROI) cropping or uniform resizing across all frames. Although these methods are fast and resource-efficient, their recognition accuracy varies significantly with the object’s size and position. This paper presents a three-phase cropping and resizing architecture optimized for single objects exhibiting distinct color contrast against a uniform background. The proposed design performs all cro…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 4 novembre 2026.

Le guide illustré des articles autour d’un article