paper-with-me

홈 › Papers

Handwritten Code Recognition for Pen-and-Paper CS Education

2024-08-07 · Md Sazzad Islam, Moussa Koulako Bala Doumbouya, Christopher D. Manning, Chris Piech

Teaching Computer Science (CS) by having students write programs by hand on paper has key pedagogical advantages: It allows focused learning and requires careful thinking compared to the use of Integrated Development Environments (IDEs) with intelligent support tools or "just trying things out". The familiar environment of pens and paper also lessens the cognitive load of students with no prior experience with computers, for whom the mere basic usage of computers can be intimidating. Finally, this teaching approach opens learning opportunities to students with limited access to computers. However, a key obstacle is the current lack of teaching methods and support software for working with and running handwritten programs. Optical character recognition (OCR) of handwritten code is challenging: Minor OCR errors, perhaps due to varied handwriting styles, easily make code not run, and recognizing indentation is crucial for languages like Python but is difficult to do due to inconsistent horizontal spacing in handwriting. Our approach integrates two innovative methods. The first combines OCR with an indentation recognition module and a language model designed for post-OCR error correction without introducing hallucinations. This method, to our knowledge, surpasses all existing systems in handwritten code recognition. It reduces error from 30\% in the state of the art to 5\% with minimal hallucination of logical fixes to student programs. The second method leverages a multimodal language model to recognize handwritten programs in an end-to-end fashion. We hope this contribution can stimulate further pedagogical research and contribute to the goal of making CS education universally accessible. We release a dataset of handwritten programs and code to support future research at https://github.com/mdoumbouya/codeocr

📄 PDF Abstract BibTeX arXiv:2408.07220

Code (1)

mdoumbouya/codeocr 공식 구현

Tasks

HallucinationLanguage ModelingLanguage ModellingOptical Character RecognitionOptical Character Recognition (OCR)

Similar Papers 제목 키워드 기반

A Comparative Analysis on Bangla Handwritten Digit Recognition with Data Augmentation and Non-Augmentation Process

2020-06-26 · International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA) 2020 6 · MD Abdullah Al Nasim, Refat E Ferdous, Mahim Anzum Haque Pantho, Atiqul Islam Chowdhury

Determination of Bangla handwritten digit is a momentous image classification task. Though object recognition technology is getting smarter day by day, still Bangla handwritten digit recognition remains inconclusive. …

Data AugmentationHandwritten Digit Recognitionimage-classificationImage Classification+1

The Return of Structural Handwritten Mathematical Expression Recognition

2025-08-27 · Jakob Seitz, Tobias Lengfeld, Radu Timofte arxiv

Handwritten Mathematical Expression Recognition is foundational for educational technologies, enabling applications like digital note-taking and automated grading. While modern encoder-decoder architectures with large la…

MNIST-Fraction: Enhancing Math Education with AI-Driven Fraction Detection and Analysis

2024-12-11 · Pegah Ahadian, Yunhe Feng, Karl Kosko, Richard Ferdig 외

Mathematics education, a crucial and basic field, significantly influences students' learning in related subjects and their future careers. Utilizing artificial intelligence to interpret and comprehend math problems in e…

Math

Development of Comprehensive Devnagari Numeral and Character Database for Offline Handwritten Character Recognition

2013-08-17 · Vikas J. Dongre, Vijay H. Mankar

In handwritten character recognition, benchmark database plays an important role in evaluating the performance of various algorithms and the results obtained by various researchers. In Devnagari script, there is lack of …

Handwriting Recognition

An Intelligent-Detection Network for Handwritten Mathematical Expression Recognition

2023-11-26 · Ziqi Ye

The use of artificial intelligence technology in education is growing rapidly, with increasing attention being paid to handwritten mathematical expression recognition (HMER) by researchers. However, many existing methods…

Decoderobject-detectionObject Detection